/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;   /* fallback: browsers without svh support */
  min-height: 100svh;  /* W3C standard: excludes mobile browser chrome (iOS 15.4+, Chrome 108+) */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--gray-900);
  --mouse-x: 50%;
  --mouse-y: 50%;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(500px circle at var(--mouse-x) var(--mouse-y), rgba(96,165,250,0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero:hover .hero-glow {
  opacity: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 30%, rgba(0,0,0,0.35) 100%);
}

.hero-mesh {
  position: absolute;
  inset: -15%;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(42,90,74,0.32), transparent 50%),
    radial-gradient(ellipse 60% 80% at 80% 70%, rgba(26,58,90,0.30), transparent 50%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(42,90,74,0.12), transparent 60%);
  animation: meshFloat 12s ease-in-out infinite alternate;
}

@keyframes meshFloat {
  0% { transform: scale(1) translate(0, 0); }
  33% { transform: scale(1.05) translate(-10px, 15px); }
  66% { transform: scale(0.98) translate(10px, -10px); }
  100% { transform: scale(1.02) translate(-5px, 5px); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero h1 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease 0.15s forwards;
}

.hero h1 .hero-tw-word {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  color: var(--hero-tw-color, #60a5fa);
}

.hero h1 .hero-tw-cursor {
  display: inline-block;
  width: 3px;
  height: 0.75em;
  vertical-align: baseline;
  margin-left: 4px;
  background: var(--hero-tw-color, #60a5fa) !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  animation: cursorBlink 1s step-end infinite;
}

.hero-subtitle {
  font-size: 20px;
  color: rgba(255,255,255,0.5);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease 0.3s forwards;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease 0.45s forwards;
}

.hero-buttons .btn-primary {
  width: 220px;
  height: 56px;
}

.hero-buttons .btn-secondary {
  width: 220px;
  height: 56px;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
}

.hero-buttons .btn-secondary:hover {
  background: rgba(255,255,255,0.14);
}

.hero-mouse {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-mouse-icon {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}

.hero-mouse-icon::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: mouseScroll 2s ease-in-out infinite;
}

@keyframes mouseScroll {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SERVICES ===== */
.services {
  position: relative;
  z-index: 1;
  padding: 120px 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.service-card {
  padding: 36px;
}

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

.service-card-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card ul li {
  font-size: 14px;
  color: var(--text-tertiary);
  padding-left: 20px;
  position: relative;
}

.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Services cards: clean white with subtle spotlight */
.services .service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  --mouse-x: 50%;
  --mouse-y: 50%;
  --card-opacity: 0;
}

.services .service-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Spotlight glow */
.services .service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(
    500px circle at var(--mouse-x) var(--mouse-y),
    rgba(42, 90, 74, 0.06),
    transparent 40%
  );
  opacity: var(--card-opacity);
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

/* Staggered entrance animation */
.services .service-card.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.services .service-card.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.services .service-card.reveal:nth-child(1) { transition-delay: 0ms; }
.services .service-card.reveal:nth-child(2) { transition-delay: 80ms; }
.services .service-card.reveal:nth-child(3) { transition-delay: 160ms; }
.services .service-card.reveal:nth-child(4) { transition-delay: 240ms; }

/* ===== APPROACH (dark section) ===== */
.approach {
  position: relative;
  z-index: 1;
  padding: 120px 24px;
  background: #1a1a2e;
  color: white;
  overflow: hidden;
}

.approach::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(30, 60, 90, 0.6) 0%, rgba(10, 10, 30, 0.9) 70%),
    linear-gradient(180deg, rgba(20, 30, 50, 0.9) 0%, rgba(10, 15, 25, 1) 100%);
  z-index: 0;
}

.approach > * {
  position: relative;
  z-index: 1;
}

.approach .section-label { color: rgba(255,255,255,0.5); }
.approach .section-title { color: white; }
.approach .section-subtitle { color: rgba(255,255,255,0.6); }

.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.approach-step {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.approach-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
}

/* Connector line */
.approach-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 55px;
  left: calc(50% + 24px);
  width: calc(100% - 48px);
  height: 1px;
  background: rgba(255,255,255,0.15);
  z-index: 1;
}

.approach-step h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
}

.approach-step p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ===== DIFFERENCE (About) ===== */
.difference {
  position: relative;
  z-index: 1;
  padding: 120px 24px;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.compare-card {
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.compare-card.traditional {
  background: var(--surface);
  border: 1px solid var(--border);
  opacity: 0.75;
}

.compare-card.datacave {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.compare-card.datacave::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
}

.compare-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.traditional .compare-badge { background: rgba(0,0,0,0.05); color: var(--text-tertiary); }
.datacave .compare-badge { background: var(--accent-light); color: var(--accent); }

.compare-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.compare-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare-list li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 28px;
  position: relative;
}

.traditional .compare-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid var(--text-tertiary);
}

