:root {
    color-scheme: dark;
    --bg: #090712;
    --bg-soft: #120d24;
    --surface: rgba(20, 15, 41, 0.82);
    --surface-strong: rgba(28, 21, 56, 0.94);
    --surface-border: rgba(144, 121, 255, 0.18);
    --text: #f5f4ff;
    --muted: #b8b3d8;
    --muted-strong: #8d88ac;
    --primary: #8b5cff;
    --primary-2: #4b86ff;
    --green: #35e3a1;
    --red: #ff7e87;
    --amber: #f7bf45;
    --pink: #f58ad9;
    --cyan: #6fcbff;
    --shadow: 0 30px 70px rgba(12, 7, 30, 0.48);
    --radius-xl: 34px;
    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(97, 58, 255, 0.28), transparent 32%),
        radial-gradient(circle at top right, rgba(58, 144, 255, 0.18), transparent 26%),
        linear-gradient(180deg, #0a0712 0%, #0c0818 52%, #090712 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

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

.page-shell {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    padding: 24px 20px 64px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0 10px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    width: min(280px, 36vw);
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
}

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

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
    gap: 42px;
    align-items: center;
    padding: 46px 0 42px;
}

.eyebrow {
    margin: 0 0 16px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #a593ff;
}

.hero h1,
.section-heading h2,
.split-panel h2,
.final-cta h2,
.legal-page h1 {
    margin: 0;
    font-family: "Sora", "Manrope", sans-serif;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.hero h1 {
    font-size: clamp(2.7rem, 4.9vw, 5.25rem);
    max-width: 11ch;
}

.lede,
.split-panel p,
.feature-card p,
.privacy-card p,
.roadmap-card p,
.legal-card p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.74;
}

.hero-copy .lede {
    max-width: 60ch;
    margin: 20px 0 0;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 0;
}

.chip-row span,
.pill,
.roadmap-state {
    border: 1px solid rgba(159, 143, 255, 0.22);
    background: rgba(31, 24, 61, 0.68);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    padding: 10px 14px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 20px 42px rgba(87, 68, 255, 0.34);
}

.btn-secondary {
    color: var(--text);
    border: 1px solid rgba(144, 121, 255, 0.2);
    background: rgba(19, 14, 38, 0.75);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}

.hero-stats article,
.feature-card,
.privacy-card,
.roadmap-card,
.legal-card,
.split-panel {
    background: linear-gradient(180deg, rgba(29, 22, 56, 0.94), rgba(16, 12, 32, 0.92));
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow);
}

.hero-stats article {
    border-radius: 22px;
    padding: 18px;
}

.hero-stats strong,
.feature-card h3,
.privacy-card h3,
.roadmap-card h3,
.legal-card h2,
.benefit-item strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
}

