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

:root {
  --brand-teal: #00cfc8;
  --brand-orange: #e66439;
  --brand-gold: #dbc078;
  --brand-dark: #0a0f1a;
  --brand-coral: #ec8766;
  --brand-deep: #d2481a;
  --brand-blue: #2a6bff;
  --bg: #0b1120;
  --bg-2: #111827;
  --panel: #1a2332;
  --muted: #94a3b8;
  --text: #f1f5f9;
  --accent: var(--brand-teal);
  --accent-2: var(--brand-coral);
  --success: #34d399;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.35);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

.landing-body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.landing-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 20px 48px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */

.landing-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.mobile-menu-icon-open,
.mobile-menu-icon-close {
  position: absolute;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-menu-icon-close {
  opacity: 0;
  transform: rotate(-90deg);
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon-open {
  opacity: 0;
  transform: rotate(90deg);
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon-close {
  opacity: 1;
  transform: rotate(0deg);
}

/* ═══════════════════════════════════════════════════════════════════════════
   LANGUAGE SELECTOR
   ═══════════════════════════════════════════════════════════════════════════ */

.language-selector {
  position: relative;
}

.language-selector-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.language-selector-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.language-flag {
  font-size: 14px;
  line-height: 1;
}

.language-code {
  letter-spacing: 0.02em;
}

.language-chevron {
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.language-selector-btn[aria-expanded="true"] .language-chevron {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  padding: 6px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 200;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}

.language-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.language-option.active {
  background: rgba(0, 207, 200, 0.1);
  color: var(--accent);
}

.language-option .language-flag {
  font-size: 16px;
}

.language-name {
  flex: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */

.btn {
  border-radius: var(--radius-sm);
  padding: 9px 16px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-blue));
  box-shadow: 0 4px 16px rgba(0, 207, 200, 0.25);
}

.btn.primary:hover {
  box-shadow: 0 6px 20px rgba(0, 207, 200, 0.35);
}

.btn.secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--muted);
}

.btn.secondary:hover {
  border-color: var(--accent);
  color: var(--text);
}

.btn.ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}

.btn.ghost:hover {
  color: var(--text);
}

.btn-lg {
  padding: 12px 24px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO (Centered, no images)
   ═══════════════════════════════════════════════════════════════════════════ */

.hero--centered {
  text-align: center;
  padding: 64px 20px 48px;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.hero--centered::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 207, 200, 0.12) 0%,
    rgba(42, 107, 255, 0.08) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
  filter: blur(60px);
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 11px;
  margin-bottom: 12px;
}

.hero--centered h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 20px;
  background: linear-gradient(135deg, var(--text) 0%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 28px;
  line-height: 1.65;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
}

.hero-badge::before {
  content: '✓';
  color: var(--success);
  font-size: 11px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════════════════ */

.section {
  padding: 56px 0;
}

.section-header {
  margin-bottom: 36px;
}

.section-header--center {
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  margin: 6px 0 12px;
  line-height: 1.2;
}

.section-lead {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════════════════
   VALUE PROPOSITION (Problem + Solution in one row)
   ═══════════════════════════════════════════════════════════════════════════ */

.value-prop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(230, 100, 57, 0.03), rgba(0, 207, 200, 0.03));
}

.value-prop__problem,
.value-prop__solution {
  padding: 0;
}

.value-prop__problem h2,
.value-prop__solution h2 {
  font-size: clamp(20px, 2.5vw, 24px);
  margin: 8px 0 16px;
  line-height: 1.25;
}

.value-prop__stat {
  font-size: 14px;
  color: var(--brand-coral);
  margin: 0 0 20px;
  padding: 10px 14px;
  background: rgba(230, 100, 57, 0.08);
  border: 1px solid rgba(230, 100, 57, 0.2);
  border-radius: var(--radius-sm);
  line-height: 1.5;
}

.problem-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.problem-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.problem-card__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(230, 100, 57, 0.12);
  color: var(--brand-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.problem-card strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--text);
}

.problem-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.solution-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.solution-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.solution-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.solution-icon--teal {
  background: rgba(0, 207, 200, 0.12);
  color: var(--brand-teal);
}

.solution-icon--coral {
  background: rgba(236, 135, 102, 0.12);
  color: var(--brand-coral);
}

.solution-icon--gold {
  background: rgba(219, 192, 120, 0.12);
  color: var(--brand-gold);
}

