/* Bowling Momentum - Main Stylesheet */
/* Design: Modern Minimalist with Tech Theme */
/* Colors: Dark navy (#0f1419) with coral (#ff6b5b) and cyan (#4ecdc4) accents */

:root {
    --primary-dark: #0f1419;
    --secondary-dark: #1a1f2e;
    --card-dark: #232936;
    --coral: #ff6b5b;
    --coral-hover: #ff8577;
    --cyan: #4ecdc4;
    --cyan-dark: #3dbdb5;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #6b7280;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    transition: var(--transition);
}

.navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    flex-wrap: nowrap;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--coral);
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text {
    text-align: left;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text h1 span {
    background: linear-gradient(135deg, var(--coral) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Device Mockup */
.device-mockup {
    position: relative;
    max-width: 280px;
    margin: 0 auto;
}

.device-frame {
    position: relative;
    background: linear-gradient(145deg, #2a2f3e, #1a1f2e);
    border-radius: 36px;
    padding: 12px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.device-frame::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #0f1419;
    border-radius: 0 0 12px 12px;
    z-index: 2;
}

.device-screen {
    border-radius: 28px;
    overflow: hidden;
    background: var(--primary-dark);
}

.device-screen img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--coral);
    color: white;
}

.btn-primary:hover {
    background: var(--coral-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 91, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: var(--secondary-dark);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-dark);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(78, 205, 196, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--coral), var(--cyan));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    text-align: left;
    line-height: 1.7;
}

/* Screenshots Section */
.screenshots {
    padding: 6rem 2rem 8rem;
    background: var(--primary-dark);
    overflow: hidden;
}

.screenshots-container {
    max-width: 1000px;
    margin: 0 auto;
}

.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.carousel-slide .device-mockup {
    max-width: 240px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--coral);
    border-color: var(--coral);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--card-dark);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    margin: 0 4px;
}

.carousel-dot.active {
    background: var(--coral);
    width: 28px;
    border-radius: 6px;
}

/* CTA Section */
.cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

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

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

.footer-copy {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Page Content Styles */
.page-hero {
    padding: 10rem 2rem 4rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    color: var(--cyan);
}

.page-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
}

.page-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-align: left;
    line-height: 1.8;
}

.page-content ul,
.page-content ol {
    color: var(--text-secondary);
    margin: 1rem 0 1rem 1.5rem;
    text-align: left;
}

.page-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.page-content a {
    color: var(--coral);
    text-decoration: none;
    transition: var(--transition);
}

.page-content a:hover {
    color: var(--coral-hover);
    text-decoration: underline;
}

/* Contact Form */
.contact-section {
    padding: 4rem 2rem;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--card-dark);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--secondary-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input[type="file"] {
    padding: 0.75rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-submit {
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-message {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-message.success {
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid var(--cyan);
    color: var(--cyan);
}

.form-message.error {
    background: rgba(255, 107, 91, 0.1);
    border: 1px solid var(--coral);
    color: var(--coral);
}

/* Privacy Accept Button (Flutter Integration) */
.privacy-accept-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, var(--primary-dark) 0%, rgba(15, 20, 25, 0.95) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 9999;
    display: none;
}

.privacy-accept-container.visible {
    display: block;
}

.privacy-accept-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    background: var(--coral);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.privacy-accept-btn:hover {
    background: var(--coral-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 91, 0.3);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--border-radius);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--card-dark);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--coral);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .device-mockup {
        max-width: 220px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .navbar-content {
        gap: 1rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 7rem 1.5rem 3rem;
        min-height: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .features,
    .screenshots,
    .cta {
        padding: 4rem 1.5rem;
    }

    .page-hero {
        padding: 8rem 1.5rem 3rem;
    }

    .page-content {
        padding: 3rem 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .carousel-slide .device-mockup {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
    }

    .logo-icon {
        font-size: 1.25rem;
    }

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

    .device-mockup {
        max-width: 180px;
    }

    .device-frame {
        border-radius: 28px;
        padding: 8px;
    }

    .device-screen {
        border-radius: 22px;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .carousel-slide .device-mockup {
        max-width: 160px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
