/* ============================================================
   AutoMarge – Website Stylesheet
   Farben: #1A252F (dunkelblau), #C0392B (rot), #ECF0F1 (hellgrau)
   Font: Inter
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --dark: #1A252F;
  --dark-light: #243242;
  --red: #C0392B;
  --red-hover: #A93226;
  --red-light: #E74C3C;
  --gray-light: #ECF0F1;
  --gray: #BDC3C7;
  --gray-dark: #7F8C8D;
  --white: #FFFFFF;
  --text-dark: #1A252F;
  --text-light: #FFFFFF;
  --text-muted: #7F8C8D;
  --shadow: 0 2px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* --- Sections --- */
.section {
  padding: 80px 0;
}
.section--dark {
  background: var(--dark);
  color: var(--text-light);
}
.section--gray {
  background: var(--gray-light);
}
.section--red {
  background: var(--red);
  color: var(--text-light);
}
.section--white {
  background: var(--white);
}

.section__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section__subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 640px;
}
.section--dark .section__subtitle,
.section--red .section__subtitle {
  color: rgba(255,255,255,0.8);
}

.text-center {
  text-align: center;
}
.text-center .section__subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--red {
  background: var(--red);
  color: var(--white);
}
.btn--red:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(192,57,43,0.35);
}
.btn--white {
  background: var(--white);
  color: var(--red);
}
.btn--white:hover {
  background: var(--gray-light);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn--outline:hover {
  background: var(--red);
  color: var(--white);
}
.btn--lg {
  padding: 18px 40px;
  font-size: 1.125rem;
}
.btn--full {
  width: 100%;
}
.btn-hint {
  display: block;
  margin-top: 12px;
  font-size: 0.875rem;
  opacity: 0.7;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--dark);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.nav--scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--white);
}
.nav__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav__logo-icon svg {
  width: 22px;
  height: 22px;
  color: var(--white);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav__link {
  color: rgba(255,255,255,0.8);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav__link:hover,
.nav__link--active {
  color: var(--white);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav__login {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.9375rem;
}
.nav__login:hover {
  color: var(--white);
}
.nav__cta {
  padding: 10px 24px;
  font-size: 0.875rem;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.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 Menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark);
  flex-direction: column;
  padding: 32px 24px;
  z-index: 999;
}
.nav__mobile.active {
  display: flex;
}
.nav__mobile a {
  color: var(--white);
  font-size: 1.25rem;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav__mobile .btn {
  margin-top: auto;
  margin-bottom: 32px;
}

/* --- Hero --- */
.hero {
  padding-top: calc(var(--nav-height) + 64px);
  padding-bottom: 80px;
  background: var(--dark);
  color: var(--text-light);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero__title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero__subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero__video {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark-light);
  aspect-ratio: 16/9;
}
.hero__video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark-light) 0%, #2C3E50 100%);
}
.hero__video-placeholder svg {
  width: 64px;
  height: 64px;
  color: rgba(255,255,255,0.5);
}
.hero__badges {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.hero__badge {
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* --- Pain Cards --- */
.pain__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.pain__card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.pain__card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.pain__card-icon svg {
  width: 28px;
  height: 28px;
}
.pain__card p {
  font-size: 1.0625rem;
  color: var(--text-dark);
  line-height: 1.5;
}
.pain__solution {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 24px;
}

/* --- Feature Cards (4 Saeulen) --- */
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.feature-card__icon--red {
  background: rgba(192,57,43,0.1);
  color: var(--red);
}
.feature-card__icon--dark {
  background: rgba(26,37,47,0.1);
  color: var(--dark);
}
.feature-card__icon svg {
  width: 32px;
  height: 32px;
}
.feature-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature-card__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Before/After Slider --- */
.slider-wrapper {
  max-width: 800px;
  margin: 0 auto 32px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  user-select: none;
  touch-action: none;
  aspect-ratio: 16/9;
  background: var(--gray-light);
}
.slider-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider-wrapper .slider-after {
  clip-path: inset(0 50% 0 0);
}
.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--white);
  cursor: ew-resize;
  z-index: 10;
  transform: translateX(-50%);
}
.slider-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.slider-handle svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 11;
  width: 20px;
  height: 20px;
  color: var(--dark);
}
.slider-label {
  position: absolute;
  bottom: 16px;
  padding: 6px 14px;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 20px;
  z-index: 5;
}
.slider-label--before { left: 16px; }
.slider-label--after { right: 16px; }

/* Before/After Placeholder */
.slider-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
}
.slider-placeholder__half {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.slider-placeholder__half--before {
  background: linear-gradient(135deg, #95a5a6 0%, #bdc3c7 100%);
}
.slider-placeholder__half--after {
  background: linear-gradient(135deg, #ecf0f1 0%, #ffffff 100%);
}
.slider-placeholder__half svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}
.slider-placeholder__half span {
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0.6;
}

/* --- Calculator --- */
.calc {
  max-width: 720px;
  margin: 0 auto;
}
.calc__group {
  margin-bottom: 32px;
}
.calc__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  font-weight: 500;
}
.calc__value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--red-light);
}
.section--dark .calc__value {
  color: var(--red-light);
}
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.2);
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red);
  cursor: pointer;
  border: 3px solid var(--white);
}
input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red);
  cursor: pointer;
  border: 3px solid var(--white);
}
.calc__result {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin-bottom: 32px;
}
.calc__result-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--red-light);
  margin-bottom: 8px;
}
.calc__result-text {
  font-size: 1rem;
  opacity: 0.8;
}
.calc__saving {
  text-align: center;
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

/* --- Testimonials --- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 32px;
}
.testimonial-card__stars {
  color: #F59E0B;
  margin-bottom: 16px;
  display: flex;
  gap: 2px;
}
.testimonial-card__stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.testimonial-card__text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
  color: var(--text-dark);
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}
.testimonial-card__name {
  font-weight: 600;
  font-size: 0.9375rem;
}
.testimonial-card__info {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --- Pricing Cards --- */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 2px solid var(--gray-light);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card--featured {
  border-color: var(--dark);
  box-shadow: var(--shadow-lg);
}
.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: var(--white);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}
.pricing-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.pricing-card__price {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.pricing-card__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}
.pricing-card__period {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.pricing-card__features {
  list-style: none;
  margin-bottom: 32px;
}
.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9375rem;
  line-height: 1.4;
}
.pricing-card__features li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #27AE60;
}

