/* Mudra landing — marketing styles */

:root {
    --ink: #0c1222;
    --ink-soft: #1a2338;
    --slate: #4a5568;
    --muted: #718096;
    --cream: #faf8f5;
    --cream-dark: #f0ebe3;
    --gold: #c9a227;
    --gold-light: #e8c547;
    --gold-glow: rgba(201, 162, 39, 0.25);
    --teal: #0d9488;
    --teal-dark: #0f766e;
    --teal-glow: rgba(13, 148, 136, 0.15);
    --white: #ffffff;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow: 0 4px 24px rgba(12, 18, 34, 0.08);
    --shadow-lg: 0 24px 64px rgba(12, 18, 34, 0.12);
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Outfit", system-ui, sans-serif;
    --max: 1180px;
    --nav-h: 76px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

/* ─── Nav ─── */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.nav.scrolled {
    background: rgba(250, 248, 245, 0.88);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(12, 18, 34, 0.06);
}

.nav__inner {
    width: min(var(--max), 100% - 2.5rem);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.nav__logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    display: grid;
    place-items: center;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px var(--teal-glow);
}

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

.nav__links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate);
    transition: color 0.2s;
}

.nav__links a:hover {
    color: var(--ink);
}

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: var(--ink);
    color: var(--white) !important;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.nav__cta:hover {
    background: var(--ink-soft);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ─── Hero ─── */

.hero {
    position: relative;
    padding: calc(var(--nav-h) + 4rem) 0 6rem;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

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

.hero__orb--1 {
    width: 520px;
    height: 520px;
    background: var(--teal-glow);
    top: -120px;
    right: -80px;
}

.hero__orb--2 {
    width: 400px;
    height: 400px;
    background: var(--gold-glow);
    bottom: -100px;
    left: -100px;
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(12, 18, 34, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(12, 18, 34, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 70%);
}

.hero__inner {
    position: relative;
    width: min(var(--max), 100% - 2.5rem);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem 0.4rem 0.5rem;
    background: var(--white);
    border: 1px solid rgba(12, 18, 34, 0.08);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--teal-dark);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    animation: fadeUp 0.7s ease both;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    animation: pulse 2s ease infinite;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 1.25rem;
    animation: fadeUp 0.7s 0.1s ease both;
}

.hero__title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--teal) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__lead {
    font-size: 1.2rem;
    color: var(--slate);
    max-width: 32rem;
    margin-bottom: 2rem;
    animation: fadeUp 0.7s 0.2s ease both;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeUp 0.7s 0.3s ease both;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.btn--primary {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: var(--white);
    box-shadow: 0 8px 24px var(--teal-glow);
}

.btn--primary:hover {
    box-shadow: 0 12px 32px rgba(13, 148, 136, 0.3);
}

.btn--ghost {
    background: var(--white);
    color: var(--ink);
    border: 1px solid rgba(12, 18, 34, 0.12);
}

.btn--ghost:hover {
    box-shadow: var(--shadow);
}

.hero__stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(12, 18, 34, 0.08);
    animation: fadeUp 0.7s 0.4s ease both;
}

.hero__stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.hero__stat span {
    font-size: 0.875rem;
    color: var(--muted);
}

/* Hero visual — dashboard mock */

.hero__visual {
    position: relative;
    animation: fadeUp 0.9s 0.25s ease both;
}

.hero__card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(12, 18, 34, 0.06);
    overflow: hidden;
}

.hero__card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: var(--ink);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 500;
}

.hero__card-dots {
    display: flex;
    gap: 5px;
}

.hero__card-dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    font-style: normal;
}

