/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
    --bg-dark: #050608;
    --bg-void: #000000;
    --bg-card: rgba(255, 255, 255, 0.03);
    --accent-gold: #c5a059;
    --accent-gold-glow: rgba(197, 160, 89, 0.4);
    --text-light: #f4f4f5;
    --text-muted: #a1a1aa;

    --font-heading: 'Cinzel', serif;
    --font-subheading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px var(--accent-gold-glow);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.8;
    overflow-x: hidden;
    font-size: 18px;
    /* Slightly larger for premium feel */
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-light);
    /* White headings are more modern premium, Gold for accents */
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: 0.05em;
}

h1 {
    font-size: 4.5rem;
    background: linear-gradient(to bottom, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    color: var(--accent-gold);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Header */
header {
    padding: 2rem 0;
    position: absolute;
    width: 100%;
    z-index: 100;
    top: 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.2em;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 3rem;
    border: none;
    /* Reset */
    position: relative;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    transition: all 0.5s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-gold);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    color: var(--bg-dark);
    box-shadow: var(--shadow-glow);
}

.btn-primary {
    /* Style handled by .btn base */
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a1e2e 0%, #050608 70%);
    position: relative;
    overflow: hidden;
    /* For pseudo elements */
}

/* Subtle animated background noise/stars */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 4rem;
    /* No box/card for hero content, let it float in void */
}

.subtitle {
    font-family: var(--font-subheading);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--accent-gold);
    margin-top: -1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Philosophy Section */
.philosophy {
    padding: 8rem 0;
    background: var(--bg-dark);
    text-align: center;
    position: relative;
}

.philosophy p {
    font-family: var(--font-subheading);
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Curriculum Section */
.curriculum {
    padding: 8rem 0;
    background: #08090d;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.module-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    min-height: 350px;
    border: var(--glass-border);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.module-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-glow);
}

.module-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8rem;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.02);
    font-weight: 700;
    pointer-events: none;
    transition: all 0.4s ease;
}

.module-card:hover .module-number {
    color: rgba(197, 160, 89, 0.05);
    top: -10px;
}

.module-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    position: relative;
    z-index: 2;
}

.module-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}

/* Lead Magnet */
.lead-magnet {
    padding: 8rem 0;
    background: linear-gradient(180deg, #08090d 0%, #11141f 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.lead-magnet-container {
    max-width: 600px;
    margin: 0 auto;
}

.signup-form {
    margin-top: 3rem;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    text-transform: uppercase;
}

.form-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
}

.gdpr-text {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 2rem;
}

.gdpr-text input {
    margin-top: 5px;
    accent-color: var(--accent-gold);
}

.success-message {
    display: none;
    padding: 2rem;
    background: rgba(46, 204, 113, 0.05);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
    border-radius: 4px;
}

/* Footer */
footer {
    padding: 4rem 0;
    background: #020202;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: #444;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .hero {
        height: auto;
        padding: 8rem 0;
    }

    .philosophy p {
        font-size: 1.4rem;
    }
}