/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #007AFF;
    --secondary-color: #5856D6;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --background: #ffffff;
    --background-alt: #f5f5f7;
    --border-color: #d2d2d7;
    --success-color: #34C759;
    --watch-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    background-color: var(--background);
    line-height: 1.6;
}

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

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.language-switcher a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.language-switcher a:hover {
    color: var(--primary-color);
    background: var(--background-alt);
}

.language-switcher a.active {
    color: white;
    background: var(--primary-color);
}

/* Hero Section */
.hero {
    background: var(--watch-gradient);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

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

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: var(--background-alt);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.download-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.badge img {
    height: 50px;
    transition: transform 0.3s ease;
}

.badge:hover img {
    transform: scale(1.05);
}

/* Story Section */
.story {
    padding: 80px 0;
    background: var(--background-alt);
}

.story h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.story-lead {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.story-content p {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.story-result {
    font-size: 1.2rem;
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.story-result strong {
    color: var(--primary-color);
}

.story-author {
    text-align: center;
    font-style: italic;
    color: var(--text-secondary);
    margin-top: 30px;
    font-size: 1rem;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--background);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-icon i {
    display: block;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.screenshot-placeholder {
    width: 100%;
    height: 300px;
    background: var(--background-alt);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 2px dashed var(--border-color);
}

.screenshot-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.screenshot-placeholder .placeholder-text {
    position: absolute;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
    padding: 10px;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: var(--background-alt);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

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

.step {
    text-align: center;
    padding: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-secondary);
}

/* Technical Specs Section */
.specs {
    padding: 80px 0;
    background: white;
}

.specs h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.spec-item {
    text-align: center;
    padding: 30px;
    background: var(--background-alt);
    border-radius: 12px;
}

.spec-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.spec-item p {
    color: var(--text-primary);
    font-weight: 500;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-secondary);
}

/* Legal Pages */
.page-header {
    background: var(--watch-gradient);
    color: white;
    padding: 80px 0 40px;
    text-align: center;
}

.page-header .container {
    position: relative;
}

.page-header .back-link {
    position: absolute;
    left: 20px;
    top: 0;
    color: white;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.page-header .back-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
}

.page-header .back-link i {
    font-size: 14px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.legal-content {
    padding: 60px 0;
    background: var(--background);
}

.legal-section {
    max-width: 800px;
    margin: 0 auto 40px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.legal-section p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.back-link {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: center;
}

.back-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.back-link a:hover {
    gap: 12px;
}

/* Guide Section (How to Use) */
.guide-section {
    padding: 80px 0;
    background: var(--background);
}

.guide-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.guide-phases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.guide-phase {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-phase:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.guide-phase-header {
    text-align: center;
    margin-bottom: 24px;
}

.guide-phase-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.guide-phase-header h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.guide-phase-sub {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.guide-steps {
    padding-left: 20px;
    margin-bottom: 20px;
}

.guide-steps li {
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.6;
}

.guide-tip {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: #5c4a00;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 16px;
}

.guide-tip i {
    margin-top: 2px;
    flex-shrink: 0;
    color: #ffc107;
}

.guide-sub-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.guide-sub h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.guide-sub h4 i {
    margin-right: 4px;
}

.guide-sub ul {
    padding-left: 16px;
    list-style: disc;
}

.guide-sub ul li {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    line-height: 1.4;
}

/* Sports Section */
.sports-section {
    padding: 80px 0;
    background: var(--background-alt);
}

.sports-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.sport-card {
    background: white;
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sport-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.sport-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.sport-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.sport-details {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Premium Section */
.premium-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
}

.premium-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: white;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 60px;
    font-size: 1.1rem;
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.premium-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.premium-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.13);
}

.premium-card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #FFD60A;
}

.premium-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.premium-card p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 12px;
}

.premium-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFD60A;
}

/* Beta Section */
.beta-section {
    background: linear-gradient(135deg, #FF9500 0%, #FF6B00 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.beta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.beta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 14px;
}

.beta-sub {
    font-size: 1.05rem;
    opacity: 0.92;
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.75;
}

.beta-platforms {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.beta-platform {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
}

.beta-platform i {
    font-size: 1.1rem;
}

.beta-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #E05000;
    padding: 14px 34px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.beta-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* Beta Sign-Up Form */
.beta-form-wrap {
    max-width: 560px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 28px 24px;
}

/* Honeypot: visually hidden but NOT display:none so bots don't skip it */
.beta-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.beta-form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.beta-form-row {
    display: flex;
    gap: 12px;
}

.beta-form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.beta-form-field label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-align: left;
}

.beta-form-field input,
.beta-form-field select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    color: white;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.beta-form-field input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Style the disabled placeholder option */
.beta-form-field select:invalid {
    color: rgba(255, 255, 255, 0.5);
}

.beta-form-field select option {
    color: var(--text-primary);
    background: white;
}

.beta-form-field input:focus,
.beta-form-field select:focus {
    border-color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.28);
}

/* Friendly Captcha widget */
.frc-captcha {
    align-self: center;
    margin: 4px 0;
}

.beta-submit {
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #E05000;
    padding: 13px 32px;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s;
    font-family: inherit;
    margin-top: 4px;
}

.beta-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.beta-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.beta-form-status {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    min-height: 1.4em;
    margin-top: 10px;
    color: white;
}

.beta-form-status.error {
    color: #ffd0c0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .features h2,
    .how-it-works h2,
    .guide-section h2,
    .sports-section h2,
    .premium-section h2,
    .specs h2 {
        font-size: 2rem;
    }
    
    .features-grid,
    .steps,
    .specs-grid,
    .guide-phases {
        grid-template-columns: 1fr;
    }
    
    .guide-sub-sections {
        grid-template-columns: 1fr;
    }
    
    .sports-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }
    
    .premium-grid {
        grid-template-columns: 1fr 1fr;
    }

    .beta-form-row {
        flex-direction: column;
    }

    .beta-form-wrap {
        padding: 20px 16px;
    }
    
    .language-switcher {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .app-icon {
        width: 80px;
        height: 80px;
    }
}