.hero-stats span,
.benefit-item span {
    display: block;
    margin-top: 8px;
    color: var(--muted-strong);
    font-size: 14px;
    line-height: 1.55;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.phone-frame {
    position: relative;
    width: min(100%, 430px);
    padding: 16px;
    border-radius: 42px;
    border: 1px solid rgba(163, 148, 255, 0.18);
    background:
        linear-gradient(180deg, rgba(25, 17, 52, 0.98), rgba(10, 7, 21, 0.98)),
        radial-gradient(circle at top, rgba(89, 59, 255, 0.24), transparent 42%);
    box-shadow: 0 28px 84px rgba(6, 5, 18, 0.6);
}

.phone-notch {
    width: 128px;
    height: 24px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: rgba(2, 2, 12, 0.92);
}

.phone-screen {
    padding: 16px 14px 18px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(87, 65, 255, 0.24), transparent 22%),
        linear-gradient(180deg, #16102b 0%, #0f0b1f 100%);
    min-height: 720px;
}

.phone-top img {
    width: 166px;
    margin: 0 auto 20px;
}

.phone-card,
.phone-bottom-card {
    border-radius: 26px;
    border: 1px solid rgba(154, 139, 255, 0.18);
    background: rgba(29, 22, 58, 0.84);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.phone-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 18px;
    position: relative;
}

.phone-card.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 5px;
    border-radius: 999px;
    background: linear-gradient(180deg, #b088ff, #6f4bff);
    box-shadow: 0 0 18px rgba(126, 84, 255, 0.42);
}

.card-thumb {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 24px;
    font-weight: 900;
    color: #fff5e8;
    background: linear-gradient(135deg, rgba(84, 131, 255, 0.28), rgba(144, 111, 255, 0.36));
}

.card-thumb.rupee {
    color: #f0ad1f;
}

.card-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.card-title-row strong {
    font-size: 18px;
}

.card-meta {
    margin-top: 5px;
    color: var(--muted-strong);
    font-size: 14px;
    font-weight: 700;
}

.card-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.card-side small {
    color: #f4f0ff;
    font-size: 14px;
    font-weight: 800;
}

.pill {
    padding: 7px 12px;
}

.active-pill {
    color: #74b6ff;
    background: rgba(68, 125, 255, 0.15);
}

.pay-pill {
    color: #f2c45f;
    background: rgba(246, 183, 72, 0.12);
}

.cta-panel {
    margin-top: 18px;
}

.cta-strip {
    display: grid;
    place-items: center;
    min-height: 84px;
    border-radius: 28px;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: white;
    background: linear-gradient(135deg, #7c3df5, #4a6fff);
    box-shadow: 0 22px 52px rgba(103, 76, 255, 0.38);
}

.mini-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.mini-actions div {
    min-height: 66px;
    display: grid;
    place-items: center;
    text-align: center;
    border-radius: 22px;
    color: var(--muted);
    font-weight: 800;
    letter-spacing: 0.02em;
    border: 1px solid rgba(156, 142, 255, 0.15);
    background: rgba(23, 18, 42, 0.72);
}

.phone-bottom-card {
    margin-top: 18px;
    padding: 18px;
}

.mini-label {
    margin: 0 0 12px;
    font-size: 12px;
    color: #a390ff;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 800;
}

.timeline-row {
    display: grid;
    grid-template-columns: 1fr 20px 1fr;
    gap: 12px;
    align-items: center;
}

.timeline-row + .timeline-row {
    margin-top: 12px;
}

.axis-line {
    width: 2px;
    height: 62px;
    justify-self: center;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(151, 123, 255, 0.9), rgba(95, 76, 214, 0.3));
}

.timeline-pill {
    min-height: 72px;
    padding: 14px 16px;
    border-radius: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.income {
    color: #7df0c0;
    background: rgba(27, 79, 66, 0.38);
    border: 1px solid rgba(66, 217, 156, 0.26);
}

.expense {
    color: #ff9ea5;
    background: rgba(92, 32, 50, 0.34);
    border: 1px solid rgba(255, 121, 139, 0.24);
}

.todo {
    color: #dcb2ff;
    background: rgba(91, 43, 133, 0.3);
    border: 1px solid rgba(189, 128, 255, 0.24);
}

.contact {
    color: #9fd9ff;
    background: rgba(32, 61, 108, 0.34);
    border: 1px solid rgba(102, 188, 255, 0.22);
}

.feature-section,
.privacy-section,
.roadmap-section {
    padding-top: 34px;
}

.section-heading {
    max-width: 780px;
}

.section-heading h2,
.split-panel h2,
.final-cta h2,
.legal-page h1 {
    font-size: clamp(2rem, 3.1vw, 3.4rem);
}

.feature-grid,
.privacy-grid,
.roadmap-grid {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.privacy-grid,
.roadmap-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.privacy-card,
.roadmap-card,
.legal-card {
    border-radius: 28px;
    padding: 24px;
}

.icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 18px;
}

.violet { background: rgba(133, 95, 255, 0.2); color: #cab0ff; }
.blue { background: rgba(76, 146, 255, 0.18); color: #9dd6ff; }
.green { background: rgba(57, 214, 161, 0.18); color: #92f1cb; }
.amber { background: rgba(247, 190, 72, 0.16); color: #ffd98e; }
.pink { background: rgba(245, 138, 217, 0.18); color: #ffc0eb; }
.cyan { background: rgba(108, 203, 255, 0.16); color: #a5e7ff; }

.split-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 24px;
    align-items: center;
    border-radius: 34px;
    padding: 30px;
    margin-top: 44px;
}

.benefit-list {
    display: grid;
    gap: 14px;
}

.benefit-item {
    border-radius: 22px;
    border: 1px solid rgba(155, 140, 255, 0.16);
    background: rgba(25, 20, 48, 0.7);
    padding: 18px;
}

.roadmap-state {
    display: inline-flex;
    margin-bottom: 16px;
    color: #cbb8ff;
}

.final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 46px;
    padding: 28px 30px;
    border-radius: 34px;
    border: 1px solid rgba(148, 129, 255, 0.18);
    background: linear-gradient(135deg, rgba(34, 24, 71, 0.96), rgba(16, 12, 34, 0.96));
    box-shadow: var(--shadow);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid rgba(151, 136, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand img {
    width: 44px;
    height: 44px;
    border-radius: 14px;
}

.footer-brand strong {
    display: block;
    font-weight: 800;
}

.footer-brand span,
.footer-links {
    color: var(--muted-strong);
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-weight: 700;
}

.legal-shell {
    max-width: 980px;
}

.legal-topbar {
    padding-bottom: 22px;
}

.legal-page {
    display: grid;
    gap: 18px;
    padding: 10px 0 24px;
}

.text-link {
    font-weight: 800;
    color: #bba6ff;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .hero,
    .split-panel,
    .privacy-grid,
    .roadmap-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .final-cta,
    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    .page-shell {
        padding: 18px 16px 52px;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .nav {
        flex-wrap: wrap;
        gap: 14px;
    }

    .brand-logo {
        width: 220px;
    }

    .hero {
        padding-top: 28px;
        gap: 28px;
    }

    .hero h1 {
        max-width: none;
        font-size: clamp(2.35rem, 10vw, 3.55rem);
    }

    .phone-screen {
        min-height: auto;
    }

    .phone-card {
        grid-template-columns: 52px 1fr;
    }

    .card-side {
        grid-column: 2;
        align-items: flex-start;
    }

    .timeline-row {
        grid-template-columns: 1fr;
    }

    .axis-line {
        width: 100%;
        height: 2px;
    }

    .final-cta,
    .split-panel,
    .feature-card,
    .privacy-card,
    .roadmap-card,
    .legal-card {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal,
    .btn {
        transition: none;
    }
}