.solution-icon--blue {
  background: rgba(42, 107, 255, 0.12);
  color: var(--brand-blue);
}

.solution-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.solution-item p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURES (Full-width blocks with image + text)
   ═══════════════════════════════════════════════════════════════════════════ */

.features {
  background: linear-gradient(180deg, transparent, rgba(0, 207, 200, 0.03), transparent);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all 0.25s ease;
}

.feature-block:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.feature-block--reverse {
  grid-template-columns: 1fr 1.1fr;
}

.feature-block--reverse .feature-block__img-wrap {
  order: 2;
}

.feature-block--reverse .feature-block__text {
  order: 1;
}

.feature-block__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-block__img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  display: block;
}

.feature-block__text {
  padding: 8px 0;
}

.feature-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(0, 207, 200, 0.1);
  border: 1px solid rgba(0, 207, 200, 0.2);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.feature-block__text h3 {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.3;
}

.feature-block__text p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════════════════════ */

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

.testimonial-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-quote {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
}

.testimonial-name {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}

.testimonial-role {
  font-size: 12px;
  color: var(--muted);
  margin: 3px 0 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.cta-section {
  padding-bottom: 32px;
}

.cta-box {
  padding: 40px 32px;
  background: linear-gradient(135deg, rgba(0, 207, 200, 0.08), rgba(42, 107, 255, 0.08));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
}

.cta-content p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  max-width: 400px;
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.landing-footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
}

.footer-logo {
  width: 24px;
  height: 24px;
  border-radius: 5px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-link-btn {
  font-size: 13px;
  color: var(--muted);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-link-btn:hover {
  color: var(--text);
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT MODAL
   ═══════════════════════════════════════════════════════════════════════════ */

.hidden {
  display: none !important;
}

.modal-overlay {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 300;
}

body.modal-open .landing-nav {
  filter: blur(8px);
  opacity: 0.6;
  pointer-events: none;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.modal-content {
  width: 100%;
  max-width: 420px;
  background: #0d1626;
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 310;
}

.modal-content.compact {
  max-width: 420px;
}

.modal-header {
  position: relative;
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-blue));
  padding: 32px 28px;
  text-align: center;
}

.modal-header.compact {
  padding: 22px 20px;
}

.modal-header.slim {
  padding-top: 18px;
  padding-bottom: 18px;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin: 0 0 8px;
}

.modal-title.compact {
  font-size: 20px;
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.modal-subtitle.compact {
  font-size: 12px;
}

.modal-body {
  padding: 24px 24px 28px;
}

.modal-body.compact {
  padding: 22px 22px 26px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.modal-label.optional .muted {
  font-weight: 500;
}

.modal-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-phone-row {
  gap: 10px;
}

.modal-input {
  flex: 1;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0b1220;
  color: var(--text);
  padding: 0 12px;
  font-size: 14px;
}

.modal-input::placeholder {
  color: var(--muted);
}

.modal-country-select {
  min-width: 110px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0b1220;
  color: var(--text);
  padding: 0 10px;
  font-size: 14px;
}

.modal-phone-input {
  flex: 1;
}

.modal-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  height: 44px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-blue));
  color: white;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 207, 200, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.modal-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 207, 200, 0.32);
}

.modal-submit svg {
  stroke: white;
}

.modal-error {
  font-size: 12px;
  color: #f97373;
  margin: 4px 0 0;
}

.modal-response-time {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin: 6px 0 0;
}

.modal-response-time.small {
  font-size: 12px;
}

.modal-textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px;
  resize: vertical;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.modal-checkbox-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SUCCESS TOAST
   ═══════════════════════════════════════════════════════════════════════════ */

.success-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-120%);
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.35), 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 90%;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  pointer-events: none;
}

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

.success-toast-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-toast-icon svg {
  width: 14px;
  height: 14px;
  stroke: white;
  stroke-width: 3;
}

.success-toast-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.success-toast-title {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
}

