/* Base Styles */
:root {
    /* FOUNDATION COLORS - Primary Brand Identity */
    --primary-green: #2D5A27;      /* Deep forest green - headers, primary buttons, main branding */
    --secondary-green: #4A7C59;    /* Natural green - secondary elements, hover states */
    --accent-green: #7FB069;       /* Fresh green - accents, icons, highlights */
    --light-green: #B8E6B8;        /* Soft mint - backgrounds, subtle accents */
    
    /* COMPLEMENTARY COLORS - Movement & Freedom */
    --ocean-blue: #4A90A4;         /* Professional blue - CTAs, links, action elements */
    --sky-blue: #87CEEB;           /* Light blue - backgrounds, gradients */
    
    /* NEUTRAL FOUNDATION - Balance & Readability */
    --charcoal: #2C3E50;           /* Primary text color */
    --warm-gray: #95A5A6;          /* Secondary text, borders */
    --light-gray: #F8F9FA;         /* Background sections */
    --white: #FFFFFF;              /* Clean backgrounds, cards */
    
    /* MOTIVATIONAL ACCENTS - Energy & Achievement */
    --energy-orange: #E67E22;      /* High energy, enthusiasm, "push harder" moments */
    --sunshine-yellow: #F1C40F;    /* Optimism, achievement, celebration */
    --victory-red: #E74C3C;        /* Passion, determination, breakthrough moments */
    --power-purple: #9B59B6;       /* Strength, endurance, premium feel */
    --electric-cyan: #1ABC9C;      /* Innovation, freshness, "level up" feeling */
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.5;
    color: var(--charcoal);
    background-color: var(--light-gray);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--ocean-blue);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-green);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

h1 {
    font-size: 2.25rem; /* 36px on mobile */
}

h2 {
    font-size: 1.75rem; /* 28px on mobile */
}

h3 {
    font-size: 1.25rem; /* 20px on mobile */
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtext {
    font-size: 1.125rem;
    color: var(--warm-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px; /* Accessibility - minimum touch target */
}

.btn-icon {
    margin-right: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-green), var(--ocean-blue));
    color: var(--white);
    border: none;
}

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

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

/* Energy button - for high-impact CTAs */
.btn-energy {
    background: linear-gradient(135deg, var(--energy-orange), var(--victory-red));
    color: var(--white);
    border: none;
}

.btn-energy:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(230, 126, 34, 0.3);
}

/* Achievement button - for celebrations and milestones */
.btn-achievement {
    background: linear-gradient(135deg, var(--sunshine-yellow) 0%, var(--energy-orange) 100%);
    color: var(--charcoal);
    border: none;
}

.btn-achievement:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(241, 196, 15, 0.3);
}

/* Premium button - for premium features */
.btn-premium {
    background: linear-gradient(135deg, var(--power-purple) 0%, var(--victory-red) 100%);
    color: var(--white);
    border: none;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(155, 89, 182, 0.3);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0;
    width: 100%;
}

.logo img {
    height: 40px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--sky-blue) 100%);
    color: var(--charcoal);
    padding: 2rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.hero-text {
    max-width: 600px;
    width: 100%;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--primary-green);
    font-size: 3rem;
    font-weight: 700;
}

.subheadline {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--charcoal);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.trust-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.rating {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stars {
    color: var(--sunshine-yellow); /* Gold color for stars */
    font-size: 1.5rem;
    letter-spacing: 0.25rem;
    margin-bottom: 0.5rem;
}

.rating-text {
    font-size: 0.875rem;
    color: var(--charcoal);
}

.hero-image {
    margin-top: 2rem;
    max-width: 100%;
}

.app-mockup {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Problem/Solution Section */
.problem-solution {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--light-green) 100%);
    padding: 5rem 0;
}

.problem-solution-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.problem {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(184, 230, 184, 0.3); /* --light-green with opacity */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.problem h3 {
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.challenge-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.challenge-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.challenge-list .icon {
    font-size: 1.5rem;
    min-width: 2rem;
    text-align: center;
    color: var(--energy-orange);
}

.solution {
    text-align: center;
}

.solution h3 {
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.solution-image {
    margin-bottom: 1.5rem;
}

.solution-image img {
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.solution-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--charcoal);
}

/* Features Section */
.features {
    /* background: linear-gradient(60deg, var(--sky-blue) 0%, var(--light-gray) 100%); */
    background: linear-gradient(135deg, var(--light-green) 0%, var(--sky-blue) 100%);
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(184, 230, 184, 0.3); /* --light-green with opacity */
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(127, 176, 105, 0.2); /* --accent-green shadow */
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon img {
    width: 64px;
    height: 64px;
}

.feature-card h3 {
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.feature-benefit {
    color: var(--energy-orange);
    font-weight: 600;
    margin-top: 1rem;
}

/* App Screenshots Section */
.app-screenshots {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--light-green) 100%);
    padding: 5rem 0;
}

.screenshots-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.screenshot {
    text-align: center;
}

.screenshot img {
    border-radius: 24px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    max-height: 600px;
}

.screenshot-caption {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--warm-gray);
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--light-green) 100%);
    padding: 60px 2rem;
    color: var(--charcoal);
    text-align: center;
}

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

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--sunshine-yellow);
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Download Section */
.download {
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--light-green) 100%);
    color: var(--charcoal);
    padding: 5rem 0;
    text-align: center;
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download h2 {
    margin-bottom: 1rem;
    color: var(--white);
}

.download-subtext {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: var(--white);
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.guarantee {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    color: var(--white);
}

.app-stores {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.app-stores img {
    height: 40px;
}

/* FAQ Section */
.faq {
    background-color: var(--light-gray);
    padding: 5rem 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(184, 230, 184, 0.3); /* --light-green with opacity */
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-question {
    color: var(--charcoal);
    margin-bottom: 1rem;
    position: relative;
    cursor: pointer;
}

.faq-answer {
    color: var(--charcoal);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--light-green) 100%);
    color: var(--charcoal);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    height: 50px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-column h4 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: var(--charcoal);
    opacity: 0.85;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--primary-green);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(44, 62, 80, 0.08);
    font-size: 0.95rem;
    opacity: 0.85;
    color: var(--charcoal);
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem; /* 48px on desktop */
    }
    
    h2 {
        font-size: 2.25rem; /* 36px on desktop */
    }
    
    h3 {
        font-size: 1.5rem; /* 24px on desktop */
    }
    
    .hero-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
        align-items: center;
    }
    
    .hero-text {
        flex: 1;
    }
    
    .hero-image {
        flex: 1;
        margin-top: 0;
    }
    
    .cta-buttons {
        flex-direction: row;
    }
    
    .trust-indicator {
        justify-content: flex-start;
    }
    
    .rating {
        align-items: flex-start;
    }
    
    .problem-solution-content {
        flex-direction: row;
        align-items: center;
    }
    
    .problem, .solution {
        flex: 1;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .screenshots-slider {
        flex-direction: row;
        justify-content: center;
        overflow-x: auto;
        padding: 2rem 0;
    }
    
    .download-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: row;
    }
    
    .footer-logo {
        flex: 1;
        text-align: left;
    }
    
    .footer-links {
        flex: 2;
        flex-direction: row;
        justify-content: space-around;
    }
}
