:root {
    --matcha: #c2d7b2;
    --plum: #3b1f47;
    --white: #eeeceb;
    --shadow-soft: 0 18px 40px rgba(59, 31, 71, 0.14);
    --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
    --page-max-width: 1120px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    color: var(--plum);
    background: var(--white);
    line-height: 1.4;
    overflow-x: hidden;
}

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

.container {
    max-width: var(--page-max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(238, 236, 235, 0.92);
    border-bottom: 1px solid rgba(59, 31, 71, 0.12);
    backdrop-filter: blur(8px);
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.header-scrolled {
    background: rgba(238, 236, 235, 0.97);
    border-bottom-color: rgba(59, 31, 71, 0.2);
    box-shadow: 0 8px 24px rgba(59, 31, 71, 0.12);
}

.site-header nav {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    font-family: "Anton SC", sans-serif;
    font-size: 2rem;
    letter-spacing: 0.04em;
    line-height: 1;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-links a {
    position: relative;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.18rem;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--plum);
    transition: transform 0.25s var(--ease-spring);
}

.nav-links a:hover,
.nav-links a.is-active {
    opacity: 1;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
    transform: scaleX(1);
}

.hero {
    min-height: min(88vh, 720px);
    display: grid;
    place-items: center;
    text-align: center;
    background: var(--matcha);
    padding: 4rem 0;
    position: relative;
    isolation: isolate;
    overflow: clip;
}

.hero-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(8px);
    z-index: -1;
    opacity: 0.5;
    animation: floatGlow 10s ease-in-out infinite;
}

.hero-glow-left {
    left: -120px;
    top: 10%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(194, 215, 178, 0) 72%);
}

.hero-glow-right {
    right: -90px;
    bottom: -14%;
    animation-delay: 1.3s;
    background: radial-gradient(circle, rgba(59, 31, 71, 0.2) 0%, rgba(194, 215, 178, 0) 72%);
}

.hero-content h1 {
    font-family: "Anton SC", sans-serif;
    font-size: clamp(4.5rem, 17vw, 11rem);
    line-height: 0.95;
    letter-spacing: 0.04em;
}

.hero-content p {
    margin-top: 1rem;
    font-size: clamp(1.1rem, 2.2vw, 2rem);
}

.cta-button {
    margin-top: 2rem;
    display: inline-block;
    padding: 0.85rem 1.5rem;
    font-weight: 700;
    border: 2px solid var(--plum);
    background: var(--white);
    transition: transform 0.25s var(--ease-spring), background-color 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 20px rgba(59, 31, 71, 0.12);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.01);
    background: var(--matcha);
    box-shadow: var(--shadow-soft);
}

.cta-button:active {
    transform: translateY(-1px) scale(0.99);
}

.why-section {
    background: var(--plum);
    color: var(--white);
    padding: 5rem 0;
}

.why-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
    align-items: center;
}

.why-copy h2 {
    font-family: "Anton SC", sans-serif;
    letter-spacing: 0.03em;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.benefit + .benefit {
    margin-top: 2.4rem;
}

.benefit h3 {
    font-size: clamp(1.3rem, 2.3vw, 2.1rem);
    margin-bottom: 0.25rem;
}

.benefit p {
    font-size: clamp(1rem, 1.8vw, 1.45rem);
    opacity: 0.95;
}

.phone-card {
    width: min(320px, 100%);
    margin-inline: auto;
    background: #1f1126;
    border-radius: 36px;
    border: 3px solid #e3e2de;
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
    padding: 0.55rem;
    overflow: hidden;
    transition: transform 0.5s var(--ease-spring), box-shadow 0.35s ease;
}

.phone-card:hover {
    transform: translateY(-6px) rotate(-0.6deg);
    box-shadow: 0 26px 46px rgba(0, 0, 0, 0.34);
}

.why-preview-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 28px;
}

.demo-section {
    background: #d7d7d7;
    padding: 5.5rem 0;
}

.demo-content {
    text-align: center;
}

.demo-content h2 {
    font-family: "Anton SC", sans-serif;
    color: var(--plum);
    font-size: clamp(2.9rem, 11vw, 8rem);
    letter-spacing: 0.035em;
}

.video-container {
    margin: 2rem auto 0;
    max-width: 300px;
}

.video-phone {
    aspect-ratio: 9 / 19.5; /* Modern phone aspect ratio */
    background: #1f1126;
    border-radius: 40px;
    border: 3px solid rgba(238, 236, 235, 0.98);
    overflow: hidden;
    position: relative;
    transition: transform 0.45s var(--ease-spring), box-shadow 0.35s ease;
    box-shadow: 0 18px 36px rgba(59, 31, 71, 0.26);
}

.demo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-phone:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 44px rgba(59, 31, 71, 0.32);
}

