/* ===========================
   RESET & BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Green Color Palette */
    --primary-green: #7BA089;
    --primary-green-dark: #628770;
    --primary-green-light: #9DB5A1;
    --accent-green: #A8C7B3;
    --light-green-bg: #F5F9F7;
    --white: #FFFFFF;
    --text-dark: #2D3E3F;
    --text-medium: #5F7173;
    --text-light: #8A9A9C;
    --border-light: #E5EBE9;
    --success: #7BA089;
    --warning: #D4A574;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(123, 160, 137, 0.08);
    --shadow-md: 0 4px 16px rgba(123, 160, 137, 0.12);
    --shadow-lg: 0 8px 32px rgba(123, 160, 137, 0.16);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border-light);
    padding: var(--spacing-md);
    flex-direction: column;
    gap: var(--spacing-sm);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    padding: var(--spacing-sm);
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-green);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.download-btn {
    padding: 1rem 2rem;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, var(--light-green-bg) 0%, white 100%);
    margin-top: 65px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    padding-top: var(--spacing-md);
}

.stat-item {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.hero-illustration {
    width: 100%;
    height: auto;
    filter: drop-shadow(var(--shadow-lg));
}

/* Phone Mockup for Screenshots */
.phone-mockup {
    position: relative;
    max-width: 350px;
    margin: 0 auto;
}

.app-screenshot {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(123, 160, 137, 0.3);
    transition: transform 0.3s ease;
}

.app-screenshot:hover {
    transform: scale(1.02);
}

/* ===========================
   PROBLEM SECTION
   =========================== */
.problem-section {
    padding: var(--spacing-xxl) 0;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-medium);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
}

.problem-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
}

.problem-card.new {
    background: linear-gradient(135deg, var(--light-green-bg) 0%, white 100%);
    border-color: var(--primary-green);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.problem-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.problem-card ul {
    list-style: none;
}

.problem-card li {
    padding: var(--spacing-xs) 0;
    color: var(--text-medium);
    font-size: 1.05rem;
    padding-left: 1.5rem;
    position: relative;
}

.problem-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* ===========================
   HOW IT WORKS SECTION
   =========================== */
.how-it-works {
    padding: var(--spacing-xxl) 0;
    background: var(--light-green-bg);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.step-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.step-illustration {
    margin: var(--spacing-md) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.step-illustration img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(var(--shadow-sm));
}

.step-illustration .app-screenshot {
    max-width: 220px;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* ===========================
   FEATURES SECTION
   =========================== */
.features {
    padding: var(--spacing-xxl) 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--light-green-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* ===========================
   QUESTS SHOWCASE SECTION
   =========================== */
.quests-showcase {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--light-green-bg) 0%, white 100%);
}

.quests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.quest-category {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.quest-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.quest-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm);
    background: var(--light-green-bg);
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}

.quest-item:hover {
    background: var(--accent-green);
}

.quest-name {
    font-weight: 500;
    color: var(--text-dark);
}

.quest-reward {
    font-weight: 700;
    color: var(--primary-green);
    background: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
}

/* ===========================
   SCREENSHOTS GALLERY SECTION
   =========================== */
.screenshots-gallery {
    padding: var(--spacing-xxl) 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-lg);
}

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    text-align: center;
}

.gallery-screenshot {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: var(--spacing-sm);
}

.gallery-screenshot:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-caption {
    color: var(--text-medium);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===========================
   PRICING SECTION
   =========================== */
.pricing {
    padding: var(--spacing-xxl) 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1400px;
}

.pricing-card {
    background: var(--light-green-bg);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--primary-green) 100%);
    border-color: var(--primary-green-dark);
}

.pricing-grid:not(.pricing-grid-4) .pricing-card.featured {
    transform: scale(1.05);
}

.pricing-card.featured .pricing-title,
.pricing-card.featured .price-amount,
.pricing-card.featured .price-period,
.pricing-card.featured .pricing-features li {
    color: white;
}

.pricing-badge {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.pricing-badge.premium {
    background: white;
    color: var(--primary-green);
}

.pricing-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.pricing-price {
    margin-bottom: var(--spacing-md);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-green);
}

.price-period {
    font-size: 1rem;
    color: var(--text-medium);
    font-weight: 500;
}

.pricing-savings {
    background: var(--warning);
    color: white;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.pricing-features li {
    padding: var(--spacing-xs) 0;
    color: var(--text-medium);
    font-size: 1rem;
}

/* ===========================
   PHILOSOPHY SECTION
   =========================== */
.philosophy {
    padding: var(--spacing-xxl) 0;
    background: var(--light-green-bg);
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.philosophy-points {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.philosophy-point {
    display: flex;
    gap: var(--spacing-md);
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.point-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.philosophy-point h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.philosophy-point p {
    color: var(--text-medium);
    line-height: 1.6;
}

.philosophy-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(var(--shadow-lg));
}

/* ===========================
   DOWNLOAD SECTION
   =========================== */
.download {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: white;
}

.download .section-title,
.download .section-subtitle {
    color: white;
}

.download-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.download-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.download-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.1rem;
    color: white;
}

.download-cta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.download-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.download-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.2));
}

/* ===========================
   FAQ SECTION
   =========================== */
.faq {
    padding: var(--spacing-xxl) 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-green-bg);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
}

.faq-question {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.faq-answer {
    color: var(--text-medium);
    line-height: 1.6;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xl);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--spacing-sm);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.footer-column h4 {
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: var(--spacing-xs);
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    margin: 0.5rem 0;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 968px) {
    .hero-content,
    .download-content,
    .philosophy-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image,
    .download-image,
    .philosophy-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .steps-grid,
    .features-grid,
    .pricing-grid,
    .pricing-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .quests-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .steps-grid,
    .features-grid,
    .pricing-grid,
    .problem-grid,
    .faq-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

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

.hero-content,
.section-header {
    animation: fadeInUp 0.6s ease-out;
}

/* ===========================
   UTILITIES
   =========================== */
.text-center {
    text-align: center;
}

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
