﻿:root {
    --bg: #f2f7fb;
    --bg-elev: #ffffff;
    --panel: #ffffff;
    --line: rgba(15, 23, 42, 0.14);
    --text: #0f172a;
    --muted: #475569;
    --brand: #0ea5a4;
    --accent: #ea580c;
    --danger: #ef4444;
    --radius: 18px;
    --container: 1160px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Manrope, sans-serif;
    background: radial-gradient(circle at 10% 10%, #dbeafe 0%, var(--bg) 45%), var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 0.4px, transparent 0.4px);
    background-size: 3px 3px;
    z-index: -1;
}

.container {
    width: min(var(--container), calc(100% - 2.25rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(var(--container), calc(100% - 2.25rem));
    margin: 1rem auto 0;
    padding: 0.75rem 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.brand-mark {
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-family: Sora, sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    background: linear-gradient(135deg, var(--brand), #14b8a6);
    color: #042f2e;
}

.brand-text {
    font-family: Sora, sans-serif;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.ly-load {
    color: var(--brand);
}

.ly-yatra {
    color: var(--accent);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: var(--muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: var(--text);
}

.nav-cta {
    color: #ecfeff;
    background: var(--brand);
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    width: 2.6rem;
    height: 2.4rem;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
}

.hero {
    position: relative;
    padding: 5.6rem 0 3.8rem;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: auto -12% -25% -12%;
    height: 420px;
    background: radial-gradient(circle at 25% 35%, rgba(14, 165, 164, 0.2) 0%, transparent 45%),`n                radial-gradient(circle at 75% 55%, rgba(234, 88, 12, 0.15) 0%, transparent 48%);
    filter: blur(28px);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.8rem;
    align-items: start;
}

.eyebrow {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

h1,
h2,
h3 {
    font-family: Sora, sans-serif;
    font-weight: 600;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.1rem, 4.3vw, 4rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.9rem);
    margin-bottom: 1.3rem;
}

.hero-sub {
    max-width: 62ch;
    color: var(--muted);
    margin-bottom: 1.45rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
}

.hero-feature-list {
    list-style: none;
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1.2rem;
}

.hero-feature-list li {
    color: var(--muted);
    padding-left: 1.1rem;
    position: relative;
    font-size: 0.94rem;
}

.hero-feature-list li::before {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    left: 0;
    top: 0.55rem;
    background: linear-gradient(135deg, var(--brand), #4ade80);
}

.btn {
    border: 0;
    border-radius: 999px;
    padding: 0.72rem 1.18rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.16s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--brand);
    color: #ecfeff;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
}

.btn-warm {
    background: var(--accent);
    color: #fff7ed;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
}

.hero-stats strong {
    display: block;
    font-family: Sora, sans-serif;
    font-weight: 600;
    font-size: 1.35rem;
}

.hero-stats span {
    font-size: 0.86rem;
    color: var(--muted);
}

.hero-card,
.panel,
.timeline-step,
.lane,
.metric,
.join-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.hero-card {
    padding: 1.2rem;
}

.wa-hero {
    padding: 1rem;
}

.card-title {
    color: var(--muted);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.phone-mockup {
    width: min(100%, 320px);
    margin: 0 auto;
    border-radius: 34px;
    padding: 10px;
    background: linear-gradient(165deg, #0f172a, #1e293b);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.28);
}

.phone-notch {
    width: 110px;
    height: 14px;
    margin: 0 auto 8px;
    border-radius: 0 0 10px 10px;
    background: #0b1325;
}

.phone-screen {
    border-radius: 24px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.16);
}

.wa-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
    background: #e2e8f0;
}

.wa-head strong {
    display: block;
    font-weight: 600;
    line-height: 1.1;
}

.wa-head p {
    color: #475569;
    font-size: 0.82rem;
}

.wa-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand), #22d3ee);
    color: #f0fdfa;
    font-family: Sora, sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
}

.wa-chat {
    padding: 0.8rem;
    display: grid;
    gap: 0.6rem;
    background: radial-gradient(circle at top right, rgba(74, 222, 128, 0.08), transparent 35%), #f8fafc;
    min-height: 300px;
    max-height: 300px;
    overflow: hidden;
    align-content: end;
}

.wa-bubble {
    font-size: 0.9rem;
    line-height: 1.45;
    border-radius: 12px;
    padding: 0.62rem 0.72rem;
    max-width: 95%;
    animation: bubbleIn 0.25s ease;
}

.wa-driver {
    background: #dbeafe;
    color: #0f172a;
    border-top-left-radius: 4px;
    justify-self: start;
}

.wa-system {
    background: #0ea5a4;
    color: #f0fdfa;
    border-top-right-radius: 4px;
    justify-self: end;
    text-align: right;
}

.wa-typing-row {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin: 0 0 8px 12px;
    background: #dbeafe;
    border-radius: 12px;
    border-top-left-radius: 4px;
    padding: 8px 10px;
    width: fit-content;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.wa-typing-row.show {
    opacity: 1;
    transform: translateY(0);
}

.wa-typing-row span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #64748b;
    animation: typingDot 0.9s ease-in-out infinite;
}

.wa-typing-row span:nth-child(2) { animation-delay: 0.15s; }
.wa-typing-row span:nth-child(3) { animation-delay: 0.3s; }

.wa-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 10px 12px;
    background: #e2e8f0;
    color: #64748b;
    font-size: 0.84rem;
}

.wa-timestamp {
    font-size: 0.68rem;
    color: #64748b;
    margin-top: 4px;
    text-align: right;
}

@keyframes typingDot {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.55; }
    40% { transform: translateY(-3px); opacity: 1; }
}

@keyframes bubbleIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.section {
    padding: 4.4rem 0;
}

.section-dark {
    background: linear-gradient(180deg, rgba(219, 234, 254, 0.45), rgba(226, 232, 240, 0.35));
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.problem-grid,
.timeline,
.lane-grid,
.metric-grid,
.join-forms,
.footer-grid {
    display: grid;
    gap: 1rem;
}

.problem-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel,
.timeline-step,
.lane,
.metric {
    padding: 1.1rem;
}

.panel p,
.timeline-step p,
.lane p {
    color: var(--muted);
    margin-top: 0.55rem;
}

.timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-step span {
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 0.08em;
}

.lane-map-wrap {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
}

.lane-map {
    min-height: 420px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    overflow: hidden;
}

.lane-list {
    display: grid;
    gap: 0.8rem;
}

.lane small {
    color: var(--muted);
    font-size: 0.78em;
}

.lane-blue {
    border-left: 4px solid #60a5fa;
}

.lane-green {
    border-left: 4px solid #34d399;
}

.lane-orange {
    border-left: 4px solid #fb923c;
}

.leaflet-container {
    font-family: Manrope, sans-serif;
    background: #e2e8f0;
}

.leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.86) !important;
    color: #334155 !important;
}

.leaflet-control-attribution a {
    color: #0f766e !important;
}

.metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric {
    text-align: center;
}

.metric-value {
    font-family: Sora, sans-serif;
    font-weight: 600;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #0f766e;
}

.metric-label {
    color: var(--muted);
    font-size: 0.9rem;
}

.join-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.join-copy p {
    color: var(--muted);
    max-width: 60ch;
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    background: rgba(14, 165, 164, 0.12);
    padding: 0.14rem 0.35rem;
    border-radius: 6px;
}

.join-forms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.join-card {
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.join-card input {
    background: #ffffff;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.7rem 0.75rem;
}

.join-card input:focus {
    outline: 2px solid rgba(16, 185, 129, 0.34);
    border-color: transparent;
}

.site-footer {
    border-top: 1px solid rgba(15, 23, 42, 0.1);
    padding: 2rem 0 2.6rem;
}

.footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
}

.footer-grid a,
.footer-line {
    display: block;
    color: var(--muted);
    margin-bottom: 0.4rem;
}

.footer-brand {
    font-family: Sora, sans-serif;
    margin-bottom: 0.3rem;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .hero-grid,
    .problem-grid,
    .timeline,
    .metric-grid,
    .join-forms,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lane-map-wrap {
        grid-template-columns: 1fr;
    }

    .hero-card {
        min-height: 100%;
    }
}

@media (max-width: 760px) {
    .site-header {
        margin-top: 0.7rem;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 0.45rem);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.9rem;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.98);
    }

    .main-nav.open {
        display: flex;
    }

    .hero {
        padding-top: 4.2rem;
    }

    .hero-grid,
    .problem-grid,
    .timeline,
    .metric-grid,
    .join-forms,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

