:root {
    --cream: #FFF8ED;
    --rust: #C85A3E;
    --forest: #2A4D3C;
    --charcoal: #2D2D2D;
    --sand: #E8DCC8;
    --bright-rust: #E86F4D;
}

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

body {
    font-family: 'Work Sans', sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.7;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 {
    font-family: 'Bitter', serif;
    font-weight: 900;
    line-height: 1.1;
}

/* Navigation */
nav {
    background: var(--forest);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 6px 0;
}

.logo img {
    height: 56px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 20px 0;
    display: block;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--bright-rust);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 28px;
    cursor: pointer;
    padding: 10px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--forest);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 16px 24px;
        border-bottom: 1px solid rgba(255,248,237,0.1);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

/* Hero Section */
header {
    background: linear-gradient(135deg, var(--forest) 0%, #1a3329 100%);
    color: var(--cream);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-watermark {
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    width: 480px;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(255, 248, 237, 0.03) 20px,
            rgba(255, 248, 237, 0.03) 40px
        );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.eyebrow {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sand);
    margin-bottom: 16px;
    font-weight: 600;
}

h1 {
    font-size: clamp(42px, 8vw, 72px);
    margin-bottom: 24px;
    color: var(--cream);
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    color: var(--sand);
    max-width: 600px;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    background: var(--rust);
    color: var(--cream);
    padding: 18px 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background: var(--bright-rust);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

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

h2 {
    font-size: clamp(36px, 6vw, 52px);
    margin-bottom: 40px;
    color: var(--forest);
}

h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--forest);
}

/* Domain Grid */
.domain-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.domain-grid .domain-card:nth-child(1) { grid-column: 1 / 3; }
.domain-grid .domain-card:nth-child(2) { grid-column: 3 / 5; }
.domain-grid .domain-card:nth-child(3) { grid-column: 5 / 7; }
.domain-grid .domain-card:nth-child(4) { grid-column: 1 / 4; }
.domain-grid .domain-card:nth-child(5) { grid-column: 4 / 7; }

@media (max-width: 900px) {
    .domain-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .domain-grid .domain-card:nth-child(n) {
        grid-column: auto;
    }
}

@media (max-width: 600px) {
    .domain-grid {
        grid-template-columns: 1fr;
    }
}

.domain-card {
    background: var(--cream);
    border: 3px solid var(--forest);
    padding: 32px 28px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.domain-card:hover {
    transform: translateY(-4px);
    box-shadow: 8px 8px 0 var(--rust);
}

.domain-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin: -32px -28px 24px -28px;
    display: block;
    border-bottom: 2px solid var(--forest);
}

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

.domain-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.domain-card p {
    color: var(--charcoal);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
}

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

.domain-card ul li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    font-size: 15px;
}

.domain-card ul li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--rust);
    font-weight: bold;
}

.read-more {
    display: inline-block;
    color: var(--rust);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s ease;
}

.read-more:hover {
    color: var(--bright-rust);
    text-decoration: underline;
}

/* Why I Built This Section */
.story-section {
    background: var(--sand);
}

.founder-photo {
    float: right;
    width: 260px;
    margin: 0 0 24px 40px;
    border: 4px solid var(--forest);
    display: block;
}

@media (max-width: 600px) {
    .founder-photo {
        float: none;
        width: 100%;
        margin: 0 0 24px 0;
    }
}

.story-content {
    max-width: 700px;
    font-size: 18px;
    line-height: 1.8;
}

.story-content p {
    margin-bottom: 24px;
}

.story-highlight {
    background: var(--cream);
    border-left: 4px solid var(--rust);
    padding: 24px 28px;
    margin: 32px 0;
    font-style: italic;
    font-size: 20px;
}

/* How It Works */
.how-it-works-grid {
    display: grid;
    gap: 40px;
    margin-top: 48px;
}

.how-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    align-items: start;
}

.how-number {
    width: 80px;
    height: 80px;
    background: var(--rust);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 900;
    font-family: 'Bitter', serif;
}

/* Programme Details */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.detail-box {
    text-align: center;
    padding: 32px 24px;
    background: var(--forest);
    color: var(--cream);
}

.detail-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    color: var(--sand);
    font-weight: 600;
}

.detail-value {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Bitter', serif;
}

/* FAQ */
.faq-list {
    max-width: 700px;
    margin-top: 48px;
}

.faq-item {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--sand);
}

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

.faq-question {
    font-size: 22px;
    font-weight: 700;
    color: var(--forest);
    margin-bottom: 12px;
}

.faq-answer {
    font-size: 17px;
    line-height: 1.7;
    color: var(--charcoal);
}

/* Daily Schedule */
.day-schedule {
    margin-bottom: 60px;
    padding: 40px;
    background: white;
    border: 3px solid var(--forest);
}

.day-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--sand);
}

.day-header h3 {
    font-size: 28px;
    color: var(--forest);
    margin-bottom: 12px;
}

.day-theme {
    font-size: 18px;
    color: var(--rust);
    font-style: italic;
    margin: 0;
}

.schedule-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.time-block {
    padding: 12px 16px;
    background: var(--cream);
    border-left: 3px solid var(--rust);
    font-size: 16px;
    line-height: 1.5;
}

.time-block strong {
    color: var(--forest);
    font-weight: 600;
}

.skills-learned {
    padding: 20px 24px;
    background: var(--forest);
    color: var(--cream);
    font-size: 16px;
    line-height: 1.6;
}

.skills-learned strong {
    color: var(--sand);
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    background: #1a3329;
    color: var(--cream);
}

.contact-section h2 {
    color: var(--cream);
}

.contact-content {
    max-width: 700px;
}

.waitlist-form {
    background: rgba(255, 248, 237, 0.1);
    padding: 40px;
    border: 2px solid var(--sand);
    margin-bottom: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--cream);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 14px;
    font-size: 16px;
    border: none;
    background: rgba(255, 248, 237, 0.95);
    font-family: 'Work Sans', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--rust);
    background: var(--cream);
}

.submit-button {
    width: 100%;
    padding: 18px;
    font-size: 18px;
    background: var(--rust);
    color: var(--cream);
    font-weight: 600;
    font-family: 'Work Sans', sans-serif;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.submit-button:hover {
    background: var(--bright-rust);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.contact-info {
    font-size: 20px;
    margin-top: 32px;
}

.contact-info p {
    margin-bottom: 16px;
}

.contact-info a {
    color: var(--bright-rust);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--charcoal);
    color: var(--sand);
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
}

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

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}
