/* Heart Wellness V4 - Olive + Cream Palette */
:root {
    --primary-olive: #8FBC8F;
    --primary-cream: #FFF8DC;
    --text-dark: #2C3E50;
    --text-medium: #5D6D7E;
    --accent-soft: #F0F8F0;
    --shadow-light: rgba(143, 188, 143, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

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(--primary-cream);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow-light);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-olive);
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

nav a:hover, nav a:focus-visible {
    color: var(--primary-olive);
    background-color: var(--accent-soft);
    outline: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-olive) 0%, var(--accent-soft) 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/v4_hero.png') center/cover no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary-olive);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.cta-button:hover, .cta-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    outline: none;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background-color: white;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-olive);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-light);
}

.card h3 {
    color: var(--primary-olive);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card ul {
    list-style: none;
    padding-left: 0;
}

.card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

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

/* FAQ */
.faq-item {
    background: white;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow-light);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background: var(--accent-soft);
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-answer {
    padding: 1.5rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* Habit Tracker */
.habit-tracker {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px var(--shadow-light);
    margin: 2rem 0;
}

.tracker-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}

.tracker-day {
    aspect-ratio: 1;
    border: 2px solid var(--primary-olive);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-medium);
}

/* Quote Block */
.quote-block {
    background: var(--accent-soft);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem 0;
}

.quote-block blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.quote-block cite {
    color: var(--text-medium);
    font-size: 1rem;
}


/* PDF Course Form */
.pdf-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(143, 188, 143, 0.1);
    margin: 3rem 0;
    text-align: center;
}

.pdf-form h3 {
    color: #8FBC8F;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.pdf-form p {
    color: var(--text-medium);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #8FBC8F;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #8FBC8F;
    box-shadow: 0 0 0 3px rgba(143, 188, 143, 0.1);
}

.submit-btn {
    background: #8FBC8F;
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
}

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

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

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-links a:focus-visible {
    color: var(--primary-olive);
    outline: none;
}

.back-to-top {
    background: var(--primary-olive);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-to-top:hover, .back-to-top:focus-visible {
    background: #7BA05B;
    transform: translateY(-2px);
    outline: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
}