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

:root {
  /* Colors */
  --primary: #8B1A2E;
  --primary-hover: #731324;
  --bg-color: #FAF7F2;
  --bg-light: #FFFFFF;
  --text-dark: #2C2C2C;
  --text-light: #FAF7F2;
  --text-muted: #666666;
  --footer-bg: #1A1A1A;
  --footer-text: #999999;
  --border-color: #E5E0D8;

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-py: 100px;
  --container-px: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

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

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.narrow-container {
  max-width: 800px;
}

.section {
  padding: var(--section-py) 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-accent { background-color: var(--primary); }
.text-light { color: var(--text-light); }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--text-light);
  padding: 16px 32px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn:hover {
  background-color: var(--primary-hover);
  color: var(--text-light);
}

.btn-light {
  background-color: var(--text-light);
  color: var(--primary);
}
.btn-light:hover {
  background-color: #F0EBE1;
  color: var(--primary);
}

.btn-outline-light {
  background-color: transparent;
  border: 1px solid var(--text-light);
  color: var(--text-light);
}
.btn-outline-light:hover {
  background-color: var(--text-light);
  color: var(--text-dark);
}

.btn-block {
  display: block;
  width: 100%;
}
.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 16px 0;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}
.nav-links a:hover {
  color: var(--primary);
}
.back-link {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--text-light);
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
}
.hero-content {
  max-width: 600px;
}
.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

/* Problem Section */
.problem-section .container > h2 {
  text-align: center;
}

.problem-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  text-align: center;
}

/* Split Layouts */
.split-layout {
  display: flex;
  align-items: center;
  gap: 60px;
}
.split-layout.reverse {
  flex-direction: row-reverse;
}
.split-text, .split-image {
  flex: 1;
}
.split-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 4px;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}
.skill-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Format List */
.format-list {
  list-style: none;
}
.format-list li {
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 24px;
}
.format-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--primary);
}
.format-list strong {
  font-weight: 600;
  color: var(--primary);
}

/* Steps */
.steps-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
}
.step {
  flex: 1;
  text-align: center;
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}
.faq-item summary {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-content {
  padding-top: 16px;
  color: var(--text-muted);
}

/* Form Section */
.form-container {
  display: flex;
  gap: 60px;
  align-items: center;
}
.form-text {
  flex: 1;
}
.form-text h2 {
  font-size: 3rem;
}
.lead-form {
  flex: 1;
  background-color: rgba(255,255,255,0.05);
  padding: 40px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.optional {
  opacity: 0.7;
  font-size: 0.8rem;
}
.form-group input {
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}
.form-group input::placeholder {
  color: rgba(255,255,255,0.5);
}
.form-group input:focus {
  outline: none;
  border-color: var(--text-light);
}
.form-policy {
  margin-top: 16px;
  font-size: 0.8rem;
  opacity: 0.7;
  text-align: center;
}
.form-policy a {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 80px 0 40px;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}
.footer-brand .logo {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  display: inline-block;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a:hover {
  color: var(--text-light);
}
.footer-info {
  text-align: right;
}
.copyright {
  margin-top: 24px;
  font-size: 0.8rem;
}
.absolute-bottom {
  position: absolute;
  bottom: 0;
  width: 100%;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--footer-bg);
  color: var(--text-light);
  z-index: 9999;
  padding: 16px 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.cookie-banner.visible-cookie {
  transform: translateY(0);
}
.cookie-banner.hidden {
  display: none;
}
.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.cookie-content a {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Inner Pages (Privacy, Terms, Cookie) */
.page-content {
  padding-top: 120px;
  min-height: calc(100vh - 200px);
}
.legal-text h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.legal-text ul {
  padding-left: 24px;
  margin-bottom: 1.2rem;
}
.legal-text li {
  margin-bottom: 0.5rem;
}

/* Success Page */
.success-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.success-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--text-light);
  padding: 120px 24px;
}
.success-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.success-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}
.success-message {
  max-width: 600px;
}

/* Media Queries */
@media (max-width: 1024px) {
  .form-container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  .lead-form {
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 60px;
  }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .nav-links {
    display: none; /* simple mobile nav: just logo */
  }
  
  .split-layout, .split-layout.reverse {
    flex-direction: column;
    gap: 40px;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-wrapper {
    flex-direction: column;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-info {
    text-align: center;
  }
}
