/* ============================================
   ADSCALA Design System
   Inspired by Stripe — adapted for Performance Marketing
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Primary */
  --color-primary: #533afd;
  --color-primary-hover: #4434d4;
  --color-primary-deep: #2e2b8c;
  --color-primary-light: #b9b9f9;
  --color-primary-surface: rgba(83,58,253,0.05);

  /* Brand Dark */
  --color-brand-dark: #1c1e54;
  --color-dark-navy: #0d253d;

  /* Text */
  --color-heading: #061b31;
  --color-label: #273951;
  --color-body: #64748d;
  --color-body-light: #8896a7;

  /* Surfaces */
  --color-white: #ffffff;
  --color-bg: #ffffff;
  --color-bg-soft: #f8fafc;
  --color-bg-muted: #f1f5f9;

  /* Borders */
  --color-border: #e5edf5;
  --color-border-purple: #b9b9f9;

  /* Accents */
  --color-accent-ruby: #ea2261;
  --color-accent-magenta: #f96bee;
  --color-success: #15be53;

  /* Shadows */
  --shadow-sm: rgba(23,23,23,0.06) 0px 3px 6px;
  --shadow-md: rgba(23,23,23,0.08) 0px 15px 35px;
  --shadow-lg: rgba(50,50,93,0.25) 0px 30px 45px -30px, rgba(0,0,0,0.1) 0px 18px 36px -18px;
  --shadow-xl: rgba(3,3,39,0.25) 0px 14px 21px -14px, rgba(0,0,0,0.1) 0px 8px 17px -8px;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;

  /* Container */
  --container-max: 1120px;
  --container-narrow: 720px;

  /* Font */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* --- 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-primary);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-body);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  font-weight: 300;
  line-height: 1.15;
}

h1 {
  font-size: 3.25rem;
  letter-spacing: -1.3px;
  line-height: 1.08;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.96px;
  line-height: 1.12;
}

h3 {
  font-size: 1.625rem;
  letter-spacing: -0.26px;
  line-height: 1.2;
}

h4 {
  font-size: 1.25rem;
  letter-spacing: -0.2px;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--color-primary-hover);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-border-purple);
}

.btn--ghost:hover {
  background: var(--color-primary-surface);
  color: var(--color-primary);
}

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

.btn--white:hover {
  background: #f0eeff;
  color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--large {
  padding: 16px 32px;
  font-size: 1.0625rem;
  border-radius: var(--radius-md);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease;
}

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

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-heading);
  letter-spacing: -0.5px;
  text-decoration: none;
}

.nav__logo:hover {
  color: var(--color-heading);
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-magenta));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__logo-icon svg {
  width: 18px;
  height: 18px;
  fill: white;
}

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

.nav__link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-heading);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.nav__cta {
  margin-left: var(--space-md);
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 8px;
  cursor: pointer;
  color: var(--color-heading);
}

.nav__toggle svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* Mobile Nav */
.nav__mobile {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.nav__mobile.active {
  display: block;
}

.nav__mobile-link {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-heading);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
}

.nav__mobile-link:last-child {
  border-bottom: none;
}

.nav__mobile-cta {
  display: block;
  margin-top: var(--space-md);
  text-align: center;
}

/* --- Hero --- */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse, rgba(83,58,253,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  background: var(--color-primary-surface);
  border: 1px solid var(--color-border-purple);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-primary);
  margin-bottom: var(--space-xl);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  position: relative;
}

.hero__subtitle {
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--color-body);
  line-height: 1.6;
}

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

.hero__trust {
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-border);
}

.hero__trust-label {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-body-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-lg);
}

.hero__platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.hero__platform {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-body-light);
  font-size: 0.9375rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

.hero__platform:hover {
  color: var(--color-heading);
}

.hero__platform svg {
  width: 24px;
  height: 24px;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.hero__platform:hover svg {
  opacity: 0.8;
}

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

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

.section--dark {
  background: var(--color-brand-dark);
  color: var(--color-white);
}

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

.section--dark p {
  color: rgba(255,255,255,0.7);
}

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

.section__overline {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-md);
}

.section--dark .section__overline {
  color: var(--color-primary-light);
}

.section__header p {
  font-size: 1.0625rem;
  color: var(--color-body);
  margin-top: var(--space-md);
}

.section--dark .section__header p {
  color: rgba(255,255,255,0.65);
}

/* --- Services / Platform Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card__icon--google { background: #f0f5ff; color: #4285f4; }
.service-card__icon--amazon { background: #fff8f0; color: #ff9900; }
.service-card__icon--meta { background: #f0f4ff; color: #0668e1; }
.service-card__icon--tiktok { background: #f0f0f0; color: #010101; }
.service-card__icon--pinterest { background: #fdf0f0; color: #e60023; }

.service-card__title {
  margin-bottom: var(--space-sm);
}

.service-card__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-body);
  margin-bottom: var(--space-md);
}

.service-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.service-card__tag {
  font-size: 0.75rem;
  font-weight: 400;
  padding: 4px 10px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  color: var(--color-label);
}

/* Two-card row for bottom 2 */
.services-grid--bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

