/* ============================================================
   WASIF ALI — assets/style.css
   Professional Glass UI · Blue Theme · Premium Effects
   Website: wasifali.tech
   ============================================================ */

/* ============================
   1. RESET & BASE
   ============================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Blue glass theme */
    --primary: #2563eb;          /* deep royal blue */
    --primary-light: #3b82f6;    /* lighter blue */
    --primary-dark: #1e40af;     /* darker blue */
    --secondary: #06b6d4;        /* cyan accent */
    --secondary-light: #22d3ee;  /* bright cyan */
    --accent: #ec4899;           /* pink for gradient mix */
    --accent-soft: #f472b6;

    /* Glass surfaces */
    --glass: rgba(59, 130, 246, 0.06);
    --glass-strong: rgba(59, 130, 246, 0.12);
    --glass-border: rgba(147, 197, 253, 0.15);
    --glass-border-hover: rgba(147, 197, 253, 0.35);
    --glass-glow: rgba(59, 130, 246, 0.35);

    /* Text */
    --text: #e0e7ff;
    --text-strong: #ffffff;
    --muted: #93a5c9;
    --muted-soft: #64748b;

    /* Background */
    --bg: #030712;
    --bg-mid: #0a1128;

    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 12px 48px rgba(37, 99, 235, 0.25);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.4);

    /* Radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-mid);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 10px;
    border: 2px solid var(--bg-mid);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light), var(--secondary-light));
}

/* Selection */
::selection {
    background: rgba(59, 130, 246, 0.4);
    color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--secondary-light);
}

/* ============================
   2. ANIMATED BACKGROUND BLOBS
   ============================ */
.bg-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.45;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
    animation: float 22s infinite ease-in-out;
}

.blob1 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    top: -180px;
    left: -180px;
}

.blob2 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, var(--secondary), transparent 70%);
    bottom: -220px;
    right: -220px;
    animation-delay: -6s;
    opacity: 0.35;
}

.blob3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--accent), transparent 70%);
    top: 42%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -12s;
    opacity: 0.2;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(90px, -70px) scale(1.15); }
    66%      { transform: translate(-70px, 90px) scale(0.9); }
}

/* Subtle grid overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 1;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

/* ============================
   3. LAYOUT
   ============================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

/* ============================
   4. GLASS CARD
   ============================ */
.glass {
    background: var(--glass);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow:
        var(--shadow-md),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(147, 197, 253, 0.06),
        transparent
    );
    transition: left 0.8s ease;
    pointer-events: none;
}

.glass:hover::before {
    left: 100%;
}

