/* ============================================
   DEINE KURSPLATTFORM – Design System
   Editorial Warmth · B2B for Coaches
   Branding: michaelpretzl.at Family
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors – warm earth palette (michaelpretzl.at family) */
  --color-linen: #F5F0EA;
  --color-sand: #EDE6DA;
  --color-sandstone: #D9CCBA;
  --color-charcoal: #2C2825;
  --color-charcoal-deep: #1E1B18;
  --color-warm-gray: #5C544A;
  --color-muted: #8A817A;
  --color-terracotta: #C4734B;
  --color-terracotta-hover: #B5643D;
  --color-terracotta-glow: rgba(196, 115, 75, 0.15);
  --color-forest: #2D4A3E;
  --color-forest-light: #3A5F50;
  --color-forest-muted: rgba(45, 74, 62, 0.08);
  --color-white: #FFFFFF;

  /* Semantic */
  --bg-primary: var(--color-linen);
  --bg-dark: var(--color-charcoal);
  --bg-dark-deep: var(--color-charcoal-deep);
  --bg-accent: var(--color-forest);
  --text-primary: var(--color-charcoal);
  --text-secondary: var(--color-warm-gray);
  --text-muted: var(--color-muted);
  --text-on-dark: var(--color-linen);
  --text-on-dark-muted: var(--color-sandstone);
  --accent: var(--color-terracotta);
  --accent-hover: var(--color-terracotta-hover);
  --border-light: var(--color-sandstone);
  --border-dark: rgba(217, 204, 186, 0.2);

  /* Typography */
  --font-display: 'Lora', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Type Scale (fluid) */
  --text-hero: clamp(3.2rem, 7vw, 6.5rem);
  --text-h1: clamp(2.4rem, 5vw, 3.5rem);
  --text-h2: clamp(1.8rem, 3.5vw, 2.75rem);
  --text-h3: clamp(1.2rem, 2vw, 1.5rem);
  --text-body: clamp(1rem, 1.1vw, 1.125rem);
  --text-body-lg: clamp(1.1rem, 1.3vw, 1.25rem);
  --text-small: clamp(0.8rem, 0.9vw, 0.875rem);
  --text-label: 0.7rem;

  /* Spacing (8px grid) */
  --space-2xs: 0.125rem;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  --space-6xl: 12rem;

  /* Layout */
  --max-width: 1140px;
  --max-width-narrow: 780px;
  --max-width-wide: 1320px;
  --nav-height: 72px;
  --section-padding: clamp(5rem, 10vw, 9rem);

  /* Geometry */
  --radius: 6px;
  --radius-lg: 12px;
  --radius-xl: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(44, 40, 37, 0.06);
  --shadow-md: 0 4px 16px rgba(44, 40, 37, 0.08);
  --shadow-lg: 0 12px 40px rgba(44, 40, 37, 0.12);
  --shadow-xl: 0 24px 64px rgba(44, 40, 37, 0.16);
  --shadow-card: 0 2px 8px rgba(44, 40, 37, 0.06), 0 0 0 1px rgba(217, 204, 186, 0.3);

  /* Transitions */
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration-fast: 180ms;
  --duration-base: 350ms;
  --duration-slow: 600ms;
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

ul, ol { list-style: none; }

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

::selection {
  background: var(--color-terracotta-glow);
  color: var(--color-charcoal);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-h1); font-weight: 700; }
h2 { font-size: var(--text-h2); font-weight: 600; }
h3 { font-size: var(--text-h3); font-weight: 600; }

.text-hero {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.text-label {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}

.text-accent { color: var(--accent); }
.text-balance { text-wrap: balance; }
p + p { margin-top: var(--space-md); }

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--space-lg);
}

.container--narrow { max-width: var(--max-width-narrow); }
.container--wide { max-width: var(--max-width-wide); }

.section {
  padding-block: var(--section-padding);
  position: relative;
}

.section--dark { background-color: var(--bg-dark); color: var(--text-on-dark); }
.section--deep { background-color: var(--bg-dark-deep); color: var(--text-on-dark); }
.section--sand { background-color: var(--color-sand); }
.section--forest { background-color: var(--bg-accent); color: var(--text-on-dark); }

.section__label { margin-bottom: var(--space-lg); }
.section__title { margin-bottom: var(--space-xl); }

.section__subtitle {
  font-size: var(--text-body-lg);
  line-height: 1.6;
  max-width: 600px;
}

.section--dark .section__subtitle,
.section--forest .section__subtitle {
  color: var(--text-on-dark-muted);
}

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  transition:
    transform var(--duration-base) var(--ease-spring),
    background-color var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background-color: var(--accent);
  color: var(--color-white);
  border: 2px solid var(--accent);
}

.btn--primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(196, 115, 75, 0.3);
}

.btn--primary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--border-dark);
  color: var(--text-on-dark);
}

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

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

.btn--outline-dark:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1.1rem var(--space-2xl);
  font-size: var(--text-body);
}

.btn__arrow {
  display: inline-block;
  transition: transform var(--duration-fast) var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translateX(5px);
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition:
    background-color var(--duration-base) var(--ease-smooth),
    backdrop-filter var(--duration-base) var(--ease-smooth),
    box-shadow var(--duration-base) var(--ease-smooth);
}