/* --- FAQ --- */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--gray-light);
}
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-dark);
  gap: 16px;
}
.faq__question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-muted);
}
.faq__item.active .faq__question svg {
  transform: rotate(180deg);
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq__answer-inner {
  padding-bottom: 20px;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.9375rem;
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-top: 16px;
}
.footer__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.footer__links {
  list-style: none;
}
.footer__links li {
  margin-bottom: 12px;
}
.footer__links a {
  font-size: 0.9375rem;
  transition: color var(--transition);
}
.footer__links a:hover {
  color: var(--white);
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
}

/* --- Funktionen Page --- */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--gray-light);
}
.feature-detail:last-child {
  border-bottom: none;
}
.feature-detail:nth-child(even) {
  direction: rtl;
}
.feature-detail:nth-child(even) > * {
  direction: ltr;
}
.feature-detail__tag {
  display: inline-block;
  background: rgba(192,57,43,0.1);
  color: var(--red);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.feature-detail__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.feature-detail__text {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.feature-detail__steps {
  list-style: none;
  counter-reset: steps;
}
.feature-detail__steps li {
  counter-increment: steps;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9375rem;
}
.feature-detail__steps li::before {
  content: counter(steps);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
}
.feature-detail__visual {
  border-radius: var(--radius);
  background: var(--gray-light);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.feature-detail__visual svg {
  width: 80px;
  height: 80px;
  color: var(--gray);
}

/* --- Pricing Table (full) --- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
}
.pricing-table th,
.pricing-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.9375rem;
}
.pricing-table th {
  font-weight: 600;
  background: var(--gray-light);
}
.pricing-table td:nth-child(2),
.pricing-table td:nth-child(3),
.pricing-table th:nth-child(2),
.pricing-table th:nth-child(3) {
  text-align: center;
}

/* --- Trial Steps --- */
.trial-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 40px 0;
}
.trial-step {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.trial-step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.trial-step__title {
  font-weight: 700;
  margin-bottom: 8px;
}
.trial-step__text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --- Blog --- */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card__image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card__image svg {
  width: 40px;
  height: 40px;
  color: rgba(255,255,255,0.3);
}
.blog-card__body {
  padding: 24px;
}
.blog-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.blog-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.blog-card__meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --- Registration --- */
.register {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-light);
  padding: 40px 24px;
}
.register__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 900px;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.register__form-side {
  padding: 48px 40px;
}
.register__info-side {
  background: var(--dark);
  color: var(--white);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.register__title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.register__subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus {
  border-color: var(--red);
}
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.form-checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--red);
}
.form-checkbox a {
  color: var(--red);
  text-decoration: underline;
}
.register__secure {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.register__secure svg {
  width: 16px;
  height: 16px;
  color: #27AE60;
}
.register__benefits {
  list-style: none;
  margin-bottom: 40px;
}
.register__benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 16px;
}
.register__benefits li svg {
  width: 24px;
  height: 24px;
  color: #27AE60;
  flex-shrink: 0;
}

/* --- Legal Pages --- */
.legal {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 80px;
  min-height: 60vh;
}
.legal h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 32px;
}
.legal h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
}
.legal p {
  margin-bottom: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}
.legal ul {
  margin-bottom: 16px;
  padding-left: 24px;
  color: var(--text-muted);
}
.legal li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* --- Page Hero (Sub-pages) --- */
.page-hero {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 48px;
  background: var(--dark);
  color: var(--white);
  text-align: center;
}
.page-hero__title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.page-hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Tech Details --- */
.tech-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 32px 0;
}
.tech-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.tech-badge svg {
  width: 18px;
  height: 18px;
  color: #27AE60;
}

/* --- Blog Sidebar --- */
.blog__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.blog__sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}
.blog__sidebar-cta {
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}
.blog__sidebar-cta h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.blog__sidebar-cta p {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-detail:nth-child(even) {
    direction: ltr;
  }
  .blog__layout {
    grid-template-columns: 1fr;
  }
  .blog__sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }
  .section__title {
    font-size: 1.625rem;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__title {
    font-size: 2rem;
  }
  .hero__badges {
    justify-content: center;
  }
  .nav__links,
  .nav__actions {
    display: none;
  }
  .nav__hamburger {
    display: flex;
  }
  .pain__cards {
    grid-template-columns: 1fr;
  }
  .features__grid {
    grid-template-columns: 1fr;
  }
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .blog__grid {
    grid-template-columns: 1fr;
  }
  .trial-steps {
    grid-template-columns: 1fr;
  }
  .register__card {
    grid-template-columns: 1fr;
  }
  .register__info-side {
    display: none;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
  .page-hero__title {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero__title {
    font-size: 1.75rem;
  }
  .hero__subtitle {
    font-size: 1.0625rem;
  }
  .btn--lg {
    padding: 14px 28px;
    font-size: 1rem;
  }
  .register__form-side {
    padding: 32px 24px;
  }
}
