/* =============================================================
   ASSOCIAN — Premium SaaS Design System
   Dark navy + royal blue, glassmorphism, mobile-first
   ============================================================= */

:root {
    /* Brand palette */
    --navy-950: #060B1A;
    --navy-900: #0A0F1F;
    --navy-800: #0F172A;
    --navy-700: #131C36;
    --navy-600: #1E293B;
    --navy-500: #334155;

    --brand-50:  #EFF6FF;
    --brand-100: #DBEAFE;
    --brand-200: #BFDBFE;
    --brand-400: #60A5FA;
    --brand-500: #3B82F6;
    --brand-600: #2563EB;
    --brand-700: #1D4ED8;
    --brand-800: #1E40AF;

    --indigo-500: #6366F1;
    --indigo-600: #4F46E5;
    --violet-500: #8B5CF6;

    --accent-amber: #F59E0B;
    --accent-amber-dark: #D97706;

    --green-500: #10B981;
    --green-600: #059669;
    --whatsapp:  #25D366;
    --whatsapp-dark: #128C7E;
    --rose-500: #F43F5E;

    /* Surfaces */
    --bg:           #FFFFFF;
    --bg-soft:      #F8FAFC;
    --bg-soft-2:    #F1F5F9;
    --bg-dark:      var(--navy-900);
    --bg-dark-2:    var(--navy-800);

    /* Text */
    --text:         #0B1220;
    --text-strong:  #050912;
    --text-muted:   #475569;
    --text-faint:   #64748B;
    --text-on-dark: #E2E8F0;
    --text-on-dark-muted: #94A3B8;

    /* Borders */
    --border:       #E2E8F0;
    --border-soft:  #EEF2F7;
    --border-dark:  rgba(255,255,255,0.08);
    --border-glass: rgba(255,255,255,0.12);

    /* Glass */
    --glass-bg:        rgba(255,255,255,0.06);
    --glass-bg-strong: rgba(255,255,255,0.10);
    --glass-stroke:    rgba(255,255,255,0.14);

    /* Gradients */
    --grad-brand: linear-gradient(135deg, #3B82F6 0%, #6366F1 50%, #8B5CF6 100%);
    --grad-brand-soft: linear-gradient(135deg, rgba(59,130,246,0.18) 0%, rgba(139,92,246,0.14) 100%);
    --grad-hero: radial-gradient(1200px 600px at 80% -10%, rgba(59,130,246,0.35), transparent 60%),
                 radial-gradient(900px 500px at 10% 110%, rgba(99,102,241,0.28), transparent 55%),
                 linear-gradient(180deg, #060B1A 0%, #0A0F1F 60%, #0F172A 100%);
    --grad-cta:  radial-gradient(800px 400px at 50% 0%, rgba(96,165,250,0.35), transparent 60%),
                 linear-gradient(135deg, #0A0F1F 0%, #1D4ED8 100%);
    --grad-text: linear-gradient(135deg, #60A5FA 0%, #A78BFA 60%, #F0ABFC 100%);
    --grad-card-border: linear-gradient(135deg, rgba(59,130,246,0.55), rgba(139,92,246,0.35));

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(15,23,42,0.06);
    --shadow-sm: 0 2px 6px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
    --shadow-md: 0 10px 24px -8px rgba(15,23,42,0.10), 0 4px 8px -2px rgba(15,23,42,0.06);
    --shadow-lg: 0 30px 60px -20px rgba(15,23,42,0.18), 0 10px 20px -10px rgba(15,23,42,0.10);
    --shadow-xl: 0 50px 100px -20px rgba(15,23,42,0.25);
    --shadow-glow:    0 20px 60px -10px rgba(59,130,246,0.45);
    --shadow-glow-soft: 0 10px 30px -10px rgba(59,130,246,0.30);
    --shadow-card-hover: 0 30px 60px -20px rgba(37,99,235,0.30);
    --shadow-elev:    0 1px 0 0 rgba(255,255,255,0.08) inset, 0 30px 60px -20px rgba(0,0,0,0.55);

    /* Radii */
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-2xl: 36px;
    --r-pill: 999px;

    /* Type */
    --font-sans: 'Outfit', 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: 'Outfit', 'Inter', system-ui, sans-serif;

    /* Layout */
    --container: 1200px;
    --container-narrow: 920px;
    --section-y: clamp(64px, 8vw, 120px);

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --dur-fast: 180ms;
    --dur: 280ms;
    --dur-slow: 520ms;
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--text-strong);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { color: var(--text-muted); }

a { color: var(--brand-600); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--brand-700); }

::selection { background: rgba(59,130,246,0.25); color: inherit; }

button { font-family: inherit; cursor: pointer; }

/* =============================================================
   Layout helpers
   ============================================================= */
.container {
    width: 100%;
    min-width: 0;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 max(24px, env(safe-area-inset-left, 0px)) 0 max(24px, env(safe-area-inset-right, 0px));
}
.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    min-width: 0;
    width: 100%;
    padding: 0 max(24px, env(safe-area-inset-left, 0px)) 0 max(24px, env(safe-area-inset-right, 0px));
}

.section { padding: var(--section-y) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section-head .eyebrow {
    margin: 0 auto 18px;
    justify-content: center;
    text-align: center;
}
.section-head p { font-size: 1.075rem; margin-top: 14px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px;
    background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(139,92,246,0.10));
    color: var(--brand-700);
    border: 1px solid rgba(59,130,246,0.20);
    border-radius: var(--r-pill);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    max-width: 100%;
    white-space: normal;
    flex-wrap: wrap;
    line-height: 1.35;
    box-sizing: border-box;
}
.hero .hero-content > .eyebrow.on-dark,
.hero .hero-content > .eyebrow {
    justify-content: flex-start;
    text-align: left;
}
.eyebrow.on-dark {
    background: rgba(96,165,250,0.10);
    color: #BFDBFE;
    border-color: rgba(96,165,250,0.25);
}

.text-gradient {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.muted { color: var(--text-muted); }
.muted-on-dark { color: var(--text-on-dark-muted); }

/* =============================================================
   Buttons
   ============================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: -0.005em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-lg { padding: 17px 30px; font-size: 1.02rem; }
.btn-sm { padding: 10px 16px; font-size: 0.88rem; }

.btn-primary {
    color: #fff;
    background: var(--grad-brand);
    box-shadow: 0 10px 30px -10px rgba(59,130,246,0.55), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -12px rgba(59,130,246,0.65), inset 0 1px 0 rgba(255,255,255,0.25);
    color: #fff;
}

.btn-whatsapp {
    color: #fff;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 10px 30px -10px rgba(37,211,102,0.45);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(37,211,102,0.55); color: #fff; }

.btn-outline {
    background: transparent;
    color: var(--text-strong);
    border-color: var(--border);
}
.btn-outline:hover { background: var(--bg-soft); transform: translateY(-2px); }

.btn-ghost-dark {
    background: rgba(255,255,255,0.06);
    color: #fff;
    border-color: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.12); color: #fff; transform: translateY(-2px); }

.btn-link {
    color: var(--brand-600);
    font-weight: 600;
    background: transparent;
    padding: 0;
    border-radius: 0;
}
.btn-link:hover { color: var(--brand-700); }
.btn-link::after { content: " →"; transition: transform var(--dur) var(--ease); display: inline-block; margin-left: 4px; }
.btn-link:hover::after { transform: translateX(4px); }

/* =============================================================
   Header / Nav
   ============================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.78);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.is-scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 6px 20px -10px rgba(15,23,42,0.10);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
    min-width: 0;
}
.logo {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-strong);
    letter-spacing: -0.02em;
    min-width: 0;
    flex-shrink: 1;
}
.logo:hover { color: var(--text-strong); }
.logo-mark {
    width: 32px; height: 32px;
    border-radius: 9px;
    background: var(--grad-brand);
    display: grid; place-items: center;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 6px 18px -6px rgba(59,130,246,0.55), inset 0 1px 0 rgba(255,255,255,0.3);
    font-size: 0.95rem;
}
.logo span.dot { color: var(--brand-600); }

.nav-links {
    display: flex; align-items: center; gap: 6px;
    list-style: none;
}
.nav-links a {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 10px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-links a:hover { background: var(--bg-soft); color: var(--text-strong); }
.nav-links a.active { color: var(--text-strong); background: var(--bg-soft); }

.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; min-width: 0; }

/* Hamburger (mobile) */
.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    align-items: center; justify-content: center;
    color: var(--text-strong);
}
.nav-toggle .bar {
    display: block;
    width: 18px; height: 2px;
    background: currentColor;
    border-radius: 2px;
    position: relative;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle .bar::before,
.nav-toggle .bar::after {
    content: ""; position: absolute; left: 0; right: 0;
    height: 2px; background: currentColor; border-radius: 2px;
    transition: transform var(--dur) var(--ease);
}
.nav-toggle .bar::before { top: -6px; }
.nav-toggle .bar::after  { top:  6px; }
.nav-toggle.is-open .bar { background: transparent; }
.nav-toggle.is-open .bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open .bar::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
    display: none;
    position: fixed;
    inset: 72px 0 0 0;
    background: rgba(10,15,31,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 99;
    padding: 24px;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}
.mobile-drawer.is-open { display: flex; animation: fadeIn var(--dur) var(--ease); }
.mobile-drawer a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px;
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: var(--r-md);
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.03);
}
.mobile-drawer a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.mobile-drawer .mobile-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.mobile-drawer .btn { width: 100%; }

/* =============================================================
   Floating mobile CTA bar
   ============================================================= */
.mobile-cta-bar {
    display: none;
    position: fixed;
    left: max(12px, env(safe-area-inset-left, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    z-index: 90;
    padding: 10px;
    background: rgba(10,15,31,0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--r-pill);
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.45);
    gap: 8px;
}
.mobile-cta-bar .btn { flex: 1; padding: 13px 14px; font-size: 0.9rem; }

/* Floating WhatsApp button */
.fab-whatsapp {
    position: fixed;
    right: 18px; bottom: 18px;
    z-index: 80;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 18px 40px -12px rgba(37,211,102,0.55);
    display: grid; place-items: center;
    color: #fff;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.fab-whatsapp:hover { transform: translateY(-2px) scale(1.04); color: #fff; box-shadow: 0 24px 50px -12px rgba(37,211,102,0.65); }
.fab-whatsapp svg { width: 28px; height: 28px; }

/* =============================================================
   Hero
   ============================================================= */
.hero {
    position: relative;
    background: var(--grad-hero);
    color: #fff;
    overflow: hidden;
    padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 120px);
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(900px 600px at 50% 30%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(900px 600px at 50% 30%, #000 0%, transparent 70%);
    z-index: -1;
}
.hero .blob {
    position: absolute; border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    z-index: -1;
    pointer-events: none;
}
.hero .blob-1 { width: 480px; height: 480px; background: #3B82F6; top: -120px; right: -80px; }
.hero .blob-2 { width: 420px; height: 420px; background: #8B5CF6; bottom: -120px; left: -80px; opacity: 0.4; }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 72px);
    align-items: center;
}
.hero-content {
    min-width: 0;
    max-width: 100%;
}
.hero-content h1 {
    color: #fff;
    font-size: clamp(2.5rem, 5.6vw, 4.4rem);
    font-weight: 800;
    margin-bottom: 22px;
    line-height: 1.12;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.hero-content h1 .accent {
    background: linear-gradient(135deg, #93C5FD 0%, #C4B5FD 60%, #F0ABFC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-content .lead {
    font-size: 1.18rem;
    color: #CBD5E1;
    max-width: 580px;
    margin-bottom: 32px;
    overflow-wrap: anywhere;
    hyphens: auto;
    -webkit-hyphens: auto;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.hero-trust {
    display: flex; flex-wrap: wrap; gap: 14px 22px;
    color: #CBD5E1; font-size: 0.92rem;
}
.hero-trust > span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: #34D399; width: 18px; height: 18px; flex-shrink: 0; }

.hero-visual {
    position: relative;
    min-width: 0;
    max-width: 100%;
}
.hero-visual .glow-ring {
    position: absolute; inset: -30px;
    border-radius: var(--r-2xl);
    background: var(--grad-card-border);
    filter: blur(32px);
    opacity: 0.55;
    z-index: 0;
}
.dashboard-mock {
    position: relative;
    max-width: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid var(--border-glass);
    border-radius: var(--r-xl);
    padding: 14px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.03) inset;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
    transition: transform var(--dur-slow) var(--ease);
}
.dashboard-mock:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg) translateY(-4px); }
.dashboard-mock .topbar {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    min-width: 0;
    flex-wrap: wrap;
}
.dashboard-mock .dot { width: 10px; height: 10px; border-radius: 50%; }
.dashboard-mock .dot.r { background: #F87171; }
.dashboard-mock .dot.y { background: #FBBF24; }
.dashboard-mock .dot.g { background: #34D399; }
.dashboard-mock .url {
    margin-left: auto;
    font-size: 0.78rem;
    color: #94A3B8;
    background: rgba(255,255,255,0.04);
    padding: 5px 12px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(255,255,255,0.06);
}

.dashboard-body {
    padding: 16px;
    display: grid;
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
}
.dashboard-side {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--r-md);
    padding: 12px;
    display: flex; flex-direction: column; gap: 8px;
}
.dashboard-side .item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 10px;
    border-radius: 9px;
    color: #CBD5E1;
    font-size: 0.82rem;
}
.dashboard-side .item.active { background: rgba(59,130,246,0.18); color: #fff; }
.dashboard-side .item .icon { width: 14px; height: 14px; border-radius: 4px; background: rgba(255,255,255,0.18); flex-shrink: 0; }
.dashboard-side .item.active .icon { background: var(--brand-500); }

.dashboard-main { display: grid; gap: 12px; }
.kpi-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.kpi {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--r-md);
    padding: 14px;
}
.kpi .label { font-size: 0.72rem; color: #94A3B8; text-transform: uppercase; letter-spacing: 0.06em; }
.kpi .value { font-size: 1.35rem; font-weight: 700; color: #fff; margin-top: 4px; letter-spacing: -0.02em; }
.kpi .delta { font-size: 0.72rem; color: #34D399; margin-top: 4px; }
.kpi .delta.down { color: #F87171; }

.chart-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--r-md);
    padding: 14px;
    min-height: 150px;
    position: relative;
    overflow: hidden;
}
.chart-card .title { font-size: 0.78rem; color: #CBD5E1; margin-bottom: 8px; }
.chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 100px; }
.chart-bars .bar {
    flex: 1;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, #60A5FA, #6366F1);
    opacity: 0.85;
}

.float-card {
    position: absolute;
    background: rgba(15,23,42,0.85);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--r-md);
    padding: 12px 14px;
    color: #fff;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
    display: flex; align-items: center; gap: 12px;
    font-size: 0.85rem;
    animation: floatY 6s var(--ease) infinite;
}
.float-card .ico {
    width: 32px; height: 32px; border-radius: 8px;
    background: var(--grad-brand);
    display: grid; place-items: center; color: #fff;
}
.float-card.fc-1 { top: -18px; left: -18px; }
.float-card.fc-2 { right: -16px; bottom: 30px; animation-delay: -2s; }
.float-card.fc-3 { left: -28px; bottom: -10px; animation-delay: -4s; }

@keyframes floatY {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-10px); }
}

/* =============================================================
   Trust badges row
   ============================================================= */
.trust-bar {
    background: var(--bg);
    padding: clamp(48px, 6vw, 72px) 0;
    border-bottom: 1px solid var(--border);
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    text-align: center;
    min-width: 0;
}
.trust-stat .num {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-strong);
    letter-spacing: -0.02em;
    line-height: 1.05;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.trust-stat .lbl { color: var(--text-muted); font-weight: 500; margin-top: 8px; font-size: 0.95rem; }

.logo-strip {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0 2px;
}
.logo-strip .lg-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: var(--r-pill);
    background: var(--bg-soft-2);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: -0.01em;
    line-height: 1.25;
    text-align: center;
    max-width: 100%;
}

/* =============================================================
   Cards / grids
   ============================================================= */
.grid { display: grid; gap: 24px; min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(59,130,246,0.30); }

.card-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(59,130,246,0.14), rgba(139,92,246,0.10));
    color: var(--brand-600);
    margin-bottom: 18px;
    border: 1px solid rgba(59,130,246,0.18);
    transition: transform var(--dur) var(--ease);
}
.card:hover .card-icon { transform: scale(1.08) rotate(-3deg); }
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; font-size: 1.18rem; }
.card p { font-size: 0.95rem; }

/* Premium feature card with gradient border */
.feature-card {
    position: relative;
    background: var(--bg);
    border-radius: var(--r-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    overflow: hidden;
    isolation: isolate;
}
.feature-card::before {
    content: ""; position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(226,232,240,1), rgba(226,232,240,1));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    transition: background var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.feature-card:hover::before { background: var(--grad-card-border); }
.feature-card .card-icon { margin-bottom: 20px; }
.feature-card h3 { margin-bottom: 6px; }
.feature-card p { font-size: 0.95rem; }

/* Glassmorphism card on dark sections */
.glass-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--r-lg);
    padding: 28px;
    color: var(--text-on-dark);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.glass-card h3 { color: #fff; }
.glass-card p { color: var(--text-on-dark-muted); }
.glass-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.07); border-color: rgba(96,165,250,0.30); }
.glass-card .card-icon {
    background: linear-gradient(135deg, rgba(59,130,246,0.30), rgba(139,92,246,0.20));
    border-color: rgba(96,165,250,0.30);
    color: #93C5FD;
}