.nav--scrolled {
  background-color: rgba(245, 240, 234, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border-light);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav__logo-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav__link {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 2px;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--duration-base) var(--ease-out);
}

.nav__link:hover { color: var(--text-primary); }
.nav__link:hover::after { width: 100%; }

.nav__cta {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-white);
  background: var(--accent);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius);
  transition:
    background-color var(--duration-fast) var(--ease-out),
    transform var(--duration-base) var(--ease-spring);
}

.nav__cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--duration-base) var(--ease-out);
  transform-origin: center;
}

.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  padding-bottom: var(--space-4xl);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__content { max-width: 580px; }

.hero__label {
  color: var(--accent);
  margin-bottom: var(--space-lg);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero__label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero__title { margin-bottom: var(--space-xl); }
.hero__title-line { display: block; }
.hero__title-accent { color: var(--accent); font-style: italic; }

.hero__subtitle {
  font-size: var(--text-body-lg);
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 480px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

.hero__trust {
  margin-top: var(--space-3xl);
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  color: var(--text-muted);
  font-size: var(--text-small);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero__trust-icon {
  width: 18px;
  height: 18px;
  color: var(--color-forest);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__mockup {
  max-width: 320px;
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transform: perspective(800px) rotateY(-4deg) rotateX(2deg);
  transition: transform var(--duration-slow) var(--ease-out);
}

.hero__mockup:hover {
  transform: perspective(800px) rotateY(0deg) rotateX(0deg);
}

/* Floating badges */
.hero__float-badge {
  position: absolute;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-small);
  font-weight: 600;
  animation: float 4s ease-in-out infinite;
}

.hero__float-badge--top { top: 8%; right: -10%; animation-delay: 0s; }
.hero__float-badge--bottom { bottom: 12%; left: -5%; animation-delay: 2s; }

.hero__float-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.hero__float-icon--green { background: rgba(45, 74, 62, 0.1); color: var(--color-forest); }
.hero__float-icon--orange { background: var(--color-terracotta-glow); color: var(--accent); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ============================================
   PROBLEM/SOLUTION SECTION
   ============================================ */

.problem { position: relative; }

.problem::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
}

.problem__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.problem__title { margin-bottom: var(--space-xl); }

.problem__text {
  color: var(--text-on-dark-muted);
  font-size: var(--text-body-lg);
  line-height: 1.8;
}

.problem__highlight {
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  border-left: 3px solid var(--accent);
  background: rgba(196, 115, 75, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.problem__highlight p {
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-style: italic;
  line-height: 1.5;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-4xl);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  padding: var(--space-2xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(217, 204, 186, 0.4);
  transition:
    transform var(--duration-base) var(--ease-spring),
    box-shadow var(--duration-base) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  background: var(--color-terracotta-glow);
  color: var(--accent);
}

.feature-card__icon svg { width: 24px; height: 24px; }

.feature-card__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.feature-card__text {
  color: var(--text-secondary);
  font-size: var(--text-small);
  line-height: 1.7;
}

.feature-card:nth-child(2) .feature-card__icon,
.feature-card:nth-child(5) .feature-card__icon {
  background: var(--color-forest-muted);
  color: var(--color-forest);
}

.feature-card:nth-child(3) .feature-card__icon,
.feature-card:nth-child(6) .feature-card__icon {
  background: rgba(44, 40, 37, 0.06);
  color: var(--color-charcoal);
}

/* ============================================
   BENEFITS SECTION
   ============================================ */

.benefits__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
}

.benefits__header { max-width: 500px; }
.benefits__header .section__subtitle { color: var(--text-on-dark-muted); }

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.benefit-card {
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition:
    background var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-spring),
    border-color var(--duration-fast) var(--ease-out);
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  border-color: rgba(196, 115, 75, 0.3);
}

.benefit-card__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-md);
  opacity: 0.5;
}

.benefit-card__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-on-dark);
}

.benefit-card__text {
  color: var(--text-on-dark-muted);
  font-size: var(--text-small);
  line-height: 1.7;
}

/* ============================================
   PROCESS SECTION
   ============================================ */

.process__header {
  text-align: center;
  max-width: 550px;
  margin: 0 auto var(--space-4xl);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 2px;
  background: var(--border-light);
  z-index: 0;
}

.step { text-align: center; position: relative; z-index: 1; }

.step__number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  transition:
    background-color var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out),
    color var(--duration-fast) var(--ease-out),
    transform var(--duration-base) var(--ease-spring);
}

.step:hover .step__number {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--color-white);
  transform: scale(1.1);
}

.step__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.step__text {
  color: var(--text-secondary);
  font-size: var(--text-small);
  line-height: 1.7;
  max-width: 260px;
  margin: 0 auto;
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.pricing__content { max-width: 460px; }

.pricing__card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(217, 204, 186, 0.4);
  position: relative;
  overflow: hidden;
}

.pricing__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--color-forest));
}

.pricing__card-label { color: var(--accent); margin-bottom: var(--space-md); }

