/* ============================================================
   Webweezl.io — Staging Homepage Styles
   Light theme. Refined minimalism. Enterprise-grade SaaS.
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --color-brand: #0d9488;
  --color-brand-light: #ccfbf1;
  --color-brand-dark: #0f766e;
  --color-brand-50: #f0fdfa;
  --color-brand-100: #ccfbf1;
  --color-brand-600: #0d9488;
  --color-brand-700: #0f766e;
  --color-brand-800: #115e59;

  --color-text: #1e293b;
  --color-text-secondary: #64748b;
  --color-text-muted: #94a3b8;

  --color-bg: #ffffff;
  --color-bg-subtle: #f8fafc;
  --color-bg-muted: #f1f5f9;

  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;

  --color-success: #16a34a;
  --color-danger: #dc2626;

  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.04);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.15);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --nav-height: 72px;
  --section-padding: 120px;
  --container-max: 1200px;
}

/* ---------- 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;
}

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

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

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

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

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

/* ---------- Container ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Section Base ---------- */
.section {
  padding: var(--section-padding) 0;
}

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

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

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ---------- Fade-in Animation (only when JS enables it) ---------- */
.has-scroll-reveal .fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.has-scroll-reveal .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.has-scroll-reveal .fade-in-delay-1 { transition-delay: 0.1s; }
.has-scroll-reveal .fade-in-delay-2 { transition-delay: 0.2s; }
.has-scroll-reveal .fade-in-delay-3 { transition-delay: 0.3s; }
.has-scroll-reveal .fade-in-delay-4 { transition-delay: 0.4s; }
.has-scroll-reveal .fade-in-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.06);
}

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

.nav__logo img {
  height: 50px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color 0.2s ease;
  letter-spacing: -0.01em;
}

.nav__link:hover {
  color: var(--color-brand);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--color-brand);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, transform 0.15s ease;
}

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

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

.nav__mobile.open {
  display: block;
}

.nav__mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav__mobile-links a {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.nav__mobile-links a:hover {
  background: var(--color-bg-subtle);
}

.nav__mobile-cta {
  display: block;
  margin-top: 16px;
  padding: 14px 22px;
  background: var(--color-brand);
  color: #fff !important;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: background 0.2s ease;
}

.nav__mobile-cta:hover {
  background: var(--color-brand-dark);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: var(--section-padding);
  background: linear-gradient(180deg, var(--color-bg-subtle) 0%, var(--color-bg) 100%);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__content {
  max-width: 560px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--color-brand-50);
  color: var(--color-brand);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid var(--color-brand-100);
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--color-text);
}

.hero__description {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  padding: 14px 28px;
  background: var(--color-brand);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgb(13 148 136 / 0.3);
}

.btn--secondary {
  padding: 14px 28px;
  background: var(--color-bg);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--secondary:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
  transform: translateY(-1px);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.hero__trust-item .check {
  color: var(--color-brand);
  font-weight: 700;
}

/* Hero image */
.hero__visual {
  position: relative;
}

.hero__browser-frame {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.hero__browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--color-bg-muted);
  border-bottom: 1px solid var(--color-border);
}

.hero__browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero__browser-dot--red { background: #f87171; }
.hero__browser-dot--yellow { background: #fbbf24; }
.hero__browser-dot--green { background: #34d399; }

.hero__browser-url {
  flex: 1;
  margin-left: 8px;
  height: 28px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.hero__browser-content img {
  width: 100%;
  display: block;
}

/* ============================================================
   SOCIAL PROOF
   ============================================================ */
.social-proof {
  padding: 48px 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.social-proof__text {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   BRANCHEN / INDUSTRIES
   ============================================================ */
.branchen {
  background: var(--color-bg-subtle);
}

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

.branchen-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.branchen-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.branchen-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--color-brand-50);
  margin-bottom: 16px;
}

.branchen-card__icon i {
  font-size: 1.375rem;
  color: var(--color-brand);
}

.branchen-card__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.branchen-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ============================================================
   PROBLEM / SOLUTION
   ============================================================ */
.problem-solution__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.ps-column {
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ps-column:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.ps-column--problem {
  background: #fef2f2;
  border-color: #fecaca;
  border-left: 4px solid var(--color-danger);
}

.ps-column--solution {
  background: var(--color-brand-50);
  border-color: var(--color-brand-100);
  border-left: 4px solid var(--color-brand);
}

.ps-column__icon-top {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.25rem;
}

.ps-column--problem .ps-column__icon-top {
  background: #fee2e2;
  color: var(--color-danger);
}

.ps-column--solution .ps-column__icon-top {
  background: var(--color-brand-100);
  color: var(--color-brand);
}

.ps-column__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ps-column--problem .ps-column__title {
  color: var(--color-danger);
}

.ps-column--solution .ps-column__title {
  color: var(--color-brand-dark);
}

.ps-column__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ps-column__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text);
}

.ps-column--problem .ps-column__list li::before {
  content: "\2717";
  color: var(--color-danger);
  font-weight: 700;
  font-size: 1.1em;
  flex-shrink: 0;
  margin-top: 1px;
}

.ps-column--solution .ps-column__list li::before {
  content: "\2713";
  color: var(--color-success);
  font-weight: 700;
  font-size: 1.1em;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card__image {
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-muted);
}

.feature-card__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.4s ease;
}

.feature-card:hover .feature-card__image img {
  transform: scale(1.02);
}

.feature-card__icon {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-muted);
  border-bottom: 1px solid var(--color-border);
}

.feature-card__icon i {
  font-size: 3.5rem;
  color: var(--color-brand);
}

.feature-card__body {
  padding: 28px;
}

.feature-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.feature-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.features__link {
  text-align: center;
  margin-top: 48px;
}

.features__link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-brand);
  font-size: 1.0625rem;
  transition: gap 0.2s ease;
}

