@import url("https://fonts.googleapis.com/css2?family=Canela:ital,wght@0,400;0,500;0,600;1,400&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --bg: #070b17;
  --bg-soft: #0f1b33;
  --panel: rgba(16, 24, 39, 0.85);
  --panel-strong: #121b2c;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.8);
  --accent: #d8b46a;
  --accent-light: #f1d38a;
  --font-display: "Canela", serif;
  --font-body: "Inter", sans-serif;
  --container: min(1440px, calc(100vw - 80px));
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.2;
}

h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
}

p {
  font-size: 18px;
  color: var(--muted);
}

.gold {
  color: var(--accent);
}

/* Layout */
.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0;
  overflow: hidden;
}

.container {
  width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Cinematic Backgrounds */
.bg-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) contrast(1.1);
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 23, 0.4) 0%, rgba(7, 11, 23, 0.9) 100%);
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #070b17;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(216, 180, 106, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-left: 15px;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--ink);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Specific Sections */
.hero {
  text-align: left;
  padding-top: 150px;
  min-height: 100vh;
}

.hero h1 {
  margin-bottom: 24px;
  max-width: 25ch;
}

.hero .lead {
  font-size: 22px;
  max-width: 35rem;
  margin-bottom: 40px;
}

.symbolic-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
  margin-left: -40px;
  z-index: 2;
}

.symbolic-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.reveal.visible .symbolic-image-container img {
  transform: scale(1.05);
}

.split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  align-items: center;
}

.symbolic-content {
  max-width: 500px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.9;
}

.section-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 32px;
}

.method-bullets {
  list-style: none;
  margin-bottom: 32px;
}

.method-bullets li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  padding-left: 24px;
  margin-bottom: 16px;
  position: relative;
}

.method-bullets li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 20px;
}

.symbolic-content h2 {
  margin-bottom: 20px;
  font-size: 60px;
  color: var(--accent);
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.program-card {
  background: var(--panel);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.program-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.quote-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.quote-box blockquote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 30px;
}

/* Particles Canvas */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .split-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .symbolic-content {
    margin: 0 auto;
  }
  .hero h1 {
    max-width: 100%;
  }
}
