:root {
    --primary-blue: #4a9dd9;
    --secondary-purple: #6b5bb3;
    --accent-green: #28a745;
    --warm-cream: #f8f4e1;
    --soft-white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-text: #333333;
    --success-green: #d4edda;
    --warning-yellow: #fff3cd;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --color-primary: #BFECFF;
    --color-secondary: #CDC1FF;
    --color-accent: #FFF6E3;
    --color-highlight: #FFCCEA;
    --bg-primary: #ffffff;
    --bg-secondary: var(--color-accent);
    --bg-card: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #e9ecef;
    --shadow: rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    --gradient-accent: linear-gradient(135deg, var(--color-secondary), var(--color-highlight));
    --gradient-hero: linear-gradient(135deg, rgba(74, 157, 217, 0.85), rgba(107, 91, 179, 0.45));
    --serif-text: "EB Garamond", serif;
    --sans-text: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-card: #3a3a3a;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #c0c0c0;
    --border-color: #555555;
    --shadow: rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, #4a9eff, #8a7fff);
    --gradient-accent: linear-gradient(135deg, #8a7fff, #ff8ac4);
    --gradient-hero: linear-gradient(135deg, rgba(7, 63, 104, 0.85), rgba(96, 77, 179, 0.45));
}

:root {
    /* Brand Color Palette */
    --color-primary: #BFECFF;
    --color-secondary: #CDC1FF;
    --color-accent: #FFF6E3;
    --color-highlight: #FFCCEA;

    /* Light Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: var(--color-accent);
    --bg-card: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #e9ecef;
    --shadow: rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    --gradient-accent: linear-gradient(135deg, var(--color-secondary), var(--color-highlight));
    --gradient-hero: linear-gradient(135deg, rgba(74, 157, 217, 0.85), rgba(107, 91, 179, 0.45));
    --hover-color: #e9ecefb2;

    --serif-text: "EB Garamond", serif;
    --sans-text: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-card: #3a3a3a;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #c0c0c0;
    --border-color: #555555;
    --shadow: rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, #4a9eff, #8a7fff);
    --gradient-accent: linear-gradient(135deg, #8a7fff, #ff8ac4);
    --gradient-hero: linear-gradient(135deg, rgba(7, 63, 104, 0.85), rgba(96, 77, 179, 0.45));
    --hover-color: #e9ecef70;
}

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

body {
    font-family: var(--sans-text);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: default;
}

.cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: clamp(10px, 2vw, 14px) clamp(18px, 3.5vw, 28px);
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease 0.4s both;
    font-size: clamp(0.85rem, 2.2vw, 1rem);
}

.cta-button:hover {
    background: white;
    color: #4a9dd9;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: #fff;
}

.cta-button.secondary:hover {
    background: var(--color-primary);
    color: #4a9dd9;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow);
}

.cta-button.tertiary {
    background: transparent;
    border: 2px solid #4a9dd9;
    color: #4a9dd9;
}

.cta-button.tertiary:hover {
    background: #4a9dd9;
    color: white;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: clamp(0.4rem, 1.2vw, 1rem);
    margin-bottom: clamp(0.6rem, 2vw, 1.5rem);
}

section {
    padding: clamp(1.5rem, 5vw, 4rem) clamp(1.5%, 3.5vw, 4%);
    max-width: clamp(800px, 90vw, 1400px);
    margin: clamp(30px, 6vh, 60px) auto;
}

footer {
    background: var(--bg-primary);
    color: var(--text-primary);
    text-align: center;
    padding: clamp(0.6rem, 2vw, 1.5rem);
    border-top: 1px solid var(--border-color);
    font-size: clamp(0.7rem, 1.6vw, 0.85rem);
}

main {
    margin-top: clamp(70px, 10vw, 80px);
}

h1 {
    font-family: var(--serif-text);
    font-weight: 600;
    font-size: clamp(1.6rem, 5vw, 3.2rem);
    margin-bottom: clamp(0.4rem, 1.2vw, 1rem);
}

h2,
h3,
h4 {
    font-family: var(--sans-text);
    font-weight: 600;
}

a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.8rem, 2vw, 0.95rem);
}

a:hover {
    color: var(--color-highlight);
}

h2.section-title {
    font-size: clamp(1.4rem, 4vw, 2.3rem);
    text-align: center;
    margin-bottom: clamp(1.2rem, 3.5vw, 2.5rem);
    color: var(--text-primary);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    padding: clamp(2.5rem, 7vw, 6rem) clamp(1.5%, 3.5vw, 4%);
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.hero-content {
    max-width: clamp(600px, 85vw, 900px);
    margin: 0 auto;
    padding: 0 clamp(1.5%, 3.5vw, 4%);
}

.hero-content h1 {
    color: white;
    text-shadow: 0 2px 4px var(--shadow);
    font-size: clamp(1.8rem, 5.5vw, 3.5rem);
}

.hero-content p {
    color: white;
    font-size: clamp(0.9rem, 2.5vw, 1.15rem);
    margin-bottom: clamp(0.6rem, 2.5vw, 1.5rem);
    font-family: var(--sans-text);
}

@media (max-width: 768px) {
    .hero-section {
        padding: clamp(2rem, 6vw, 4rem) clamp(1.5%, 3.5vw, 5%);
    }

    .hero-content h1 {
        font-size: clamp(1.6rem, 4.5vw, 2.5rem);
    }

    .hero-content p {
        font-size: clamp(0.85rem, 2.2vw, 1.1rem);
    }

    section {
        padding: clamp(1.5rem, 4.5vw, 3rem) clamp(1.5%, 3.5vw, 5%);
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: clamp(2rem, 6vw, 4rem) clamp(1%, 2.5vw, 3%) clamp(1.5rem, 5vw, 3rem);
    }

    .hero-content h1 {
        font-size: clamp(1.4rem, 4vw, 2rem);
    }

    section {
        padding: clamp(1rem, 3.5vw, 2rem) clamp(1%, 2.5vw, 3%);
    }
}