/* --- USP / Why Section --- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
}

.usp-item {
  display: flex;
  gap: var(--space-lg);
}

.usp-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-primary-surface);
  border: 1px solid var(--color-border-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.usp-item__icon svg {
  width: 22px;
  height: 22px;
}

.usp-item__content h3 {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: var(--space-sm);
}

.usp-item__content p {
  font-size: 0.9375rem;
  color: var(--color-body);
  margin-bottom: 0;
}

/* --- Process Steps --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-magenta));
  opacity: 0.3;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step__number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-primary);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.process-step:hover .process-step__number {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-surface);
}

.process-step__title {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-heading);
  margin-bottom: var(--space-sm);
}

.process-step__text {
  font-size: 0.875rem;
  color: var(--color-body);
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- Stats / Numbers Section --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat {
  padding: var(--space-lg);
}

.stat__number {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: -1px;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}

.stat__label {
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
}

/* --- FAQ --- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-primary);
  transition: color 0.2s ease;
}

.faq-item__trigger:hover {
  color: var(--color-primary);
}

.faq-item__question {
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--color-heading);
  line-height: 1.4;
  transition: color 0.2s ease;
}

.faq-item__trigger:hover .faq-item__question {
  color: var(--color-primary);
}

.faq-item__trigger[aria-expanded="true"] .faq-item__question {
  color: var(--color-primary);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-body);
  transition: all 0.3s ease;
}

.faq-item__icon svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.faq-item__trigger[aria-expanded="true"] .faq-item__icon {
  background: var(--color-primary-surface);
  color: var(--color-primary);
}

.faq-item__trigger[aria-expanded="true"] .faq-item__icon svg line:first-child {
  transform: rotate(90deg);
  transform-origin: center;
  opacity: 0;
}

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

.faq-item__answer.open {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-item__answer p {
  font-size: 0.9375rem;
  color: var(--color-body);
  line-height: 1.7;
  margin-bottom: 0;
}

/* --- Contact Form --- */
.contact-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.contact-form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.contact-form__field {
  margin-bottom: var(--space-lg);
}

.contact-form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-label);
  margin-bottom: var(--space-sm);
}

.contact-form__input {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--color-heading);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  -webkit-appearance: none;
}

.contact-form__input::placeholder {
  color: var(--color-body-light);
}

.contact-form__input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(83,58,253,0.1);
}

.contact-form__input.error {
  border-color: var(--color-accent-ruby);
  box-shadow: 0 0 0 3px rgba(234,34,97,0.1);
}

.contact-form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%2364748d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.contact-form__checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.contact-form__checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-label);
}

.contact-form__checkbox:hover {
  border-color: var(--color-border-purple);
  background: var(--color-primary-surface);
}

.contact-form__checkbox input[type="checkbox"] {
  display: none;
}

.contact-form__checkbox input[type="checkbox"]:checked + span {
  color: var(--color-primary);
}

.contact-form__checkbox:has(input:checked) {
  background: var(--color-primary-surface);
  border-color: var(--color-border-purple);
}

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

.contact-form__submit {
  flex-shrink: 0;
}

.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.contact-form__hint {
  font-size: 0.8125rem;
  color: var(--color-body-light);
  margin-bottom: 0;
}

.contact-form__message {
  margin-top: var(--space-lg);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 400;
}

.contact-form__message--success {
  background: rgba(21,190,83,0.1);
  border: 1px solid rgba(21,190,83,0.3);
  color: #108c3d;
}

.contact-form__message--error {
  background: rgba(234,34,97,0.1);
  border: 1px solid rgba(234,34,97,0.3);
  color: #c41e52;
}

@media (max-width: 768px) {
  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: var(--space-xl);
  }

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

  .contact-form__hint {
    text-align: center;
  }
}

/* --- Footer --- */
.footer {
  background: var(--color-heading);
  color: rgba(255,255,255,0.6);
  padding: var(--space-3xl) 0 var(--space-xl);
}

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

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  text-decoration: none;
}

.footer__logo:hover {
  color: var(--color-white);
}

.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0;
}

.footer__column h4 {
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-lg);
}

.footer__link {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s ease;
}

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

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0;
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer__bottom-links a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__bottom-links a:hover {
  color: rgba(255,255,255,0.8);
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* --- Legal Pages --- */
.legal-page {
  padding: 140px 0 var(--space-4xl);
}

.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-xl);
}

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

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

.legal-page p, .legal-page li {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-body);
}

.legal-page ul {
  padding-left: var(--space-lg);
  list-style: disc;
  margin-bottom: 1rem;
}

.legal-page a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; letter-spacing: -0.96px; }
  h2 { font-size: 2rem; letter-spacing: -0.64px; }

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

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

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

  .process-grid::before {
    display: none;
  }

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

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

@media (max-width: 768px) {
  :root {
    --space-4xl: 64px;
    --space-5xl: 80px;
  }

  h1 { font-size: 2rem; letter-spacing: -0.64px; }
  h2 { font-size: 1.75rem; letter-spacing: -0.5px; }
  h3 { font-size: 1.375rem; }

  .nav__links { display: none; }
  .nav__cta.desktop-only { display: none; }
  .nav__toggle { display: block; }

  .hero {
    padding: 120px 0 60px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero__platforms {
    gap: var(--space-lg);
  }

  .services-grid,
  .services-grid--bottom {
    grid-template-columns: 1fr;
  }

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .stat__number {
    font-size: 2.25rem;
  }

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

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

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

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }

  .hero__badge { font-size: 0.75rem; }

  .hero__platforms {
    flex-direction: column;
    gap: var(--space-md);
  }

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