.hero__card-dots i:first-child { background: #ff6b6b; }
.hero__card-dots i:nth-child(2) { background: #ffd93d; }
.hero__card-dots i:nth-child(3) { background: #6bcb77; }

.hero__card-body {
    padding: 1.5rem;
}

.hero__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.hero__metric {
    padding: 1rem;
    background: var(--cream);
    border-radius: var(--radius);
    text-align: center;
}

.hero__metric-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--teal-dark);
}

.hero__metric-label {
    font-size: 0.6875rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.25rem;
}

.hero__receipt {
    display: flex;
    align-items: stretch;
    gap: 1rem;
}

.hero__receipt-paper {
    flex: 1;
    background: #fffef9;
    border: 1px dashed rgba(12, 18, 34, 0.15);
    border-radius: 8px;
    padding: 1rem;
    font-family: "Courier New", monospace;
    font-size: 0.65rem;
    line-height: 1.5;
    color: var(--ink);
}

.hero__receipt-paper .center { text-align: center; }
.hero__receipt-paper .bold { font-weight: bold; }
.hero__receipt-paper .line { border-top: 1px dashed #999; margin: 6px 0; }

.hero__float {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 0.85rem 1.1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(12, 18, 34, 0.06);
    font-size: 0.8125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 4s ease-in-out infinite;
}

.hero__float--1 {
    top: -12px;
    right: -20px;
    animation-delay: 0s;
}

.hero__float--2 {
    bottom: 40px;
    left: -28px;
    animation-delay: 1.5s;
}

.hero__float-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1rem;
}

.hero__float-icon--green { background: #d1fae5; }
.hero__float-icon--gold { background: #fef3c7; }

/* ─── Sections shared ─── */

.section {
    padding: 5.5rem 0;
}

.section--dark {
    background: var(--ink);
    color: var(--white);
}

.section--alt {
    background: var(--cream-dark);
}

.section__inner {
    width: min(var(--max), 100% - 2.5rem);
    margin-inline: auto;
}

.section__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--teal);
    margin-bottom: 0.75rem;
}

.section--dark .section__eyebrow {
    color: var(--gold-light);
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section__lead {
    font-size: 1.125rem;
    color: var(--slate);
    max-width: 36rem;
}

.section--dark .section__lead {
    color: rgba(255, 255, 255, 0.7);
}

.section__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section__header .section__lead {
    margin-inline: auto;
}

/* ─── USP strip ─── */

.usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.usp-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(12, 18, 34, 0.06);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.usp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.usp-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.usp-card__icon--teal { background: var(--teal-glow); }
.usp-card__icon--gold { background: var(--gold-glow); }
.usp-card__icon--ink { background: rgba(12, 18, 34, 0.08); }

.usp-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.65rem;
    letter-spacing: -0.01em;
}

.usp-card p {
    color: var(--slate);
    font-size: 0.975rem;
}

/* ─── Features ─── */

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    transition: background 0.3s, border-color 0.3s;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
}

.feature-item__num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    display: grid;
    place-items: center;
}

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

.feature-item p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.55;
}

/* ─── How it works ─── */

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

.steps::before {
    content: "";
    position: absolute;
    top: 36px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal), var(--gold), transparent);
    opacity: 0.35;
}

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

.step__circle {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--teal);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--teal-dark);
    box-shadow: 0 8px 24px var(--teal-glow);
    position: relative;
    z-index: 1;
}

.step h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.9375rem;
    color: var(--slate);
    max-width: 16rem;
    margin-inline: auto;
}

/* ─── Audience ─── */

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.audience-card {
    text-align: center;
    padding: 2rem 1.25rem;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid rgba(12, 18, 34, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.audience-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.audience-card__emoji {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.audience-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.audience-card p {
    font-size: 0.8125rem;
    color: var(--muted);
}

/* ─── Quote ─── */

.quote-block {
    max-width: 44rem;
    margin-inline: auto;
    text-align: center;
}

.quote-block blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 1.5rem;
}

.quote-block cite {
    font-style: normal;
    font-size: 0.9375rem;
    color: var(--muted);
}

/* ─── CTA ─── */

.cta-panel {
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-panel::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--gold-glow);
    border-radius: 50%;
    filter: blur(60px);
    top: -100px;
    right: -50px;
    opacity: 0.6;
}

.cta-panel::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--teal-glow);
    border-radius: 50%;
    filter: blur(60px);
    bottom: -80px;
    left: -50px;
    opacity: 0.6;
}

.cta-panel__inner {
    position: relative;
    z-index: 1;
}

.cta-panel h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-panel p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.125rem;
    max-width: 32rem;
    margin: 0 auto 2rem;
}

.cta-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.btn--gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--ink);
    box-shadow: 0 8px 24px var(--gold-glow);
}

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

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

/* ─── Footer ─── */

.footer {
    padding: 3rem 0 2rem;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer__inner {
    width: min(var(--max), 100% - 2.5rem);
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
}

.footer__links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer__links a {
    transition: color 0.2s;
}

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

.footer__bottom {
    width: min(var(--max), 100% - 2.5rem);
    margin-inline: auto;
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

/* ─── Reveal animation ─── */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ─── Mobile nav drawer ─── */

.mobile-menu {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--cream);
    z-index: 99;
    padding: 2rem;
    flex-direction: column;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu a {
    font-size: 1.125rem;
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(12, 18, 34, 0.06);
    color: var(--ink);
}

/* ─── Responsive ─── */

@media (max-width: 960px) {
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__lead {
        margin-inline: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__visual {
        max-width: 480px;
        margin-inline: auto;
    }

    .hero__float--1 { right: 0; }
    .hero__float--2 { left: 0; }

    .usp-grid,
    .features-grid,
    .steps,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .steps::before {
        display: none;
    }

    .nav__links,
    .nav__cta--desktop {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }
}

@media (max-width: 600px) {
    .hero__metrics {
        grid-template-columns: 1fr;
    }

    .hero__stats {
        flex-direction: column;
        gap: 1.25rem;
        align-items: center;
    }

    .cta-panel {
        padding: 3rem 1.5rem;
    }

    .footer__inner,
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer__links {
        flex-direction: column;
        gap: 0.75rem;
    }
}
