/* CSS Variables - App Colors */
:root {
    --emerald-green: #2ECC71;
    --charcoal-green: #0F2D23;
    --warm-white: #FDFDFA;
    --soft-black: #2C3E50;
    --light-gray: #ECF0F1;
    --medium-gray: #BDC3C7;
    --dark-gray: #34495E;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

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

.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--light-gray);
}

/* Header & Navigation */
.header {
    background: linear-gradient(135deg, var(--charcoal-green) 0%, var(--dark-gray) 100%);
    color: var(--warm-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.nav {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--warm-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--emerald-green);
}

/* Hero Section */
.hero {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    padding-left: 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--emerald-green), var(--warm-white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--emerald-green);
    color: var(--charcoal-green);
    box-shadow: 0 4px 20px rgba(46, 204, 113, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(46, 204, 113, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--warm-white);
    border-color: var(--warm-white);
}

.btn-secondary:hover {
    background: var(--warm-white);
    color: var(--charcoal-green);
}

.btn-app-store {
    background: var(--emerald-green);
    color: var(--charcoal-green);
    font-size: 1.1rem;
    padding: 20px 40px;
    box-shadow: 0 6px 25px rgba(46, 204, 113, 0.4);
}

.btn-app-store:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(46, 204, 113, 0.5);
}

.app-store-icon {
    margin-right: 12px;
    font-size: 1.5rem;
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: #1a1a1a;
    border-radius: 15px;
    z-index: 1;
}

.screen {
    position: absolute;
    top: 60px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    background: var(--charcoal-green);
    border-radius: 20px;
    overflow: hidden;
}

.app-preview {
    padding: 40px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.player-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--warm-white);
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 4px;
}

.teams-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.team {
    background: var(--emerald-green);
    color: var(--charcoal-green);
    padding: 12px 20px;
    border-radius: 25px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.guess-input input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--warm-white);
    font-size: 1rem;
    text-align: center;
}

.guess-input input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--soft-black);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Concept Grid */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.concept-card {
    background: var(--warm-white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.concept-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.concept-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--soft-black);
}

.concept-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Game Modes */
.modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.mode-card {
    background: var(--warm-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.mode-card-featured {
    border-color: var(--emerald-green);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.2);
}

.mode-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mode-header h3 {
    font-size: 1.8rem;
    color: var(--soft-black);
}

.mode-badge {
    background: var(--medium-gray);
    color: var(--soft-black);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.mode-badge-mvp {
    background: var(--emerald-green);
    color: var(--charcoal-green);
}

.mode-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.mode-features li {
    padding: 8px 0;
    color: var(--dark-gray);
    border-bottom: 1px solid var(--light-gray);
}

.mode-features li:last-child {
    border-bottom: none;
}

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

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--soft-black);
}

.feature-item p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* CTA Section */
.section-cta {
    background: linear-gradient(135deg, var(--charcoal-green) 0%, var(--emerald-green) 100%);
    color: var(--warm-white);
    text-align: center;
}

.download-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download-content > p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.download-buttons {
    margin: 40px 0;
}

.coming-soon {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 20px;
}

/* Footer */
.footer {
    background: var(--soft-black);
    color: var(--warm-white);
    padding: 60px 0 30px;
}

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

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--emerald-green);
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--warm-white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-link {
    font-size: 1.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--warm-white);
    text-decoration: none;
    opacity: 0.6;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.footer-legal a:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .nav-links {
        display: none;
    }

    .section {
        padding: 60px 0;
    }

    .concept-grid,
    .modes-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

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

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

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

    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
    }
}

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

.section {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
