:root {
    --primary: #FFD11A;
    --primary-dark: #D99B00;
    --secondary: #63C53C;
    --secondary-dark: #3F901D;
    
    --bg-color: #82DF73;
    --bg-darker: #70C664;
    
    --text-color: #ffffff;
    --text-dark: #333333;
    
    --font-main: 'Fredoka', 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.section {
    padding: 100px 0;
    position: relative;
}

.highlight {
    color: var(--primary);
    -webkit-text-stroke: 1px var(--primary-dark);
    text-shadow: 0 2px 0 var(--primary-dark);
}

.glass-card {
    background: #ffffff;
    border: 4px solid #E0E0E0;
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 10px 0 #E0E0E0, 0 15px 20px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: var(--text-dark);
    text-align: center;
}

.glass-card:hover {
    transform: translateY(6px);
    box-shadow: 0 4px 0 #E0E0E0, 0 5px 10px rgba(0,0,0,0.05);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(130, 223, 115, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 4px solid var(--secondary-dark);
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 40px;
    width: auto;
    border-radius: 8px;
    border: 2px solid #fff;
    background: #fff;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    -webkit-text-stroke: 1.5px var(--secondary-dark);
    text-shadow: 0 3px 0 var(--secondary-dark);
    letter-spacing: 1px;
}

.nav-cta {
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: all 0.1s ease;
    border: 3px solid var(--primary-dark);
    box-shadow: 0 6px 0 var(--primary-dark), 0 10px 10px rgba(0,0,0,0.1);
    -webkit-text-stroke: 1px #A16A00;
    text-shadow: 0 2px 0 #A16A00;
    display: inline-block;
}

.nav-cta:hover {
    transform: translateY(4px);
    box-shadow: 0 2px 0 var(--primary-dark), 0 4px 4px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-color); /* Fallback */
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* Very subtle overlay */
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
}

.hero-text {
    max-width: 800px;
    padding: 20px;
}

.hero-text h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: white;
    -webkit-text-stroke: 2px var(--secondary-dark);
    text-shadow: 0 4px 0 var(--secondary-dark), 0 10px 20px rgba(0,0,0,0.2);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: white;
    font-weight: 600;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Store Buttons */
.store-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

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

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.1s ease;
    border: 3px solid var(--primary-dark);
    box-shadow: 0 6px 0 var(--primary-dark), 0 10px 10px rgba(0,0,0,0.1);
    font-family: inherit;
    -webkit-text-stroke: 1px #A16A00;
    text-shadow: 0 2px 0 #A16A00;
}

.store-btn:active, .store-btn:hover {
    transform: translateY(4px);
    box-shadow: 0 2px 0 var(--primary-dark), 0 4px 4px rgba(0,0,0,0.1);
}

.store-btn i {
    font-size: 2.2rem;
    -webkit-text-stroke: 0;
    text-shadow: 0 2px 0 #A16A00;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    -webkit-text-stroke: 0;
}

.btn-text small {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    font-weight: 600;
    text-shadow: none;
}

.btn-text span {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    -webkit-text-stroke: 1px #A16A00;
    text-shadow: 0 2px 0 #A16A00;
}

/* Controls Section */
.controls-section {
    background: #fff; /* White background for contrast */
    color: var(--text-dark);
}

.controls-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mockup-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.glass-blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--bg-color);
    border-radius: 50%;
    z-index: -1;
    animation: float 4s ease-in-out infinite;
    border: 8px solid var(--bg-darker);
}

.mockup-img {
    max-width: 100%;
    border-radius: 32px;
    border: 6px solid var(--secondary-dark);
    box-shadow: 0 15px 0 var(--secondary-dark), 0 20px 30px rgba(0,0,0,0.2);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

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

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-dark);
}
.controls-section .section-title {
    color: var(--secondary-dark);
}
.features-section .section-title, .cta-section .section-title, .cta-section h2 {
    color: white;
    -webkit-text-stroke: 2px var(--secondary-dark);
    text-shadow: 0 4px 0 var(--secondary-dark);
}

.section-desc {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    font-weight: 500;
}
.features-section .section-desc, .cta-section p {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 24px;
    border: 3px solid #E0E0E0;
    box-shadow: 0 6px 0 #E0E0E0;
    transition: transform 0.2s;
}
.feature-list li:hover {
    transform: translateY(-4px);
}

.icon-box {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: var(--primary);
    border: 3px solid var(--primary-dark);
    box-shadow: 0 4px 0 var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    -webkit-text-stroke: 1px #A16A00;
}

.feature-list h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--secondary-dark);
}

.feature-list p {
    color: #555;
    font-size: 1.05rem;
    font-weight: 500;
}

/* Features Grid */
.features-section {
    background: var(--bg-color);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

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

.card-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: inline-block;
    filter: drop-shadow(0 4px 0 rgba(0,0,0,0.1));
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--secondary-dark);
}

/* CTA Section */
.cta-section {
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.cta-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -100px;
    right: -100px;
}

.cta-container {
    position: relative;
    z-index: 1;
    background: var(--bg-color);
    border: 6px solid var(--secondary-dark);
    border-radius: 40px;
    padding: 80px 40px;
    max-width: 900px;
    box-shadow: 0 15px 0 var(--secondary-dark), 0 20px 30px rgba(0,0,0,0.1);
}

.cta-container h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 24px;
}

.cta-container p {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    border-top: 6px solid var(--secondary-dark);
    background: var(--bg-darker);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    -webkit-text-stroke: 1.5px var(--secondary-dark);
}
.footer-logo .logo {
    background: white;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    background: rgba(0,0,0,0.1);
    padding: 8px 16px;
    border-radius: 20px;
}

.footer-links a:hover {
    background: var(--primary);
    color: white;
    -webkit-text-stroke: 1px var(--primary-dark);
}

.copyright {
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    border-top: 2px solid rgba(255,255,255,0.2);
    padding-top: 24px;
    font-weight: 500;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.02); }
    100% { transform: translateY(0px) scale(1); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .controls-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .mockup-img {
        max-width: 80%;
    }
    
    .feature-list li {
        text-align: left;
    }
    .hero-text {
        border-radius: 40px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .store-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .store-btn {
        width: 100%;
        justify-content: center;
    }
}
