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

:root {
  --color-cream: #FAF7F2;
  --color-terracotta: #C85A3C;
  --color-terracotta-dark: #A4472F;
  --color-brown: #3D2516;
  --color-brown-light: #6B4E3D;
  --color-wood: #8B6F47;
  --color-wood-light: #D4B896;
  
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-brown);
  background: var(--color-cream);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1rem;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-cream);
  border-bottom: 1px solid rgba(61, 37, 22, 0.1);
  transition: var(--transition);
}

header.scrolled {
  box-shadow: 0 2px 20px rgba(61, 37, 22, 0.05);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-terracotta);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-terracotta);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--color-terracotta);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: var(--transition);
  border: 2px solid var(--color-terracotta);
}

.btn:hover {
  background: var(--color-terracotta-dark);
  border-color: var(--color-terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 90, 60, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-terracotta);
}

.btn-secondary:hover {
  background: var(--color-terracotta);
  color: white;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--color-brown);
  transition: var(--transition);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

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

.hero-text h1 {
  margin-bottom: 1.5rem;
  color: var(--color-brown);
}

.hero-text .subtitle {
  font-size: 1.25rem;
  color: var(--color-brown-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(61, 37, 22, 0.15);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

section {
  padding: 6rem 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--color-brown-light);
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.target-card {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid rgba(61, 37, 22, 0.1);
  transition: var(--transition);
}

.target-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(61, 37, 22, 0.1);
  border-color: var(--color-terracotta);
}

.target-card h3 {
  color: var(--color-terracotta);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.target-card p {
  color: var(--color-brown-light);
  margin-bottom: 0;
}

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

.format-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(61, 37, 22, 0.12);
}

.format-text ul {
  list-style: none;
  margin-top: 1.5rem;
}

.format-text li {
  padding: 1rem 0;
  padding-left: 2rem;
  position: relative;
  border-bottom: 1px solid rgba(61, 37, 22, 0.1);
}

.format-text li:last-child {
  border-bottom: none;
}

.format-text li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-terracotta);
  font-weight: 700;
  font-size: 1.25rem;
}

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

.results-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(61, 37, 22, 0.12);
}

.results-list {
  list-style: none;
  margin-top: 1.5rem;
}

.results-list li {
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: white;
  border-radius: 6px;
  border-left: 4px solid var(--color-terracotta);
  transition: var(--transition);
}

.results-list li:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(61, 37, 22, 0.08);
}

.results-list li strong {
  display: block;
  color: var(--color-terracotta);
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-terracotta);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  font-family: var(--font-display);
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.step p {
  color: var(--color-brown-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.teacher-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
  background: white;
  padding: 4rem;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(61, 37, 22, 0.08);
}

.teacher-image {
  border-radius: 8px;
  overflow: hidden;
}

.teacher-text h2 {
  margin-bottom: 1.5rem;
}

.teacher-text p {
  color: var(--color-brown-light);
  font-size: 1.05rem;
  line-height: 1.8;
}

#lead-form-section {
  background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-terracotta-dark) 100%);
  color: white;
}

#lead-form-section .section-header h2,
#lead-form-section .section-header p {
  color: white;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-brown);
}

.form-group input {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(61, 37, 22, 0.15);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-terracotta);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-submit {
  width: 100%;
  padding: 1.125rem;
  font-size: 1.05rem;
  margin-top: 1rem;
}

.form-error {
  color: #d32f2f;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.form-error.visible {
  display: block;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(61, 37, 22, 0.1);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-brown);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  cursor: pointer;
}

.faq-question:hover {
  background: rgba(200, 90, 60, 0.05);
  color: var(--color-terracotta);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-terracotta);
  transition: var(--transition);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--color-brown-light);
  line-height: 1.7;
}

footer {
  background: var(--color-brown);
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-terracotta);
  margin-bottom: 1rem;
}

.footer-company p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: white;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-terracotta);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.7;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-brown);
  color: white;
  padding: 1.5rem;
  z-index: 200;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

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

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

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.cookie-actions {
  display: flex;
  gap: 1rem;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  background: var(--color-terracotta);
  color: white;
  border-radius: 4px;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.cookie-btn:hover {
  background: var(--color-terracotta-dark);
}

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

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

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-terracotta);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 2rem;
}

.success-content h1 {
  margin-bottom: 1rem;
}

.success-content p {
  font-size: 1.125rem;
  color: var(--color-brown-light);
  margin-bottom: 2rem;
}

.legal-page {
  padding-top: 120px;
  padding-bottom: 4rem;
}

.legal-content {
  background: white;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(61, 37, 22, 0.08);
}

.legal-content h1 {
  margin-bottom: 1.5rem;
  color: var(--color-terracotta);
}

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

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-content ul, .legal-content ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

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

@media (max-width: 968px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--color-cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .hero-content,
  .format-content,
  .results-content,
  .teacher-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .results-content {
    grid-template-columns: 1fr;
  }
  
  .results-image {
    order: -1;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-actions {
    width: 100%;
  }
  
  .cookie-btn {
    flex: 1;
  }
  
  .teacher-content {
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .hero {
    min-height: auto;
    padding: 120px 0 4rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .form-container {
    padding: 2rem;
  }
  
  .legal-content {
    padding: 2rem;
  }
}
