/* ========================================
   Personal Agent Lab
   Aesthetic: Dark editorial / premium tech
   ======================================== */

:root {
  --bg: #ffffff;
  --bg-card: #f6f4fb;
  --bg-elevated: #edeafb;
  --bg-hover: #e4e0f5;
  --surface: #ffffff;
  --text: #1a1a2e;
  --text-dim: #5a5a72;
  --text-muted: #8b8ba0;
  --accent: #14B8A6;
  --accent-light: #2DD4BF;
  --accent-glow: rgba(20, 184, 166, 0.12);
  --warm: #E07A5F;
  --warm-light: #E8967F;
  --warm-glow: rgba(224, 122, 95, 0.12);
  --danger: #e05252;
  --success: #4ecb8d;
  --border: rgba(0, 0, 0, 0.08);
  --border-accent: rgba(20, 184, 166, 0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-display: 'Rubik', sans-serif;
  --font-body: 'Noto Sans Hebrew', 'Rubik', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- Grain overlay ---- */
.grain {
  display: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- Animations ---- */
[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-animate="fade-right"] {
  transform: translateX(40px);
}

[data-animate="fade-left"] {
  transform: translateX(-40px);
}

[data-animate="scale-x"] {
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scaleX(1);
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 200;
  padding: 0;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
}

.logo-text {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.btn-nav {
  padding: 8px 22px !important;
  background: var(--accent) !important;
  color: var(--bg) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: background 0.2s, transform 0.2s !important;
}

.btn-nav:hover {
  background: var(--accent-light) !important;
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dim);
  border-radius: 2px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-align: center;
}

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

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

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(20, 184, 166, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 15px 35px;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(20, 184, 166, 0.04);
}

.btn-accent {
  background: var(--accent);
  color: var(--bg);
}

.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(20, 184, 166, 0.3);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 180px 0 120px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 184, 166, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 184, 166, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, black, transparent);
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 6s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--warm-glow);
  border: 1px solid rgba(224, 122, 95, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--warm);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  font-family: var(--font-display);
}

h1 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.hero-line {
  display: block;
  font-size: clamp(2.5rem, 5.5vw, 3.8rem);
}

.hero-accent {
  color: var(--warm);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.sparkle-icon {
  animation: sparkle-spin 4s ease-in-out infinite;
}

@keyframes sparkle-spin {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: 1; }
  50% { transform: rotate(15deg) scale(1.1); opacity: 0.8; }
}

.hero-subtitle {
  margin-top: 24px;
  font-size: 1.15rem;
  color: var(--text-dim);
  line-height: 1.85;
  max-width: 560px;
}

.hero-cta {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-channels {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.channel-label {
  font-size: 0.85rem;
  color: var(--warm);
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.channel-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(196, 137, 122, 0.08);
  border: 1px solid rgba(196, 137, 122, 0.15);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
  transition: border-color 0.2s, transform 0.2s;
}

.channel:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.12);
  color: var(--text);
}

.channel svg {
  flex-shrink: 0;
}

/* ---- Sections ---- */
.section {
  padding: 120px 0;
  position: relative;
}

.section-dark {
  background: var(--bg-card);
}

/* Angled divider on tinted sections */
.section-dark::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-card);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 1;
}

.section-dark::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-card);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-lead {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ---- Problem / Solution split ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  position: relative;
}

/* VS divider between cards */
.split::after {
  content: 'VS';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  z-index: 2;
}

.split-card {
  padding: 48px 44px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(196, 137, 122, 0.18);
  position: relative;
  overflow: hidden;
}

.split-problem {
  background: linear-gradient(135deg, rgba(224, 122, 95, 0.08), transparent 60%);
}

.split-solution {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.06), transparent 60%);
}

.split-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-family: var(--font-display);
}

.split-problem .split-label { color: var(--warm); }
.split-solution .split-label { color: var(--accent); }

.split-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.split-card p {
  color: var(--text-dim);
  line-height: 1.8;
  font-size: 0.98rem;
}

.split-stat {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}

.split-problem .stat-number { color: var(--warm); }
.split-solution .stat-number { color: var(--accent); }

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---- Benefits ---- */
.section-benefits {
  background: var(--bg);
}

