/* ============================================================
   PARANYX.AI — MAIN STYLESHEET

   HOW TO CUSTOMIZE:
   ─ Brand colors: Edit the CSS variables in the :root block below
   ─ Change primary blue to any color by editing --color-primary
   ─ Change teal accent by editing --color-accent
   ─ Font: Edit --font-family and the Google Fonts link in index.html
   ─ Spacing: Adjust --section-py (section padding top/bottom)
   ─ Max page width: Adjust --max-w
   ============================================================ */


/* ============================================================
   CSS VARIABLES — EDIT HERE TO RETHEME THE ENTIRE SITE
   ============================================================ */
:root {
    /* Primary blue — main buttons, links, active states */
    --color-primary:       #2563EB;
    --color-primary-dark:  #1D4ED8;
    --color-primary-light: #DBEAFE;
    --color-primary-faint: #EFF6FF;

    /* Teal accent — healthcare/clinical feel */
    --color-accent:        #0D9488;
    --color-accent-bright: #14B8A6;
    --color-accent-light:  #CCFBF1;
    --color-accent-faint:  #F0FDFA;

    /* Purple — used for "coming soon" only */
    --color-purple:        #7C3AED;
    --color-purple-light:  #EDE9FE;

    /* Backgrounds */
    --bg-dark:   #0F172A;   /* Hero, platform, CTA, footer sections */
    --bg-deeper: #060C1A;   /* Footer background */
    --bg-light:  #F8FAFC;   /* Alternating light section */
    --bg-white:  #FFFFFF;

    /* Text */
    --text-dark:    #0F172A;
    --text-medium:  #475569;
    --text-light:   #94A3B8;
    --text-white:   #FFFFFF;
    --text-dim:     rgba(255, 255, 255, 0.60);
    --text-dimmer:  rgba(255, 255, 255, 0.40);

    /* Gradients */
    --grad-brand:   linear-gradient(135deg, #2563EB 0%, #0D9488 100%);
    --grad-dark:    linear-gradient(160deg, #0F172A 0%, #162040 60%, #0F2038 100%);
    --grad-blue:    linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);

    /* Layout */
    --max-w:       1200px;
    --section-py:  6rem;
    --section-px:  2rem;
    --radius:      12px;
    --radius-lg:   20px;
    --radius-xl:   28px;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Shadows */
    --shadow-sm:   0 1px 4px rgba(0,0,0,0.08);
    --shadow-md:   0 4px 20px rgba(0,0,0,0.10);
    --shadow-lg:   0 12px 40px rgba(0,0,0,0.14);
    --shadow-xl:   0 24px 64px rgba(0,0,0,0.18);
    --shadow-blue: 0 8px 28px rgba(37, 99, 235, 0.35);
    --shadow-card: 0 2px 16px rgba(15, 23, 42, 0.07);

    /* Borders */
    --border:       1px solid rgba(15, 23, 42, 0.09);
    --border-white: 1px solid rgba(255, 255, 255, 0.10);

    /* Transitions */
    --t-fast: 150ms ease;
    --t-base: 260ms ease;
    --t-slow: 420ms ease;
}


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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
}


/* ============================================================
   UTILITY: GRADIENT TEXT
   ============================================================ */
.gradient-text {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ============================================================
   UTILITY: BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    font-family: var(--font-family);
    transition: var(--t-base);
    white-space: nowrap;
    cursor: pointer;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    border-radius: 10px;
}

/* Primary — blue gradient */
.btn-primary {
    background: var(--grad-blue);
    color: #fff;
    box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(37, 99, 235, 0.45);
}

/* Ghost — for dark backgrounds */
.btn-ghost {
    color: rgba(255,255,255,0.88);
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.05);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.42);
    transform: translateY(-2px);
}

/* Ghost dark — for light backgrounds */
.btn-ghost-dark {
    color: var(--text-medium);
    border: 1.5px solid #CBD5E1;
    background: transparent;
}
.btn-ghost-dark:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: var(--color-primary-faint);
}

/* Outline brand — for light product cards */
.btn-outline-brand {
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
    background: transparent;
}
.btn-outline-brand:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

