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

:root {
  --color-bg: #FAF8F5;
  --color-text: #1C1C1C;
  --color-text-light: #525252;
  --color-accent: #D4A5A5;
  --color-accent-hover: #c49494;
  --color-warm: #EAE3D9;
  --color-border: #E8E4DD;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 2rem; }
h3 { font-size: 1.75rem; }

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 100px 0;
}

.btn {
  display: inline-block;
  background-color: var(--color-text);
  color: var(--color-bg);
  padding: 16px 32px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
}

.btn:hover {
  background-color: var(--color-accent);
  opacity: 1;
}

.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-8 { margin-top: 2rem; }

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background-color 0.4s ease, border-bottom 0.4s ease;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
}

.header-cta {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 2px;
}

.header-cta:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  opacity: 1;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(250, 248, 245, 0.9) 0%, rgba(250, 248, 245, 0.4) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 600px;
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  color: var(--color-text-light);
}

/* Who it is for */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.profile-card {
  background: var(--color-warm);
  padding: 3rem 2rem;
  text-align: center;
  transition: transform 0.4s ease;
}

.profile-card:hover {
  transform: translateY(-5px);
}

.profile-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.profile-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* Program */
.program-list {
  max-width: 800px;
  margin: 0 auto;
}

.program-module {
  border-bottom: 1px solid var(--color-border);
  padding: 2rem 0;
  display: flex;
  gap: 2rem;
}

.module-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-accent);
  width: 50px;
  flex-shrink: 0;
}

.module-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.module-content p {
  color: var(--color-text-light);
}

/* Teaching Format */
.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}

.format-item .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--color-warm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.format-item .icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-text);
  stroke-width: 1.5;
}

.format-item h4 {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.format-item p {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.portfolio-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item {
  overflow: hidden;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

/* Instructor */
.instructor {
  background-color: var(--color-text);
  color: var(--color-bg);
}

.instructor .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.instructor h2, .instructor h3 {
  color: var(--color-bg);
}

.instructor p {
  color: rgba(250, 248, 245, 0.8);
  margin-bottom: 1.5rem;
}

.instructor-img-wrapper {
  position: relative;
}

.instructor-img-wrapper::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-accent);
  z-index: 1;
}

.instructor-img {
  position: relative;
  z-index: 2;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 3rem auto 0;
}

.pricing-card {
  border: 1px solid var(--color-border);
  padding: 3rem 2rem;
  text-align: center;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

.pricing-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.pricing-card h3 {
  font-size: 1.5rem;
}

.price {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin: 1.5rem 0;
}

.pricing-features {
  margin-bottom: 2rem;
}

.pricing-features li {
  margin-bottom: 0.75rem;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.pricing-card .btn {
  width: 100%;
}

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

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--color-text);
  transition: transform 0.3s ease;
}

.faq-icon::before {
  top: 7px; left: 0; width: 16px; height: 2px;
}

.faq-icon::after {
  top: 0; left: 7px; width: 2px; height: 16px;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg) scale(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--color-text-light);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

/* Lead Form */
.form-section {
  background-color: var(--color-warm);
}

.lead-form {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-control {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
  background: transparent;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-control::placeholder {
  color: #999;
}

.form-control:focus {
  border-bottom-color: var(--color-text);
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

.form-btn {
  width: 100%;
  margin-top: 1rem;
}

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 1rem;
  text-align: center;
}

.form-disclaimer a {
  text-decoration: underline;
}

.error-message {
  color: #d9534f;
  font-size: 0.75rem;
  position: absolute;
  bottom: -18px;
  left: 0;
  display: none;
}

.form-group.invalid .form-control {
  border-bottom-color: #d9534f;
}

.form-group.invalid .error-message {
  display: block;
}

/* Footer */
footer {
  background: #fff;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-links h4 {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.cookie-content a {
  text-decoration: underline;
  color: var(--color-text);
}

.cookie-btn {
  background: var(--color-text);
  color: #fff;
  border: none;
  padding: 8px 16px;
  font-size: 0.875rem;
  cursor: pointer;
  margin-left: 2rem;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.success-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
}

.success-inner {
  max-width: 500px;
}

.success-img {
  width: 200px;
  height: 250px;
  margin: 0 auto 2rem;
  object-fit: cover;
  border-radius: 100px 100px 0 0;
}

/* Legal Pages */
.legal-page {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 4rem;
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

.legal-content ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 1200px) {
  h1 { font-size: 3rem; }
  .profiles-grid, .format-grid { gap: 1.5rem; }
}

@media (max-width: 992px) {
  .instructor .container { grid-template-columns: 1fr; gap: 3rem; }
  .instructor-img-wrapper { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  section { padding: 60px 0; }
  
  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .profiles-grid, .portfolio-grid, .format-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .program-module {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .cookie-banner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .cookie-btn {
    margin-left: 0;
    width: 100%;
  }
  
  .legal-content {
    padding: 2rem;
  }
}
