/* Reset & base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --dark: #0d1117;
    --dark-2: #161b22;
    --dark-3: #1e2736;
    --amber: #f59e0b;
    --amber-hover: #d97706;
    --bg: #ffffff;
    --surface: #f6f8fa;
    --text: #0d1117;
    --text-body: #374151;
    --muted: #6b7280;
    --border: rgba(0, 0, 0, 0.08);
    --radius: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        'Inter',
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ── Scroll reveal ──────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}
.reveal--delay-1 {
    transition-delay: 0.1s;
}
.reveal--delay-2 {
    transition-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    * {
        animation-duration: 0.01ms !important;
    }
}

/* ── Nav ────────────────────────────────────────────────────── */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: box-shadow 0.25s;
}
.nav--scrolled {
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.nav__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}
.nav__logo-icon {
    border-radius: 8px;
}

.nav__cta {
    background: var(--amber);
    color: #0d1117;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 9px 20px;
    border-radius: 50px;
    transition:
        background 0.15s,
        transform 0.15s;
}
.nav__cta:hover {
    background: var(--amber-hover);
    transform: translateY(-1px);
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(155deg, #0d1117 0%, #161b22 45%, #1e2736 100%);
    color: #fff;
    padding: 80px 0 64px;
    position: relative;
    overflow: hidden;
}

/* Ambient glow orbs */
.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.hero__orb--1 {
    width: 500px;
    height: 500px;
    background: rgba(245, 158, 11, 0.12);
    top: -200px;
    right: -100px;
    animation: orb-drift 10s ease-in-out infinite alternate;
}
.hero__orb--2 {
    width: 360px;
    height: 360px;
    background: rgba(245, 158, 11, 0.07);
    bottom: -150px;
    left: -80px;
    animation: orb-drift 13s ease-in-out infinite alternate-reverse;
}
.hero__orb--3 {
    width: 240px;
    height: 240px;
    background: rgba(245, 158, 11, 0.09);
    top: 40%;
    left: 40%;
    animation: orb-drift 8s ease-in-out infinite alternate;
}
@keyframes orb-drift {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(30px, 20px);
    }
}

.hero__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.hero__text {
    max-width: 520px;
}

.hero__eyebrow {
    margin-bottom: 20px;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--amber);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 6px 14px;
    border-radius: 50px;
}

.hero__title {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 20px;
}
.highlight {
    color: var(--amber);
}

.hero__tagline {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 440px;
}

.hero__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
}
.stars {
    color: var(--amber);
    font-size: 1rem;
    letter-spacing: 2px;
}
.rating-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}
.badge-link {
    display: inline-flex;
    transition:
        transform 0.15s,
        opacity 0.15s;
}
.badge-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}
.badge-apple {
    height: 48px;
    width: auto;
}
.badge-google {
    height: 64px;
    width: auto;
    margin: -8px 0;
}

.hero__phone-mobile {
    display: none;
}
.hero__phone-mobile .phone--main .phone__frame {
    width: 185px;
}
.hero__phone-mobile .phone--left .phone__frame,
.hero__phone-mobile .phone--right .phone__frame {
    width: 140px;
}

/* Phones */
.hero__phones {
    position: relative;
    height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone {
    position: absolute;
}

.phone__frame {
    border-radius: 24px;
    overflow: hidden;
    background: #111;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 32px 80px rgba(0, 0, 0, 0.7),
        0 8px 24px rgba(0, 0, 0, 0.4);
}
.phone__frame img {
    display: block;
    width: 100%;
}

.phone--main {
    z-index: 3;
    animation: phone-float 4.5s ease-in-out infinite;
}
.phone--main .phone__frame {
    width: 210px;
}

.phone--side {
    z-index: 2;
    opacity: 0.45;
}

.phone--left {
    transform: rotate(-12deg) translate(-185px, 40px);
    animation: phone-float-l 5.5s ease-in-out infinite 0.6s;
}
.phone--left .phone__frame {
    width: 160px;
}

.phone--right {
    transform: rotate(12deg) translate(185px, 40px);
    animation: phone-float-r 5s ease-in-out infinite 1.2s;
}
.phone--right .phone__frame {
    width: 160px;
}

@keyframes phone-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-18px);
    }
}
@keyframes phone-float-l {
    0%,
    100% {
        transform: rotate(-12deg) translate(-185px, 40px);
    }
    50% {
        transform: rotate(-12deg) translate(-185px, 22px);
    }
}
@keyframes phone-float-r {
    0%,
    100% {
        transform: rotate(12deg) translate(185px, 40px);
    }
    50% {
        transform: rotate(12deg) translate(185px, 22px);
    }
}
@keyframes phone-float-l-mobile {
    0%,
    100% {
        transform: rotate(-12deg) translate(-140px, 40px);
    }
    50% {
        transform: rotate(-12deg) translate(-140px, 22px);
    }
}
@keyframes phone-float-r-mobile {
    0%,
    100% {
        transform: rotate(12deg) translate(140px, 40px);
    }
    50% {
        transform: rotate(12deg) translate(140px, 22px);
    }
}

/* ── Stats ──────────────────────────────────────────────────── */
.stats {
    background: var(--surface);
    padding: 56px 0;
    border-bottom: 1px solid var(--border);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    text-align: center;
}

.stat {
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat + .stat {
    border-left: 1px solid var(--border);
}

.stat__number-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
}

