/* ═══════════════════════════════════════════════════════════════
   Solariax — Indigo · Amber
   ═══════════════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  /* Primary — indigo */
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-darker: #312e81;
  --primary-light: #818cf8;
  --primary-lighter: #e0e7ff;
  /* Accent — amber */
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-light: #fffbeb;
  /* Backgrounds */
  --bg-white: #fafafa;
  --bg-light: #f4f4f5;
  --bg-section: #e4e4e7;
  --bg-dark: #4f46e5;
  --bg-dark-deep: #312e81;
  /* Text */
  --text-dark: #18181b;
  --text-body: #3f3f46;
  --text-light: #71717a;
  --text-white: #ffffff;
  /* Borders */
  --border: #d4d4d8;
  --border-light: #e4e4e7;
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(79, 70, 229, 0.06);
  --shadow-md: 0 8px 28px rgba(79, 70, 229, 0.1);
  --shadow-lg: 0 20px 50px rgba(79, 70, 229, 0.12);
  --shadow-xl: 0 28px 60px rgba(49, 46, 129, 0.15);

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-xs: 6px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 28px;
  --space-xl: 40px;
  --space-2xl: 56px;
  --space-3xl: 80px;
  --space-4xl: 120px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.35s var(--ease-out);
  --transition-slow: 0.5s var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-body);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style: none;
}

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

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

/* ── Utility ── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.section {
  padding: var(--space-4xl) 0;
}

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

.section--dark-block {
  background: var(--bg-dark-deep);
  color: var(--text-white);
  padding: var(--space-4xl) 0;
}

.section--dark-block h2,
.section--dark-block h3,
.section--dark-block .section-label,
.section--dark-block p {
  color: rgba(255, 255, 255, 0.92);
}

.section--dark-block .section-label {
  color: var(--accent-light);
}

.section--green {
  background-color: var(--primary-lighter);
}

.section--dark {
  background-color: var(--bg-dark-deep);
  color: var(--text-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--text-white);
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto var(--space-3xl);
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-top: var(--space-md);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: var(--space-md);
  padding: var(--space-xs) var(--space-sm);
  background: var(--accent-light);
  border-radius: var(--radius-sm);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.btn--primary {
  background-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn--primary:hover {
  background-color: var(--accent-hover);
  color: #fff;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
  font-size: 1rem;
  padding: 16px 36px;
}

.btn--accent:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.45);
  transform: translateY(-2px);
}

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

.btn--outline:hover {
  background-color: var(--primary);
  color: var(--text-white);
}

.btn--white {
  background: var(--bg-white);
  color: var(--primary-dark);
}

.btn--white:hover {
  background: var(--primary-lighter);
  color: var(--primary-darker);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 18px 44px;
  font-size: 1.05rem;
}

/* ── Disclaimer strip ── */
.disclaimer-bar {
  background: var(--bg-dark-deep);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  padding: 10px 20px;
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.disclaimer-bar a {
  color: inherit;
  text-decoration: underline;
}

/* ── Header — light, minimal ── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  color: var(--primary-dark) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  transition: color var(--transition-fast);
}

.header__logo:hover {
  color: var(--accent) !important;
}

.header__logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.header__nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 8px 0;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--accent);
}

.header__phone {
  font-weight: 600;
  color: var(--text-dark) !important;
  font-size: 0.9rem;
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--accent) !important;
}

.header__cta {
  margin-left: 4px;
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

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

.header__burger.open span:nth-child(2) {
  opacity: 0;
}

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

/* ── Hero ── */
.hero {
  padding: var(--space-4xl) 0;
  background: linear-gradient(160deg, var(--bg-white) 0%, var(--primary-lighter) 35%, var(--bg-light) 100%);
}

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

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: var(--space-lg);
  padding: var(--space-xs) var(--space-sm);
  background: var(--accent-light);
  border-radius: var(--radius-sm);
}

.hero__label svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.9;
}