.benefits-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.benefit-card {
  flex: 1;
  max-width: 300px;
  padding: 40px 28px;
  background: rgba(196, 137, 122, 0.12);
  border: 1px solid rgba(196, 137, 122, 0.18);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}

.benefit-card[data-animate] {
  transform: translateY(48px) scale(0.95);
  opacity: 0;
}

.benefit-card[data-animate].is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.12);
}

.benefit-card-accent {
  border-color: rgba(196, 137, 122, 0.25);
  background: rgba(196, 137, 122, 0.16);
}

.benefit-card-accent:hover {
  border-color: var(--accent);
}

.benefit-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.benefit-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: var(--accent-glow);
  border-radius: 14px;
  color: var(--accent);
  animation: float 4s ease-in-out infinite;
}

.benefit-card:nth-child(1) .benefit-icon-wrap {
  color: var(--warm);
  background: var(--warm-glow);
}
.benefit-card:nth-child(3) .benefit-icon-wrap { animation-delay: -1s; }
.benefit-card:nth-child(5) .benefit-icon-wrap {
  animation-delay: -2s;
  color: var(--warm);
  background: var(--warm-glow);
}

.benefit-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.benefit-card p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.7;
}

.benefit-connector {
  width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.connector-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
}

.connector-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ---- Features ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 32px 28px;
  background: rgba(196, 137, 122, 0.12);
  border: 1px solid rgba(196, 137, 122, 0.18);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  grid-column: span 2;
  position: relative;
  overflow: hidden;
}

/* First 2 cards are hero-sized */
.feature-card:nth-child(1),
.feature-card:nth-child(2) {
  grid-column: span 3;
  padding: 40px 36px;
}

.feature-card:nth-child(1) h4,
.feature-card:nth-child(2) h4 {
  font-size: 1.2rem;
}

.feature-card:nth-child(1) p,
.feature-card:nth-child(2) p {
  font-size: 0.95rem;
}

/* Last card centered if alone */
.feature-card:last-child:nth-child(3n + 1) {
  grid-column: 3 / 5;
}

/* Gradient border glow on hover */
.feature-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent, rgba(45, 212, 191, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}

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

.feature-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--accent);
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(5) .feature-icon,
.feature-card:nth-child(8) .feature-icon {
  background: var(--warm-glow);
  color: var(--warm);
}

.feature-card h4 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---- Use Cases ---- */
.cases-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-card {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 36px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.case-card:hover {
  border-color: rgba(0, 0, 0, 0.1);
  transform: translateX(-4px);
}

.case-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.06);
  letter-spacing: -0.03em;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 4px;
}

.case-content {
  flex: 1;
}

.case-content h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.case-content p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.8;
}

.case-tag {
  flex-shrink: 0;
  padding: 5px 14px;
  background: var(--accent-glow);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  align-self: center;
}

/* ---- Service (Timeline) ---- */
.service-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-right: 60px;
}

/* Vertical glowing line */
.service-timeline::before {
  content: '';
  position: absolute;
  right: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--accent), var(--border), var(--accent), transparent);
}

.service-step {
  position: relative;
  padding: 0 40px 56px 0;
}

.service-step:last-child {
  padding-bottom: 0;
}

/* Timeline dot */
.service-step::before {
  content: '';
  position: absolute;
  right: -41px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(20, 184, 166, 0.4);
  z-index: 2;
}

/* Pulse ring on dot */
.service-step::after {
  content: '';
  position: absolute;
  right: -45px;
  top: 4px;
  width: 20px;
  height: 20px;
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  animation: pulse-ring 3s ease-in-out infinite;
}

.service-step:nth-child(2)::before { background: var(--warm); box-shadow: 0 0 16px rgba(224, 122, 95, 0.4); }
.service-step:nth-child(2)::after { animation-delay: -0.75s; border-color: rgba(224, 122, 95, 0.25); }
.service-step:nth-child(3)::after { animation-delay: -1.5s; }
.service-step:nth-child(4)::before { background: var(--warm); box-shadow: 0 0 16px rgba(224, 122, 95, 0.4); }
.service-step:nth-child(4)::after { animation-delay: -2.25s; border-color: rgba(224, 122, 95, 0.25); }

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.5); opacity: 0; }
}

