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

:root {
  --navy: #001C44;
  --navy-light: #002855;
  --brand: #0096FF;
  --brand-hover: #007ACC;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-muted: #6b7280;
  --mint: #e8f5e9;
  --brand-bg: #e3f4ff;
  --beige: #faf6f0;
  --blue-bg: #e3f2fd;
  --faq-bg: #f0f4f0;
  --radius: 16px;
  --radius-pill: 50px;
  --shadow: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

a { text-decoration: none; color: inherit; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s;
  text-align: center;
}

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

.btn-primary {
  background: var(--brand);
  color: var(--white);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 18px rgba(0, 150, 255, 0.28);
}

.btn-primary:hover {
  background: var(--brand-hover);
  box-shadow: 0 8px 28px rgba(0, 150, 255, 0.38);
}

.btn-sm { padding: 8px 22px; font-size: 0.8rem; }
.btn-md { padding: 12px 36px; font-size: 0.9rem; }
.btn-lg { padding: 16px 48px; font-size: 1rem; }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ===== Hero ===== */
.hero {
  background: var(--navy);
  color: var(--white);
  min-height: 520px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: padding 0.35s ease, background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

.nav.is-scrolled {
  padding: 16px 48px;
  background: rgba(0, 28, 68, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.logo {
  display: flex;
  align-items: center;
  position: relative;
  height: 36px;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo-img--dark {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
}

.nav.is-scrolled .logo-img--light {
  opacity: 0;
}

.nav.is-scrolled .logo-img--dark {
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px 80px;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  max-width: 720px;
  line-height: 1.25;
  margin-bottom: 36px;
}

.hero-content .btn-lg { margin-bottom: 0; }

.star-rating {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.star-rating::before {
  content: '';
  display: inline-block;
  width: 88px;
  height: 14px;
  background-color: #fbbf24;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 16'%3E%3Cpath fill='black' d='M8 1.5l1.8 3.7 4.1.6-3 2.9.7 4.1L8 10.8 4.4 12.8l.7-4.1-3-2.9 4.1-.6L8 1.5zm18 0 1.8 3.7 4.1.6-3 2.9.7 4.1-3.7-2 3.7 2 .7-4.1-3-2.9 4.1-.6L26 1.5zm18 0 1.8 3.7 4.1.6-3 2.9.7 4.1-3.7-2 3.7 2 .7-4.1-3-2.9 4.1-.6L44 1.5zm18 0 1.8 3.7 4.1.6-3 2.9.7 4.1-3.7-2 3.7 2 .7-4.1-3-2.9 4.1-.6L62 1.5zm18 0 1.8 3.7 4.1.6-3 2.9.7 4.1-3.7-2 3.7 2 .7-4.1-3-2.9 4.1-.6L80 1.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 16'%3E%3Cpath fill='black' d='M8 1.5l1.8 3.7 4.1.6-3 2.9.7 4.1L8 10.8 4.4 12.8l.7-4.1-3-2.9 4.1-.6L8 1.5zm18 0 1.8 3.7 4.1.6-3 2.9.7 4.1-3.7-2 3.7 2 .7-4.1-3-2.9 4.1-.6L26 1.5zm18 0 1.8 3.7 4.1.6-3 2.9.7 4.1-3.7-2 3.7 2 .7-4.1-3-2.9 4.1-.6L44 1.5zm18 0 1.8 3.7 4.1.6-3 2.9.7 4.1-3.7-2 3.7 2 .7-4.1-3-2.9 4.1-.6L62 1.5zm18 0 1.8 3.7 4.1.6-3 2.9.7 4.1-3.7-2 3.7 2 .7-4.1-3-2.9 4.1-.6L80 1.5z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(0,150,255,0.10) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(99,102,241,0.10) 0%, transparent 50%);
  pointer-events: none;
}

.hero-bg-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.03) 39px, rgba(255,255,255,0.03) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.03) 39px, rgba(255,255,255,0.03) 40px);
  animation: gridDrift 28s linear infinite;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  animation: orbFloat 14s ease-in-out infinite;
}

.hero-orb-1 {
  width: 420px;
  height: 420px;
  background: rgba(0, 150, 255, 0.35);
  top: -120px;
  right: -80px;
}

.hero-orb-2 {
  width: 320px;
  height: 320px;
  background: rgba(99, 102, 241, 0.28);
  bottom: -100px;
  left: -60px;
  animation-delay: -4s;
}

.hero-orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(77, 184, 255, 0.4);
  top: 40%;
  left: 45%;
  animation-delay: -8s;
}

/* ===== Intro ===== */
.intro {
  padding: 80px 0;
  text-align: center;
}

.intro h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  max-width: 800px;
  margin: 0 auto 28px;
  line-height: 1.4;
}

