/* =========================================================
   Scanner Hub — main stylesheet
   Colorful, modern, animated, fully responsive
   ========================================================= */

:root {
    /* Brand */
    --brand-green: #21a938;
    --brand-green-dark: #178c2a;
    --brand-blue: #2e7cf6;
    --brand-purple: #8b5cf6;
    --brand-orange: #ff8a3d;
    --brand-pink: #ff5d8f;
    --brand-black: #12151a;

    --grad-primary: linear-gradient(120deg, var(--brand-green) 0%, var(--brand-blue) 100%);
    --grad-warm: linear-gradient(120deg, var(--brand-orange) 0%, var(--brand-pink) 100%);
    --grad-cool: linear-gradient(120deg, var(--brand-blue) 0%, var(--brand-purple) 100%);
    --grad-hero: linear-gradient(135deg, #eafff0 0%, #eaf2ff 55%, #f6ecff 100%);

    --light-bg: #f5f8fa;
    --card-bg: #ffffff;
    --text-gray: #5b6470;
    --border-color: #ececf2;

    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shadow-soft: 0 10px 30px rgba(20, 30, 60, 0.08);
    --shadow-hover: 0 20px 45px rgba(20, 30, 60, 0.14);
    --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

html { scroll-behavior: smooth; }

body {
    color: var(--brand-black);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Reveal-on-scroll utility */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* Header / Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
    position: sticky;
    top: 0;
    /* Must stay above .nav-overlay (z-index: 1040). header establishes its
       own stacking context (position + z-index), and .nav-links/.nav-toggle
       live inside it — their own higher z-index values (1050/1100) only
       rank them against each other *within* header, not against the
       overlay outside it. If header's own z-index were lower than the
       overlay's, the overlay would visually and functionally sit on top of
       the whole drawer, silently swallowing clicks meant for the nav
       links/close button. */
    z-index: 1101;
    transition: box-shadow .3s ease, padding .3s ease;
}
/* The frosted-glass look lives on a ::before layer instead of on `header`
   itself. backdrop-filter (like transform/filter) turns the element that
   carries it into a new containing block for any position:fixed
   descendant — and the mobile nav drawer (.nav-links) is fixed and lives
   inside header. That was trapping the drawer inside header's small box
   instead of letting it size/position itself against the real viewport,
   which is why it only slid in partway. Keeping the blur on a separate
   ::before pseudo-element (which has no descendants of its own) gives the
   same visual effect without creating that trap. */
header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: -1;
}
header.scrolled { box-shadow: 0 6px 24px rgba(20, 30, 60, 0.08); padding: 12px 5%; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 52px; width: auto; object-fit: contain; }

.logo-placeholder { font-size: 24px; font-weight: 700; color: var(--brand-black); letter-spacing: -0.5px; }
.logo-placeholder span {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links { display: flex; align-items: center; }
.nav-links a {
    text-decoration: none;
    color: var(--brand-black);
    margin-left: 32px;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: color 0.3s ease;
}
.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    width: 0%;
    height: 2px;
    background: var(--grad-primary);
    transition: width .3s var(--ease);
}
.nav-links a:not(.btn-primary):hover::after { width: 100%; }
.nav-links a:hover { color: var(--brand-green); }

.btn-primary {
    background: var(--grad-primary);
    background-size: 200% 200%;
    color: #ffffff !important;
    padding: 12px 26px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-position .6s ease;
    display: inline-block;
    box-shadow: 0 8px 20px rgba(33, 169, 56, 0.28);
    border: none;
    cursor: pointer;
    font-size: 15px;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(46, 124, 246, 0.3);
    background-position: 100% 0;
}

.btn-outline {
    padding: 12px 26px;
    border-radius: 30px;
    border: 2px solid var(--border-color);
    color: var(--brand-black);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all .3s ease;
    display: inline-block;
}
.btn-outline:hover { border-color: var(--brand-blue); color: var(--brand-blue); transform: translateY(-3px); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; border-radius: 3px; background: var(--brand-black); transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Shared section styles */
section { padding: 110px 5%; position: relative; }

.eyebrow {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    background: linear-gradient(120deg, rgba(33,169,56,.1), rgba(46,124,246,.1));
    color: var(--brand-green-dark);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.section-title { font-size: 2.6rem; margin-bottom: 15px; text-align: center; font-weight: 700; letter-spacing: -0.5px; }
.section-title .grad-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.section-subtitle {
    color: var(--text-gray);
    margin-bottom: 60px;
    font-size: 1.1rem;
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.section-head { text-align: center; }

/* Hero */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--grad-hero);
    min-height: 92vh;
    padding-top: 60px;
    overflow: hidden;
}
.hero::before, .hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    opacity: .5;
    z-index: 0;
    animation: float 9s ease-in-out infinite;
}
.hero::before { width: 340px; height: 340px; background: radial-gradient(circle at 30% 30%, var(--brand-blue), transparent 70%); top: -80px; right: 8%; }
.hero::after { width: 260px; height: 260px; background: radial-gradient(circle at 30% 30%, var(--brand-orange), transparent 70%); bottom: -60px; left: 4%; animation-delay: -4s; }

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-25px) translateX(15px); }
}