/* White — for dark CTA section */
.btn-white {
    background: #fff;
    color: var(--color-primary-dark);
    font-weight: 700;
    box-shadow: var(--shadow-md);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}


/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    padding: 1.25rem 0;
    transition: background var(--t-base), padding var(--t-base), border-color var(--t-base);
    border-bottom: 1px solid transparent;
}

#navbar.scrolled {
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0.8rem 0;
    border-bottom-color: rgba(255,255,255,0.08);
}

.nav-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--section-px);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}
.logo-mark {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.logo-mark-sm { /* smaller variant used in footer */ }

.logo-wordmark {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #fff;
}
.logo-tld {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo-img { height: 130px; width: auto; }

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    margin-left: auto;
}

.nav-link {
    padding: 0.45rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    border-radius: 6px;
    transition: var(--t-fast);
}
.nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.nav-cta { flex-shrink: 0; }

/* Mobile-only CTA inside nav-links dropdown */
.nav-mobile-cta { display: none; }

/* Hamburger toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    margin-left: auto;
}
.nav-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--t-base);
    transform-origin: center;
}


/* ============================================================
   HERO
   ============================================================ */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-dark);
    padding: 9rem var(--section-px) 7rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Subtle dot grid */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(37, 99, 235, 0.18) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
}

/* Animated gradient blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.30;
    animation: blobDrift 10s ease-in-out infinite alternate;
}
.hero-blob-blue {
    width: 700px; height: 700px;
    background: radial-gradient(circle, #2563EB 0%, transparent 65%);
    top: -15%; left: -10%;
    animation-delay: 0s;
}
.hero-blob-teal {
    width: 560px; height: 560px;
    background: radial-gradient(circle, #0D9488 0%, transparent 65%);
    bottom: -10%; right: -8%;
    animation-delay: 5s;
}

@keyframes blobDrift {
    0%   { transform: translate(0, 0) scale(1); }
    40%  { transform: translate(40px, -30px) scale(1.06); }
    100% { transform: translate(-20px, 20px) scale(0.96); }
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
    width: 100%;
}

/* Badge pill */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    background: rgba(37, 99, 235, 0.14);
    border: 1px solid rgba(37, 99, 235, 0.32);
    color: #93C5FD;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    margin-bottom: 1.75rem;
}

.badge-pulse {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.28);
    animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(59,130,246,0.28); }
    50%       { box-shadow: 0 0 0 7px rgba(59,130,246,0.08); }
}

/* Headline */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 1.5rem;
}

/* Sub-text */
.hero-sub {
    font-size: 1.125rem;
    color: var(--text-dim);
    line-height: 1.75;
    max-width: 580px;
    margin: 0 auto 2.5rem;
}

/* CTA buttons */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Trust badges below CTA */
.hero-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
}
.trust-dot { color: rgba(255,255,255,0.18); font-size: 0.75rem; }


/* ============================================================
   STATS BAR
   ============================================================ */
#stats {
    background: var(--bg-white);
    border-top: var(--border);
    border-bottom: var(--border);
    padding: 3rem var(--section-px);
}

.stats-container {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 0.75rem 3.5rem;
    flex: 1;
    min-width: 150px;
}
.stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.375rem;
    letter-spacing: -0.03em;
}
.stat-label {
    font-size: 0.8125rem;
    color: var(--text-medium);
    font-weight: 500;
}
.stat-rule {
    width: 1px; height: 44px;
    background: var(--border);
    flex-shrink: 0;
}


/* ============================================================
   SHARED SECTION LAYOUT
   ============================================================ */
.section-wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--section-py) var(--section-px);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: var(--color-primary-faint);
    border: 1px solid var(--color-primary-light);
    padding: 0.325rem 0.875rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.eyebrow-teal {
    color: var(--color-accent-bright);
    background: rgba(20,184,166,0.10);
    border-color: rgba(20,184,166,0.24);
}

.section-title {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}
.title-white { color: #fff; }

.section-sub {
    font-size: 1.0625rem;
    color: var(--text-medium);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.75;
}
.sub-dim { color: var(--text-dim); }


/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
#products { background: var(--bg-light); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

/* Base card */
.product-card {
    background: var(--bg-white);
    border: var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.15);
}