.intro > .container > .btn { margin-bottom: 60px; }

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}

.intro-video { position: relative; }

.video-frame {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: var(--radius);
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s;
}

.intro-video:hover .video-frame {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 56px rgba(0, 28, 68, 0.18);
}

.video-person {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 28, 68, 0.35) 0%, transparent 45%),
    url('../images/grupo-empresarial.jpg') center/cover no-repeat;
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.chart-mini {
  position: absolute;
  bottom: 20%;
  left: 8%;
  right: 8%;
  background: rgba(255,255,255,0.92);
  border-radius: 10px;
  padding: 12px;
  height: 80px;
}

.chart-svg { width: 100%; height: 100%; }

.chart-line {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro-video.is-visible .chart-line {
  stroke-dashoffset: 0;
}

.stat-card {
  position: absolute;
  background: var(--white);
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: cardFloat 5s ease-in-out infinite;
}

.stat-card-1 { top: 12%; right: 8%; animation-delay: 0s; }
.stat-card-2 { top: 12%; left: 8%; animation-delay: -2.5s; }

.stat-label { font-size: 0.65rem; color: var(--text-muted); font-weight: 500; }
.stat-value { font-size: 1rem; font-weight: 800; color: var(--brand); }

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,150,255,0.45);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
  animation: playPulse 2.8s ease-in-out infinite;
}

.play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--white);
  margin-left: 4px;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 8px 32px rgba(0, 150, 255, 0.55);
  animation: none;
}

.intro-text h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.intro-text p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro-text.is-visible .check-list li {
  opacity: 1;
  transform: translateX(0);
}

.intro-text.is-visible .check-list li:nth-child(1) { transition-delay: 0.1s; }
.intro-text.is-visible .check-list li:nth-child(2) { transition-delay: 0.22s; }
.intro-text.is-visible .check-list li:nth-child(3) { transition-delay: 0.34s; }

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #dcfce7;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.check::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid #16a34a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

/* ===== Features ===== */
.features { padding-bottom: 40px; }

.features-header {
  text-align: center;
  padding: 60px 24px 40px;
}

.features-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.features-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 48px;
  margin-bottom: 0;
}

.feature-row.reverse .feature-image { order: 2; }
.feature-row.reverse .feature-text { order: 1; }

.bg-mint { background: var(--mint); }
.bg-brand { background: var(--brand-bg); }
.bg-beige { background: var(--beige); }
.bg-blue { background: var(--blue-bg); }

.feature-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.feature-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.link-more {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity 0.2s, transform 0.25s;
  display: inline-block;
}

.link-more:hover {
  opacity: 0.85;
  transform: translateX(4px);
}

/* ===== Mockups ===== */
.mockup {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s;
}

.feature-image:hover .mockup {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 28px 60px rgba(0, 28, 68, 0.14);
}

.feature-image {
  perspective: 1200px;
}

.mockup-header {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }

