/* landing.css - Flat & Premium styles for GameCaster Landing Page */

:root {
    --landing-primary: #D0BB95;
    --landing-accent: #D6683F;
    --landing-bg: #0f1115;
    --landing-surface: #1a1d23;
    --landing-border: rgba(255, 255, 255, 0.08);
    --landing-text: #f8fafc;
    --landing-text-muted: #94a3b8;
}

/* Global Overrides when Landing is active */
body.is-landing {
    overflow: hidden !important;
}

#landing-view {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    background: var(--landing-bg);
    overflow-y: auto;
}

body.is-landing #landing-view {
    display: block;
}

.landing-page {
    background: var(--landing-bg);
    color: var(--landing-text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Hero Section - Flatter & Cleaner */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    position: relative;
    background: radial-gradient(circle at 50% 50%, #1e2530 0%, #0f1115 100%);
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 10;
}

.hero-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(208, 187, 149, 0.1);
    border: 1px solid rgba(208, 187, 149, 0.2);
    border-radius: 99px;
    color: var(--landing-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--landing-text-muted);
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Steps Section */
.steps-section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--landing-text-muted);
    font-size: 1.1rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

.step-card {
    background: var(--landing-surface);
    border: 1px solid var(--landing-border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--landing-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--landing-primary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}

.step-icon {
    font-size: 3rem;
    color: var(--landing-primary);
}

.step-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.step-card p {
    color: var(--landing-text-muted);
    font-size: 1rem;
}

/* CTA Buttons */
.landing-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-flat {
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    gap: 0.75rem;
    border: none;
}

.btn-flat-primary {
    background: var(--landing-primary);
    color: #000;
}

.btn-flat-primary:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

.btn-flat-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid var(--landing-border);
}

.btn-flat-secondary:hover {
    background: var(--landing-border);
}

.btn-google {
    background: #ffffff;
    color: #1f1f1f;
    border: 1px solid #d1d5db;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 320px;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #c1c7cd;
    transform: scale(1.01);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-google img {
    width: 18px;
    height: 18px;
}

.google-icon {
    width: 20px;
    height: 20px;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

/* Animations */
.fade-up {
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}