.service-step-content {
  padding: 28px 32px;
  background: rgba(196, 137, 122, 0.12);
  border: 1px solid rgba(196, 137, 122, 0.18);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.service-step-content:hover {
  transform: translateX(-6px);
  border-color: var(--border-accent);
}

.service-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 12px;
}

.service-step-content h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-step:nth-child(2) .service-num,
.service-step:nth-child(4) .service-num {
  color: var(--warm);
}

.service-step-content p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---- Security ---- */
.security-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.security-card {
  flex: 0 1 calc(33.333% - 14px);
  min-width: 280px;
  padding: 36px 28px;
  background: rgba(196, 137, 122, 0.12);
  border: 1px solid rgba(196, 137, 122, 0.18);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

/* Scan-line shimmer */
.security-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(20, 184, 166, 0.04) 50%,
    transparent 60%
  );
  transform: rotate(-45deg) translateY(-100%);
  transition: transform 0s;
  pointer-events: none;
}

.security-card:hover::after {
  transform: rotate(-45deg) translateY(100%);
  transition: transform 0.8s ease;
}

.security-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.security-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--accent);
}

.security-card:nth-child(2) .security-icon,
.security-card:nth-child(4) .security-icon {
  background: var(--warm-glow);
  border-color: rgba(224, 122, 95, 0.25);
  color: var(--warm);
}

.security-card h4 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.security-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---- Pilot ---- */
.section-pilot {
  background: var(--bg);
  padding: 100px 0 120px;
}

.pilot-box {
  position: relative;
  padding: 72px 64px;
  background: rgba(196, 137, 122, 0.12);
  border: 1px solid rgba(196, 137, 122, 0.18);
  border-radius: var(--radius-xl);
  text-align: center;
  overflow: hidden;
}

.pilot-box-compact {
  padding: 56px 64px;
  max-width: 700px;
  margin: 0 auto;
}

.pilot-box-compact h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 16px 0 12px;
  letter-spacing: -0.03em;
}

.pilot-desc {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto 32px;
}

.pilot-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  top: -250px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(20, 184, 166, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pilot-header {
  position: relative;
  margin-bottom: 48px;
}

.pilot-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(78, 203, 141, 0.1);
  border: 1px solid rgba(78, 203, 141, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--success);
  margin-bottom: 20px;
  font-family: var(--font-display);
}

.pilot-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.pilot-header p {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
}


/* ---- Contact Form ---- */
.contact-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: right;
}

.form-row {
  display: flex;
  gap: 14px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

.form-input:focus {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.form-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: rgba(78, 203, 141, 0.08);
  border: 1px solid rgba(78, 203, 141, 0.2);
  border-radius: 10px;
  color: var(--success);
  font-weight: 500;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
}

/* ---- Footer ---- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
  color: var(--text-dim);
}

.footer-contact a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero {
    padding: 140px 0 80px;
    min-height: auto;
  }

  .hero-line {
    font-size: 2.2rem;
  }

  .section {
    padding: 80px 0;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
  }

  .nav-links.open {
    display: flex;
  }

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

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

  .feature-card,
  .feature-card:nth-child(1),
  .feature-card:nth-child(2) {
    grid-column: span 1;
    padding: 28px 24px;
  }

  .split::after {
    display: none;
  }

  .section-dark::before,
  .section-dark::after {
    display: none;
  }

  .service-timeline {
    padding-right: 40px;
  }

  .service-timeline::before {
    right: 9px;
  }

  .service-step::before {
    right: -31px;
  }

  .service-step::after {
    right: -35px;
  }

  .security-card {
    flex: 1 1 100%;
    min-width: 0;
  }

  .pilot-box-compact {
    padding: 40px 24px;
  }

  .benefits-track {
    flex-direction: column;
    gap: 16px;
  }

  .benefit-connector {
    width: 1px;
    height: 40px;
    flex-direction: column;
  }

  .connector-line {
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, var(--border), var(--accent), var(--border));
  }

  .benefit-card {
    max-width: 100%;
  }

  .case-card {
    flex-direction: column;
    gap: 16px;
    padding: 28px 24px;
  }

  .case-tag {
    align-self: flex-start;
  }

  .hero-cta {
    flex-direction: column;
  }

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

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .hero-channels {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

}

@media (min-width: 769px) and (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card,
  .feature-card:nth-child(1),
  .feature-card:nth-child(2) {
    grid-column: span 1;
  }
}
