:root {
    color-scheme: light dark;
    --primary: #5b68f6;
    --secondary: #9b6df5;
    --accent: #2c9bd3;
    --text-main: #182038;
    --text-muted: #63708a;
    --page: #f5f7ff;
    --panel: rgba(255, 255, 255, 0.72);
    --panel-strong: rgba(255, 255, 255, 0.9);
    --border: rgba(83, 101, 166, 0.15);
    --shadow: 0 24px 70px rgba(58, 72, 135, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--text-main);
    background:
        radial-gradient(circle at 15% 5%, rgba(91, 104, 246, 0.18), transparent 32rem),
        radial-gradient(circle at 88% 22%, rgba(44, 155, 211, 0.15), transparent 30rem),
        linear-gradient(180deg, #fbfcff 0%, var(--page) 48%, #f1f5ff 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(77, 94, 160, 0.11) 0.65px, transparent 0.65px);
    background-size: 18px 18px;
    content: '';
    pointer-events: none;
    mask-image: linear-gradient(to bottom, black, transparent 75%);
}

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

img {
    max-width: 100%;
}

.site-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
    padding: 0;
    text-align: left;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    transition: color 180ms ease;
}

.brand span {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    line-height: 0;
}

.brand:hover {
    color: var(--primary);
}

:focus-visible {
    border-radius: 6px;
    outline: 3px solid rgba(91, 104, 246, 0.42);
    outline-offset: 4px;
}

.hero {
    display: grid;
    min-height: 78vh;
    padding: 120px 0 64px;
    align-items: center;
}

.hero-content {
    max-width: 850px;
    text-align: center;
    animation: rise 700ms ease both;
}

.app-icon {
    display: block;
    width: 132px;
    height: 132px;
    margin: 0 auto 28px;
    border-radius: 30px;
    box-shadow: 0 25px 55px rgba(66, 78, 145, 0.25);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
}

h1 {
    margin-bottom: 14px;
    background: linear-gradient(135deg, #4658ef 10%, #8c63ef 52%, #2294c8 90%);
    background-clip: text;
    color: transparent;
    font-size: clamp(3.5rem, 9vw, 7rem);
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.hero h1 {
    display: inline-block;
    padding-inline: 0.06em;
}

.tagline {
    max-width: 760px;
    margin: 0 auto 20px;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.65rem, 3.5vw, 2.65rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.hero-copy {
    max-width: 680px;
    margin: 0 auto 30px;
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.coming-soon {
    display: inline-flex;
    min-height: 44px;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--panel-strong);
    box-shadow: 0 10px 30px rgba(66, 78, 145, 0.1);
    color: var(--text-main);
    font-size: 0.92rem;
    font-weight: 700;
}

.showcase {
    padding: 12px 0 88px;
}

.screenshot-frame {
    position: relative;
    overflow: hidden;
    max-width: 1120px;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
    border: 1px solid rgba(95, 111, 178, 0.2);
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(227, 233, 255, 0.78));
    box-shadow: 0 34px 90px rgba(53, 68, 133, 0.22);
    animation: rise 700ms 120ms ease both;
}

.screenshot-frame::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    content: '';
    pointer-events: none;
}

.screenshot-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.features {
    padding: 76px 0;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    letter-spacing: -0.035em;
    line-height: 1.08;
}

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

.feature-card,
.closing-card,
.privacy-card {
    border: 1px solid var(--border);
    background: var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.feature-card {
    min-height: 230px;
    padding: 30px;
    border-radius: 24px;
}

.feature-card::before {
    display: block;
    width: 38px;
    height: 5px;
    margin-bottom: 46px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    content: '';
}

.feature-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.feature-card:nth-child(3)::before {
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.feature-card p {
    margin-bottom: 0;
    color: var(--text-muted);
    line-height: 1.72;
}

.closing {
    padding: 70px 0 100px;
}

.closing-card {
    max-width: 780px;
    margin: 0 auto;
    padding: 58px 40px;
    border-radius: 30px;
    text-align: center;
}

.closing-card h2 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.035em;
}

.closing-card p {
    margin-bottom: 26px;
    color: var(--text-muted);
}

.site-footer {
    padding: 40px 20px 52px;
    color: var(--text-muted);
    font-size: 0.88rem;
    text-align: center;
}

.site-footer p {
    margin-bottom: 12px;
}

.site-footer nav {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.site-footer a {
    font-weight: 600;
    transition: color 180ms ease;
}

.site-footer a:hover {
    color: var(--primary);
}

.privacy-main {
    padding: 130px 0 40px;
}

.privacy-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 58px;
    border-radius: 28px;
}

.privacy-card > h1 {
    margin-bottom: 8px;
    background: none;
    color: var(--text-main);
    font-size: clamp(2.7rem, 6vw, 4.5rem);
    line-height: 1;
    text-align: center;
}

.last-updated {
    margin-bottom: 48px;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
}

.privacy-content h2 {
    margin: 42px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    color: var(--primary);
    font-size: 1.45rem;
}

.privacy-content p,
.privacy-content li {
    color: var(--text-muted);
    line-height: 1.82;
}

.privacy-content ul {
    padding-left: 22px;
}

.privacy-content a {
    color: var(--primary);
    font-weight: 700;
}

.visually-hidden {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    margin: -1px;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary: #9da5ff;
        --secondary: #c192ff;
        --accent: #66c8f3;
        --text-main: #f4f6ff;
        --text-muted: #adb6ce;
        --page: #0b1020;
        --panel: rgba(20, 27, 49, 0.74);
        --panel-strong: rgba(28, 36, 64, 0.9);
        --border: rgba(168, 180, 237, 0.16);
        --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    }

    body {
        background:
            radial-gradient(circle at 15% 5%, rgba(91, 104, 246, 0.22), transparent 32rem),
            radial-gradient(circle at 88% 22%, rgba(44, 155, 211, 0.14), transparent 30rem),
            linear-gradient(180deg, #090d1a 0%, var(--page) 48%, #080d19 100%);
    }

    body::before {
        opacity: 0.35;
    }

    h1 {
        background: linear-gradient(135deg, #aeb4ff 10%, #d0a5ff 54%, #7dd9ff 92%);
        background-clip: text;
        color: transparent;
    }

    .screenshot-frame {
        border-color: rgba(175, 186, 241, 0.18);
        background: linear-gradient(135deg, rgba(35, 43, 73, 0.95), rgba(18, 27, 52, 0.86));
    }

    .screenshot-frame::before {
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }
}

@media (max-width: 800px) {
    .hero {
        min-height: auto;
        padding-top: 130px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 0;
    }

    .feature-card::before {
        margin-bottom: 30px;
    }

    .privacy-card {
        padding: 40px 28px;
    }
}

@media (max-width: 520px) {
    .app-icon {
        width: 108px;
        height: 108px;
        border-radius: 25px;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .showcase {
        padding-bottom: 58px;
    }

    .screenshot-frame {
        border-radius: 16px;
    }

    .features {
        padding: 58px 0;
    }

    .feature-card {
        padding: 25px;
        border-radius: 20px;
    }

    .closing {
        padding: 50px 0 75px;
    }

    .closing-card {
        padding: 44px 24px;
        border-radius: 24px;
    }

    .privacy-main {
        padding-top: 105px;
    }

    .privacy-card {
        padding: 34px 22px;
        border-radius: 22px;
    }

    .site-footer nav {
        flex-wrap: wrap;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