.hero__title {
  margin-bottom: var(--space-xl);
  font-size: clamp(2.35rem, 5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero__title em {
  color: var(--primary);
  font-style: normal;
  font-weight: 700;
}

.hero__desc {
  font-size: 1.08rem;
  color: var(--text-light);
  margin-bottom: var(--space-2xl);
  max-width: 480px;
  line-height: 1.65;
}

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

.hero__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: 0.95rem;
  color: var(--text-body);
  font-weight: 500;
}

.hero__feature-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

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

.hero__img-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  line-height: 0;
  border: 1px solid var(--border);
}

.hero__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.hero__badges {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--bg-white);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-body);
}

/* ── Feature cards ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  text-align: left;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 1.4rem;
  transition: all var(--transition-base);
}

.feature-card:hover .feature-card__icon {
  background: var(--primary);
  color: var(--text-white);
}

.feature-card__title {
  font-size: 1.12rem;
  margin-bottom: var(--space-sm);
  font-weight: 700;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── Sources block ── */
.sources-block {
  padding: var(--space-3xl) 0;
  background: var(--bg-light);
}

.sources-block__title {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
  color: var(--text-dark);
  text-align: center;
}

.sources-block__intro {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: var(--space-xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sources-block__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.sources-block__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.sources-block__item:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 12px rgba(79, 70, 229, 0.12);
}

.sources-block__link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  text-decoration: none;
}

.sources-block__link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.sources-block__url {
  font-size: 0.8rem;
  color: var(--text-light);
  word-break: break-all;
}

/* ── Steps (How it works) ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  counter-reset: step;
}

.step-card {
  text-align: center;
  counter-increment: step;
}

.step-card__number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
}

.step-card__title {
  font-size: 1.12rem;
  margin-bottom: var(--space-sm);
  font-weight: 700;
}

.step-card__desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.55;
}

/* ── Zigzag ── */
.zigzag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.zigzag--reverse {
  direction: rtl;
}

.zigzag--reverse > * {
  direction: ltr;
}

.zigzag__img-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  line-height: 0;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.zigzag__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1;
}

.zigzag__content h2 {
  margin-bottom: var(--space-lg);
}

.zigzag__content p {
  color: var(--text-light);
  font-size: 1rem;
}

.zigzag__list {
  margin: var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.zigzag__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: 0.95rem;
}

.zigzag__list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ── Trustpilot (if used) ── */
.trustpilot-section {
  background-color: var(--primary-lighter);
}

.trustpilot__eyebrow {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: var(--space-xl);
}

.trustpilot-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  text-align: left;
  font-size: 0.88rem;
}

.trustpilot-card__title {
  font-weight: 600;
  color: var(--text-dark);
}

.trustpilot-card__text {
  font-size: 0.86rem;
  color: var(--text-body);
}

/* ── Pricing ── */
.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.pricing__toggle-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
}

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

.pricing__switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition-fast);
  border: none;
  padding: 0;
}

.pricing__switch.active {
  background: var(--primary);
}

.pricing__switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--bg-white);
  border-radius: 50%;
  transition: transform var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.pricing__switch.active::after {
  transform: translateX(24px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: start;
}

.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
}

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

.pricing-card--featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card__name {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: var(--space-lg);
}

.pricing-card__amount {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-dark);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-light);
}

.pricing-card__feature--yes::before {
  content: '✓';
  margin-right: var(--space-sm);
  color: var(--primary);
  font-weight: 700;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-4xl) var(--space-2xl);
  text-align: center;
  color: var(--text-white);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-banner h2 {
  color: var(--text-white);
  margin-bottom: var(--space-md);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
}

.cta-banner .btn--accent {
  background: var(--accent);
  color: #fff;
  border: none;
}

.cta-banner .btn--accent:hover {
  background: var(--accent-hover);
  color: #fff;
}

/* ── Footer ── */
.footer {
  background: var(--bg-dark-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-4xl) 0 var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-4xl);
  padding-bottom: var(--space-2xl);
}

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

.footer__logo-link {
  display: inline-block;
  color: var(--text-white) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
}

.footer__logo-link:hover {
  color: var(--accent) !important;
}

