:root {
    --bg-dark: #09090b;
    --bg-card: #141417;
    --text-main: #fcfcfc;
    --text-muted: #a1a1aa;
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.4);
    --primary-dark: #2563eb;
    --accent: #8b5cf6;
    --accent-glow: rgba(139, 92, 246, 0.4);
    --border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1.headline {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

p.sub-headline {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 480px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1.5rem 0;
}

.navbar.scrolled {
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

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

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* On dark bg: show dark logo (white text), hide light logo */
.logo-img-light {
    display: none;
}

.logo-img-dark {
    display: block;
}

.footer-logo .logo-img {
    height: 36px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn-nav {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-nav:hover {
    background: rgba(255, 255, 255, 0.08);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-nav-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-nav-outline:hover {
    background: var(--glass-bg);
    border-color: var(--text-muted);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 5rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge-wrapper {
    margin-bottom: 1.5rem;
}

.badge {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

.badge-primary {
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.3);
    background: rgba(96, 165, 250, 0.1);
}

.badge-accent {
    color: #a78bfa;
    border-color: rgba(167, 139, 250, 0.3);
    background: rgba(167, 139, 250, 0.1);
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 1.75rem;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-dark);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: var(--text-muted);
}

/* Abstract Hero Visuals */
.hero-visual {
    position: relative;
    height: 500px;
    width: 100%;
}

.glass-card {
    background: rgba(20, 20, 23, 0.6);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
    border-radius: 1.25rem;
    position: absolute;
    z-index: 10;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.glass-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
}

.glass-card .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.float-1 {
    top: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.float-2 {
    bottom: 25%;
    right: 15%;
    animation: float 7s ease-in-out infinite reverse;
}

.hero-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.5;
    border-radius: 50%;
}

.blob-1 {
    top: 10%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: var(--primary);
    animation: pulse 8s infinite alternate;
}

.blob-2 {
    bottom: 10%;
    left: 20%;
    width: 250px;
    height: 250px;
    background: var(--accent);
    animation: pulse 10s infinite alternate-reverse;
}

/* Sections */
section {
    padding: 8rem 0;
    position: relative;
}

.biz-content,
.customer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Feature List */
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1.25rem;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-info h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.feature-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Visuals Base */
.biz-visual,
.customer-visual {
    position: relative;
    border-radius: 2rem;
    padding: 1rem;
}

.mockup-img {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    transition: transform 0.5s ease;
}

.mockup-img:hover {
    transform: scale(1.02);
}

.mb-mockup {
    max-width: 380px;
    margin: 0 auto;
    display: block;
}

.glow-bg,
.glow-bg-primary {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.4;
}

.glow-bg {
    background: var(--accent);
}

.glow-bg-primary {
    background: var(--primary);
}

/* Store Buttons */
.store-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--text-main);
    color: var(--bg-dark);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.store-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-text span {
    font-size: 0.65rem;
    line-height: 1;
}

.store-text strong {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding-top: 5rem;
    background: var(--bg-card);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 1rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links a,
.footer-contact a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--text-main);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 1s ease;
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ── Dropdown Nav ── */
.nav-dropdown {
    position: relative;
}
.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.nav-dropdown > a::after {
    content: '▾';
    font-size: 0.7rem;
    opacity: 0.6;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 23, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 0.5rem;
    min-width: 220px;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.dropdown-menu a:hover {
    background: var(--glass-bg);
    color: var(--text-main);
}

/* ── Legal pages ── */
.legal-hero {
    padding: 9rem 0 4rem;
    border-bottom: 1px solid var(--border);
}
.legal-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.legal-hero p {
    color: var(--text-muted);
    font-size: 1rem;
}
.legal-body {
    padding: 4rem 0 8rem;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 4rem;
    align-items: start;
}
.legal-toc {
    position: sticky;
    top: 100px;
}
.legal-toc h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.legal-toc a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.4rem 0;
    border-left: 2px solid transparent;
    padding-left: 1rem;
    transition: all 0.2s;
}
.legal-toc a:hover, .legal-toc a.active {
    color: var(--text-main);
    border-left-color: var(--primary);
}
.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 3rem 0 1rem;
    color: var(--text-main);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.legal-content ul li {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 0.4rem;
}
.legal-content strong { color: var(--text-main); }
.legal-content a { color: #60a5fa; text-decoration: underline; }
.legal-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 3rem 0;
}

/* ── Feature grid (biz / customer pages) ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 1.25rem;
    padding: 2rem;
    transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-4px);
}
.feature-card .fc-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ── Steps ── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.step-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    background: var(--bg-card);
    position: relative;
}
.step-num {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 800;
    margin: 0 auto 1.5rem;
}
.step-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

/* ── Stats bar ── */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    overflow: hidden;
    background: var(--bg-card);
}
.stat-item {
    padding: 2.5rem;
    text-align: center;
    border-right: 1px solid var(--glass-border);
}
.stat-item:last-child { border-right: none; }
.stat-item .s-num {
    font-size: 2.5rem; font-weight: 800; margin-bottom: 0.25rem;
}
.stat-item .s-label {
    color: var(--text-muted); font-size: 0.9rem;
}

/* ── Category chips ── */
.category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}
.cat-chip {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    cursor: default;
}
.cat-chip:hover {
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.06);
}

/* ── Section headings ── */
.section-heading {
    text-align: center;
    margin-bottom: 4rem;
}
.section-heading h2 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.section-heading p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto;
}

/* ── Page hero ── */
.page-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
}
.page-hero-text { max-width: 640px; }
.page-hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.page-hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}
.accent-teal { color: #2dd4bf; }
.accent-cyan { color: #22d3ee; }

/* ── Responsive ── */
@media (max-width: 968px) {

    .hero-content,
    .biz-content,
    .customer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-visual {
        display: none;
    }

    .cta-group,
    .store-buttons {
        justify-content: center;
    }

    h1.headline {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    p.sub-headline,
    .section-desc {
        margin: 0 auto 2.5rem;
    }

    .feature-list li {
        text-align: left;
    }

    .badge-wrapper,
    .biz-text .badge,
    .customer-text .badge {
        margin: 0 auto 1.5rem;
        display: inline-flex;
    }

    .biz-visual {
        order: -1;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }
    .features-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .stats-bar {
        grid-template-columns: 1fr 1fr;
    }
    .legal-body {
        grid-template-columns: 1fr;
    }
    .legal-toc { display: none; }
    .page-hero-text h1 { font-size: 2.75rem; }
}