:root {
    --bg: #060D17;
    --card: rgba(16, 24, 40, 0.72);
    --accent: #8EA2FF;
    --accent-strong: #2C3D8F;
    --text: #ffffff;
    --muted: #b7c0d4;
    --line: rgba(142, 162, 255, 0.18);
    --font: "Poppins", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(142, 162, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(142, 162, 255, 0.04) 1px, transparent 1px);
    background-size: 52px 52px;
    pointer-events: none;
}

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 10;
    background: rgba(6, 13, 23, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

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

.logo-img { height: 36px; width: auto; display: block; }

.nav-right { display: flex; gap: 0.75rem; }

.nav-register-btn,
.nav-login-btn {
    padding: 0.5rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.nav-register-btn {
    background: var(--accent-strong);
    color: #fff;
}

.nav-login-btn {
    border: 1px solid var(--accent);
    color: var(--accent);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 4rem;
    overflow: hidden;
}

.hero-background { position: absolute; inset: 0; }

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.orb-1 { width: 360px; height: 360px; background: rgba(44, 61, 143, 0.45); top: -120px; left: -80px; }
.orb-2 { width: 280px; height: 280px; background: rgba(142, 162, 255, 0.18); right: -60px; bottom: -40px; }
.orb-3 { width: 180px; height: 180px; background: rgba(44, 61, 143, 0.35); top: 40%; left: 45%; }

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

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

.hero-badge {
    display: inline-block;
    margin-bottom: 1.25rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--accent);
    background: var(--card);
    font-size: 0.875rem;
}

.hero-main-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1rem;
}

.title-line-1 { display: block; color: var(--accent); }
.title-line-2 { display: block; font-size: 0.62em; font-weight: 700; }

.hero-subtitle {
    max-width: 34rem;
    margin: 0 auto 1.75rem;
    color: var(--muted);
}

.hero-download-buttons {
    display: grid;
    gap: 1rem;
    max-width: 520px;
    margin: 0 auto;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    background: #fff;
    color: #111;
    text-decoration: none;
    border-radius: 16px;
}

.download-btn-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    color: #111;
}

.download-btn-label { display: block; color: #666; font-size: 0.8rem; }
.download-btn-platform { display: block; font-size: 1.35rem; font-weight: 700; }

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

.phone-device {
    width: 260px;
    height: 520px;
    padding: 10px;
    border-radius: 36px;
    border: 2px solid var(--line);
    background: #0b1220;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    width: 108px;
    height: 22px;
    transform: translateX(-50%);
    background: #060D17;
    border-radius: 0 0 14px 14px;
    z-index: 2;
}

.phone-display {
    height: 100%;
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 30%, rgba(44, 61, 143, 0.55), transparent 55%),
        #060D17;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

.phone-icon { width: 92px; height: 92px; border-radius: 22px; }
.phone-wordmark { width: 150px; height: auto; }

.features-section { padding: 4rem 0 5rem; }

.section-header { text-align: center; margin-bottom: 2rem; }
.section-title { font-size: 2rem; margin-bottom: 0.4rem; }
.section-description { color: var(--muted); }

.features-grid {
    display: grid;
    gap: 1rem;
}

.feature-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.5rem;
}

.feature-icon { font-size: 1.8rem; margin-bottom: 0.6rem; }
.feature-item h3 { color: var(--accent); margin-bottom: 0.4rem; }
.feature-item p { color: var(--muted); }

.footer {
    border-top: 1px solid var(--line);
    padding: 1.5rem 0 2rem;
    text-align: center;
    color: #8b95a8;
    font-size: 0.875rem;
}

@media (min-width: 800px) {
    .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
    .hero-content { text-align: left; }
    .hero-subtitle { margin-left: 0; }
    .hero-download-buttons { margin-left: 0; grid-template-columns: 1fr 1fr; }
    .hero-main-title { font-size: 4.2rem; }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 420px) {
    .nav-register-btn, .nav-login-btn { padding: 0.45rem 0.7rem; }
    .hero-main-title { font-size: 2.4rem; }
    .logo-img { height: 28px; }
}