.datacave .compare-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
}

.datacave .compare-list li::after {
  content: '';
  position: absolute;
  left: 5px; top: 11px;
  width: 6px; height: 3px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.compare-list li strong { color: var(--text); font-weight: 600; }

/* ===== OUTCOMES ===== */
.outcomes {
  position: relative;
  z-index: 1;
  padding: 120px 24px;
  background: var(--surface);
}

.outcomes-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.outcomes-text .section-label { margin-bottom: 16px; }

.outcomes-text h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 20px;
}

.outcomes-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.outcomes-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.outcomes-stat .stat-number {
  font-size: clamp(64px, 10vw, 96px);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 12px;
}

.outcomes-stat .stat-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ===== FAQ ACCORDION ===== */
.faq {
  padding: 72px 24px 80px;
  background: #fff;
}
.faq .section-label { color: rgba(0,0,0,0.35); font-size: 14px; letter-spacing: 1.5px; }
.faq .section-header { margin-bottom: 32px; }

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.open { border-color: var(--border-hover); }

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
}

.faq-trigger h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.faq-trigger-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.open .faq-trigger-icon {
  transform: rotate(45deg);
  background: var(--accent-light);
}

.faq-trigger-icon svg { width: 14px; height: 14px; color: var(--text-secondary); }
.faq-item.open .faq-trigger-icon svg { color: var(--accent); }

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-body-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== CONTACT HONEYPOT ===== */
.form-alt {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ===== CONTACT ===== */
.contact {
  position: relative;
  z-index: 1;
  padding: 60px 24px 72px;
  background: var(--gray-900);
}

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

.contact .section-label {
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  letter-spacing: 1.5px;
}

.contact .section-title { color: #fff; }

.contact .section-subtitle { color: rgba(255,255,255,0.5); }

.contact-grid {
  max-width: 700px;
  margin: 0 auto;
}

.contact-form-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px;
  box-shadow: none;
}

.contact-form-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-row .form-group { margin-bottom: 0; }

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.contact .form-group label { color: rgba(255,255,255,0.55); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}

.contact .form-group input,
.contact .form-group select,
.contact .form-group textarea {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
}

.contact .form-group input::placeholder,
.contact .form-group textarea::placeholder { color: rgba(255,255,255,0.28); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(0,0,0,0.25);
}

.contact .form-group input:focus,
.contact .form-group select:focus,
.contact .form-group textarea:focus { border-color: rgba(255,255,255,0.3); }

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  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 fill='rgba(0,0,0,0.35)' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.contact .form-group select {
  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 fill='rgba(255,255,255,0.45)' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  color-scheme: dark;
}

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

.contact-form-card .btn-light-section {
  width: 100%;
  margin-top: 8px;
  background: linear-gradient(rgb(249, 247, 245) 0%, rgb(236, 235, 233) 100%);
  color: #000;
  border-radius: 100px;
  box-shadow:
    rgb(255, 255, 255) 0px 2px 0px 0px inset,
    rgba(255, 255, 255, 0.5) 0px 1px 1px 0px inset,
    rgba(0, 0, 0, 0.5) 0px 0px 1px 0px,
    rgba(0, 0, 0, 0.1) 0px 2px 4px 0px,
    rgba(0, 0, 0, 0.1) 0px 12px 30px 0px;
}

/* Error state on dark */
.contact .form-group input.input-error,
.contact .form-group select.input-error,
.contact .form-group textarea.input-error {
  border-color: #f87171;
  background: rgba(248,113,113,0.06);
}

.contact-response-note {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin-top: 16px;
}

.contact-footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-link:hover { color: rgba(255,255,255,0.9); }

.contact-link svg { width: 18px; height: 18px; flex-shrink: 0; stroke: currentColor; }

/* ===== TAB-SWITCHED FEATURE PANELS ===== */
.feature-tabs {
  background: var(--surface);
  padding-top: 72px;
  padding-bottom: 80px;
}

.feature-tabs-label {
  display: block;
  text-align: center;
  color: rgba(0,0,0,0.35);
  margin-bottom: 20px;
  font-size: 14px;
  letter-spacing: 1.5px;
}

.feature-tabs {
  scroll-margin-top: 65px;
}

/* Segmented control tab bar */
.tab-bar {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-full);
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.tab-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: rgba(0,0,0,0.45);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  user-select: none;
  position: relative;
  font-family: inherit;
  overflow: hidden;
}
.tab-pill:hover { color: rgba(0,0,0,0.75); background: rgba(0,0,0,0.04); }
.tab-pill.active {
  color: #111827;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12), 0 0 0 0.5px rgba(0,0,0,0.06);
}
.tab-pill-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tab-pill-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tab-pill-progress {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}
.tab-pill-progress rect {
  stroke: rgba(0,0,0,0.1);
  stroke-width: 2;
  fill: none;
}
.tab-pill.active .tab-pill-progress rect {
  stroke: rgba(0,0,0,0.45);
  stroke-width: 2;
}
.tab-panels { position: relative; max-width: 1100px; margin: 0 auto; }
.tab-panel {
  display: none;
  animation: panelFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.tab-panel.active { display: grid; }
@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.tab-panel {
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
}
.tab-panel-text h3 {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.tab-panel-text p {
  font-size: 16px;
  color: rgba(0,0,0,0.5);
  line-height: 1.7;
  margin-bottom: 28px;
}
.tab-panel-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}
.tab-panel-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(0,0,0,0.65);
}
.tab-panel-features li svg { flex-shrink: 0; stroke: rgba(0,0,0,0.4); }
.tab-panel-visual { display: none; }
.sv-visual { display: none; }
.sv-svg { display: none; }
.mock-ui {
  width: 100%;
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.mock-ui-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.mock-ui-dot { width: 8px; height: 8px; border-radius: 50%; }
.mock-ui-dot:nth-child(1) { background: #ef4444; }
.mock-ui-dot:nth-child(2) { background: #f59e0b; }
.mock-ui-dot:nth-child(3) { background: #22c55e; }
.mock-ui-body { padding: 20px; }
.mock-ui-line {
  height: 10px;
  border-radius: 5px;
  background: var(--surface);
  margin-bottom: 10px;
}
.mock-ui-line:nth-child(1) { width: 65%; }
.mock-ui-line:nth-child(2) { width: 85%; }
.mock-ui-line:nth-child(3) { width: 50%; }
.mock-ui-line:nth-child(4) { width: 72%; }
.mock-ui-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.mock-ui-card {
  height: 60px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

/* ===== TYPEWRITER SECTION ===== */
.typewriter-section {
  background: var(--gray-900);
  text-align: center;
  overflow: hidden;
}
.typewriter-section .section-label { color: rgba(255,255,255,0.4); }
.typewriter-section .section-header { margin-bottom: 16px; }
.typewriter-heading {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 24px;
}
.typewriter-word {
  color: var(--tw-color, #8b5cf6);
  position: relative;
}
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--tw-color, #8b5cf6);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: cursorBlink 1s step-end infinite;
}
.typewriter-glow {
  position: absolute;
  inset: -40px -80px;
  background: radial-gradient(ellipse at center, var(--tw-glow, rgba(139,92,246,0.12)), transparent 70%);
  pointer-events: none;
  z-index: -1;
  transition: background 0.6s ease;
}
.typewriter-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.typewriter-subtitle.changing {
  opacity: 0;
  transform: translateY(8px);
}

/* ===== TERMINAL DEMO ===== */
.terminal-demo { background: var(--surface); }
.terminal-window {
  max-width: 720px;
  margin: 0 auto;
  background: #0d1117;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.05);
}
.terminal-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: #161b22;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.terminal-dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }
.terminal-titlebar-text {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}
.terminal-body {
  padding: 24px;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 13px;
  line-height: 1.7;
  height: 320px;
  overflow-y: auto;
  position: relative;
}
.terminal-body::-webkit-scrollbar { width: 10px; }
.terminal-body::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); }
.terminal-body::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.3);
  border-radius: 5px;
}
.terminal-body::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.45); }
.terminal-line { white-space: pre-wrap; word-break: break-all; }
.terminal-line .prompt { color: #4ade80; }
.terminal-line .command { color: #e6edf3; }
.terminal-line .flag { color: #79c0ff; }
.terminal-line .success { color: #4ade80; }
.terminal-line .info { color: #8b949e; }
.terminal-line .url { color: #79c0ff; }
.terminal-line .stat-value { color: #e6edf3; font-weight: 600; }
.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 17px;
  background: #4ade80;
  vertical-align: text-bottom;
  animation: cursorBlink 1s step-end infinite;
}
.terminal-progress-bar { display: inline-block; color: #4ade80; }
.terminal-replay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}
.terminal-replay:hover {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
}

/* ===== TESTIMONIAL CAROUSEL ===== */
.testimonials { background: var(--gray-900); }
.testimonials .section-label { color: rgba(255,255,255,0.4); }
.testimonials .section-title { color: #fff; }
.testimonial-carousel {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-slide {
  flex: 0 0 100%;
  text-align: center;
  padding: 0 24px;
}
.testimonial-quote {
  font-size: 24px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  position: relative;
}
.testimonial-quote::before {
  content: '\201C';
  display: block;
  font-size: 64px;
  font-weight: 800;
  color: rgba(255,255,255,0.15);
  line-height: 1;
  margin-bottom: 8px;
}
.testimonial-author-name { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.testimonial-author-role { font-size: 14px; color: rgba(255,255,255,0.5); }
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}
.testimonial-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

/* ===== DARK CTA ===== */
.cta-dark {
  position: relative;
  padding: 160px 24px;
  background: var(--gray-900);
  overflow: hidden;
  text-align: center;
}
.cta-dark-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
}
.cta-dark-glow-1 { top: -200px; left: -100px; background: var(--blue); }
.cta-dark-glow-2 { bottom: -200px; right: -100px; background: #2a5a4a; }
.cta-dark-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}
.cta-dark h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.cta-dark p {
  font-size: 18px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: 40px;
}
.cta-dark-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== FORM SUCCESS MESSAGE ===== */
/* The card already has 40px padding — success content uses minimal own padding */
.contact-success {
  text-align: center;
  padding: 16px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.contact-success h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-success p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 340px;
}

/* Dark section overrides — all variables above are light-mode (black-based) */
.contact .contact-success { color: #fff; }
.contact .contact-success p { color: rgba(255,255,255,0.6); }

/* ===== CONTACT FORM — SUBMIT BUTTON STATES ===== */
.contact-form-card .btn-light-section.is-loading {
  pointer-events: none;
  opacity: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-spinner {
  display: block;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(0,0,0,0.14);
  border-top-color: rgba(0,0,0,0.55);
  border-radius: 50%;
  animation: contact-spin 0.65s linear infinite;
}

@keyframes contact-spin {
  to { transform: rotate(360deg); }
}

/* ===== CONTACT FORM — FIELD ERRORS ===== */
.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
  border-color: #c0392b;
  background: rgba(192,57,43,0.03);
}

.form-field-error {
  font-size: 12px;
  font-weight: 500;
  color: #c0392b;
  margin-top: 5px;
}

/* ===== CONTACT SUCCESS — ANIMATED (JS-driven) ===== */
.contact-success--anim {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.38s cubic-bezier(0.4,0,0.2,1),
              transform 0.38s cubic-bezier(0.4,0,0.2,1);
}

.contact-success--anim.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Check icon container */
.cs-check {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.cs-svg {
  width: 60px;
  height: 60px;
  overflow: visible;
}

/* Circle draws itself — circumference of r=24 circle is ~151 */
.cs-circle {
  stroke: var(--accent);
  fill: none;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  transform-origin: center;
  transform: rotate(-90deg);
}

.contact-success--anim.is-visible .cs-circle {
  animation: cs-draw-circle 0.52s cubic-bezier(0.4,0,0.2,1) 0.05s forwards;
}

/* Tick draws itself — polyline length ~38px */
.cs-tick {
  stroke: var(--accent);
  fill: none;
  stroke-dasharray: 38;
  stroke-dashoffset: 38;
}

.contact-success--anim.is-visible .cs-tick {
  animation: cs-draw-tick 0.28s cubic-bezier(0.4,0,0.2,1) 0.48s forwards;
}

@keyframes cs-draw-circle {
  to { stroke-dashoffset: 0; }
}

@keyframes cs-draw-tick {
  to { stroke-dashoffset: 0; }
}

/* Heading, paragraph and reset button fade up with stagger */
.contact-success--anim h3,
.contact-success--anim p,
.contact-success--anim .cs-reset-btn {
  opacity: 0;
  transform: translateY(8px);
}

.contact-success--anim.is-visible h3 {
  animation: cs-fade-up 0.3s ease 0.65s forwards;
}

.contact-success--anim.is-visible p {
  animation: cs-fade-up 0.3s ease 0.78s forwards;
}

.contact-success--anim.is-visible .cs-reset-btn {
  animation: cs-fade-up 0.3s ease 0.9s forwards;
}

@keyframes cs-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SEND ANOTHER MESSAGE BUTTON ===== */
.cs-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  margin-top: 24px;
  font: 500 13px/1 inherit;
  color: var(--text-secondary);
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
}

.contact .cs-reset-btn { color: rgba(255,255,255,0.45); }

.cs-reset-btn::before {
  content: '←';
  display: inline-block;
  transition: transform 0.18s ease;
}

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

.contact .cs-reset-btn:hover { color: rgba(255,255,255,0.85); }

.cs-reset-btn:hover::before {
  transform: translateX(-3px);
}
