:root {
    --orange: #E8523F;
    --orange-dark: #D4412E;
    --orange-light: #FDE8E5;
    --orange-glow: rgba(232, 82, 63, 0.15);
    --navy: #1B2A4A;
    --navy-mid: #243656;
    --navy-light: #2D4162;
    --section-bg: #F4F6FA;
    --section-bg-alt: #EDF0F7;
    --gray-900: #1a1a2e;
    --gray-700: #4a4a5a;
    --gray-500: #7a7a8a;
    --gray-300: #b8b8c8;
    --gray-100: #f0f0f5;
    --white: #ffffff;
    --green: #34C759;
    --red: #FF3B30;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.18);
    --shadow-screenshot: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(27,42,74,0.08);
    --max-width: 1200px;
}

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

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

body {
    font-family: 'DM Sans', -apple-system, sans-serif;
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 2rem;
    transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
    background: rgba(27, 42, 74, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.nav.scrolled .nav-logo {
    color: var(--white);
}

.nav.scrolled .nav-links a {
    color: rgba(255,255,255,0.7);
}

.nav.scrolled .nav-links a:hover {
    color: var(--white);
}

.nav.scrolled .nav-mobile-toggle span {
    background: var(--white);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.nav-logo .logo-icon {
    width: 32px;
    height: 32px;
    background: var(--orange);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.nav-logo .logo-dot {
    color: var(--orange);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: rgba(27, 42, 74, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--orange) !important;
    color: var(--white) !important;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
    background: var(--orange-dark) !important;
    transform: translateY(-1px);
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    margin: 5px 0;
    transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--section-bg);
    overflow: hidden;
    padding: 7rem 2rem 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(232, 82, 63, 0.08), transparent),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(232, 82, 63, 0.04), transparent);
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(27,42,74,0.1) 1px, transparent 1px);
    background-size: 32px 32px;
}

.hero-inner {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    max-width: 600px;
    margin-bottom: 3rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(232, 82, 63, 0.1);
    border: 1px solid rgba(232, 82, 63, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(52, 199, 89, 0); }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.hero h1 .highlight {
    color: var(--orange);
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(27, 42, 74, 0.55);
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 500px;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--orange);
    color: var(--white);
    padding: 0.85rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(232, 82, 63, 0.3);
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 82, 63, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(27, 42, 74, 0.7);
    padding: 0.85rem 1.5rem;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s;
}

.btn-secondary:hover {
    color: var(--navy);
}

.hero-screenshot {
    position: relative;
    margin-top: 1rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-screenshot);
    border: 1px solid rgba(27,42,74,0.08);
}

.hero-screenshot img {
    width: 100%;
    display: block;
}

.hero-screenshot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(to bottom, transparent 60%, rgba(244, 246, 250, 0.4));
    pointer-events: none;
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 2.5rem 2rem;
}

.stats-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
    font-family: 'Space Mono', monospace;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

/* ===== SECTION SHARED ===== */
section {
    padding: 5rem 2rem;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--orange);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 560px;
    line-height: 1.65;
}

/* ===== VALUE ROWS ===== */
.value-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.value-row:last-child {
    border-bottom: none;
}

.value-row.reverse {
    direction: rtl;
}

.value-row.reverse > * {
    direction: ltr;
}

.value-text .section-desc {
    font-size: 1rem;
    line-height: 1.7;
}

.value-screenshot {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

/* Map mock + mobile combo */
.value-map-mobile {
    position: relative;
}

.value-map-mobile .mobile-screenshot {
    position: absolute;
    bottom: -1.5rem;
    right: -1rem;
    width: 140px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.08);
}

.value-map-mock {
    background: var(--navy);
    border-radius: var(--radius);
    padding: 3rem 2rem 1.5rem;
    position: relative;
    overflow: hidden;
    min-height: 260px;
}

.value-map-mock::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

.map-dots {
    position: relative;
    width: 100%;
    height: 180px;
}

.map-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(52, 199, 89, 0.5);
}

.map-dot-ping {
    position: absolute;
    inset: -4px;
    border: 2px solid var(--green);
    border-radius: 50%;
    animation: ping 2s infinite;
}

@keyframes ping {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}

.dot-1 { top: 25%; left: 42%; }
.dot-2 { top: 30%; left: 58%; }
.dot-3 { top: 20%; left: 38%; }
.dot-4 { top: 35%; left: 28%; }
.dot-5 { top: 50%; left: 22%; }

.map-label {
    position: relative;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    margin-top: 1rem;
}

.map-label-count {
    font-family: 'Space Mono', monospace;
    color: var(--white);
    font-weight: 700;
}

.map-online {
    color: var(--green);
}

/* ===== PRICING ===== */
.pricing-section {
    background: var(--section-bg);
}

