/* ============================================ */
/* LEGEND HOUSE - LANDING PAGE v4.0 */
/* Professional Dark Theme - Mobile First */
/* ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #09090b;
    --bg-card: #18181b;
    --border-color: #27272a;
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --primary: #f59e0b;
    --primary-hover: #d97706;
    --accent: #ef4444;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================================ */
/* NAVBAR - RESPONSIVE */
/* ============================================ */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.125rem;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.nav-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.nav-link {
    display: none;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.nav-cta {
    background: var(--text-primary);
    color: var(--bg-dark);
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-cta:hover {
    background: #e4e4e7;
    transform: translateY(-1px);
}

.nav-signin {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
}

.nav-signin:hover {
    color: var(--text-primary);
}

/* ============================================ */
/* HERO SECTION */
/* ============================================ */
.hero {
    padding: 120px 1.5rem 80px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 3rem;
}

.btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 280px;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--text-secondary);
    background: rgba(255,255,255,0.03);
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 1rem 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================ */
/* FEATURES SECTION */
/* ============================================ */
.section {
    padding: 60px 1.5rem;
}

.section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    font-size: 0.95rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(239, 68, 68, 0.1));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================ */
/* FOOTER */
/* ============================================ */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 50px 1.5rem 30px;
    margin-top: 40px;
    background: #000;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 300px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 0.6rem;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
}

/* ============================================ */
/* TABLET (768px+) */
/* ============================================ */
@media (min-width: 768px) {
    .nav-container {
        padding: 1rem 2rem;
    }
    
    .nav-link {
        display: block;
    }
    
    .nav-links {
        gap: 0.5rem;
    }
    
    .hero {
        padding: 160px 2rem 100px;
    }
    
    .hero-title {
        font-size: 3.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
        max-width: 600px;
    }
    
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }
    
    .btn-large {
        width: auto;
        min-width: 180px;
    }
    
    .stats-row {
        max-width: 500px;
        gap: 1.5rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .section {
        padding: 80px 2rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .footer {
        padding: 70px 2rem 40px;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-links {
        gap: 4rem;
    }
}

/* ============================================ */
/* DESKTOP (1024px+) */
/* ============================================ */
@media (min-width: 1024px) {
    .nav-container {
        padding: 1.25rem 3rem;
    }
    
    .nav-brand {
        font-size: 1.25rem;
    }
    
    .nav-logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.6rem 1.25rem;
    }
    
    .hero {
        padding: 180px 3rem 120px;
        max-width: 1000px;
    }
    
    .hero::before {
        width: 800px;
        height: 800px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
        max-width: 700px;
        margin-bottom: 2.5rem;
    }
    
    .btn-large {
        padding: 1.1rem 2.5rem;
        font-size: 1.05rem;
    }
    
    .stats-row {
        max-width: 600px;
    }
    
    .stat-item {
        padding: 1.25rem 1rem;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 100px 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2.5rem;
    }
    
    .feature-icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
    
    .feature-title {
        font-size: 1.25rem;
    }
    
    .feature-desc {
        font-size: 0.95rem;
    }
    
    .footer {
        padding: 80px 3rem 50px;
    }
}

/* ============================================ */
/* LARGE DESKTOP (1400px+) */
/* ============================================ */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.35rem;
    }
}
