/* Cary Tennis Parent Website Styles */

:root {
    --primary: #2E7D32;
    --primary-dark: #1B5E20;
    --primary-light: #4CAF50;
    --accent: #1565C0;
    --success: #34C759;
    --error: #FF3B30;
    --text: #1C1C1E;
    --text-secondary: #8E8E93;
    --background: #FFFFFF;
    --background-alt: #F5F5F7;
    --border: #E5E5EA;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 80px 24px 100px;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.hero .tagline {
    font-size: 1.5rem;
    font-weight: 500;
    opacity: 0.95;
    margin-bottom: 8px;
}

.hero .subtitle {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 500px;
    margin: 0 auto 32px;
}

.coming-soon-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}

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

.features h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--text);
}

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

.feature {
    text-align: center;
    padding: 32px 24px;
    border-radius: 16px;
    background: var(--background-alt);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.feature h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.feature p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Screenshots Section */
.screenshots {
    padding: 80px 24px;
    background: var(--background-alt);
}

.screenshots h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 48px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    justify-items: center;
}

.screenshot {
    text-align: center;
}

.screenshot img {
    max-width: 280px;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    margin-bottom: 16px;
}

.screenshot p {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

.how-it-works h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 48px;
}

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

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

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

.step h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.step p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* CTA Section */
.cta {
    padding: 80px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.notify-form {
    max-width: 400px;
    margin: 0 auto;
}

.notify-form p {
    font-size: 1rem;
    opacity: 0.85;
}

/* Footer */
footer {
    padding: 32px 24px;
    background: var(--text);
    color: white;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.7;
}

footer nav {
    display: flex;
    gap: 24px;
}

footer nav a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

footer nav a:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 60px 24px 80px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero .tagline {
        font-size: 1.2rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .app-icon {
        width: 100px;
        height: 100px;
    }

    .features h2,
    .screenshots h2,
    .how-it-works h2,
    .cta h2 {
        font-size: 1.8rem;
    }

    .features-grid {
        gap: 24px;
    }

    .screenshot img {
        max-width: 240px;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}