.features__link a:hover {
  gap: 12px;
}

/* ============================================================
   HOW IT WORKS — HORIZONTAL CARDS
   ============================================================ */
.steps-horizontal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

/* Connecting gradient line behind cards */
.steps-horizontal__connector {
  position: absolute;
  top: 80px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-brand-100) 0%, var(--color-brand) 50%, var(--color-brand-100) 100%);
  border-radius: 2px;
  z-index: 0;
}

.step-h-card {
  position: relative;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 24px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  z-index: 1;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.step-h-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.step-h-card__watermark {
  position: absolute;
  top: -8px;
  right: -4px;
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 800;
  color: var(--color-brand);
  opacity: 0.07;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.step-h-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-brand-50);
  border: 2px solid var(--color-brand-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-h-card__icon i {
  font-size: 1.25rem;
  color: var(--color-brand);
}

.step-h-card__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-h-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
}

.pricing__toggle-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color 0.2s ease;
}

.pricing__toggle-label.active {
  color: var(--color-text);
  font-weight: 600;
}

.pricing__switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--color-border);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.pricing__switch.yearly {
  background: var(--color-brand);
}

.pricing__switch-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.pricing__switch.yearly .pricing__switch-knob {
  transform: translateX(24px);
}

.pricing__badge-save {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-brand);
  background: var(--color-brand-50);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--color-brand-100);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

.pricing-card--popular {
  border-color: var(--color-brand);
  border-width: 2px;
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

.pricing-card--popular:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-xl);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-card__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.pricing-card__amount {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.pricing-card__prefix {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.pricing-card__period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.pricing-card__billed {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  min-height: 20px;
}

.pricing-card__divider {
  height: 1px;
  background: var(--color-border);
  margin-bottom: 24px;
}

.pricing-card__includes {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text);
}

.pricing-card__features li::before {
  content: "\2713";
  color: var(--color-brand);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card__cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  margin-top: auto;
}

.pricing-card__cta--primary {
  background: var(--color-brand);
  color: #fff;
}

.pricing-card__cta--primary:hover {
  background: var(--color-brand-dark);
  transform: translateY(-1px);
}

.pricing-card__cta--outline {
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
}

.pricing-card__cta--outline:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

/* Trial banner */
.pricing-trial {
  margin-top: 64px;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.pricing-trial__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.pricing-trial__desc {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison__wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 700px;
}

/* Sticky header */
.comparison-table thead {
  position: sticky;
  top: 0;
  z-index: 10;
}

.comparison-table thead th {
  padding: 18px 20px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-text);
  background: var(--color-bg-muted);
  border-bottom: 2px solid var(--color-border);
  white-space: nowrap;
}

.comparison-table thead th:first-child {
  min-width: 200px;
}

.comparison-table thead th.highlight {
  color: var(--color-brand);
  background: var(--color-brand-50);
  border-bottom-color: var(--color-brand);
  position: relative;
}

/* "Beste Wahl" badge */
.ct-badge {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-brand);
  padding: 2px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  width: fit-content;
}

/* Category group header rows */
.comparison-table .ct-cat-row td {
  padding: 12px 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  background: var(--color-bg-muted);
  border-bottom: 1px solid var(--color-border);
}

.comparison-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border-light);
  vertical-align: middle;
}

.comparison-table tbody tr:hover:not(.ct-cat-row) {
  background: var(--color-bg-subtle);
}

