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

:root {
  --color-bg: #0f1014;
  --color-bg-alt: #16171d;
  --color-text: #f5f0e8;
  --color-text-muted: #a0a0ab;
  --color-accent: #c9a84c;
  --color-accent-hover: #e0be60;
  --color-primary: #2d5a3d;
  --color-primary-dark: #1e3f29;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

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

/* Typography Utilities */
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-8 { margin-top: 2rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  min-height: 48px;
  min-width: 160px;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #000;
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background-color: var(--color-accent);
  color: #000;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(15, 16, 20, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links a:hover {
  color: var(--color-accent);
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
}

.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(15, 16, 20, 0.9) 0%, rgba(15, 16, 20, 0.6) 50%, rgba(15, 16, 20, 0.2) 100%);
  z-index: -1;
}

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

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

/* Sections */
section {
  padding: 100px 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header {
  margin-bottom: 4rem;
  max-width: 700px;
}

/* Features/Problems */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card {
  background-color: var(--color-bg);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 40px 32px;
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-5px);
}

.card-icon {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

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

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

/* Image blocks */
.image-block {
  position: relative;
}

.image-block::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-primary);
  z-index: -1;
}

.image-block img {
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Modules */
.module-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.module-item {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 24px;
}

.module-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-accent);
  width: 60px;
  flex-shrink: 0;
}

.module-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.module-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Instructor */
.instructor-badge {
  display: inline-block;
  padding: 6px 12px;
  background-color: rgba(45, 90, 61, 0.2);
  color: #4CAF50;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

/* Form Section */
.form-section {
  position: relative;
  background-color: var(--color-primary-dark);
  color: #fff;
  overflow: hidden;
}

.form-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  mix-blend-mode: multiply;
}

.form-container {
  position: relative;
  z-index: 1;
  background-color: var(--color-bg);
  padding: 64px;
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

.form-control {
  width: 100%;
  background-color: var(--color-bg-alt);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
}

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

.form-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 16px;
  text-align: center;
}

/* Testimonials */
.testimonial {
  background-color: var(--color-bg-alt);
  padding: 40px;
  position: relative;
}

.testimonial::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: rgba(201, 168, 76, 0.2);
  position: absolute;
  top: 20px;
  left: 30px;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-accent);
}

.testimonial-context {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
}

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

.faq-icon {
  color: var(--color-accent);
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--color-text-muted);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  margin-top: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Footer */
.footer {
  background-color: #000;
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-info p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

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

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: var(--color-bg-alt);
  padding: 24px;
  z-index: 1000;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
  transition: bottom 0.5s ease;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 24px;
}

.cookie-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

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

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Legal Pages */
.legal-page {
  padding-top: 160px;
  padding-bottom: 100px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--color-text-muted);
}

.legal-content h1 {
  color: #fff;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.legal-content h2 {
  color: #fff;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-content p, .legal-content ul {
  margin-bottom: 1rem;
}

.legal-content ul {
  padding-left: 1.5rem;
  list-style-type: disc;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}

.success-icon {
  font-size: 4rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--color-bg);
    flex-direction: column;
    padding: 24px;
    gap: 24px;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 99;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }
  
  .form-container {
    padding: 32px 24px;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}
