/* Speed Manager - Premium Apple/Tesla Aesthetic */

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

:root {
    /* Grayscale Palette */
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --gray-950: #0A0A0A;
    
    /* Neon Green Accent */
    --neon-green: #00FF7F;
    --neon-green-glow: rgba(0, 255, 127, 0.3);
    
    /* Dark Mode Colors */
    --bg-primary: #0A0A0A;
    --bg-secondary: #171717;
    --bg-tertiary: #262626;
    --text-primary: #FAFAFA;
    --text-secondary: #A3A3A3;
    --border-color: #262626;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.5px;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.lang-toggle {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.2s ease;
}

.lang-toggle:hover {
    background: var(--gray-700);
}

/* Buttons */
.btn-primary {
    background: var(--neon-green);
    color: var(--gray-950);
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px var(--neon-green-glow);
}

.btn-primary:hover {
    background: var(--neon-green);
    box-shadow: 0 0 30px var(--neon-green-glow);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 16px;
}

/* Hero Section */
.hero {
    padding: 160px 0 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--gray-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-tagline {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.hero-visual {
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: var(--bg-secondary);
    border-radius: 40px;
    border: 8px solid var(--gray-800);
    padding: 24px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    position: relative;
}

.match-display {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 40px;
}

.scoreboard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.team {
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.score {
    font-size: 32px;
    color: var(--neon-green);
}

.timer {
    font-size: 24px;
    font-weight: 900;
    color: var(--neon-green);
}

.decision-moment {
    background: var(--bg-tertiary);
    border: 2px solid var(--neon-green);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 20px var(--neon-green-glow); }
    50% { box-shadow: 0 0 40px var(--neon-green-glow); }
}

.decision-moment p {
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 14px;
}

.choices {
    display: flex;
    gap: 12px;
}

.choice {
    flex: 1;
    padding: 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.choice:hover {
    background: var(--neon-green);
    color: var(--gray-950);
    border-color: var(--neon-green);
}

/* Sections */
.section {
    padding: 120px 0;
    border-top: 1px solid var(--border-color);
}

.section-dark {
    background: var(--bg-secondary);
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: -0.02em;
}

/* How It Works */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
}

.step {
    text-align: center;
}

.step-number {
    font-size: 80px;
    font-weight: 900;
    color: var(--neon-green);
    line-height: 1;
    margin-bottom: 24px;
    opacity: 0.2;
}

.step h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

.step p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature {
    padding: 40px;
    background: var(--bg-tertiary);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature:hover {
    border-color: var(--neon-green);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.feature h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}

.feature p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Join Waitlist */
.join-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.join-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 48px;
}

.waitlist-form {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.email-input {
    flex: 1;
    padding: 16px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.email-input:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 20px var(--neon-green-glow);
}

.email-input::placeholder {
    color: var(--gray-600);
}

.form-note {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--neon-green);
    color: var(--gray-950);
    border-color: var(--neon-green);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* RTL Support */
.rtl {
    direction: rtl;
}

.rtl .nav-content,
.rtl .footer-content,
.rtl .footer-bottom {
    flex-direction: row-reverse;
}

.rtl .waitlist-form {
    flex-direction: row-reverse;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        gap: 16px;
    }
    
    .nav-links a:not(.btn-primary) {
        display: none;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .phone-mockup {
        width: 280px;
        height: 560px;
        padding: 20px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .steps {
        gap: 64px;
    }
    
    .waitlist-form {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .section-title {
        font-size: 32px;
    }
}