.pricing__card-title {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  margin-bottom: var(--space-xs);
}

.pricing__card-note {
  color: var(--text-muted);
  font-size: var(--text-small);
  margin-bottom: var(--space-2xl);
}

.pricing__card-divider {
  width: 100%;
  height: 1px;
  background: var(--border-light);
  margin: var(--space-xl) 0;
}

.pricing__card-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.pricing__card-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-small);
  color: var(--text-secondary);
}

.pricing__card-feature svg {
  width: 18px;
  height: 18px;
  color: var(--color-forest);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   TESTIMONIAL SECTION
   ============================================ */

.testimonial__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.testimonial__quote-mark {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 0.5;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: var(--space-xl);
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: var(--space-2xl);
}

.testimonial__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.testimonial__author-name { font-weight: 600; font-size: var(--text-body); }
.testimonial__author-role { color: var(--text-muted); font-size: var(--text-small); }

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact { position: relative; }

.contact::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
}

.contact__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-4xl);
  align-items: start;
}

.contact__content { max-width: 420px; }

.contact__text {
  color: var(--text-on-dark-muted);
  font-size: var(--text-body-lg);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact__info-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--text-on-dark-muted);
  font-size: var(--text-small);
}

.contact__info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(196, 115, 75, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact__info-icon svg { width: 18px; height: 18px; }

.contact__form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

.form-group { margin-bottom: var(--space-lg); }

.form-label {
  display: block;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text-on-dark-muted);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: var(--text-body);
  transition:
    border-color var(--duration-fast) var(--ease-out),
    background var(--duration-fast) var(--ease-out);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(245, 240, 234, 0.3);
}

.form-textarea { min-height: 140px; resize: vertical; }
.form-submit { width: 100%; margin-top: var(--space-sm); }

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background-color: var(--color-charcoal-deep);
  color: var(--text-on-dark-muted);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__links { display: flex; gap: var(--space-xl); }

.footer__link {
  font-size: var(--text-small);
  color: var(--text-on-dark-muted);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__link:hover { color: var(--accent); }

.footer__divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: var(--space-xl) 0;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copy {
  font-size: var(--text-label);
  opacity: 0.6;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }
.reveal-delay-6 { transition-delay: 600ms; }

.reveal--scale { opacity: 0; transform: scale(0.92); }
.reveal--scale.visible { opacity: 1; transform: scale(1); }

.reveal--left { opacity: 0; transform: translateX(-40px); }
.reveal--left.visible { opacity: 1; transform: translateX(0); }

.reveal--right { opacity: 0; transform: translateX(40px); }
.reveal--right.visible { opacity: 1; transform: translateX(0); }

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal--scale, .reveal--left, .reveal--right {
    opacity: 1; transform: none; transition: none;
  }
  .hero__mockup { transform: none; }
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { max-width: 100%; }
  .hero__subtitle { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__float-badge { display: none; }
  .hero__mockup { max-width: 280px; transform: none; }

  .features__grid { grid-template-columns: repeat(2, 1fr); }

  .benefits__grid { grid-template-columns: repeat(2, 1fr); }

  .process__steps {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    max-width: 400px;
  }
  .process__steps::before {
    top: 0; bottom: 0; left: 36px; right: auto;
    width: 2px; height: 100%;
  }
  .step {
    text-align: left;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: var(--space-lg);
    align-items: start;
  }
  .step__number { margin: 0; }
  .step__text { max-width: none; margin: 0; }

  .pricing__inner { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .pricing__content { max-width: 100%; text-align: center; }
  .pricing__card { max-width: 480px; margin: 0 auto; }

  .contact__inner { grid-template-columns: 1fr; gap: var(--space-2xl); }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */

@media (max-width: 768px) {
  :root {
    --section-padding: clamp(3.5rem, 8vw, 5rem);
    --nav-height: 64px;
  }

  .nav__links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(245, 240, 234, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
    z-index: 999;
  }
  .nav__links.open { display: flex; }
  .nav__links .nav__link {
    font-size: var(--text-h3);
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-primary);
  }
  .nav__links .nav__cta {
    font-size: var(--text-body);
    padding: var(--space-md) var(--space-2xl);
  }
  .nav__toggle { display: flex; }

  .hero { min-height: auto; padding-top: calc(var(--nav-height) + var(--space-2xl)); padding-bottom: var(--space-3xl); }
  .text-hero { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { flex-direction: column; gap: var(--space-md); }

  .features__grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .feature-card { padding: var(--space-xl); }

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

  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal {
  padding-top: calc(var(--nav-height) + var(--space-4xl));
  padding-bottom: var(--space-4xl);
}
.legal h1 { margin-bottom: var(--space-2xl); }
.legal h2 { font-size: var(--text-h3); margin-top: var(--space-2xl); margin-bottom: var(--space-md); }
.legal p { color: var(--text-secondary); margin-bottom: var(--space-md); }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--accent-hover); }
.legal ul { margin-left: var(--space-xl); margin-bottom: var(--space-md); }
.legal li { color: var(--text-secondary); margin-bottom: var(--space-sm); list-style: disc; }