.hero-content { max-width: 52%; position: relative; z-index: 1; }
.hero h1 { font-size: 3.6rem; line-height: 1.15; margin-bottom: 25px; letter-spacing: -1px; font-weight: 700; }
.hero h1 .grad-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p { font-size: 1.15rem; color: var(--text-gray); margin-bottom: 40px; max-width: 90%; }
.hero-cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.store-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.store-btn {
    background-color: var(--brand-black);
    color: white;
    padding: 12px 22px;
    border-radius: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.store-btn:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-hover); }
.store-btn i { font-size: 24px; }
.hero-trust { display: flex; align-items: center; gap: 12px; color: var(--text-gray); font-size: .9rem; }
.hero-trust .stars { color: #ffb703; letter-spacing: 2px; }

.hero-image {
    width: 38%;
    height: 540px;
    position: relative;
    z-index: 1;
    background: linear-gradient(160deg, #ffffff, #eef3f2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 70px rgba(20,40,30,0.18);
    color: #98a1ad;
    font-weight: 500;
    border: 8px solid white;
    overflow: hidden;
}
.hero-image .scan-line {
    position: absolute;
    left: 6%; right: 6%;
    height: 4px;
    border-radius: 4px;
    background: var(--grad-primary);
    box-shadow: 0 0 20px 4px rgba(46,124,246,.55);
    animation: scan 2.6s ease-in-out infinite;
}
@keyframes scan {
    0% { top: 8%; opacity: 0; }
    10% { opacity: 1; }
    50% { top: 88%; opacity: 1; }
    60% { opacity: 0; }
    100% { top: 8%; opacity: 0; }
}
.hero-image .doc-mock {
    width: 70%;
    height: 78%;
    background: white;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
}
.doc-mock .line { height: 10px; border-radius: 6px; background: var(--border-color); }
.doc-mock .line.short { width: 55%; }
.doc-mock .line.grad { background: var(--grad-primary); height: 12px; width: 40%; margin-bottom: 6px; }

.floating-chip {
    position: absolute;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .85rem;
    font-weight: 600;
    animation: bob 4s ease-in-out infinite;
}
.floating-chip.chip-1 { top: 10%; left: -12%; animation-delay: 0s; }
.floating-chip.chip-2 { bottom: 12%; right: -14%; animation-delay: -2s; }
.floating-chip i { font-size: 1.1rem; }
.floating-chip.chip-1 i { color: var(--brand-blue); }
.floating-chip.chip-2 i { color: var(--brand-orange); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.trust-bar { padding: 40px 5%; display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; color: var(--text-gray); font-weight: 600; font-size: 1.4rem; opacity: .55; }

/* Features */
.features { background-color: #ffffff; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-card {
    padding: 38px 28px;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--card-grad, var(--grad-primary));
    opacity: 0;
    transition: opacity .35s ease;
    z-index: 0;
}
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.feature-card:hover::before { opacity: .06; }
.feature-card > * { position: relative; z-index: 1; }
.feature-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    margin-bottom: 20px;
    background: var(--card-grad, var(--grad-primary));
    box-shadow: 0 10px 22px -6px rgba(33,169,56,.5);
}
.feature-card:nth-child(4n+1) { --card-grad: var(--grad-primary); }
.feature-card:nth-child(4n+2) { --card-grad: var(--grad-cool); }
.feature-card:nth-child(4n+3) { --card-grad: var(--grad-warm); }
.feature-card:nth-child(4n+4) { --card-grad: linear-gradient(120deg, var(--brand-purple), var(--brand-pink)); }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 12px; font-weight: 600; }
.feature-card p { color: var(--text-gray); font-size: 0.95rem; }

