/* Reset & Base */
:root {
    --primary: #2ECC71;
    /* Golf Green */
    --primary-dark: #27AE60;
    --dark: #1A1A1A;
    --light: #F5F5F5;
    --text: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Typography */
h1,
h2,
h3 {
    color: var(--dark);
    font-weight: 700;
}

p {
    color: var(--text-light);
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Menu Toggle (Hamburger) - Hidden on Desktop */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger Animation */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.logo img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.nav-links a {
    margin-left: 24px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(180deg, #F9FFF9 0%, #FFFFFF 100%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    max-width: 480px;
}

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

.hero-image img {
    max-width: 300px;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: rotate(-5deg);
    transition: transform 0.3s;
}

.hero-image img:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Buttons */
.app-store-btn {
    display: inline-block;
    transition: transform 0.2s;
}

.app-store-btn:hover {
    transform: scale(1.05);
}

.app-store-btn img {
    height: 50px;
    /* Standard height for App Store badges */
    width: auto;
}

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

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

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

.feature-card {
    padding: 32px;
    border-radius: 24px;
    background-color: #F8F9FA;
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

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

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* Screenshots */
.screenshots {
    padding: 80px 0;
    background-color: #F5F5F5;
    overflow: hidden;
}

.screenshots h2 {
    text-align: center;
    margin-bottom: 40px;
}

.screenshot-scroller {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    padding: 20px 0 40px 0;
    /* Space for shadow */
    scroll-snap-type: x mandatory;
}

.screenshot-scroller img {
    max-height: 500px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    scroll-snap-align: center;
}

/* Legal */
.legal-section {
    padding: 60px 0;
    border-top: 1px solid #EEE;
}

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

.legal-content h3 {
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-content p {
    margin-bottom: 16px;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

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

    /* Mobile Menu Styles */
    .menu-toggle {
        display: flex;
        /* Show hamburger on mobile */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        z-index: 100;
        display: flex;
        gap: 30px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin-left: 0;
        font-size: 1.5rem;
    }
}