:root {
    --bg-dark: #0a1118;
    --text-primary: #ffffff;
    --text-secondary: #a0b0c0;
    --text-dim: #6c7e8e;
    --accent-gold: #d4af37;
    --accent-gold-glow: rgba(212, 175, 55, 0.3);
    --border-color: rgba(255, 255, 255, 0.15);
    --card-bg: rgba(18, 30, 41, 0.4);
    --card-bg-active: rgba(18, 30, 41, 0.8);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Global Background */
.global-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.05);
    /* Subtle slow pan */
    animation: bgPan 40s infinite alternate ease-in-out;
}

.global-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* Powerful but readable dark overlay */
    background: radial-gradient(circle at center, rgba(10, 17, 24, 0.7) 0%, rgba(5, 9, 13, 0.95) 100%);
    z-index: -1;
}

@keyframes bgPan {
    0% { transform: scale(1.05) translate(0, 0); }
    100% { transform: scale(1.1) translate(-2%, 2%); }
}

/* Content Wrapper to ensure z-index */
.content-wrapper {
    position: relative;
    z-index: 1;
}

/* Typography */
.serif { font-family: 'Playfair Display', serif; }

h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; }
h1 { font-size: 4.5rem; letter-spacing: 5px; margin-bottom: 1.5rem; }
h2 { font-size: 3rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.25rem; }

p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 1rem; }
.text-lg { font-size: 1.25rem; line-height: 1.8; }

.text-center { text-align: center; }
.gold-text { color: var(--accent-gold); }
.text-light { color: var(--text-primary); }
.text-dim { color: var(--text-dim); }
.text-sm { font-size: 0.9rem; }
.italic { font-style: italic; }
.font-medium { font-weight: 500; }

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.max-w-3xl { max-width: 800px; }
.py-20 { padding: 6rem 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.gap-10 { gap: 2.5rem; }

.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-column { display: flex; flex-direction: column; }
.justify-center { justify-content: center; }

/* Buttons */
.btn-primary, .btn-outline {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 2px;
    cursor: pointer;
}

.btn-primary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--accent-gold-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--text-primary);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Header */
.header {
    position: absolute;
    top: 0; left: 0; width: 100%;
    padding: 2rem 4rem;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 100;
}
.logo { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; letter-spacing: 3px; }

/* Hero */
.hero {
    height: 100vh;
    display: flex; align-items: center; justify-content: center;
}
.hero .subtitle { font-size: 1.5rem; color: var(--text-primary); letter-spacing: 1px; opacity: 0.9; }

.scroll-indicator {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 1rem; opacity: 0.7;
}
.scroll-indicator span { font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; }
.scroll-indicator .line {
    width: 1px; height: 60px;
    background: linear-gradient(to bottom, var(--text-primary) 0%, transparent 100%);
    animation: stretch 2s infinite ease-in-out; transform-origin: top;
}

/* Interactive Timeline */
.phases-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.phase-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1.5rem 1rem;
    border-radius: 4px;
    min-width: 160px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    outline: none;
}

.phase-card:hover {
    background: var(--card-bg-active);
    border-color: rgba(255, 255, 255, 0.4);
}

.phase-card.active {
    background: var(--card-bg-active);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.phase-card.active .phase-number {
    color: var(--accent-gold);
}

.phase-number {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.phase-name { font-size: 1rem; }

.phase-separator {
    flex-grow: 1;
    height: 1px;
    background: var(--border-color);
    margin: 0 1rem;
}

/* Phase Content Area */
.phase-content-container {
    min-height: 300px;
}

.phase-content {
    display: none;
    animation: fadeContent 0.5s ease;
}

.phase-content.active {
    display: block;
}

@keyframes fadeContent {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    backdrop-filter: blur(10px);
    height: 100%;
}

.minimal-list { list-style: none; }
.minimal-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}
.minimal-list li::before {
    content: '■';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 0.6rem;
    top: 0.5rem;
}

/* Align centered lists */
.inline-list li {
    text-align: left;
    display: table;
    margin-left: auto;
    margin-right: auto;
}
.inline-list li::before {
    left: -1.5rem;
}

/* Conditions */
.places-card { flex-direction: column; }
.huge-number {
    font-family: 'Playfair Display', serif; font-size: 8rem; font-weight: 700;
    line-height: 1; color: var(--accent-gold); text-shadow: 0 0 40px var(--accent-gold-glow);
}
.places-label { font-size: 1.2rem; letter-spacing: 4px; font-weight: 600; }
.conditions-card { padding-left: 2rem; }

/* Quote Section */
.quote-icon {
    font-family: 'Playfair Display', serif; font-size: 6rem;
    color: rgba(212, 175, 55, 0.2); line-height: 0.5; margin-bottom: 1rem;
}
blockquote { font-size: 2.2rem; line-height: 1.4; max-width: 900px; margin: 0 auto; color: var(--text-primary); }
.quote-author { font-size: 1.2rem; color: var(--text-secondary); }

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    background: rgba(5, 9, 13, 0.8);
    backdrop-filter: blur(10px);
}

/* General Animations */
@keyframes stretch {
    0% { transform: scaleY(0.1); opacity: 0; }
    50% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(0.1); opacity: 0; }
}

.fade-in { opacity: 0; transition: opacity 1.5s ease; }
.fade-in.visible { opacity: 1; }
.fade-in-delay { opacity: 0; transition: opacity 1.5s ease 0.5s; }
.fade-in-delay.visible { opacity: 1; }
.fade-in-up {
    opacity: 0; transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 992px) {
    .grid-2 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 3.5rem; }
    .phases-timeline { flex-direction: column; gap: 0.5rem; align-items: stretch; }
    .phase-card { padding: 1rem; }
    .phase-separator { display: none; }
    .conditions-card { padding-left: 0; text-align: center; }
    .minimal-list li { text-align: left; display: table; margin: 0 auto 0.8rem auto; }
}
@media (max-width: 768px) {
    .header { padding: 1.5rem; flex-direction: column; gap: 1rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero .subtitle { font-size: 1.2rem; }
    blockquote { font-size: 1.8rem; }
}
