/* =============================================================
   HubZap — Premium SaaS Landing
   Design system inspirado em Stripe / Linear / Vercel / Resend
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
    --bg:            #0B0F19;
    --bg-soft:       #0F1424;
    --bg-elev:       #141A2E;
    --surface:       rgba(255, 255, 255, 0.04);
    --surface-2:     rgba(255, 255, 255, 0.06);
    --border:        rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    --purple:        #7C3AED;
    --blue:          #2563EB;
    --green:         #10B981;
    --white:         #FFFFFF;

    --text:          #F4F6FB;
    --text-dim:      #A6B0C3;
    --text-muted:    #6B7689;

    --grad-brand:    linear-gradient(135deg, #7C3AED 0%, #2563EB 100%);
    --grad-brand-3:  linear-gradient(120deg, #7C3AED 0%, #2563EB 50%, #10B981 100%);
    --grad-text:     linear-gradient(120deg, #a78bfa 0%, #60a5fa 50%, #34d399 100%);

    --radius:        14px;
    --radius-lg:     22px;
    --radius-pill:   999px;

    --shadow-sm:     0 2px 8px rgba(0,0,0,0.3);
    --shadow:        0 10px 40px rgba(0,0,0,0.4);
    --shadow-glow:   0 0 60px rgba(124,58,237,0.35);

    --maxw:          1180px;
    --ease:          cubic-bezier(0.22, 1, 0.36, 1);

    --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: rgba(124,58,237,0.4); color: #fff; }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 70px 0; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
    text-transform: uppercase; color: var(--text-dim);
    padding: 6px 14px; border-radius: var(--radius-pill);
    background: var(--surface); border: 1px solid var(--border);
    margin-bottom: 22px;
}
.eyebrow .pulse {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--green); box-shadow: 0 0 0 0 rgba(16,185,129,0.7);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
    70%  { box-shadow: 0 0 0 9px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-title {
    font-size: clamp(28px, 4vw, 46px); font-weight: 800;
    letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 18px;
}
.section-sub { font-size: clamp(16px, 2vw, 19px); color: var(--text-dim); }

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 600; font-size: 15px; padding: 12px 22px;
    border-radius: var(--radius-pill); transition: all 0.25s var(--ease);
    white-space: nowrap; position: relative;
}
.btn-primary {
    background: var(--grad-brand); color: #fff;
    box-shadow: 0 8px 24px rgba(124,58,237,0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(124,58,237,0.5);
}
.btn-ghost {
    background: var(--surface); color: var(--text);
    border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,0.25); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: all 0.3s var(--ease);
    padding: 18px 0;
}
.nav.scrolled {
    background: rgba(11,15,25,0.72);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.link { font-size: 14.5px; color: var(--text-dim); transition: color 0.2s; }
.nav-links a.link:hover { color: var(--text); }
.nav-toggle { display: none; font-size: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 170px 0 90px; overflow: hidden; }
#particles {
    position: absolute; inset: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}
.hero-glow {
    position: absolute; z-index: 0; border-radius: 50%;
    filter: blur(120px); opacity: 0.5; pointer-events: none;
}
.hero-glow.g1 { width: 540px; height: 540px; background: var(--purple); top: -160px; left: -120px; }
.hero-glow.g2 { width: 460px; height: 460px; background: var(--blue); top: 40px; right: -140px; opacity: 0.4; }
.hero-grid {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.05fr 0.95fr;
    gap: 56px; align-items: center;
}
.badge-official {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 7px 16px; border-radius: var(--radius-pill);
    background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(37,99,235,0.18));
    border: 1px solid rgba(124,58,237,0.4);
    font-size: 13px; font-weight: 600; color: #c4b5fd; margin-bottom: 26px;
}
.badge-official svg { width: 15px; height: 15px; }
.hero-title {
    font-size: clamp(38px, 5.6vw, 68px); font-weight: 800;
    letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 24px;
}
.hero-sub {
    font-size: clamp(17px, 2.2vw, 21px); color: var(--text-dim);
    max-width: 540px; margin-bottom: 36px;
}
.hero-sub strong { color: var(--text); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    font-size: 14px; color: var(--text-dim);
}
.hero-trust .check { color: var(--green); font-weight: 700; }
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-muted); }

/* ---------- Dashboard Preview ---------- */
.hero-mockup { position: relative; }
.dash {
    position: relative; border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(20,26,46,0.95), rgba(15,20,36,0.95));
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow), 0 0 80px rgba(124,58,237,0.15);
    overflow: hidden; backdrop-filter: blur(10px);
    transform: perspective(1600px) rotateY(-7deg) rotateX(3deg);
    transition: transform 0.6s var(--ease);
}
.dash:hover { transform: perspective(1600px) rotateY(0deg) rotateX(0deg); }
.dash-bar {
    display: flex; align-items: center; gap: 7px;
    padding: 13px 16px; border-bottom: 1px solid var(--border);
    background: rgba(0,0,0,0.2);
}
.dash-bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.dash-bar .r { background: #ff5f57; } .dash-bar .y { background: #febc2e; } .dash-bar .g { background: #28c840; }
.dash-bar .url {
    margin-left: 10px; font-size: 12px; color: var(--text-muted);
    background: rgba(255,255,255,0.05); padding: 4px 12px; border-radius: 7px;
}
.dash-body { padding: 20px; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.dash-kpi {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 14px;
}
.dash-kpi .lbl { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.dash-kpi .val { font-size: 22px; font-weight: 800; margin-top: 4px; }
.dash-kpi .val.green { color: var(--green); }
.dash-kpi .trend { font-size: 11px; color: var(--green); margin-top: 2px; }
.dash-conn {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 13px 15px; margin-bottom: 10px;
}
.dash-conn .left { display: flex; align-items: center; gap: 11px; }
.dash-conn .ic {
    width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
    background: rgba(16,185,129,0.15); font-size: 16px;
}
.dash-conn .nm { font-size: 14px; font-weight: 600; }
.dash-conn .sub { font-size: 11px; color: var(--text-muted); }
.pill-live {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 600; color: var(--green);
    background: rgba(16,185,129,0.12); padding: 4px 10px; border-radius: var(--radius-pill);
}
.pill-live .d { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.dash-spark { display: flex; align-items: flex-end; gap: 5px; height: 56px; margin-top: 14px; }
.dash-spark span {
    flex: 1; border-radius: 4px 4px 0 0;
    background: var(--grad-brand); opacity: 0.85;
    animation: grow 1.2s var(--ease) backwards;
}
@keyframes grow { from { height: 0 !important; opacity: 0; } }

/* floating chips */
.float-chip {
    position: absolute; z-index: 5;
    display: flex; align-items: center; gap: 10px;
    background: rgba(20,26,46,0.92); backdrop-filter: blur(12px);
    border: 1px solid var(--border-strong); border-radius: 13px;
    padding: 11px 14px; box-shadow: var(--shadow); font-size: 12.5px;
    animation: floaty 4s ease-in-out infinite;
}
.float-chip .av { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 15px; background: rgba(124,58,237,0.2); }
.float-chip .av.ok { background: rgba(16,185,129,0.2); }
.float-chip strong { display: block; font-size: 12.5px; }
.float-chip span { color: var(--text-muted); font-size: 11.5px; }
.float-chip.c1 { top: 8%; left: -34px; }
.float-chip.c2 { bottom: 14%; right: -34px; animation-delay: 1.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Logos / social proof strip ---------- */
.logos { padding: 50px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logos-label { text-align: center; font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 26px; }
.logos-row { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; opacity: 0.75; }
.logos-row .logo-item { font-size: 19px; font-weight: 800; color: var(--text-dim); letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; transition: color 0.2s, opacity 0.2s; }
.logos-row .logo-item:hover { color: var(--text); }

/* ---------- Integration flow ---------- */
.flow {
    display: flex; align-items: stretch;
    gap: 0; max-width: 1040px; margin: 0 auto;
    position: relative;
}
.flow-node {
    flex: 1 1 0; min-width: 0;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px 18px; text-align: center;
    position: relative; z-index: 2; transition: all 0.3s var(--ease);
    display: flex; flex-direction: column; align-items: center;
}
.flow-node:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.flow-node.hub {
    border: 1px solid rgba(124,58,237,0.5);
    background: linear-gradient(160deg, rgba(124,58,237,0.14), rgba(37,99,235,0.1));
    box-shadow: 0 0 50px rgba(124,58,237,0.25);
}
.flow-ic { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin: 0 auto 16px; font-size: 26px; }
.flow-ic.wa { background: rgba(37,211,102,0.15); }
.flow-ic.api { background: rgba(37,99,235,0.15); }
.flow-ic.hub { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }
.flow-ic.cw { background: rgba(124,58,237,0.15); }
.flow-node h4 { font-size: 17px; margin-bottom: 7px; }
.flow-node p { font-size: 13px; color: var(--text-dim); line-height: 1.5; }
.flow-node .tag { display: inline-block; margin-top: auto; padding-top: 14px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
.flow-connector { flex: 0 0 34px; position: relative; display: flex; align-items: center; justify-content: center; }
.flow-line { position: relative; width: 100%; height: 2px; background: var(--border-strong); overflow: hidden; }
.flow-line::after {
    content: ''; position: absolute; top: 0; left: -40%; width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
    animation: flowmove 2.2s linear infinite;
}
@keyframes flowmove { to { left: 110%; } }

.caps {
    margin-top: 50px; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.caps-track {
    display: flex; gap: 12px; width: max-content;
    animation: capsScroll 32s linear infinite;
}
.caps:hover .caps-track { animation-play-state: paused; }
.cap {
    flex: 0 0 auto; white-space: nowrap;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-pill); padding: 9px 16px;
    font-size: 13.5px; font-weight: 500; color: var(--text-dim);
}
.cap span { color: var(--green); font-weight: 800; margin-right: 5px; }
@keyframes capsScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Metrics ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.metric-num { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -0.02em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.metric-num small { font-size: 0.4em; -webkit-text-fill-color: var(--text-dim); }
.metric-lbl { font-size: 14px; color: var(--text-dim); margin-top: 6px; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
    position: relative; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 32px 28px; overflow: hidden;
    transition: all 0.35s var(--ease);
}
.feature::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(124,58,237,0.12), transparent 45%);
    opacity: 0; transition: opacity 0.35s;
}
.feature:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.feature:hover::before { opacity: 1; }
.feature-ic {
    width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
    margin-bottom: 20px; background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(37,99,235,0.15));
    border: 1px solid var(--border); position: relative; z-index: 1;
}
.feature-ic svg { width: 26px; height: 26px; stroke: #c4b5fd; }
.feature h3 { font-size: 18px; margin-bottom: 10px; position: relative; z-index: 1; }
.feature p { font-size: 14.5px; color: var(--text-dim); position: relative; z-index: 1; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.step {
    text-align: center; padding: 34px 26px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); position: relative;
    transition: all 0.3s var(--ease);
}
.step:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.step-num {
    width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
    margin: 0 auto 20px; font-size: 22px; font-weight: 800; color: #fff;
    background: var(--grad-brand); box-shadow: var(--shadow-glow);
}
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--text-dim); }
.step-cta { text-align: center; margin-top: 50px; }

/* ---------- Proof / cases ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 30px; }
.proof-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px;
    transition: all 0.3s var(--ease);
}
.proof-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.proof-quote { font-size: 15px; color: var(--text); line-height: 1.6; margin-bottom: 20px; }
.proof-author { display: flex; align-items: center; gap: 12px; }
.proof-av { width: 42px; height: 42px; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; font-weight: 700; color: #fff; }
.proof-author strong { display: block; font-size: 14px; }
.proof-author small { color: var(--text-muted); font-size: 12.5px; }
.proof-stars { color: #fbbf24; margin-bottom: 14px; letter-spacing: 2px; }

/* ---------- Pricing ---------- */
.toggle-wrap { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 50px; }
.toggle-wrap .lbl { font-size: 15px; color: var(--text-dim); font-weight: 600; transition: color 0.2s; }
.toggle-wrap .lbl.active { color: var(--text); }
.toggle-save { font-size: 12px; font-weight: 700; color: var(--green); background: rgba(16,185,129,0.12); padding: 3px 10px; border-radius: var(--radius-pill); }
.switch { position: relative; width: 52px; height: 28px; }
.switch input { display: none; }
.switch .track { position: absolute; inset: 0; background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); transition: 0.3s; }
.switch .thumb { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad-brand); transition: 0.3s var(--ease); }
.switch input:checked ~ .track { background: rgba(124,58,237,0.25); }
.switch input:checked ~ .thumb { transform: translateX(24px); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1080px; margin: 0 auto; align-items: stretch; }
.plan {
    position: relative; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 36px 30px; display: flex; flex-direction: column;
    transition: all 0.35s var(--ease);
}
.plan:hover { transform: translateY(-8px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.plan.featured {
    border: 1px solid rgba(124,58,237,0.5);
    background: linear-gradient(170deg, rgba(124,58,237,0.12), rgba(37,99,235,0.06));
    box-shadow: 0 0 60px rgba(124,58,237,0.2);
}
.plan.featured::after {
    content: ''; position: absolute; inset: -1px; border-radius: var(--radius-lg);
    padding: 1px; background: var(--grad-brand);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: 0.5;
}
.plan-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--grad-brand); color: #fff; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.04em; padding: 6px 18px; border-radius: var(--radius-pill);
    white-space: nowrap;
}
.plan h3 { font-size: 22px; margin-bottom: 6px; }
.plan .desc { font-size: 14px; color: var(--text-dim); margin-bottom: 24px; }
.plan-price { font-size: 46px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.plan-price .cur { font-size: 22px; vertical-align: super; color: var(--text-dim); }
.plan-price .per { font-size: 15px; font-weight: 500; color: var(--text-dim); }
.plan-annual-note { font-size: 12.5px; color: var(--green); margin-bottom: 24px; min-height: 18px; }
.plan ul { margin-bottom: 28px; flex: 1; }
.plan ul li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; font-size: 14.5px; color: var(--text-dim); border-bottom: 1px solid var(--border); }
.plan ul li:last-child { border-bottom: none; }
.plan ul li .ck { color: var(--green); font-weight: 800; flex-shrink: 0; }
.plan ul li strong { color: var(--text); }

/* ---------- Final CTA ---------- */
.final {
    position: relative; overflow: hidden;
    border-radius: var(--radius-lg); margin: 0 24px;
    background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(37,99,235,0.14));
    border: 1px solid var(--border-strong);
    padding: 80px 32px; text-align: center;
}
.final-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.final h2 { font-size: clamp(28px, 4.5vw, 48px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 18px; }
.final p { font-size: 18px; color: var(--text-dim); margin-bottom: 34px; }
.final-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.final small { color: var(--text-muted); font-size: 13.5px; }
.final-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; filter: blur(140px); background: var(--purple); opacity: 0.25; top: -300px; left: 50%; transform: translateX(-50%); }

/* ---------- Footer ---------- */
.footer { padding: 70px 0 40px; border-top: 1px solid var(--border); margin-top: 110px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand img { height: 30px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-dim); max-width: 280px; }
.footer-col strong { display: block; font-size: 14px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-dim); padding: 6px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 12px; }
.footer-bottom small { color: var(--text-muted); font-size: 13px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); transition: all 0.2s; }
.footer-social a:hover { background: var(--surface-2); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    background: rgba(11,15,25,0.85); backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    padding: 12px 0; transform: translateY(100%); transition: transform 0.4s var(--ease);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sticky-cta strong { font-size: 15px; }
.sticky-cta span { display: block; font-size: 12.5px; color: var(--text-muted); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
    .hero-grid { grid-template-columns: 1fr; gap: 56px; }
    .hero-mockup { max-width: 480px; margin: 0 auto; }
    .dash { transform: none; }
    .features, .steps, .proof-grid, .plans { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .flow { flex-direction: column; gap: 14px; }
    .flow-connector { flex-basis: 30px; transform: rotate(90deg); }
    .float-chip.c1 { left: 0; } .float-chip.c2 { right: 0; }
}
@media (max-width: 680px) {
    .section { padding: 80px 0; }
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(11,15,25,0.97); backdrop-filter: blur(16px);
        padding: 24px; gap: 18px; border-bottom: 1px solid var(--border);
    }
    .features, .steps, .proof-grid, .plans, .metrics { grid-template-columns: 1fr; }
    .metrics { gap: 36px; }
    .dash-kpis { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .plan.featured { transform: none; }
    .sticky-cta span { display: none; }
    .sticky-cta .btn { width: 100%; }
}

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