.pricing-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.pricing-header .section-title {
    color: var(--navy);
}

.pricing-header .section-desc {
    color: var(--gray-500);
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
}

.pricing-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: var(--white);
    border: 1px solid rgba(27, 42, 74, 0.08);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.pricing-card-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--orange-dark);
    background: rgba(232, 82, 63, 0.12);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.pricing-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.pricing-card > p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.pricing-card-list {
    list-style: none;
}

.pricing-card-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.5;
    margin-bottom: 0.6rem;
}

.pricing-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
}

.pricing-cta {
    text-align: center;
}

/* ===== PLATFORM SHOWCASE ===== */
.showcase-section {
    background: var(--section-bg);
    padding: 5rem 2rem;
}

.showcase-section .section-label {
    color: var(--orange);
}

.showcase-section .section-title {
    color: var(--navy);
}

.showcase-section .section-desc {
    color: rgba(27, 42, 74, 0.5);
}

.showcase-tabs {
    display: flex;
    gap: 0.5rem;
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.showcase-tab {
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(27, 42, 74, 0.5);
    background: rgba(27, 42, 74, 0.05);
    border: 1px solid rgba(27, 42, 74, 0.08);
    cursor: pointer;
    transition: all 0.2s;
}

.showcase-tab:hover {
    color: rgba(27, 42, 74, 0.8);
    background: rgba(27, 42, 74, 0.08);
}

.showcase-tab.active {
    color: var(--white);
    background: var(--orange);
    border-color: var(--orange);
}

.showcase-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(27, 42, 74, 0.08);
    box-shadow: var(--shadow-screenshot);
    position: relative;
}

.showcase-image {
    width: 100%;
    display: none;
}

.showcase-image.active {
    display: block;
}

.showcase-caption {
    margin-top: 1.25rem;
    color: rgba(27, 42, 74, 0.4);
    font-size: 0.85rem;
    text-align: center;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    background: var(--white);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: linear-gradient(to right, var(--orange), var(--orange));
    opacity: 0.2;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--orange-light);
    border: 2px solid var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange-dark);
    position: relative;
    z-index: 1;
}

.step h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.9rem;
    color: var(--gray-500);
    max-width: 300px;
    margin: 0 auto;
    line-height: 1.55;
}

/* ===== ENTERPRISE ===== */
.enterprise-section {
    background: var(--gray-100);
}

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

.enterprise-layout .enterprise-screenshot {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

/* ===== TRUST ===== */
.trust-section {
    text-align: center;
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.trust-logo {
    height: 40px;
    object-fit: contain;
}

/* ===== CTA ===== */
.cta-section {
    background: var(--section-bg-alt);
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 70% at 50% 100%, rgba(232, 82, 63, 0.1), transparent);
}

.cta-inner {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.cta-section .section-title {
    color: var(--navy);
}

.cta-section .section-desc {
    color: rgba(27, 42, 74, 0.5);
    margin: 0 auto 2rem;
}

.cta-note {
    font-size: 0.8rem;
    color: rgba(27, 42, 74, 0.4);
    margin-top: 0.5rem;
}

.cta-apps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.cta-apps span {
    font-size: 0.85rem;
    color: rgba(27, 42, 74, 0.45);
}

.cta-apps a {
    display: inline-block;
    transition: opacity 0.2s;
    opacity: 0.85;
}

.cta-apps a:hover {
    opacity: 1;
}

.cta-apps a .badge-appstore {
    height: 40px;
}

.cta-apps a .badge-google {
    height: 60px;
    margin: -10px 0;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 2.5rem 2rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.footer-left .logo-icon {
    width: 24px;
    height: 24px;
    background: var(--orange);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-right a {
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-right a:hover {
    color: rgba(255,255,255,0.7);
}

.footer-copy {
    color: rgba(255,255,255,0.25);
    font-size: 0.8rem;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(27, 42, 74, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-top: 1px solid rgba(255,255,255,0.05);
    }

    .nav-links a {
        color: rgba(255,255,255,0.7);
    }

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

    .nav-links.open {
        display: flex;
    }

    .nav-mobile-toggle {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 7rem 1.5rem 3rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .stats-inner {
        gap: 2rem;
    }

    .value-row,
    .pricing-cards,
    .enterprise-layout {
        grid-template-columns: 1fr;
    }

    .value-row {
        gap: 2rem;
    }

    .value-row.reverse {
        direction: ltr;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .steps-container::before {
        display: none;
    }

    .value-map-mobile .mobile-screenshot {
        position: static;
        display: block;
        width: 120px;
        margin: 1rem auto 0;
    }

    .showcase-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }

    .showcase-tab {
        white-space: nowrap;
    }

    .cta-apps {
        flex-direction: column;
    }

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

    .footer-right {
        flex-wrap: wrap;
        justify-content: center;
    }
}