.glass:hover {
    border-color: var(--glass-border-hover);
    box-shadow:
        var(--shadow-lg),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 60px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

/* ============================
   5. NAVBAR
   ============================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(3, 7, 18, 0.75);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border-bottom: 1px solid var(--glass-border);
    padding: 14px 0;
    transition: all 0.3s ease;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.nav-logo {
    font-size: 1.3rem;
    font-weight: 800;
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.03);
}

.nav-logo img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.nav-logo .logo-text {
    background: linear-gradient(135deg, #fff 0%, var(--secondary-light) 50%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.nav-logo .dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 12px #10b981;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.85); }
}

.nav-links {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: #fff;
    background: rgba(59, 130, 246, 0.1);
}

.nav-links a:hover::after {
    width: 60%;
}

.nav-links a.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(6, 182, 212, 0.25));
    border: 1px solid rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
}

.nav-links a.active::after {
    width: 60%;
}

.nav-toggle {
    display: none;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--glass-border);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
}

.nav-toggle:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--glass-border-hover);
}

/* ============================
   6. TYPOGRAPHY
   ============================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-strong);
    letter-spacing: -0.02em;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #93c5fd 45%, #22d3ee 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 6s ease infinite;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    margin-bottom: 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .eyebrow {
    color: var(--secondary-light);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
    padding: 6px 16px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 100px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #93c5fd 60%, #22d3ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ============================
   7. HERO SECTIONS
   ============================ */
.hero {
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-hero {
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-hero p {
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ============================
   8. BUTTONS
   ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    box-shadow:
        0 8px 24px rgba(37, 99, 235, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 14px 40px rgba(37, 99, 235, 0.55),
        0 0 30px rgba(6, 182, 212, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: rgba(59, 130, 246, 0.08);
    color: #fff;
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--glass-border-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================
   9. CARDS (SKILLS, SERVICES, ETC.)
   ============================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover::after {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-6px);
    background: var(--glass-strong);
    border-color: var(--glass-border-hover);
    box-shadow:
        0 12px 48px rgba(37, 99, 235, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.4s ease;
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(-3deg);
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.card p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 15px;
}

/* ============================
   10. PROGRESS BARS
   ============================ */
.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--secondary-light));
    border-radius: 10px;
    position: relative;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.6);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ============================
   11. TAGS / PILLS
   ============================ */
.tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 100px;
    font-size: 13px;
    color: #93c5fd;
    transition: all 0.3s ease;
    cursor: default;
}

.tag:hover {
    background: rgba(37, 99, 235, 0.25);
    border-color: rgba(59, 130, 246, 0.6);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ============================
   12. FORMS
   ============================ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(3, 7, 18, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-light);
    background: rgba(3, 7, 18, 0.7);
    box-shadow:
        0 0 0 3px rgba(59, 130, 246, 0.2),
        0 0 20px rgba(59, 130, 246, 0.15);
}

input::placeholder,
textarea::placeholder {
    color: var(--muted-soft);
}

textarea {
    resize: vertical;
    min-height: 140px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-strong);
}

/* ============================
   13. ALERT BOXES
   ============================ */
.alert {
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.6;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

.alert i {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ============================
   14. CODE BLOCK (API RESPONSE)
   ============================ */
pre, code {
    font-family: 'Fira Code', 'Courier New', monospace;
}

pre {
    padding: 20px;
    background: rgba(3, 7, 18, 0.7);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.7;
    color: #93c5fd;
    white-space: pre-wrap;
    word-break: break-word;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

code {
    padding: 2px 8px;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 6px;
    font-size: 0.9em;
    color: #93c5fd;
}

/* ============================
   15. FOOTER
   ============================ */
footer {
    position: relative;
    z-index: 2;
    margin-top: 80px;
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border);
    background: rgba(3, 7, 18, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

footer a {
    color: var(--muted);
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-light);
}

/* ============================
   16. DETAILS / FAQ ACCORDION
   ============================ */
details {
    background: var(--glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

details:hover {
    border-color: var(--glass-border-hover);
}

details[open] {
    background: var(--glass-strong);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
}

details summary {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-strong);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: color 0.3s;
}

details summary::-webkit-details-marker,
details summary::marker {
    display: none;
}

details summary:hover {
    color: var(--secondary-light);
}

details[open] summary i.fa-chevron-down {
    transform: rotate(180deg);
}

details summary i.fa-chevron-down {
    transition: transform 0.3s ease;
    color: var(--secondary);
    font-size: 12px;
}

/* ============================
   17. ANIMATIONS ON LOAD
   ============================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease forwards;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease forwards;
}

/* Stagger animation delays */
.glass:nth-child(1),
.card:nth-child(1) { animation-delay: 0.1s; }
.glass:nth-child(2),
.card:nth-child(2) { animation-delay: 0.2s; }
.glass:nth-child(3),
.card:nth-child(3) { animation-delay: 0.3s; }
.glass:nth-child(4),
.card:nth-child(4) { animation-delay: 0.4s; }
.glass:nth-child(5),
.card:nth-child(5) { animation-delay: 0.5s; }
.glass:nth-child(6),
.card:nth-child(6) { animation-delay: 0.6s; }

/* ============================
   18. UTILITY CLASSES
   ============================ */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.text-muted  { color: var(--muted); }
.text-white  { color: #fff; }
.text-primary{ color: var(--primary-light); }
.text-secondary { color: var(--secondary); }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 32px !important; }
.mt-5 { margin-top: 40px !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }
.mb-5 { margin-bottom: 40px !important; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* ============================
   19. BADGES
   ============================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: #93c5fd;
}

.badge-live {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
}

.badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
    animation: pulse 2s infinite;
}

/* ============================
   20. RESPONSIVE — TABLET
   ============================ */
@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(3, 7, 18, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 16px;
        gap: 6px;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    }

    .nav-links.open {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    .nav-links a {
        width: 100%;
        padding: 12px 16px;
    }

    .nav-links a::after {
        display: none;
    }

    .blob1 { width: 350px; height: 350px; }
    .blob2 { width: 400px; height: 400px; }
    .blob3 { width: 300px; height: 300px; }

    section {
        padding: 60px 0;
    }

    .glass {
        padding: 28px;
    }

    .hero, .page-hero {
        padding: 70px 0 40px;
    }
}

/* ============================
   21. RESPONSIVE — MOBILE
   ============================ */
@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    section {
        padding: 50px 0;
    }

    .glass {
        padding: 22px;
        border-radius: var(--radius-md);
    }

    .nav-logo {
        font-size: 1.1rem;
    }

    .nav-logo img {
        width: 32px;
        height: 32px;
    }

    .hero, .page-hero {
        padding: 50px 0 30px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .card {
        padding: 24px;
    }

    .card-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    footer {
        padding: 40px 0 24px;
        margin-top: 60px;
    }

    pre {
        font-size: 12px;
        padding: 14px;
    }
}

/* ============================
   22. REDUCED MOTION
   ============================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .bg-blob {
        animation: none !important;
    }
}

/* ============================
   23. PRINT
   ============================ */
@media print {
    .navbar,
    footer,
    .bg-blob,
    .btn,
    body::before {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .glass {
        background: #fff;
        border: 1px solid #ddd;
        box-shadow: none;
        backdrop-filter: none;
    }
}

/* ============================
   24. END
   ============================ */