/* Base Styles and Variables */
:root {
    --bg-primary: #121212;
    --bg-secondary: #1a1a1a;
    --accent-primary: #72FF14;
    --accent-secondary: #72FF1433;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --spacing-unit: 1rem;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--spacing-unit);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--accent-primary), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--accent-secondary);
}

/* Features Section */
.features {
    padding: 5rem var(--spacing-unit);
    background-color: var(--bg-secondary);
}

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

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

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

/* Parallax Showcase */
.parallax-showcase {
    position: relative;
    height: 60vh;
    overflow: hidden;
}

.parallax-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.layer-1 {
    background-color: var(--accent-secondary);
    opacity: 0.1;
}

.layer-2 {
    background-color: var(--accent-secondary);
    opacity: 0.05;
}

.layer-3 {
    background-color: var(--accent-secondary);
    opacity: 0.02;
}

.showcase-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 5rem var(--spacing-unit);
    max-width: 800px;
    margin: 0 auto;
}

/* App Screenshots Section */
.app-showcase {
    padding: 5rem var(--spacing-unit);
    text-align: center;
}

.screenshots-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.screenshot-img-wrapper {
    width: 300px;
    aspect-ratio: 9/19.5;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-img-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 40px rgba(114,255,20,0.15);
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Footer */
footer {
    background-color: var(--bg-secondary);
    padding: 3rem var(--spacing-unit);
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.social-links {
    margin: 1rem 0;
}

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--accent-primary);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes glow {
    from {
        text-shadow: 0 0 10px var(--accent-secondary),
                     0 0 20px var(--accent-secondary),
                     0 0 30px var(--accent-secondary);
    }
    to {
        text-shadow: 0 0 20px var(--accent-secondary),
                     0 0 30px var(--accent-secondary),
                     0 0 40px var(--accent-secondary);
    }
}

/* Floating Ingredients Animation */
.floating-ingredients {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-ingredients::before,
.floating-ingredients::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--accent-secondary);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-ingredients::before {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.floating-ingredients::after {
    top: 60%;
    right: 20%;
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.floating-ingredient {
    font-size: 3.5rem !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

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

    .screenshots-container {
        flex-direction: column;
        align-items: center;
    }

    .screenshot-img-wrapper {
        width: 250px;
    }
}

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

    .subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 1.6rem;
        font-size: 1rem;
    }

    .screenshot-img-wrapper {
        width: 100%;
        aspect-ratio: 9/19.5;
    }
}

.parallax-img {
    position: absolute;
    will-change: transform;
    pointer-events: none;
    opacity: 0.85;
    transition: opacity 0.3s;
}

.parallax-orange {
    width: 180px;
    top: 2%;
    left: 5%;
    z-index: 1;
}

.parallax-slice {
    width: 150px;
    top: 5%;
    right: 10%;
    z-index: 2;
}

.parallax-splash {
    width: 160px;
    top: 35%;
    left: 40%;
    z-index: 3;
}

.parallax-cinnamon {
    width: 130px;
    top: 55%;
    right: 5%;
    z-index: 2;
}

.parallax-glass {
    width: 200px;
    bottom: 2%;
    left: 15%;
    z-index: 4;
}

.parallax-mint {
    width: 150px;
    bottom: 5%;
    right: 15%;
    z-index: 3;
} 