@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;800;900&display=swap');

:root {
    --bg-color: #080808;
    --surface: #111111;
    --surface-strong: #191919;
    --text-main: #ffffff;
    --text-soft: #d8d8d8;
    --text-muted: #8e8e8e;
    --accent: #ff2a5f;
    --accent-hover: #e51f50;
    --accent-soft: rgba(255, 42, 95, 0.14);
    --mint: #70e0c2;
    --amber: #ffc857;
    --card-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

body[data-page="home"] {
    background:
        linear-gradient(180deg, #101010 0%, #080808 44rem),
        var(--bg-color);
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.bg-pattern {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(255, 42, 95, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(255, 42, 95, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

.site-nav,
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.25s ease, border-bottom 0.25s ease;
}

.site-nav.scrolled,
nav.scrolled {
    background: rgba(8, 8, 8, 0.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--card-border);
}

.brand,
.logo {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    letter-spacing: 0;
}

.brand img,
.logo img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: block;
}

.btn-primary,
.btn-secondary,
.store-badge {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn-primary {
    background: #ff2a5f;
    color: white;
    padding: 0.72rem 1.35rem;
    border: 1px solid #ff2a5f;
}

.btn-primary:hover {
    background: #e51f50;
    border-color: #e51f50;
    transform: translateY(-1px);
}

.btn-secondary {
    color: var(--text-main);
    padding: 0.72rem 1.25rem;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}

.btn-large {
    min-height: 54px;
    padding: 0.95rem 1.55rem;
}

.home-hero {
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.8fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
    padding: 8.5rem 5% 5rem;
    max-width: 1220px;
    margin: 0 auto;
}

.hero-copy {
    max-width: 680px;
}

.eyebrow {
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.hero-copy h1,
.section-head h2,
.feature-copy h2,
.download-section h2 {
    letter-spacing: 0;
    line-height: 0.98;
}

.hero-copy h1 {
    font-size: clamp(4rem, 9vw, 7.6rem);
    font-weight: 900;
    max-width: 760px;
    margin-bottom: 1.5rem;
}

.hero-text {
    color: var(--text-soft);
    font-size: clamp(1.08rem, 1.8vw, 1.35rem);
    max-width: 620px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.platform-note {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 1.2rem;
}

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

.phone-preview {
    width: min(100%, 370px);
    min-height: 620px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 16rem),
        #0d0d0d;
    box-shadow: var(--shadow);
}

.phone-top {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-soft);
    font-weight: 800;
}

.phone-top img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.alarm-time {
    font-size: 5.2rem;
    line-height: 1;
    font-weight: 900;
    margin-top: 4rem;
}

.alarm-label {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 0.35rem;
}

.voice-bars {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    height: 84px;
    margin: 2.25rem 0;
}

.voice-bars span {
    width: 100%;
    border-radius: 999px;
    background: var(--accent);
}

.voice-bars span:nth-child(1) {
    height: 34%;
    background: var(--amber);
}

.voice-bars span:nth-child(2) {
    height: 72%;
}

.voice-bars span:nth-child(3) {
    height: 46%;
    background: var(--mint);
}

.voice-bars span:nth-child(4) {
    height: 92%;
}

.voice-bars span:nth-child(5) {
    height: 58%;
}

.voice-bars span:nth-child(6) {
    height: 78%;
    background: var(--mint);
}

.voice-bars span:nth-child(7) {
    height: 40%;
    background: var(--amber);
}

.mission-panel,
.reveal-panel {
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 0.8rem;
}

.mission-panel span,
.reveal-panel span,
.feature-list span {
    display: block;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.mission-panel strong,
.reveal-panel strong {
    display: block;
    color: var(--text-main);
    font-size: 1.05rem;
    margin-top: 0.15rem;
}

.steps-section,
.feature-band,
.download-section {
    padding: 6rem 5%;
    max-width: 1220px;
    margin: 0 auto;
}

.section-head {
    max-width: 760px;
    margin-bottom: 2.5rem;
}

.section-head h2,
.feature-copy h2,
.download-section h2 {
    font-size: clamp(2.35rem, 5vw, 4.6rem);
    font-weight: 900;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 1.35rem;
    min-height: 260px;
}

.step-number {
    color: var(--accent);
    font-weight: 900;
    font-size: 0.92rem;
}

.step-card h3 {
    margin-top: 2.4rem;
    font-size: 1.35rem;
    line-height: 1.1;
}

.step-card p {
    color: var(--text-muted);
    margin-top: 0.85rem;
}

.feature-band {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.feature-copy p {
    color: var(--text-soft);
    font-size: 1.12rem;
    margin-top: 1.25rem;
}

.feature-list {
    display: grid;
    gap: 0.85rem;
}

.feature-list div {
    border-left: 3px solid var(--accent);
    background: rgba(255, 255, 255, 0.045);
    padding: 1.1rem 1.25rem;
}

.feature-list div:nth-child(2) {
    border-left-color: var(--mint);
}

.feature-list div:nth-child(3) {
    border-left-color: var(--amber);
}

.feature-list strong {
    display: block;
    margin-bottom: 0.2rem;
}

.download-section {
    text-align: center;
    padding-bottom: 7rem;
}

.download-logo {
    width: 82px;
    height: 82px;
    border-radius: 22px;
    margin-bottom: 1.5rem;
    box-shadow: 0 16px 40px rgba(255, 42, 95, 0.2);
}

.store-badge {
    margin-top: 2rem;
    background: white;
    color: black;
    padding: 0.95rem 1.55rem;
}

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

footer {
    border-top: 1px solid var(--card-border);
    padding: 2.8rem 5%;
    text-align: center;
    background: #050505;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    align-items: center;
}

.footer-brand {
    color: var(--text-main);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.6rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: #5f5f5f;
    font-size: 0.9rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.page-container {
    padding: 10rem 5% 4rem;
    max-width: 800px;
    margin: 0 auto;
    min-height: 80vh;
}

.page-container h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.page-container .updated {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1rem;
}

.page-content {
    color: #ccc;
    font-weight: 300;
    font-size: 1.1rem;
}

.page-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0;
}

.page-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.page-content p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.page-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.page-content li {
    margin-bottom: 0.6rem;
    line-height: 1.8;
}

.page-content strong {
    color: var(--text-main);
    font-weight: 600;
}

.page-content a {
    color: var(--accent);
    text-decoration: none;
}

.page-content a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .home-hero,
    .feature-band {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: none;
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .phone-preview {
        min-height: 560px;
    }

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

@media (max-width: 620px) {
    .site-nav,
    nav {
        padding: 0.9rem 1rem;
    }

    .brand span {
        display: none;
    }

    .site-nav > .download-link,
    nav > .download-link {
        display: none;
    }

    .brand img,
    .logo img {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .home-hero {
        padding: 7.2rem 1rem 4rem;
    }

    .hero-copy h1 {
        font-size: clamp(3.3rem, 18vw, 5.2rem);
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .steps-section,
    .feature-band,
    .download-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

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

    .step-card {
        min-height: auto;
    }

    .step-card h3 {
        margin-top: 1.4rem;
    }

    .phone-preview {
        width: 100%;
        min-height: 520px;
        border-radius: 28px;
    }

    .alarm-time {
        font-size: 4.4rem;
        margin-top: 3rem;
    }

    .footer-links {
        flex-direction: column;
    }
}