/* =============================================================
   Sections (themed)
   ============================================================= */
.section-dark {
    position: relative;
    background: var(--grad-hero);
    color: var(--text-on-dark);
    overflow: hidden;
    isolation: isolate;
}
.section-dark::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(900px 600px at 50% 0%, #000, transparent 70%);
    -webkit-mask-image: radial-gradient(900px 600px at 50% 0%, #000, transparent 70%);
    z-index: -1;
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: var(--text-on-dark-muted); }
.section-dark .section-head p { color: #CBD5E1; }

.section-soft { background: var(--bg-soft); }

/* =============================================================
   Pricing
   ============================================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    min-width: 0;
}
.price-card {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 36px 30px;
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.price-card .plan-name { font-size: 0.82rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.price-card .plan-tag { color: var(--text-faint); font-size: 0.95rem; margin-top: 6px; }
.price-card .price { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 8px; }
.price-card .price .amount { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--text-strong); letter-spacing: -0.03em; line-height: 1; }
.price-card .price .currency { font-size: 1.5rem; font-weight: 700; color: var(--text-strong); }
.price-card .price .period { color: var(--text-muted); font-size: 0.95rem; }
.price-card .strike { color: var(--text-faint); text-decoration: line-through; font-weight: 600; }
.price-card .save-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(16,185,129,0.10);
    color: var(--green-600);
    border: 1px solid rgba(16,185,129,0.25);
    padding: 5px 10px;
    border-radius: var(--r-pill);
    font-size: 0.78rem; font-weight: 700;
    margin-bottom: 14px;
}
.price-card .features {
    list-style: none;
    margin: 22px 0 28px;
    display: grid; gap: 12px;
    flex: 1;
}
.price-card .features li {
    display: flex; align-items: flex-start; gap: 10px;
    color: var(--text-muted);
    font-size: 0.96rem;
}
.price-card .features li svg { color: var(--green-500); flex-shrink: 0; margin-top: 2px; width: 18px; height: 18px; }
.price-card .features li.disabled { color: var(--text-faint); text-decoration: line-through; }
.price-card .features li.disabled svg { color: var(--text-faint); }

.price-card.is-popular {
    background: linear-gradient(180deg, #0A0F1F 0%, #131C36 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 30px 70px -20px rgba(59,130,246,0.45), 0 0 0 1px rgba(96,165,250,0.30) inset;
    transform: translateY(-8px);
}
.price-card.is-popular:hover { transform: translateY(-12px); }
.price-card.is-popular .plan-name { color: #93C5FD; }
.price-card.is-popular .plan-tag { color: #CBD5E1; }
.price-card.is-popular .price .amount,
.price-card.is-popular .price .currency { color: #fff; }
.price-card.is-popular .price .period { color: #CBD5E1; }
.price-card.is-popular .features li { color: #E2E8F0; }
.price-card.is-popular .features li svg { color: #34D399; }

.popular-badge {
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
    background: var(--grad-brand);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--r-pill);
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.04em; text-transform: uppercase;
    box-shadow: 0 14px 30px -10px rgba(59,130,246,0.55);
}
.price-card .btn { width: 100%; }

/* Comparison table */
.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    font-size: 0.95rem;
}
.compare-table th, .compare-table td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-soft);
}
.compare-table thead th {
    background: var(--bg-soft);
    color: var(--text-strong);
    font-weight: 700;
    font-size: 0.92rem;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td .yes { color: var(--green-500); font-weight: 700; }
.compare-table td .no  { color: var(--rose-500); font-weight: 700; }

/* =============================================================
   Testimonials
   ============================================================= */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    min-width: 0;
}
.testimonial {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    display: flex; flex-direction: column; gap: 16px;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stars { display: inline-flex; gap: 2px; color: #F59E0B; }
.stars svg { width: 16px; height: 16px; }
.testimonial blockquote {
    color: var(--text-strong);
    font-size: 1.02rem;
    line-height: 1.55;
    font-weight: 500;
    quotes: "\201C" "\201D";
}
.testimonial blockquote::before { content: open-quote; color: var(--brand-500); font-size: 1.6rem; line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
.testimonial-author {
    display: flex; align-items: center; gap: 12px;
    margin-top: auto;
}
.avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: grid; place-items: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    background: var(--grad-brand);
    flex-shrink: 0;
}
.testimonial-author .who { font-weight: 700; color: var(--text-strong); font-size: 0.95rem; }
.testimonial-author .role { color: var(--text-muted); font-size: 0.85rem; }

/* =============================================================
   FAQ
   ============================================================= */
.faq {
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: #fff;
    overflow: hidden;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    margin-bottom: 12px;
}
.faq[open] { border-color: rgba(59,130,246,0.30); box-shadow: var(--shadow-sm); }
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 22px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--text-strong);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    width: 28px; height: 28px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--bg-soft);
    color: var(--brand-600);
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.faq[open] summary::after { content: "−"; background: var(--brand-600); color: #fff; }
.faq-body { padding: 0 22px 22px; color: var(--text-muted); font-size: 0.97rem; }

/* =============================================================
   Big CTA section
   ============================================================= */
.cta-band {
    position: relative;
    background: var(--grad-cta);
    color: #fff;
    border-radius: var(--r-2xl);
    padding: clamp(48px, 8vw, 88px) clamp(28px, 6vw, 64px);
    text-align: center;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 50px 100px -30px rgba(29,78,216,0.55);
}
.cta-band::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(800px 400px at 50% 50%, #000, transparent 70%);
    -webkit-mask-image: radial-gradient(800px 400px at 50% 50%, #000, transparent 70%);
    z-index: -1;
}
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.cta-band p { color: #CBD5E1; font-size: 1.1rem; margin: 14px auto 32px; max-width: 620px; }
.cta-actions { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* =============================================================
   Footer
   ============================================================= */
.site-footer {
    background: var(--navy-950);
    color: var(--text-on-dark);
    padding: 80px 0 36px;
    position: relative;
}
.site-footer::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96,165,250,0.5), transparent);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}
.site-footer .logo { color: #fff; }
.site-footer .footer-tag { color: #94A3B8; margin: 16px 0 22px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.03);
    display: grid; place-items: center;
    color: #94A3B8;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer-social a:hover { background: rgba(96,165,250,0.15); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

.footer-col h4 {
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a {
    color: #94A3B8;
    font-size: 0.95rem;
}
.footer-col a:hover { color: #fff; }

.footer-contact { color: #94A3B8; font-size: 0.92rem; }
.footer-contact .row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-contact svg { width: 16px; height: 16px; color: #60A5FA; flex-shrink: 0; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 28px;
    display: flex; flex-wrap: wrap; gap: 16px;
    justify-content: space-between;
    align-items: center;
    color: #64748B;
    font-size: 0.85rem;
}
.footer-bottom a { color: #94A3B8; margin-left: 18px; }
.footer-bottom a:hover { color: #fff; }

/* =============================================================
   Misc utilities
   ============================================================= */
.ico-circle {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: grid; place-items: center;
    background: var(--grad-brand);
    color: #fff;
    box-shadow: 0 12px 30px -10px rgba(59,130,246,0.45);
}
.ico-circle svg { width: 26px; height: 26px; }

.tick-list { list-style: none; display: grid; gap: 14px; }
.tick-list li {
    display: flex; align-items: flex-start; gap: 12px;
    color: var(--text-muted);
    font-size: 1rem;
}
.tick-list li svg { color: var(--green-500); flex-shrink: 0; margin-top: 3px; width: 20px; height: 20px; }
.section-dark .tick-list li { color: var(--text-on-dark-muted); }
.section-dark .tick-list li svg { color: #34D399; }

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
    will-change: transform, opacity;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 12px 30px -10px rgba(59,130,246,0.45); }
    50%      { box-shadow: 0 16px 40px -10px rgba(59,130,246,0.65); }
}

/* =============================================================
   Page header (inner pages)
   ============================================================= */
.page-header {
    position: relative;
    background: var(--grad-hero);
    color: #fff;
    padding: clamp(80px, 9vw, 130px) 0 clamp(60px, 7vw, 100px);
    overflow: hidden;
    isolation: isolate;
    text-align: center;
}
.page-header::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(700px 400px at 50% 50%, #000, transparent 70%);
    -webkit-mask-image: radial-gradient(700px 400px at 50% 50%, #000, transparent 70%);
    z-index: -1;
}
.page-header .container { min-width: 0; }
.page-header h1 {
    color: #fff;
    max-width: 880px;
    margin: 14px auto 16px;
    overflow-wrap: anywhere;
    word-break: break-word;
    padding: 0 2px;
}
.page-header p {
    color: #CBD5E1;
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    overflow-wrap: anywhere;
    hyphens: auto;
    -webkit-hyphens: auto;
    padding: 0 2px;
}
.page-header .eyebrow { background: rgba(96,165,250,0.10); color: #BFDBFE; border-color: rgba(96,165,250,0.25); }

/* =============================================================
   Mobile App Showcase
   ============================================================= */
.app-showcase {
    background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
    border-radius: var(--r-2xl);
}
.phone-mock {
    position: relative;
    width: 290px;
    aspect-ratio: 9 / 19;
    margin: 0 auto;
    border-radius: 38px;
    background: #0A0F1F;
    padding: 14px;
    box-shadow: 0 50px 90px -20px rgba(15,23,42,0.40), 0 0 0 1px rgba(15,23,42,0.10);
    border: 1px solid rgba(15,23,42,0.20);
    transform: rotate(-4deg);
    transition: transform var(--dur-slow) var(--ease);
}
.phone-mock:hover { transform: rotate(-2deg) translateY(-4px); }
.phone-screen {
    background: var(--grad-brand);
    border-radius: 26px;
    height: 100%;
    color: #fff;
    padding: 22px 18px;
    overflow: hidden;
    position: relative;
}
.phone-screen .top {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 0.7rem; opacity: 0.85; margin-bottom: 14px;
}
.phone-screen h4 { color: #fff; font-size: 1.2rem; }
.phone-screen .subtitle { font-size: 0.78rem; opacity: 0.85; margin-top: 4px; }
.phone-tile {
    margin-top: 14px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex; align-items: center; gap: 10px;
}
.phone-tile .tile-ico {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: rgba(255,255,255,0.25);
    display: grid; place-items: center;
}
.phone-tile .meta { font-size: 0.75rem; opacity: 0.85; }
.phone-tile .label { font-weight: 700; font-size: 0.88rem; }

.phone-stack {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 580px;
}
.phone-stack .phone-mock.back {
    position: absolute;
    transform: rotate(8deg) translate(60px, 40px) scale(0.92);
    opacity: 0.85;
    z-index: 0;
}
.phone-stack .phone-mock.front { z-index: 2; }

.notif-card {
    position: absolute;
    background: #fff;
    color: var(--text-strong);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 12px 14px;
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 10px;
    font-size: 0.85rem;
    max-width: 250px;
    animation: floatY 6s var(--ease) infinite;
}
.notif-card .ico { width: 32px; height: 32px; border-radius: 8px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.notif-card.n-1 { top: 20px; left: -30px; animation-delay: -1s; }
.notif-card.n-2 { bottom: 80px; right: -20px; animation-delay: -3s; }
.notif-card .who { font-weight: 700; }
.notif-card .msg { color: var(--text-muted); font-size: 0.78rem; margin-top: 2px; }

/* =============================================================
   Blog
   ============================================================= */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; min-width: 0; }
.blog-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-thumb {
    aspect-ratio: 16 / 9;
    background: var(--grad-brand);
    position: relative;
    overflow: hidden;
}
.blog-thumb::after {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%);
}
.blog-thumb .badge {
    position: absolute; top: 16px; left: 16px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.04em; text-transform: uppercase;
}
.blog-content {
    padding: 22px 24px 26px;
    flex: 1;
    display: flex; flex-direction: column; gap: 10px;
}
.blog-meta { color: var(--text-faint); font-size: 0.85rem; display: flex; gap: 12px; }
.blog-content h3 { font-size: 1.18rem; line-height: 1.3; }
.blog-content p { font-size: 0.95rem; flex: 1; }

/* Article (blog post) */
.article {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(40px, 6vw, 80px) 24px;
}
.article header { margin-bottom: 36px; }
.article h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.15; margin-bottom: 14px; }
.article .article-meta { color: var(--text-faint); font-size: 0.95rem; display: flex; gap: 14px; flex-wrap: wrap; }
.article h2 { font-size: 1.7rem; margin: 40px 0 14px; }
.article h3 { font-size: 1.2rem; margin: 30px 0 10px; }
.article p, .article li { font-size: 1.04rem; line-height: 1.75; color: var(--text); }
.article p { margin: 14px 0; }
.article ul, .article ol { padding-left: 22px; margin: 14px 0; }
.article ul li, .article ol li { margin-bottom: 8px; }
.article a { color: var(--brand-600); border-bottom: 1px solid rgba(59,130,246,0.30); }
.article a:hover { border-bottom-color: var(--brand-700); }
.article blockquote {
    border-left: 3px solid var(--brand-500);
    background: var(--bg-soft);
    padding: 18px 22px;
    margin: 20px 0;
    border-radius: 0 var(--r-md) var(--r-md) 0;
    color: var(--text-strong);
    font-style: italic;
}
.article .inline-cta {
    margin: 36px 0;
    background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(139,92,246,0.06));
    border: 1px solid rgba(59,130,246,0.18);
    border-radius: var(--r-lg);
    padding: 28px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 18px;
}
.article .inline-cta h3 { margin: 0; font-size: 1.15rem; }
.article .inline-cta p { margin: 4px 0 0; font-size: 0.95rem; }

/* =============================================================
   Forms
   ============================================================= */
.form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: clamp(28px, 4vw, 44px);
    box-shadow: var(--shadow-lg);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-weight: 600; color: var(--text-strong); font-size: 0.92rem; }
.form-group label .req { color: var(--rose-500); }
.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: #fff;
    color: var(--text-strong);
    font-family: inherit;
    font-size: 0.98rem;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form-control::placeholder { color: var(--text-faint); }
.form-control:focus {
    outline: none;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.14);
}
textarea.form-control { min-height: 120px; resize: vertical; }
.form-help { color: var(--text-faint); font-size: 0.86rem; }
.form-actions { margin-top: 24px; }

.captcha-row {
    display: flex; align-items: center; gap: 12px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 12px 14px;
}
.captcha-q { font-weight: 700; color: var(--text-strong); }
.captcha-row .form-control { max-width: 130px; }

/* =============================================================
   404
   ============================================================= */
.error-page {
    min-height: 70vh;
    display: grid; place-items: center;
    text-align: center;
    padding: 80px 24px;
}
.error-page .code {
    font-family: var(--font-display);
    font-size: clamp(5rem, 14vw, 9rem);
    font-weight: 800;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    letter-spacing: -0.04em;
}

/* =============================================================
   Industry tiles ("Built for every type of association")
   ============================================================= */
.industries-section {
    position: relative;
}
/* Horizontal carousel wrapper — scroll lives here on small screens */
.industry-scroll {
    display: block;
    width: 100%;
}
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    min-width: 0;
}
.industry-bottom-cta {
    margin-top: 56px;
    text-align: center;
}
.industry-bottom-cta__title {
    font-size: clamp(1.25rem, 4vw, 1.6rem);
    margin-bottom: 12px;
}
.industry-bottom-cta__lead {
    max-width: 600px;
    margin: 0 auto 28px;
}
.industry-bottom-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: stretch;
}
.industry-bottom-cta__actions .btn {
    min-height: 48px;
}
.industry-card {
    --ind: #3B82F6;
    --ind-2: #6366F1;
    position: relative;
    background: #fff;
    border-radius: var(--r-xl);
    padding: 30px;
    overflow: hidden;
    isolation: isolate;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}
.industry-card::before {
    content: ""; position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(226,232,240,1), rgba(226,232,240,1));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    transition: background var(--dur) var(--ease);
    z-index: 1;
}
.industry-card::after {
    content: ""; position: absolute;
    width: 220px; height: 220px;
    right: -60px; top: -60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ind), var(--ind-2));
    opacity: 0.10;
    filter: blur(28px);
    pointer-events: none;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
    z-index: 0;
}
.industry-card > * { position: relative; z-index: 2; }
.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -20px color-mix(in srgb, var(--ind) 30%, transparent), var(--shadow-lg);
}
.industry-card:hover::before { background: linear-gradient(135deg, color-mix(in srgb, var(--ind) 50%, transparent), color-mix(in srgb, var(--ind-2) 35%, transparent)); }
.industry-card:hover::after { opacity: 0.18; transform: scale(1.08); }