.comparison-table tbody td:first-child {
  font-weight: 600;
  color: var(--color-text);
}

/* Webweezl column teal tint */
.comparison-table tbody td.highlight {
  background: rgba(240, 253, 250, 0.5);
  font-weight: 600;
}

.comparison-table tbody tr:hover:not(.ct-cat-row) td.highlight {
  background: rgba(240, 253, 250, 0.8);
}

/* Win rows — subtle green background */
.comparison-table tbody tr[data-win="true"] {
  background: rgba(240, 253, 250, 0.35);
}

.comparison-table tbody tr[data-win="true"]:hover {
  background: rgba(240, 253, 250, 0.6);
}

.comparison-table tbody tr[data-win="true"] td.highlight {
  background: rgba(204, 251, 241, 0.4);
}

/* Bolder check and cross marks */
.comparison-table .check {
  color: var(--color-success);
  font-weight: 700;
  font-size: 1.125rem;
}

.comparison-table .cross {
  color: var(--color-danger);
  font-weight: 700;
  font-size: 1.125rem;
}

.comparison__disclaimer {
  margin-top: 24px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-align: center;
  font-style: italic;
}

/* ============================================================
   USE CASES
   ============================================================ */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.usecase-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.usecase-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.usecase-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--color-brand-50);
  margin-bottom: 20px;
}

.usecase-card__icon i {
  font-size: 1.5rem;
  color: var(--color-brand);
}

.usecase-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.usecase-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ============================================================
   ROADMAP
   ============================================================ */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.roadmap-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.roadmap-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.roadmap-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-brand-50);
  display: flex;
  align-items: center;
  justify-content: center;
}

.roadmap-card__icon i {
  font-size: 1.125rem;
  color: var(--color-brand);
}

.roadmap-card__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg-muted);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.roadmap-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.roadmap-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: var(--color-brand);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
  background: none;
  border: none;
}

.faq-item.open .faq-item__question {
  color: var(--color-brand);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-item__answer {
  max-height: 400px;
}

.faq-item__answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  padding: 120px 0;
  background: linear-gradient(180deg, #f8fafc 0%, rgba(13, 148, 136, 0.04) 50%, #f8fafc 100%);
  text-align: center;
}

.final-cta__inner {
  max-width: 640px;
  margin: 0 auto;
}

.final-cta__title {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.final-cta__subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-brand);
  margin-bottom: 12px;
}

.final-cta__desc {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1.0625rem;
}

.final-cta__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.final-cta__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.final-cta__trust-item .check {
  color: var(--color-brand);
  font-weight: 700;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-text);
  color: #fff;
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-top: 16px;
  line-height: 1.65;
  max-width: 280px;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 0.875rem;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--color-brand-100);
}

.footer__bottom {
  border-top: 1px solid #334155;
  padding-top: 24px;
  text-align: center;
  font-size: 0.8125rem;
  color: #64748b;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
/* Scroll reveal: only applies when JS adds .has-scroll-reveal to <html> */
.has-scroll-reveal section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.has-scroll-reveal section.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Cards within sections get staggered reveals */
.has-scroll-reveal .feature-card,
.has-scroll-reveal .pricing-card,
.has-scroll-reveal .step-card,
.has-scroll-reveal .step-h-card,
.has-scroll-reveal .roadmap-card,
.has-scroll-reveal .usecase-card,
.has-scroll-reveal .branchen-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.has-scroll-reveal .feature-card.revealed,
.has-scroll-reveal .pricing-card.revealed,
.has-scroll-reveal .step-card.revealed,
.has-scroll-reveal .step-h-card.revealed,
.has-scroll-reveal .roadmap-card.revealed,
.has-scroll-reveal .usecase-card.revealed,
.has-scroll-reveal .branchen-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure hero is visible immediately (above fold) */
.hero {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__content {
    max-width: 100%;
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__visual {
    max-width: 600px;
    margin: 0 auto;
  }

  .problem-solution__grid {
    grid-template-columns: 1fr;
  }

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

  .feature-card__image img {
    height: 200px;
  }

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

  .steps-horizontal__connector {
    display: none;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .pricing-card--popular {
    transform: none;
  }

  .pricing-card--popular:hover {
    transform: translateY(-4px);
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
    --nav-height: 64px;
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 48px);
  }

  .hero__title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .ps-column {
    padding: 28px;
  }

  .steps-horizontal {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .comparison-table {
    font-size: 0.8125rem;
  }

  .section__title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__trust {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn--primary, .btn--secondary {
    justify-content: center;
  }

  .pricing-card {
    padding: 28px 20px;
  }

  .feature-card__image img {
    height: 160px;
  }
}