.success-toast-message {
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .hero--centered {
    padding: 60px 16px 48px;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
  }

  .value-prop {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-block,
  .feature-block--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-block--reverse .feature-block__img-wrap,
  .feature-block--reverse .feature-block__text {
    order: unset;
  }

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

  .cta-box {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .cta-content p {
    max-width: 100%;
  }

  .landing-footer {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .landing-wrapper {
    padding: 12px 16px 36px;
  }

  /* ── Nav: hamburger menu ── */

  .landing-nav {
    padding: 8px 12px;
    position: relative;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-actions {
    display: flex;
    position: absolute;
    top: 100%;
    left: -1px;
    right: -1px;
    flex-direction: column;
    padding: 16px;
    background: rgba(17, 24, 39, 0.97);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    gap: 6px;
    z-index: 101;
    overflow: visible;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .nav-actions.mobile-menu-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Reorder items: CTA first, login second */
  .nav-actions .btn.primary { order: 1; }
  .nav-actions .btn.ghost { order: 2; }

  .nav-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    border-radius: var(--radius-md);
  }

  .nav-actions .btn.ghost {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text);
  }

  .nav-actions .btn.ghost:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .brand-mark {
    width: 26px;
    height: 26px;
  }

  .brand-name {
    font-size: 16px;
  }

  /* ── Hero ── */

  .hero--centered {
    padding: 40px 8px 36px;
  }

  .hero--centered::before {
    width: 100%;
    height: 300px;
  }

  .hero--centered h1 {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-cta {
    flex-direction: column;
    gap: 10px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  /* ── Sections ── */

  .section {
    padding: 40px 0;
  }

  .value-prop {
    padding: 32px 16px;
    gap: 32px;
  }

  /* ── Features ── */

  .feature-block {
    padding: 16px;
  }

  .feature-block__img {
    max-height: 260px;
  }

  /* ── CTA ── */

  .cta-content h2 {
    font-size: 18px;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  /* ── Footer ── */

  .footer-link-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* ── Modals ── */

  .modal-content {
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-checkbox-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ONBOARDING FORM
   ═══════════════════════════════════════════════════════════════════════════ */

.onboarding-header {
  text-align: center;
  padding: 32px 20px 0;
  max-width: 600px;
  margin: 0 auto;
}

.onboarding-header h1 {
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}

.section--compact {
  padding: 24px 0 56px;
}

.onboarding-form-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

.onboarding-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.form-section {
  padding: 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all 0.25s ease;
}

.form-section:hover {
  border-color: var(--border-strong);
}

.form-section-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.form-section-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-section-icon--teal {
  background: rgba(0, 207, 200, 0.12);
  color: var(--brand-teal);
}

.form-section-icon--coral {
  background: rgba(236, 135, 102, 0.12);
  color: var(--brand-coral);
}

.form-section-icon--blue {
  background: rgba(42, 107, 255, 0.12);
  color: var(--brand-blue);
}

.form-section-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px;
}

.form-section-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

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

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-label-optional {
  font-weight: 400;
  opacity: 0.7;
}

.form-input,
.form-select {
  height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #0b1220;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 207, 200, 0.15);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

/* Repository cards */
.repositories-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.repository-card {
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.repository-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.repository-number {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.repository-remove-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.repository-remove-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.repository-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Provider selection */
.provider-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.provider-option {
  cursor: pointer;
}

.provider-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.provider-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.2s ease;
}

.provider-radio:checked + .provider-badge {
  border-color: var(--accent);
  background: rgba(0, 207, 200, 0.1);
  color: var(--text);
}

.provider-badge:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
}

.provider-badge--github svg {
  color: #ffffff;
}

.provider-badge--gitlab svg {
  color: #fc6d26;
}

.provider-badge--bitbucket svg {
  color: #2684ff;
}

/* Add repository button */
.add-repository-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  margin-top: 8px;
}

.add-repository-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 207, 200, 0.05);
}

/* Form actions */
.form-actions {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.submit-btn {
  min-width: 200px;
  gap: 10px;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.submit-icon {
  transition: transform 0.2s ease;
}

.submit-btn:hover:not(:disabled) .submit-icon {
  transform: translateX(4px);
}

.form-error {
  text-align: center;
  font-size: 14px;
  color: #f97373;
  padding: 12px;
  background: rgba(249, 115, 115, 0.1);
  border: 1px solid rgba(249, 115, 115, 0.2);
  border-radius: var(--radius-sm);
}

.form-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  opacity: 0.7;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 600px) {
  .form-section {
    padding: 20px;
  }

  .form-section-header {
    flex-direction: column;
    gap: 12px;
  }

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

  .provider-options {
    flex-direction: column;
  }

  .provider-badge {
    width: 100%;
    justify-content: center;
  }
}