.cta-section {
    background: var(--plum);
    color: var(--white);
    padding: 5rem 0 5.4rem;
    text-align: center;
}

.cta-content {
    max-width: 920px;
}

.cta-content p {
    font-size: clamp(1.1rem, 2.1vw, 2rem);
}

.cta-content p + p {
    margin-top: 1.2rem;
}

.signup-form {
    margin: 2rem auto 0;
    max-width: 560px;
    display: flex;
    gap: 0.7rem;
}

.email-input {
    flex: 1;
    border: 2px solid var(--matcha);
    background: rgba(238, 236, 235, 0.98);
    color: var(--plum);
    padding: 0.9rem 1rem;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.email-input:focus-visible {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(194, 215, 178, 0.35);
}

.submit-button {
    border: 2px solid var(--matcha);
    background: var(--matcha);
    color: var(--plum);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 1.2rem;
    cursor: pointer;
    transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease, filter 0.2s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(194, 215, 178, 0.24);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:disabled {
    cursor: not-allowed;
    filter: grayscale(0.2);
    opacity: 0.85;
}

.form-message {
    min-height: 1.4rem;
    margin-top: 0.75rem;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
}

.platform-availability {
    margin-top: 0.8rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(238, 236, 235, 0.26);
    border-radius: 999px;
    background: rgba(238, 236, 235, 0.08);
}

.platform-icons {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.platform-icon-apple,
.platform-icon-android {
    width: 1.1rem;
    height: 1.1rem;
    display: block;
}

.platform-icon-apple {
    position: static;
}

.platform-icon-android {
    position: static;
}

.platform-availability-text {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
}

.site-footer {
    background: var(--white);
    border-top: 1px solid rgba(59, 31, 71, 0.18);
    padding: 1.3rem 0;
}

.footer-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    font-weight: 600;
}

.animate-on-load {
    opacity: 0;
    transform: translateY(22px);
}

body.page-ready .animate-on-load {
    animation: revealUp 0.8s var(--ease-spring) forwards;
}

body.page-ready .hero-content p.animate-on-load {
    animation-delay: 0.12s;
}

body.page-ready .hero-content .cta-button.animate-on-load {
    animation-delay: 0.22s;
}

.reveal-up,
.reveal-right {
    opacity: 0;
    transition: opacity 0.55s ease, transform 0.7s var(--ease-spring);
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-right {
    transform: translateX(34px);
}

.reveal-up.in-view,
.reveal-right.in-view {
    opacity: 1;
    transform: none;
}

.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s ease, transform 0.6s var(--ease-spring);
    transition-delay: var(--stagger-delay, 0ms);
}

[data-stagger-group].in-view .stagger-item {
    opacity: 1;
    transform: none;
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes floatGlow {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -18px, 0);
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .animate-on-load,
    .reveal-up,
    .reveal-right,
    .stagger-item {
        opacity: 1 !important;
        transform: none !important;
    }
}

.privacy-content {
    padding: 6rem 0 4rem;
    max-width: 800px;
}

.privacy-content h1 {
    font-family: "Anton SC", sans-serif;
    margin-bottom: 1rem;
}

.privacy-content p {
    margin-bottom: 1rem;
}

.back-link {
    font-weight: 700;
}

.support-page .support-lead {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.support-email-block {
    margin: 0 0 1.75rem;
    padding: 1.35rem 1.5rem;
    background: rgba(194, 215, 178, 0.45);
    border: 1px solid rgba(59, 31, 71, 0.12);
    border-radius: 12px;
}

.support-page .support-email-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    opacity: 0.85;
}

.support-page .support-email-value {
    margin-bottom: 0;
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
}

.support-email-value a {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.support-page p a {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.support-page p a:hover {
    opacity: 0.85;
}

.support-page h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
}

.support-page p {
    margin-bottom: 1rem;
}

@media (max-width: 860px) {
    .why-layout {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .phone-card {
        width: min(340px, 100%);
    }
}

@media (max-width: 768px) {
    .site-header nav {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0.75rem 1.25rem;
        gap: 0.6rem 1.1rem;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 0.9rem;
        font-size: 0.85rem;
    }

    .hero {
        min-height: 75vh;
        padding-top: 3rem;
    }

    .cta-button {
        width: 100%;
        max-width: 260px;
    }

    .demo-section,
    .why-section,
    .cta-section {
        padding: 4.25rem 0;
    }

    .signup-form {
        flex-direction: column;
    }

    .email-input,
    .submit-button {
        width: 100%;
    }

    .footer-layout {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-content p {
        font-size: 1rem;
    }

    .cta-content p {
        font-size: 1.05rem;
    }

    .benefit + .benefit {
        margin-top: 2rem;
    }
}