/* Landing Page Styles (index.html) */

/* Body override for scrollable landing page */
body.landing-page {
    overflow: auto;
    height: auto;
    display: block;
    background: #080808;
}

/* Navigation */
.landing-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    background: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
}

.landing-nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.landing-nav-brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.landing-nav-brand span {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

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

.landing-nav-link {
    color: #999;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.landing-nav-link:hover {
    color: var(--accent);
}

/* Section headings */
.landing-section-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
    text-align: center;
}

.landing-section-subtitle {
    color: #999;
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.6;
    text-align: center;
}

/* How It Works */
.landing-how-it-works {
    margin: 80px 0;
}

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

.step-card {
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
}

.step-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: #000;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.step-card h3 {
    color: #fff;
    font-size: 1.2rem;
    margin: 15px 0 10px;
}

.step-card p {
    color: #999;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Screenshot placeholder */
.landing-screenshot {
    margin: 60px 0;
    background: #111;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 4px;
    overflow: hidden;
}

.landing-screenshot img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.landing-screenshot-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.1rem;
}

/* Contact form */
.landing-contact {
    margin: 60px auto 0;
    max-width: 560px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    background: #181818;
    border: 1px solid #3a3a3a;
    color: #fff;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #666;
}

.contact-form button {
    align-self: center;
    min-width: 200px;
}

.contact-status {
    text-align: center;
    font-size: 0.9rem;
    min-height: 1.4em;
    margin: 0;
}

.contact-status.success {
    color: #66dd77;
}

.contact-status.error {
    color: #ff6666;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .landing-nav {
        padding: 12px 20px;
    }

    .landing-nav-links {
        gap: 12px;
    }

    .landing-nav-link {
        font-size: 0.85rem;
    }

    .landing-hero h1 {
        font-size: 2rem;
    }

    .landing-section-title {
        font-size: 1.5rem;
    }

    .landing-container {
        padding: 40px 16px;
    }

    .contact-form button {
        width: 100%;
    }

    .sports-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }

    .sport-card {
        padding: 15px;
    }

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

    .sport-card h3 {
        font-size: 1rem;
    }

    .sport-card p {
        font-size: 0.8rem;
    }
}

.landing-logo-img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.landing-hero {
    margin-bottom: 60px;
}

.landing-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.landing-hero p {
    font-size: 1.2rem;
    color: #999;
    margin-bottom: 30px;
    line-height: 1.6;
}

.landing-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.login-section {
    margin: 20px 0 50px 0;
    color: #999;
    font-size: 0.95rem;
}

.login-section span {
    margin-right: 8px;
}

.login-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.login-link:hover {
    color: #5aa503;
    text-decoration: underline;
}

.landing-btn {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

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

.landing-btn-primary:hover {
    background: #5aa503;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 187, 106, 0.3);
}

.landing-btn-secondary {
    background: #333;
    color: #fff;
    border: 2px solid #444;
}

.landing-btn-secondary:hover {
    border-color: var(--accent);
    background: rgba(102, 187, 106, 0.1);
    color: var(--accent);
}

.landing-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.feature {
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
    animation: fadeInUp 0.5s ease-out;
}

.feature:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 187, 106, 0.1);
}

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

.feature h3 {
    color: #fff;
    font-size: 1.3rem;
    margin: 15px 0;
}

.feature p {
    color: #999;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.landing-stats {
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 40px;
    margin: 60px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-label {
    color: #999;
    font-size: 0.95rem;
}

/* Sports Section */
.landing-sports {
    margin: 60px 0;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.sport-card {
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    animation: fadeInUp 0.5s ease-out;
    cursor: default;
}

.sport-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 187, 106, 0.15);
    background: rgba(102, 187, 106, 0.05);
}

.sport-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
}

.sport-card h3 {
    color: #fff;
    font-size: 1.1rem;
    margin: 12px 0 8px;
    font-weight: 600;
}

.sport-card p {
    color: #999;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

.landing-testimonials {
    margin: 60px 0;
}

.landing-testimonials h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 40px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial {
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    text-align: left;
    animation: fadeInUp 0.5s ease-out;
}

.testimonial-text {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    color: var(--accent);
    font-weight: 600;
}

.testimonial-role {
    color: #999;
    font-size: 0.85rem;
}

.landing-footer-section {
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 40px;
    margin: 60px 0 0 0;
    text-align: center;
}

.landing-footer-section h2 {
    font-size: 1.8rem;
    color: #fff;
    margin: 0 0 15px 0;
}

.landing-footer-section p {
    color: #999;
    font-size: 1.05rem;
    margin: 0 0 25px 0;
    line-height: 1.6;
}

.landing-footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.landing-footer-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.landing-footer-link:hover {
    color: #5aa503;
    text-decoration: underline;
}

.landing-comparison {
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 30px;
    margin: 60px 0;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    color: #ccc;
    font-size: 0.95rem;
}

.comparison-table th {
    background: #0a0a0a;
    color: #fff;
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid #333;
    font-weight: 600;
}

.comparison-table td {
    padding: 12px;
    border-bottom: 1px solid #333;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-check {
    color: var(--accent);
    font-weight: bold;
}

.comparison-cross {
    color: #666;
}

.landing-highlight {
    background: linear-gradient(135deg, rgba(102, 187, 106, 0.2) 0%, rgba(102, 187, 106, 0.05) 100%);
    border-left: 4px solid var(--accent);
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
    color: #ccc;
}

.landing-highlight strong {
    color: var(--accent);
}

.landing-footer {
    margin-top: 60px;
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
    border-top: 1px solid #333;
}

.auth-footer {
    margin-top: 30px;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
}

/* Compact feature grid for auth-card landing */
.feature-grid-compact {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    text-align: center;
    font-size: 0.9rem;
}

.feature-compact {
    flex: 1;
}

.feature-compact-icon {
    font-size: 2rem;
    margin-bottom: 5px;
}

.feature-compact-title {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 3px;
}

.feature-compact-desc {
    color: #999;
    font-size: 0.85rem;
}

/* CTA button stack */
.cta-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.cta-stack .primary-btn {
    text-align: center;
    text-decoration: none;
}

.cta-stack .primary-btn.outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.cta-stack .primary-btn.outline:hover {
    background: rgba(102, 187, 106, 0.1);
}