.industry-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: grid; place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--ind), var(--ind-2));
    box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--ind) 55%, transparent), inset 0 1px 0 rgba(255,255,255,0.25);
    margin-bottom: 22px;
    transition: transform var(--dur) var(--ease);
}
.industry-card:hover .industry-icon { transform: scale(1.06) rotate(-3deg); }
.industry-icon svg { width: 26px; height: 26px; }

.industry-card .pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: color-mix(in srgb, var(--ind) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--ind) 28%, transparent);
    color: var(--ind);
    padding: 4px 10px;
    border-radius: var(--r-pill);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
    width: fit-content;
}
.industry-card h3 {
    font-size: 1.18rem;
    margin-bottom: 8px;
}
.industry-card p {
    font-size: 0.96rem;
    line-height: 1.55;
    color: var(--text-muted);
    flex: 1;
}
.industry-card .industry-cta {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ind);
    font-weight: 700;
    font-size: 0.94rem;
}
.industry-card .industry-cta svg { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
.industry-card:hover .industry-cta svg { transform: translateX(4px); }

/* Per-industry accents */
.industry-card.ind-electrical { --ind: #2563EB; --ind-2: #06B6D4; }
.industry-card.ind-florist    { --ind: #EC4899; --ind-2: #F43F5E; }
.industry-card.ind-builders   { --ind: #F59E0B; --ind-2: #EF4444; }
.industry-card.ind-housing    { --ind: #14B8A6; --ind-2: #0EA5E9; }
.industry-card.ind-chamber    { --ind: #6366F1; --ind-2: #8B5CF6; }
.industry-card.ind-trade      { --ind: #10B981; --ind-2: #14B8A6; }
.industry-card.ind-club       { --ind: #8B5CF6; --ind-2: #EC4899; }
.industry-card.ind-ngo        { --ind: #0EA5E9; --ind-2: #10B981; }
.industry-card.ind-edu        { --ind: #F97316; --ind-2: #EF4444; }

.industry-strip {
    margin-top: 36px;
    text-align: center;
    color: var(--text-faint);
    font-size: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 6px 10px;
    max-width: 100%;
}
.industry-strip-lead { flex: 0 0 auto; }
.industry-strip-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 8px 18px;
    max-width: 100%;
    min-width: 0;
}
.industry-strip .strip-tag {
    display: inline-block;
    max-width: 100%;
    text-align: center;
}
.industry-strip strong { color: var(--text-strong); }

/* Industry hero override (used on landing pages) */
.hero.hero-industry {
    --ind: #2563EB;
    --ind-2: #6366F1;
    background:
        radial-gradient(900px 500px at 80% -10%, color-mix(in srgb, var(--ind) 35%, transparent), transparent 60%),
        radial-gradient(700px 420px at 10% 110%, color-mix(in srgb, var(--ind-2) 30%, transparent), transparent 55%),
        linear-gradient(180deg, #060B1A 0%, #0A0F1F 60%, #0F172A 100%);
}
.hero.hero-industry .blob-1 { background: var(--ind); }
.hero.hero-industry .blob-2 { background: var(--ind-2); }
.hero.hero-industry .hero-content h1 .accent {
    background: linear-gradient(135deg, color-mix(in srgb, var(--ind) 70%, white), color-mix(in srgb, var(--ind-2) 80%, white));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero.hero-electrical { --ind: #2563EB; --ind-2: #06B6D4; }
.hero.hero-florist    { --ind: #EC4899; --ind-2: #F43F5E; }
.hero.hero-builders   { --ind: #F59E0B; --ind-2: #EF4444; }
.hero.hero-housing    { --ind: #14B8A6; --ind-2: #0EA5E9; }
.hero.hero-chamber    { --ind: #6366F1; --ind-2: #8B5CF6; }
.hero.hero-trade      { --ind: #10B981; --ind-2: #14B8A6; }

.industry-eyebrow {
    background: color-mix(in srgb, var(--ind, #60A5FA) 18%, transparent);
    color: #BFDBFE;
    border-color: color-mix(in srgb, var(--ind, #60A5FA) 35%, transparent);
}

/* =============================================================
   Value pillars ("Why different associations choose Associan")
   ============================================================= */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    min-width: 0;
}
.pillar-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px 26px;
    box-shadow: var(--shadow-xs);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
    overflow: hidden;
    isolation: isolate;
}
.pillar-card::after {
    content: ""; position: absolute;
    width: 220px; height: 220px;
    left: -80px; bottom: -80px;
    border-radius: 50%;
    background: var(--grad-brand);
    opacity: 0.06;
    filter: blur(40px);
    z-index: -1;
}
.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(59,130,246,0.30);
}
.pillar-card .ico {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59,130,246,0.14), rgba(139,92,246,0.10));
    color: var(--brand-600);
    border: 1px solid rgba(59,130,246,0.20);
    display: grid; place-items: center;
    margin-bottom: 16px;
}
.pillar-card .ico svg { width: 22px; height: 22px; }
.pillar-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.pillar-card p { font-size: 0.93rem; color: var(--text-muted); }

/* =============================================================
   Industry detail page helpers
   ============================================================= */
.kpi-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
    min-width: 0;
}
.kpi-strip .kpi-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--r-md);
    padding: 16px 18px;
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.kpi-strip .kpi-card .label { font-size: 0.72rem; color: #94A3B8; letter-spacing: 0.06em; text-transform: uppercase; }
.kpi-strip .kpi-card .value { font-size: 1.5rem; font-weight: 800; margin-top: 4px; letter-spacing: -0.02em; }
.kpi-strip .kpi-card .delta { font-size: 0.78rem; color: #34D399; margin-top: 4px; }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
    .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
    .pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
    .nav-links { display: none; }
    .nav-cta .btn-outline { display: none; }
    .nav-toggle { display: inline-flex; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { order: 2; margin-top: 16px; max-width: 100%; }
    .dashboard-mock { transform: none; max-width: 600px; margin: 0 auto; width: 100%; }
    .dashboard-mock:hover { transform: translateY(-2px); }
    .float-card.fc-1, .float-card.fc-3 { left: auto; right: -8px; }
    .float-card.fc-1 { top: -14px; }
    .float-card.fc-3 { display: none; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pricing-grid { grid-template-columns: 1fr; }
    .price-card.is-popular { transform: none; }
    .price-card.is-popular:hover { transform: translateY(-6px); }
    .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .form-grid { grid-template-columns: 1fr; }
    .feature-grid-alt { grid-template-columns: 1fr !important; gap: 32px; }
    .compare-table { font-size: 0.88rem; }
    .compare-table th, .compare-table td { padding: 12px 10px; }
    .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .container,
    .container-narrow {
        padding-left: max(18px, env(safe-area-inset-left, 0px));
        padding-right: max(18px, env(safe-area-inset-right, 0px));
    }
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 14px;
    }
    .trust-stat { min-width: 0; }
    .trust-stat .num { font-size: clamp(1.45rem, 7vw, 2.2rem); }
    .trust-stat .lbl {
        font-size: 0.82rem;
        line-height: 1.35;
        hyphens: auto;
        -webkit-hyphens: auto;
    }
    .trust-bar { padding: clamp(36px, 8vw, 56px) 0; }
    .logo-strip { gap: 8px; }
    .logo-strip .lg-chip { font-size: 0.78rem; padding: 7px 12px; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { justify-content: center; text-align: center; }
    .footer-bottom .links a { margin: 0 8px; }
    .hero {
        padding-top: max(72px, env(safe-area-inset-top, 0px));
        padding-bottom: clamp(48px, 10vw, 80px);
        padding-left: env(safe-area-inset-left, 0);
        padding-right: env(safe-area-inset-right, 0);
    }
    .hero .hero-content > .eyebrow.on-dark {
        font-size: 0.68rem;
        padding: 6px 12px;
        letter-spacing: 0.03em;
    }
    .hero-content h1 {
        font-size: clamp(1.65rem, 7.2vw, 2.25rem);
        line-height: 1.14;
    }
    .hero-content .lead {
        font-size: clamp(0.95rem, 3.8vw, 1.06rem);
        max-width: 100%;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn { flex: 1; min-width: 0; width: 100%; justify-content: center; }
    .hero-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .hero-trust > span { max-width: 100%; }
    .cta-band { padding: 56px 20px; border-radius: var(--r-xl); }
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
    }
    .cta-actions .btn { width: 100%; justify-content: center; }
    .page-header {
        padding-top: max(clamp(64px, 14vw, 96px), env(safe-area-inset-top, 0px));
        padding-bottom: clamp(44px, 10vw, 72px);
    }
    .page-header h1 {
        font-size: clamp(1.55rem, 6.5vw, 2.1rem);
        line-height: 1.18;
    }
    .page-header p { font-size: clamp(0.95rem, 3.6vw, 1.05rem); }
    .mobile-cta-bar { display: flex; }
    .fab-whatsapp { display: none; }
    body.has-mobile-cta { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
    .phone-stack { min-height: 480px; }
    .phone-stack .phone-mock.back { transform: rotate(8deg) translate(28px, 24px) scale(0.86); }
    .notif-card.n-1 { left: 0; max-width: calc(100% - 8px); }
    .notif-card.n-2 { right: 0; max-width: calc(100% - 8px); }
    .pillars-grid { grid-template-columns: 1fr; }
    .kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .kpi-strip .kpi-card { padding: 12px 14px; }
    .kpi-strip .kpi-card .value { font-size: 1.25rem; }

    .nav { gap: 8px; height: 64px; }
    .logo { font-size: 1.12rem; gap: 8px; }
    .logo-mark { width: 28px; height: 28px; font-size: 0.82rem; }
    /* Header CTA lives in drawer + sticky bar — avoids cramped three-across layout */
    .nav-cta .btn-primary { display: none; }
    .mobile-drawer {
        inset: 64px 0 0 0;
        padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
    }

    /* Dashboard mock: stack so mock never forces page wider than viewport */
    .dashboard-body {
        grid-template-columns: 1fr;
        padding: 12px;
        gap: 12px;
    }
    .dashboard-side {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        padding: 10px;
    }
    .dashboard-side .item {
        flex: 0 0 auto;
        font-size: 0.68rem;
        padding: 6px 8px;
    }
    .dashboard-main { min-width: 0; }
    .dashboard-mock .url {
        max-width: min(200px, 46vw);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .float-card.fc-2 { right: 6px; left: auto; max-width: calc(100% - 12px); }
    .dashboard-mock .kpi { padding: 10px 8px; min-width: 0; }
    .dashboard-mock .kpi .label { font-size: 0.62rem; letter-spacing: 0.04em; }
    .dashboard-mock .kpi .value { font-size: clamp(0.95rem, 4.2vw, 1.2rem); }
    .dashboard-mock .kpi .delta { font-size: 0.65rem; }

    /* Industry carousel: scroll container + inner flex row (avoids clipping with overflow-x on body) */
    .industry-scroll {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        touch-action: pan-x;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 18px;
        margin-inline: -18px;
        padding-inline: 18px;
        padding-bottom: 6px;
        scrollbar-width: thin;
    }
    .industry-scroll::-webkit-scrollbar { height: 4px; }
    .industry-scroll::-webkit-scrollbar-thumb {
        background: rgba(100,116,139,0.45);
        border-radius: 4px;
    }
    .industry-scroll .industry-grid {
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 12px;
        width: max-content;
        min-width: 100%;
        margin: 0;
        padding: 4px 0 10px;
    }
    .industry-scroll .industry-card {
        flex: 0 0 min(88vw, 300px);
        width: min(88vw, 300px);
        max-width: none;
        min-height: 0;
        scroll-snap-align: start;
        scroll-snap-stop: normal;
        padding: 22px 18px;
    }
    /* Cards off-screen must not stay hidden from scroll-reveal */
    .industry-scroll .reveal,
    .industry-scroll .reveal.is-visible {
        opacity: 1 !important;
        transform: none !important;
        transition: none;
    }
    .industry-strip {
        padding: 0 2px;
        font-size: 0.86rem;
        line-height: 1.55;
    }
    .industry-bottom-cta { margin-top: 40px; }
    .industry-bottom-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .industry-bottom-cta__actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
    .trust-grid { gap: 16px 10px; }
    .trust-stat .lbl { font-size: 0.78rem; }
    .kpi-strip { grid-template-columns: 1fr; }
    .industry-scroll .industry-card {
        flex-basis: min(86vw, 300px);
        width: min(86vw, 300px);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .float-card, .phone-mock { animation: none; }
    .reveal { opacity: 1; transform: none; }
}