.footer__desc {
  font-size: 0.85rem;
  line-height: 1.65;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.55);
}

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

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-light);
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
  text-decoration: none;
}

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

.footer__disclaimer {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-2xl);
  max-width: 820px;
}

.footer__bottom {
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.footer__legal a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

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

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 10000;
  padding: var(--space-md) var(--space-xl);
  background: var(--bg-dark-deep);
  color: var(--text-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  pointer-events: none;
  max-width: 90vw;
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Cookie bar ── */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  padding: var(--space-lg) 0;
  transform: translateY(0);
  transition: transform var(--transition-base);
}

.cookie-bar.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

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

.cookie-bar__text {
  font-size: 0.88rem;
  color: var(--text-body);
  flex: 1;
  min-width: 280px;
}

.cookie-bar__text a {
  text-decoration: underline;
}

.cookie-bar__actions {
  display: flex;
  gap: var(--space-md);
  flex-shrink: 0;
}

/* ── Forms ── */
.form-group {
  margin-bottom: var(--space-lg);
}

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

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form-inline .form-label,
.contact-form-inline label {
  display: block;
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.contact-form-inline .form-label:first-child,
.contact-form-inline label:first-of-type {
  margin-top: 0;
}

.contact-form-inline input,
.contact-form-inline textarea,
.contact-form-inline .form-input,
.contact-form-inline .form-textarea {
  width: 100%;
  padding: 12px 16px;
  margin-top: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.contact-form-inline input:focus,
.contact-form-inline textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.contact-form-block,
.contact-form-inline {
  background: var(--primary-lighter);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
}

.contact-block {
  padding: var(--space-lg);
  background: var(--bg-light);
  border-radius: var(--radius-md);
}

.form-feedback--success {
  background: #d1fae5;
  color: #065f46;
  padding: var(--space-md);
  border-radius: var(--radius-md);
}

/* ── Legal & page content ── */
.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-2xl) 0;
}

.page-content h2 {
  margin-top: var(--space-2xl);
  font-size: 1.25rem;
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-light);
}

.page-content p {
  margin: 0.75rem 0;
  line-height: 1.65;
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.28rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.legal-content h3 {
  font-size: 1.08rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-content p {
  font-size: 0.92rem;
  margin-bottom: var(--space-md);
}

.legal-content ul,
.legal-content ol {
  margin: var(--space-md) 0;
  padding-left: var(--space-xl);
}

.legal-content ul {
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content a {
  text-decoration: underline;
}

.legal-content__table th,
.legal-content__table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
}

.legal-content__table th {
  background: var(--primary-lighter);
  font-weight: 600;
  color: var(--text-dark);
}

/* ── Thank you ── */
.thankyou {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4xl) 0;
}

.thankyou__icon {
  width: 80px;
  height: 80px;
  background: var(--primary-lighter);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  font-size: 2.2rem;
}

@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

/* ── Fade-in ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

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

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

  .pricing-card:last-child {
    grid-column: span 2;
    max-width: 400px;
    margin: 0 auto;
  }

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

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

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

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

  .zigzag--reverse {
    direction: ltr;
  }

  .zigzag__img-wrap img {
    aspect-ratio: 3/2;
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-3xl) 0;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px var(--space-xl) var(--space-xl);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    gap: var(--space-lg);
    z-index: 999;
    border-left: 1px solid var(--border);
  }

  .header__nav.open {
    transform: translateX(0);
  }

  .header__nav a {
    font-size: 1rem;
    color: var(--text-dark);
  }

  .header__burger {
    display: flex;
  }

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

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

  .pricing-card:last-child {
    grid-column: span 1;
    max-width: none;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .plan-radios {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: var(--space-2xl) var(--space-lg);
  }

  .cookie-bar__inner {
    flex-direction: column;
    text-align: center;
  }
}

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

  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.45rem; }

  .hero {
    padding: var(--space-2xl) 0 var(--space-3xl);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .btn--lg {
    padding: 16px 36px;
    font-size: 1rem;
  }
}