/* Tools strip */
.tools { background: var(--light-bg); }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.tool-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    cursor: pointer;
}
.tool-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-hover); }
.tool-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; color: white; }
.tool-card:nth-child(5n+1) .tool-icon { background: var(--grad-primary); }
.tool-card:nth-child(5n+2) .tool-icon { background: var(--grad-cool); }
.tool-card:nth-child(5n+3) .tool-icon { background: var(--grad-warm); }
.tool-card:nth-child(5n+4) .tool-icon { background: linear-gradient(120deg, var(--brand-purple), var(--brand-blue)); }
.tool-card:nth-child(5n+5) .tool-icon { background: linear-gradient(120deg, var(--brand-pink), var(--brand-orange)); }
.tool-card h4 { font-size: 1.02rem; margin-bottom: 8px; font-weight: 600; }
.tool-card p { color: var(--text-gray); font-size: .85rem; }

/* Use cases */
.use-cases { background-color: #ffffff; }
.use-cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.use-case-card { background: var(--light-bg); padding: 40px; border-radius: var(--radius-md); display: flex; align-items: flex-start; gap: 20px; transition: transform .3s var(--ease), background .3s ease; }
.use-case-card:hover { transform: translateY(-6px); background: #eef6ff; }
.use-case-icon {
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--brand-blue);
    flex-shrink: 0;
    box-shadow: var(--shadow-soft);
}
.use-case-card h3 { margin-bottom: 10px; font-weight: 600; }
.use-case-card p { color: var(--text-gray); font-size: 0.9rem; }

/* How it works */
.how-it-works { background: linear-gradient(160deg, var(--brand-black) 0%, #1c2130 100%); color: white; overflow: hidden; }
.how-it-works .section-title { color: white; }
.how-it-works .section-subtitle { color: #b7bcc7; }
.steps-container { display: flex; justify-content: center; gap: 40px; margin-top: 60px; flex-wrap: wrap; text-align: center; position: relative; }
.step {
    flex: 1;
    min-width: 240px;
    max-width: 300px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 34px 24px;
    transition: transform .3s var(--ease), background .3s ease;
}
.step:hover { transform: translateY(-8px); background: rgba(255,255,255,0.07); }
.step-number {
    width: 56px;
    height: 56px;
    background: var(--grad-primary);
    color: white;
    font-size: 22px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}
.step:nth-child(2) .step-number { background: var(--grad-cool); }
.step:nth-child(3) .step-number { background: var(--grad-warm); }
.step h3 { margin-bottom: 12px; font-weight: 600; }
.step p { color: #b7bcc7; font-size: 0.92rem; }

/* About / Stats */
.about { background: var(--light-bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual { background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 30px; }
.stat-row { margin-bottom: 22px; }
.stat-row:last-child { margin-bottom: 0; }
.stat-label { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 8px; font-size: .92rem; }
.stat-track { height: 10px; border-radius: 10px; background: var(--border-color); overflow: hidden; }
.stat-fill { height: 100%; border-radius: 10px; width: 0%; background: var(--grad-primary); transition: width 1.4s var(--ease); }
.stat-row:nth-child(2) .stat-fill { background: var(--grad-cool); }
.stat-row:nth-child(3) .stat-fill { background: var(--grad-warm); }
.about-numbers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; }
.about-number { text-align: center; background: var(--light-bg); border-radius: var(--radius-sm); padding: 18px 10px; }
.about-number .num {
    font-size: 1.7rem;
    font-weight: 700;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.about-number .lbl { font-size: .78rem; color: var(--text-gray); margin-top: 4px; }
.about-copy h3 { font-size: 1.7rem; margin-bottom: 18px; font-weight: 700; }
.about-copy p { color: var(--text-gray); margin-bottom: 18px; }
.pill-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.pill-tag { padding: 8px 16px; border-radius: 30px; font-size: .82rem; font-weight: 600; color: white; }
.pill-tag:nth-child(4n+1) { background: var(--grad-primary); }
.pill-tag:nth-child(4n+2) { background: var(--grad-cool); }
.pill-tag:nth-child(4n+3) { background: var(--grad-warm); }
.pill-tag:nth-child(4n+4) { background: linear-gradient(120deg, var(--brand-purple), var(--brand-pink)); }

/* Testimonials */
.testimonials { background-color: #ffffff; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.review-card { padding: 30px; background-color: var(--light-bg); border-radius: var(--radius-md); position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.review-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.stars { color: #ffb703; margin-bottom: 15px; }
.review-text { font-style: italic; color: var(--text-gray); margin-bottom: 20px; font-size: 0.95rem; }
.reviewer { display: flex; align-items: center; gap: 15px; }
.reviewer-img { width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; }
.reviewer-info h4 { font-size: 0.95rem; }
.reviewer-info span { font-size: 0.8rem; color: var(--text-gray); }

/* FAQ */
.faq { background-color: var(--light-bg); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: #ffffff; margin-bottom: 15px; border-radius: var(--radius-sm); padding: 6px 25px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); cursor: pointer; transition: box-shadow .3s ease; }
.faq-item.active { box-shadow: var(--shadow-soft); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-weight: 600; font-size: 1.02rem; }
.faq-question i { transition: transform .3s ease; color: var(--brand-green); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease), padding .35s ease; color: var(--text-gray); font-size: 0.95rem; }
.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 20px; }

/* Contact */
.contact { background: linear-gradient(135deg, #f0fff4 0%, #eef4ff 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: flex-start; }
.contact-info h3 { font-size: 1.6rem; margin-bottom: 16px; font-weight: 700; }
.contact-info p { color: var(--text-gray); margin-bottom: 26px; }
.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.contact-detail .icon-badge { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; background: var(--grad-primary); flex-shrink: 0; }
.contact-detail:nth-child(3) .icon-badge { background: var(--grad-cool); }
.contact-detail:nth-child(4) .icon-badge { background: var(--grad-warm); }
.contact-form { background: white; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 8px; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1.5px solid var(--border-color);
    font-size: .95rem;
    outline: none;
    transition: border-color .3s ease, box-shadow .3s ease;
    resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 4px rgba(46,124,246,0.12); }
.form-check { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: .85rem; color: var(--text-gray); }
.form-check a { color: var(--brand-green-dark); font-weight: 600; text-decoration: none; }
.form-check a:hover { text-decoration: underline; }
.form-status { font-size: .88rem; margin-top: 14px; display: none; }
.form-status.success { display: block; color: var(--brand-green-dark); font-weight: 600; }

/* CTA banner */
.cta-banner { background: var(--grad-primary); border-radius: var(--radius-lg); margin: 0 5%; padding: 70px 8%; text-align: center; color: white; position: relative; overflow: hidden; }
.cta-banner h2 { font-size: 2.2rem; margin-bottom: 16px; font-weight: 700; }
.cta-banner p { opacity: .92; margin-bottom: 30px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-primary { background: white; color: var(--brand-green-dark) !important; box-shadow: 0 10px 26px rgba(0,0,0,0.15); }
.cta-banner .btn-primary:hover { transform: translateY(-3px); background: white; }

/* Footer */
footer { background-color: var(--brand-black); color: #cfd3db; padding: 70px 5% 20px; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 50px; }
.footer-brand { max-width: 300px; }
.footer-brand .logo-placeholder { color: white; }
.footer-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
    background: #ffffff;
    padding: 10px 16px;
    border-radius: 14px;
}
.footer-brand p { color: #9aa0ac; margin-top: 15px; font-size: 0.9rem; }
.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; transition: transform .3s ease, background .3s ease; }
.social-row a:hover { transform: translateY(-4px); background: var(--grad-primary); }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.link-group h4 { margin-bottom: 20px; font-size: 1.05rem; color: white; }
.link-group a { display: block; color: #9aa0ac; text-decoration: none; margin-bottom: 12px; font-size: 0.92rem; transition: color 0.2s, transform .2s ease; }
.link-group a:hover { color: var(--brand-green); transform: translateX(4px); }
.copyright { text-align: center; color: #7b818d; font-size: 0.85rem; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); }

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: white;
    border: none;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all .3s var(--ease);
    z-index: 900;
    font-size: 18px;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* Simple legal pages (privacy / terms) */
.legal-hero { background: var(--grad-hero); padding: 140px 5% 70px; text-align: center; }
.legal-hero h1 { font-size: 2.6rem; margin-bottom: 14px; font-weight: 700; }
.legal-hero p { color: var(--text-gray); max-width: 560px; margin: 0 auto; }
.legal-content { max-width: 820px; margin: 0 auto; padding: 80px 5%; }
.legal-content h2 { font-size: 1.35rem; margin: 40px 0 14px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.legal-content h2::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-primary); display: inline-block; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text-gray); margin-bottom: 12px; font-size: .97rem; }
.legal-content ul { padding-left: 20px; margin-bottom: 12px; }
.legal-content .updated { color: var(--text-gray); font-size: .85rem; margin-bottom: 30px; display: block; }

/* ===========================================================
   Responsive breakpoints
   1200: small laptops | 1024: tablet landscape | 860: nav collapse
   768: tablet portrait / large phone | 600: phones | 400: small phones
=========================================================== */

/* ---- Small laptops / large tablets ---- */
@media (max-width: 1200px) {
    .hero-content { max-width: 54%; }
    .hero-image { width: 40%; }
    .features-grid, .use-cases-grid, .testimonials-grid { gap: 24px; }
    .footer-links { gap: 40px; }
}

/* ---- Tablet landscape ---- */
@media (max-width: 1024px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .contact-grid { gap: 40px; }
    .hero h1 { font-size: 3rem; }
    .hero-content { max-width: 56%; }
    section { padding: 90px 5%; }
    .steps-container { gap: 24px; }
}

/* ---- Small tablets ---- */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    section { padding: 80px 5%; }
    .floating-chip { display: none; }
    .features-grid, .tools-grid, .use-cases-grid, .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    .brand img { height: 46px; }
}

/* ---- Nav collapses to off-canvas drawer (hamburger) ----
   6 links + CTA button crowd/overflow the header well before
   860px on real devices, so the hamburger takes over earlier. */
@media (max-width: 1100px) {
    header { padding: 14px 5%; }
    .nav-links {
        position: fixed;
        top: 0; right: 0;
        height: 100vh;
        width: 78%;
        max-width: 320px;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 6px;
        padding: 40px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.12);
        transform: translateX(100%);
        transition: transform .4s var(--ease);
        z-index: 1050;
        overflow-y: auto;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { margin: 12px 0; font-size: 1.1rem; }
    .nav-links a.btn-primary { margin-top: 16px; text-align: center; width: 100%; }
    .nav-toggle { display: flex; }
    .nav-overlay.open { display: block; }

    .about-numbers { grid-template-columns: repeat(2, 1fr); }
    .use-case-card { padding: 30px; }
}

.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(10,15,20,0.4); z-index: 1040; }
body.nav-open { overflow: hidden; }

/* ---- Large phones / tablet portrait ---- */
@media (max-width: 768px) {
    section { padding: 70px 5%; }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 5% 60px;
        min-height: auto;
    }
    .hero-content { max-width: 100%; margin-bottom: 45px; }
    .hero p { margin: 0 auto 30px auto; max-width: 100%; }
    .hero-cta-row { justify-content: center; }
    .store-buttons { justify-content: center; }
    .hero-trust { justify-content: center; flex-wrap: wrap; text-align: center; }
    .hero-image { width: 92%; max-width: 420px; height: 400px; margin: 0 auto; }

    .section-title { font-size: 2.1rem; }
    .section-subtitle { margin-bottom: 40px; }

    .about-grid { gap: 40px; }
    .about-copy h3 { font-size: 1.4rem; }

    .steps-container { flex-direction: column; align-items: center; }
    .step { max-width: 420px; width: 100%; }

    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-grid { gap: 36px; }
    .contact-detail { flex-wrap: wrap; }

    .cta-banner { padding: 50px 6%; margin: 0 4%; }
    .cta-banner h2 { font-size: 1.9rem; }

    .footer-content { flex-direction: column; gap: 40px; }
    .footer-links { flex-wrap: wrap; gap: 30px 40px; }
    .footer-brand { max-width: 100%; }

    .back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

/* ---- Phones ---- */
@media (max-width: 600px) {
    header { padding: 12px 4%; }
    .brand img { height: 40px; }

    .hero h1 { font-size: 2.3rem; }
    .hero p { font-size: 1rem; }
    .store-btn { padding: 10px 16px; }
    .store-btn div div:last-child { font-size: 0.95rem; }

    .eyebrow { font-size: .72rem; padding: 5px 13px; }
    .section-title { font-size: 1.8rem; }
    .section-subtitle { font-size: 1rem; }

    .features-grid, .tools-grid, .use-cases-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .feature-card, .tool-card { padding: 28px 22px; }
    .use-case-card { flex-direction: column; text-align: center; align-items: center; padding: 30px 24px; }

    .about-numbers { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .about-number { padding: 14px 8px; }
    .about-number .num { font-size: 1.4rem; }
    .about-visual { padding: 22px; }

    .review-card { padding: 24px; }

    .faq-question { font-size: .95rem; padding: 16px 0; }

    .contact-form { padding: 26px; }
    .contact-info h3 { font-size: 1.35rem; }

    .cta-banner h2 { font-size: 1.5rem; }
    .cta-banner p { font-size: .95rem; }

    .footer-links { gap: 26px 30px; }
    .link-group h4 { margin-bottom: 14px; }
    .footer-logo { height: 52px; padding: 8px 12px; }

    .legal-hero { padding: 120px 6% 50px; }
    .legal-hero h1 { font-size: 2rem; }
    .legal-content { padding: 50px 6%; }
}

/* ---- Small phones ---- */
@media (max-width: 400px) {
    .hero h1 { font-size: 2rem; }
    .hero-image { height: 340px; }
    .store-buttons { flex-direction: column; width: 100%; }
    .store-btn { justify-content: center; }
    .section-title { font-size: 1.55rem; }
    .about-numbers { grid-template-columns: 1fr 1fr; }
    .form-check { align-items: flex-start; }
    .nav-links { width: 88%; padding: 30px; }
    .brand img { height: 36px; }
}

/* ---- Landscape phones (short viewport height) ---- */
@media (max-height: 480px) and (orientation: landscape) {
    .nav-links { justify-content: flex-start; padding-top: 90px; overflow-y: auto; }
    .hero { min-height: auto; padding: 30px 5% 50px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}
