/* Hero Page Styles */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=DM+Sans:wght@400;500;700&display=swap");

:root {
    --bg-primary: #05070f;
    --bg-secondary: #0a0f24;
    --surface: #0d132b;
    --surface-strong: #101a38;
    --border-subtle: #1b2746;
    --text-primary: #f4f6ff;
    --text-muted: #a7b0cc;
    --text-dim: #7e89a6;
    --primary: #4c7dff;
    --primary-bright: #6aa3ff;
    --accent: #9b8cff;
    --glow: rgba(76, 125, 255, 0.45);
}

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

body {
    font-family: "Plus Jakarta Sans", "DM Sans", "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.hero-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(76, 125, 255, 0.15), transparent 55%),
        radial-gradient(circle at 60% 0%, rgba(155, 140, 255, 0.18), transparent 50%),
        linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
}

.hero-container::after {
    content: "";
    position: absolute;
    inset: auto -10% -30% -10%;
    height: 40%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 60%);
    pointer-events: none;
    opacity: 0.8;
}

/* Navigation */
.hero-nav {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    position: relative;
    z-index: 2;
}

.nav-content {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2rem;
    width: 2rem;
    border-radius: 0.6rem;
    background: rgba(76, 125, 255, 0.2);
    color: #cfe0ff;
    box-shadow: 0 8px 20px rgba(76, 125, 255, 0.25);
}

.brand-text {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.btn-ghost {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-ghost:hover {
    border-color: rgba(106, 163, 255, 0.6);
    background: rgba(76, 125, 255, 0.12);
}

/* Hero Main */
.hero-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem 3rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 70rem;
    margin: 0 auto;
    text-align: center;
    padding: 4.5rem 0 2.5rem;
}

/* Error Banner */
.error-banner {
    background: rgba(220, 38, 38, 0.12);
    border-left: 4px solid #ef4444;
    padding: 16px;
    margin-bottom: 24px;
    border-radius: 8px;
    color: #fecaca;
}

.error-banner strong {
    font-weight: 600;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    margin-bottom: 1.5rem;
    border-radius: 9999px;
    background-color: rgba(76, 125, 255, 0.12);
    color: #b8ccff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.badge-dot {
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 999px;
    background: #4c7dff;
    box-shadow: 0 0 10px rgba(76, 125, 255, 0.8);
}

/* Heading */
.hero-heading {
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(90deg, #7bb2ff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 42rem;
    margin: 0 auto 2rem;
}

/* CTA Button */
.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 0.5rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(120deg, var(--primary), var(--primary-bright));
    border: none;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 12px 24px rgba(76, 125, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(76, 125, 255, 0.32);
}

.btn-google {
    gap: 0.7rem;
}

.google-icon {
    height: 1.1rem;
    width: 1.1rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    border-color: rgba(106, 163, 255, 0.6);
    background: rgba(76, 125, 255, 0.12);
}

.cta-icon {
    height: 1rem;
    width: 1rem;
}

.play-dot {
    height: 0.7rem;
    width: 0.7rem;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 8px var(--glow);
}

/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    padding-top: 2.5rem;
    max-width: 58rem;
    margin: 0 auto;
}

.feature-card {
    padding: 1.5rem;
    background: rgba(9, 13, 28, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

.feature-icon-wrapper {
    height: 2.6rem;
    width: 2.6rem;
    border-radius: 0.75rem;
    background: rgba(76, 125, 255, 0.12);
    border: 1px solid rgba(76, 125, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    color: #8fb6ff;
}

.feature-icon {
    height: 1.3rem;
    width: 1.3rem;
}

.feature-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.feature-description {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.hero-footer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-dim);
    padding: 1.5rem 1rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero-heading {
        font-size: 3rem;
    }

    .hero-content {
        padding-top: 3rem;
    }
}

@media (max-width: 600px) {
    .hero-heading {
        font-size: 2.4rem;
    }

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

    .nav-content {
        padding: 1rem 1.25rem;
    }

    .btn-ghost {
        padding: 0.4rem 0.8rem;
    }
}
