/* ============================================
   CSS Variables - Brand Colors
   ============================================ */
:root {
    --amber: #F4A261;
    --soft-amber-bg: #FFF4E6;
    --navy-outline: #1A1A1A;
    --blue-accent: #3A86FF;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
    --border-radius: 12px;
    --border-radius-small: 8px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--soft-amber-bg);
    overflow-x: hidden;
}

/* ============================================
   Container Utility
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Header - Sticky Navigation
   ============================================ */
.header {
    position: sticky;
    top: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-soft);
    z-index: 1000;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

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

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

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--amber);
}

/* Mobile header adjustments */
@media (max-width: 767px) {
    .header-container {
        padding: 12px 16px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .nav {
        gap: 16px;
    }
    
    .nav-link {
        font-size: 14px;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--soft-amber-bg) 0%, var(--white) 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-headline {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

.hero-subtext {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

/* Mobile hero adjustments */
@media (max-width: 767px) {
    .hero {
        padding: 40px 20px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-headline {
        font-size: 32px;
    }
    
    .hero-subtext {
        font-size: 16px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-img {
        max-width: 300px;
    }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius-small);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--amber);
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background-color: #E8944F;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--navy-outline);
}

.btn-secondary:hover {
    background-color: var(--soft-amber-bg);
    border-color: var(--amber);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

/* ============================================
   Section Titles
   ============================================ */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-dark);
}

@media (max-width: 767px) {
    .section-title {
        font-size: 28px;
        margin-bottom: 32px;
    }
}

/* ============================================
   Philosophy Section - 3 Cards
   ============================================ */
.philosophy {
    padding: 80px 20px;
    background-color: var(--white);
}

.philosophy-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.philosophy-card {
    background-color: var(--soft-amber-bg);
    border-radius: var(--border-radius);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.philosophy-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: var(--border-radius-small);
    margin-bottom: 24px;
    object-fit: contain;
}

.philosophy-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.philosophy-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Mobile philosophy adjustments */
@media (max-width: 767px) {
    .philosophy {
        padding: 60px 20px;
    }
    
    .philosophy-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .philosophy-card {
        padding: 24px;
    }
    
    .philosophy-img {
        max-width: 150px;
    }
}

/* ============================================
   How It Works Section - 4 Features
   ============================================ */
.how-it-works {
    padding: 80px 20px;
    background-color: var(--soft-amber-bg);
}

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

.feature {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Mobile features adjustments */
@media (max-width: 767px) {
    .how-it-works {
        padding: 60px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .feature {
        padding: 24px;
    }
}

/* Tablet adjustments for features */
@media (min-width: 768px) and (max-width: 1023px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   CTA Section - Dark Background
   ============================================ */
.cta {
    padding: 80px 20px;
    background-color: var(--navy-outline);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.cta-text {
    font-size: 18px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* Mobile CTA adjustments */
@media (max-width: 767px) {
    .cta {
        padding: 60px 20px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-text {
        font-size: 16px;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 40px 20px;
    background-color: var(--white);
    border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-text {
    font-size: 14px;
    color: var(--text-light);
}

.footer-link {
    color: var(--blue-accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--amber);
    text-decoration: underline;
}

/* Mobile footer adjustments */
@media (max-width: 767px) {
    .footer {
        padding: 32px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   Accessibility & Smooth Scrolling
   ============================================ */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--blue-accent);
    outline-offset: 2px;
}

/* Ensure sufficient color contrast */
@media (prefers-contrast: high) {
    :root {
        --text-light: #333333;
    }
}