/* Featured card — gradient border */
.card-featured {
    border: 2px solid transparent;
    background:
        linear-gradient(var(--bg-white), var(--bg-white)) padding-box,
        var(--grad-brand) border-box;
    box-shadow: var(--shadow-lg);
}

/* Coming-soon card */
.card-upcoming {
    background: var(--bg-light);
    border: 2px dashed rgba(124, 58, 237, 0.28);
    box-shadow: none;
}
.card-upcoming:hover { border-color: var(--color-purple); }

/* Card top row */
.card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

/* Product icon */
.product-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.icon-blue {
    background: linear-gradient(135deg, rgba(37,99,235,0.09), rgba(37,99,235,0.18));
    color: var(--color-primary);
    border: 1px solid rgba(37,99,235,0.18);
}
.icon-teal {
    background: linear-gradient(135deg, rgba(13,148,136,0.09), rgba(13,148,136,0.18));
    color: var(--color-accent);
    border: 1px solid rgba(13,148,136,0.18);
}
.icon-purple {
    background: linear-gradient(135deg, rgba(124,58,237,0.07), rgba(124,58,237,0.15));
    color: var(--color-purple);
    border: 1px solid rgba(124,58,237,0.18);
}

/* Status badges */
.product-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    text-transform: uppercase;
}
.badge-live { background: #DCFCE7; color: #15803D; }
.badge-soon { background: #F3E8FF; color: #7E22CE; }

.product-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.025em;
}
.product-hook {
    font-size: 0.9375rem;
    font-weight: 600;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: -0.25rem;
}
.product-desc {
    font-size: 0.875rem;
    color: var(--text-medium);
    line-height: 1.75;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--text-medium);
    font-weight: 500;
}
.feature-list li::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--grad-brand);
    flex-shrink: 0;
}


/* ============================================================
   PLATFORM SECTION
   ============================================================ */
#platform {
    background: var(--grad-dark);
    position: relative;
    overflow: hidden;
}

/* Subtle line grid on dark bg */
#platform::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}

#platform .section-wrap { position: relative; z-index: 1; }

.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.pillar {
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    border: var(--border-white);
    background: rgba(255,255,255,0.04);
    transition: var(--t-base);
}
.pillar:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-5px);
}
.pillar-center {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.30);
}
.pillar-center:hover {
    background: rgba(37, 99, 235, 0.18);
    border-color: rgba(37, 99, 235, 0.45);
}

.pillar-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.07);
    border: var(--border-white);
    color: rgba(255,255,255,0.65);
    margin-bottom: 1.5rem;
}
.pillar-icon-accent {
    background: rgba(37, 99, 235, 0.18);
    border-color: rgba(37, 99, 235, 0.30);
    color: #93C5FD;
}

.pillar-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.875rem;
    letter-spacing: -0.02em;
}
.pillar-desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.52);
    line-height: 1.8;
}


/* ============================================================
   WHY PARANYX SECTION
   ============================================================ */
#why { background: var(--bg-white); }

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.value-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: var(--border);
    transition: var(--t-base);
    background: var(--bg-white);
}
.value-card:hover {
    border-color: rgba(37, 99, 235, 0.14);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.value-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}
.v-blue { background: rgba(37,99,235,0.09); color: var(--color-primary); }
.v-teal { background: rgba(13,148,136,0.09); color: var(--color-accent); }

.value-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.625rem;
    letter-spacing: -0.02em;
}
.value-desc {
    font-size: 0.875rem;
    color: var(--text-medium);
    line-height: 1.8;
}


/* ============================================================
   CTA / CONTACT SECTION
   ============================================================ */
#contact {
    position: relative;
    overflow: hidden;
    background: var(--grad-dark);
    padding: var(--section-py) var(--section-px);
}