.mockup-title {
  margin-left: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mockup-body { padding: 16px; }

.search-bar {
  height: 32px;
  background: #f1f5f9;
  border-radius: 8px;
  margin-bottom: 12px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-card {
  background: #f8fafc;
  border-radius: 8px;
  overflow: hidden;
}

.product-img { height: 60px; }
.p1 { background: linear-gradient(135deg, #6366f1, #818cf8); }
.p2 { background: linear-gradient(135deg, #ec4899, #f472b6); }
.p3 { background: linear-gradient(135deg, #14b8a6, #2dd4bf); }
.p4 { background: linear-gradient(135deg, #f59e0b, #fbbf24); }

.product-info { padding: 8px; }
.line { height: 6px; background: #e2e8f0; border-radius: 3px; margin-bottom: 4px; }
.w80 { width: 80%; }
.w70 { width: 70%; }
.w60 { width: 60%; }
.w50 { width: 50%; }
.w40 { width: 40%; }
.w90 { width: 90%; }

/* Import mockup */
.import-body { padding: 20px; }

.import-product {
  display: flex;
  gap: 16px;
  align-items: center;
}

.headphones {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #0096FF, #4db8ff);
  border-radius: 12px;
  flex-shrink: 0;
  position: relative;
}

.headphones::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 42px;
  height: 42px;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-bottom: none;
  border-radius: 22px 22px 0 0;
  top: 18px;
}

.headphones::after {
  content: '';
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 14px;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-top: none;
  border-radius: 0 0 14px 14px;
}

.import-details { flex: 1; }
.price-tag { font-size: 1.2rem; font-weight: 800; color: var(--brand); margin: 8px 0; }

.import-btn {
  background: var(--brand);
  color: var(--white);
  border: none;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

/* Orders table */
.orders-table { width: 100%; border-collapse: collapse; font-size: 0.75rem; }
.orders-table th { text-align: left; padding: 6px 8px; color: var(--text-muted); font-weight: 600; border-bottom: 1px solid #e2e8f0; }
.orders-table td { padding: 8px; border-bottom: 1px solid #f1f5f9; }

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  font-weight: 700;
}

.badge.pending { background: #fef3c7; color: #d97706; }
.badge.shipped { background: #dcfce7; color: #16a34a; }

/* Sourcing */
.sourcing-body { padding: 20px; }

.sourcing-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
}

.flow-icon {
  width: 40px;
  height: 40px;
  background: #f1f5f9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.flow-icon-origin::before,
.flow-icon-warehouse::before,
.flow-icon-delivery::before {
  content: '';
  position: absolute;
}

.flow-icon-origin::before {
  width: 18px;
  height: 14px;
  border: 2px solid var(--brand);
  border-radius: 2px;
  top: 10px;
}

.flow-icon-origin::after {
  content: '';
  position: absolute;
  top: 6px;
  width: 18px;
  height: 6px;
  border: 2px solid var(--brand);
  border-bottom: none;
  border-radius: 2px 2px 0 0;
}

.flow-icon-warehouse::before {
  width: 22px;
  height: 16px;
  background: var(--brand);
  opacity: 0.25;
  border-radius: 2px;
  bottom: 10px;
}

.flow-icon-warehouse::after {
  content: '';
  position: absolute;
  top: 8px;
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 10px solid var(--brand);
  opacity: 0.55;
}

.flow-icon-delivery::before {
  width: 22px;
  height: 12px;
  background: var(--brand);
  opacity: 0.35;
  border-radius: 3px;
  bottom: 14px;
  left: 9px;
}

.flow-icon-delivery::after {
  content: '';
  position: absolute;
  bottom: 10px;
  right: 8px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--brand);
  border-radius: 50%;
  background: #fff;
  box-shadow: 14px 0 0 -2px var(--brand);
}

.flow-arrow {
  color: var(--brand);
  font-weight: 700;
  width: 16px;
  height: 16px;
  position: relative;
}

.flow-arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: translateY(-50%) rotate(-45deg);
}

.agent-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  padding: 12px;
  border-radius: 10px;
}

.agent-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #818cf8);
  flex-shrink: 0;
}

/* Chat */
.chat-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }

.chat-msg {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  line-height: 1.4;
}

.chat-msg.agent { background: #f1f5f9; align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--brand); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }

.chat-input {
  margin-top: 8px;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  color: var(--text-muted);
  border: 1px solid #e2e8f0;
}

/* Monitor */
.monitor-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.monitor-stat {
  flex: 1;
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}

.ms-label { display: block; font-size: 0.65rem; color: var(--text-muted); margin-bottom: 4px; }
.ms-value { font-size: 0.85rem; font-weight: 800; }
.ms-value.green { color: #16a34a; }
.ms-value.red { color: #ef4444; }

.monitor-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  padding: 0 8px;
}

.bar {
  flex: 1;
  background: linear-gradient(to top, var(--brand), #4db8ff);
  border-radius: 4px 4px 0 0;
  min-height: 20%;
}

/* ===== Testimonial ===== */
.testimonial {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 80px 24px;
}

.testimonial h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 32px;
}

.testimonial blockquote {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  max-width: 760px;
  margin: 0 auto 32px;
  line-height: 1.6;
  font-style: normal;
  color: rgba(255,255,255,0.9);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff url('../images/logo-grupo-empresarial.png') center/78% no-repeat;
  border: 2px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.author-info strong { font-size: 0.95rem; }
.author-info .stars,
.author-info .star-rating { margin-top: 2px; }

.author-info .star-rating::before {
  width: 72px;
  height: 12px;
}

/* ===== FAQ ===== */
.faq {
  background: var(--faq-bg);
  padding: 80px 0;
}

.faq h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 48px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.faq-item:hover {
  border-color: rgba(0, 150, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 28, 68, 0.06);
}

.faq-item.open {
  border-color: rgba(0, 150, 255, 0.35);
  box-shadow: 0 12px 32px rgba(0, 150, 255, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  gap: 12px;
  transition: background 0.15s;
}

.faq-question:hover { background: #f9fafb; }

.chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(-45deg);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.faq-item.open .chevron { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 20px 18px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
  background: var(--white);
  border-top: 1px solid #e5e7eb;
  padding-top: 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
}

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

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

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

.badge-trust, .badge-pay {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  background: #f3f4f6;
  color: var(--text-muted);
}

.footer-copy {
  border-top: 1px solid #f3f4f6;
  padding: 16px 0;
}

.footer-copy p {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .intro-grid,
  .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-row.reverse .feature-image,
  .feature-row.reverse .feature-text {
    order: unset;
  }

  .feature-row { padding: 48px 24px; }

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

  .nav { padding: 20px 24px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-content { padding-bottom: 60px; }
  .intro { padding: 60px 0; }
  .testimonial { padding: 60px 16px; }
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -18px) scale(1.05); }
  66% { transform: translate(-16px, 12px) scale(0.96); }
}

@keyframes gridDrift {
  from { transform: translate(0, 0); }
  to { transform: translate(40px, 40px); }
}

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

@keyframes playPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(0, 150, 255, 0.45); }
  50% { box-shadow: 0 4px 20px rgba(0, 150, 255, 0.45), 0 0 0 12px rgba(0, 150, 255, 0.12); }
}

.hero-animate {
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-animate-1 { animation-delay: 0.1s; }
.hero-animate-2 { animation-delay: 0.28s; }
.hero-animate-3 { animation-delay: 0.46s; }

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.logo:hover .logo-img--light,
.nav.is-scrolled .logo:hover .logo-img--dark {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero-animate,
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .hero-orb,
  .hero-bg-pattern::before,
  .stat-card,
  .play-btn {
    animation: none;
  }

  .chart-line {
    stroke-dashoffset: 0;
    transition: none;
  }

  .check-list li {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .mockup,
  .video-frame,
  .link-more:hover {
    transform: none;
  }
}