.stat__number {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 900;
    color: var(--text);
    line-height: 1;
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
}

.stat__suffix {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--amber);
    line-height: 1;
    vertical-align: top;
}

.stat__label {
    font-size: 0.82rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* ── Section headers ────────────────────────────────────────── */
.section__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 12px;
}

.section__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 52px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

/* ── Features ───────────────────────────────────────────────── */
/* ── Feature Showcase ─────────────────────────────────────────── */
.showcase {
    background: var(--bg);
    padding: 96px 0 48px;
}
.showcase > .container {
    text-align: center;
}

.showcase-row {
    padding: 72px 0;
    border-top: 1px solid var(--border);
}

.showcase-row:nth-of-type(even) {
    background: var(--surface);
}

.showcase-row__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.showcase-row--flip .showcase-row__inner .showcase-row__visual {
    order: -1;
}

.showcase-row__content {
    max-width: 480px;
}
.showcase-row--flip .showcase-row__content {
    margin-left: auto;
}

.showcase-row__num {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--amber);
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 4px;
    padding: 3px 8px;
    margin-bottom: 8px;
}

.showcase-row__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

.showcase-row__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.showcase-row__desc {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 24px;
}

.showcase-row__points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.showcase-row__points li {
    font-size: 0.9rem;
    color: var(--text-body);
    padding-left: 20px;
    position: relative;
}
.showcase-row__points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber);
}

.showcase-row__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-phone-wrap {
    position: relative;
    display: inline-block;
}

.showcase-glow {
    position: absolute;
    inset: -60px;
    background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.1) 0%, transparent 68%);
    pointer-events: none;
}

.showcase-phone {
    width: 260px;
    position: relative;
    z-index: 1;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.05),
        0 24px 64px rgba(0, 0, 0, 0.14),
        0 8px 20px rgba(0, 0, 0, 0.07);
}

/* ── CTA ────────────────────────────────────────────────────── */
.cta {
    background: linear-gradient(155deg, #0d1117 0%, #161b22 50%, #1e2736 100%);
    color: #fff;
    text-align: center;
    padding: 112px 0;
    position: relative;
    overflow: hidden;
}

.cta__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(96px);
    pointer-events: none;
}
.cta__orb--1 {
    width: 600px;
    height: 600px;
    background: rgba(245, 158, 11, 0.1);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
}
.cta__orb--2 {
    width: 300px;
    height: 300px;
    background: rgba(245, 158, 11, 0.08);
    bottom: -120px;
    right: 10%;
}

.cta__inner {
    position: relative;
    z-index: 1;
}

.cta__section-label {
    color: rgba(245, 158, 11, 0.8);
}

.cta__title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #fff;
    margin: 16px 0 40px;
}

.cta__inner .badges {
    justify-content: center;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
    background: #0d1117;
    color: rgba(255, 255, 255, 0.4);
    padding: 48px 28px 40px;
    text-align: center;
}

.footer__inner {
    max-width: 1100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}
.footer__logo-icon {
    border-radius: 7px;
    opacity: 0.8;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.footer__contact-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.footer__email {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.2);
    transition: color 0.15s;
}
.footer__email:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer__policy {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.2);
    transition: color 0.15s;
}
.footer__policy:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer__disclaimer {
    max-width: 680px;
    margin: 0 auto;
    font-size: 0.72rem;
    line-height: 1.7;
    opacity: 0.5;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
    .hero__layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero__text {
        max-width: 600px;
        margin: 0 auto;
    }
    .hero__tagline {
        margin-left: auto;
        margin-right: auto;
    }
    .hero__rating {
        justify-content: center;
    }
    .badges {
        justify-content: center;
    }
    .hero__phones {
        display: none;
    }
    .hero__phone-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        height: 380px;
        margin: 28px 0;
        overflow: visible;
    }
    .hero__phone-mobile .phone--left {
        transform: rotate(-12deg) translate(-140px, 40px);
        animation-name: phone-float-l-mobile;
    }
    .hero__phone-mobile .phone--right {
        transform: rotate(12deg) translate(140px, 40px);
        animation-name: phone-float-r-mobile;
    }
    .hero {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .showcase-row__inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    .showcase-row--flip .showcase-row__inner .showcase-row__visual {
        order: 2;
    }
    .showcase-row--flip .showcase-row__inner .showcase-row__content {
        order: 1;
    }
    .showcase-row__content,
    .showcase-row--flip .showcase-row__content {
        max-width: 580px;
        margin: 0 auto;
    }
    .showcase-row__points {
        align-items: flex-start;
    }
    .showcase-row__desc,
    .showcase-row__points {
        text-align: left;
    }
    .showcase-phone {
        width: 220px;
    }
    .stats {
        padding: 10px 0;
    }
    .showcase {
        padding-top: 48px;
    }
}

@media (max-width: 680px) {
    .stats__grid {
        grid-template-columns: 1fr;
    }
    .stat + .stat {
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .showcase-row {
        padding: 56px 0;
    }
    .showcase-phone {
        width: 200px;
    }

    .cta {
        padding: 80px 0;
    }
    .cta__title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }
}

@media (max-width: 480px) {
    .nav__inner {
        padding: 0 16px;
    }
    .container {
        padding: 0 16px;
    }
    .badges {
        flex-direction: column;
        align-items: center;
    }
    .footer__inner {
        flex-direction: column;
        align-items: center;
    }
    .footer__contact {
        align-items: center;
    }
}