.cta-bg {
    position: absolute; inset: 0;
    pointer-events: none;
    z-index: 0;
}
.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.22;
}
.cta-glow-blue {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #2563EB 0%, transparent 65%);
    top: -20%; right: 5%;
}
.cta-glow-teal {
    width: 480px; height: 480px;
    background: radial-gradient(circle, #0D9488 0%, transparent 65%);
    bottom: -20%; left: 5%;
}

.cta-wrap {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #fff;
    margin: 1rem 0 1.25rem;
    letter-spacing: -0.035em;
    line-height: 1.1;
}
.cta-sub {
    font-size: 1.0625rem;
    color: var(--text-dim);
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.cta-form {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}
.cta-input {
    flex: 1;
    min-width: 230px;
    max-width: 320px;
    padding: 0.875rem 1.125rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.07);
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-family);
    outline: none;
    transition: var(--t-base);
}
.cta-input::placeholder { color: rgba(255,255,255,0.38); }
.cta-input:focus {
    border-color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.11);
}

.cta-note {
    font-size: 0.8125rem;
    color: var(--text-dimmer);
}
.cta-note a {
    color: rgba(255,255,255,0.62);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cta-note a:hover { color: #fff; }


/* ============================================================
   FOOTER
   ============================================================ */
#footer {
    background: var(--bg-deeper);
    padding-top: 5rem;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--section-px) 4rem;
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    gap: 4rem;
    align-items: start;
}

.footer-brand .logo-wordmark { font-size: 1rem; }

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.38);
    line-height: 1.65;
    margin-top: 0.875rem;
    max-width: 240px;
}

.footer-social {
    display: flex;
    gap: 0.625rem;
    margin-top: 1.5rem;
}
.social-btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.05);
    border: var(--border-white);
    color: rgba(255,255,255,0.45);
    transition: var(--t-fast);
}
.social-btn:hover {
    background: rgba(255,255,255,0.10);
    color: #fff;
    border-color: rgba(255,255,255,0.22);
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-col-heading {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
    margin-bottom: 1.25rem;
}
.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-col a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.48);
    transition: var(--t-fast);
}
.footer-col a:hover { color: #fff; }

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 1.5rem var(--section-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-copy {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.25);
}

.compliance-badges { display: flex; gap: 0.5rem; }
.compliance-badge {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.32);
    border: 1px solid rgba(255,255,255,0.10);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}


/* ============================================================
   SCROLL-TRIGGERED ANIMATIONS
   (Applied via JavaScript in script.js)
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
    :root { --section-py: 5rem; }

    .products-grid { grid-template-columns: repeat(2, 1fr); }
    /* Last card spans full width on 2-col grid */
    .products-grid .product-card:last-child {
        grid-column: 1 / -1;
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    .platform-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .pillar { padding: 2rem 1.75rem; }

    .footer-nav { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { gap: 3rem; }
}


/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
    :root {
        --section-py: 4rem;
        --section-px: 1.25rem;
    }

    /* Nav: hide desktop links & CTA, show hamburger */
    .nav-links { display: none; }
    .nav-cta   { display: none; }
    .nav-toggle { display: flex; }

    /* Mobile nav dropdown */
    .nav-links.is-open {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 62px; left: 0; right: 0;
        background: rgba(10, 15, 30, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: var(--border-white);
        padding: 1rem 1.25rem 1.25rem;
        gap: 0.125rem;
        z-index: 150;
    }
    .nav-links.is-open .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        border-radius: 8px;
    }
    .nav-mobile-cta {
        display: flex;
        width: 100%;
        margin-top: 0.75rem;
        justify-content: center;
    }

    /* Hero */
    .hero-title { font-size: 2.25rem; }
    .hero-sub   { font-size: 1rem; }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn { text-align: center; }
    .hero-trust-bar {
        flex-direction: column;
        gap: 0.5rem;
    }
    .trust-dot { display: none; }

    /* Stats */
    .stats-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-rule { display: none; }
    .stat-item { padding: 1rem 1rem; }

    /* Products */
    .products-grid { grid-template-columns: 1fr; }
    .products-grid .product-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }

    /* Values */
    .values-grid { grid-template-columns: 1fr; }

    /* CTA form */
    .cta-form { flex-direction: column; align-items: stretch; }
    .cta-input { max-width: 100%; min-width: 0; }

    /* Footer */
    .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-nav   { grid-template-columns: repeat(2, 1fr); }
}


/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================================ */
@media (max-width: 480px) {
    .hero-title { font-size: 1.9rem; }

    .footer-nav { grid-template-columns: 1fr; }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .compliance-badges { justify-content: center; }
}
