/* ============================================
   SECTIONS — Layout for each page section
   ============================================ */

/* ─── SHARED SECTION STYLES ─── */
.sec { padding: 120px 0; position: relative; z-index: 1; }
.sec-label {
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--orange); margin-bottom: 14px; display: block;
}
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.04em;
  line-height: 1.12; margin-bottom: 14px;
  color: var(--text);
}
.sec-desc { font-size: 0.95rem; color: var(--text2); max-width: 480px; line-height: 1.7; }
.sec-head { margin-bottom: 56px; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 160px 0 100px;
  position: relative; z-index: 1;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px 6px 8px;
  border-radius: 100px;
  background: var(--glass); border: 1px solid var(--glass-border);
  font-size: 0.72rem; font-weight: 700;
  color: var(--orange);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 28px;
  animation: fadeIn 0.6s ease both;
}
.hero-tag .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange); animation: pulse 2s infinite;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.05; font-weight: 800;
  letter-spacing: -0.04em; margin-bottom: 24px;
  animation: fadeUp 0.7s ease 0.1s both;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--orange), var(--violet));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.05rem; color: var(--text2);
  max-width: 440px; line-height: 1.75;
  margin-bottom: 36px;
  animation: fadeUp 0.7s ease 0.2s both;
}
.hero-btns {
  display: flex; gap: 12px; flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.3s both;
}

/* Hero waveform visual */
.hero-right { animation: fadeIn 1s ease 0.3s both; }
.waveform-container {
  position: relative; width: 100%; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.wave-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--glass-border);
  animation: ringPulse 4s ease-in-out infinite;
}
.wave-ring:nth-child(1) { width: 100%; height: 100%; animation-delay: 0s; }
.wave-ring:nth-child(2) { width: 80%; height: 80%; animation-delay: 0.5s; }
.wave-ring:nth-child(3) { width: 60%; height: 60%; animation-delay: 1s; }
.wave-ring:nth-child(4) { width: 40%; height: 40%; animation-delay: 1.5s; }
@keyframes ringPulse { 0%,100%{opacity:0.3;transform:scale(1)} 50%{opacity:0.8;transform:scale(1.03)} }

.wave-center {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--violet));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 60px var(--orange-glow);
  z-index: 2;
  animation: centerPulse 3s ease-in-out infinite;
}
@keyframes centerPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.05)} }
.wave-center svg { width: 36px; height: 36px; }

.wave-bars { position: absolute; display: flex; align-items: center; gap: 3px; z-index: 3; }
.wave-bars.left  { left: 0; top: 50%; transform: translateY(-50%); }
.wave-bars.right { right: 0; top: 50%; transform: translateY(-50%); }
.wave-bar {
  width: 3px; border-radius: 4px;
  background: var(--orange); opacity: 0.6;
  animation: barBounce 1.2s ease-in-out infinite;
}
.wave-bar:nth-child(1) { height: 18px; animation-delay: 0s; }
.wave-bar:nth-child(2) { height: 32px; animation-delay: 0.1s; }
.wave-bar:nth-child(3) { height: 48px; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 28px; animation-delay: 0.3s; }
.wave-bar:nth-child(5) { height: 40px; animation-delay: 0.4s; }
.wave-bar:nth-child(6) { height: 20px; animation-delay: 0.5s; }
@keyframes barBounce { 0%,100%{transform:scaleY(0.5)} 50%{transform:scaleY(1)} }

.float-badge {
  position: absolute; padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--bg2);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  z-index: 4; font-size: 0.75rem;
  display: flex; align-items: center; gap: 8px;
  animation: floatBadge 6s ease-in-out infinite;
  transition: background 0.4s, border-color 0.4s;
}
.float-badge .fb-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.fb-1 { top: 8%; right: 5%; animation-delay: 0s; }
.fb-1 .fb-dot { background: var(--green); }
.fb-2 { bottom: 15%; left: 2%; animation-delay: 2s; }
.fb-2 .fb-dot { background: var(--blue); }
.fb-3 { top: 55%; right: 0%; animation-delay: 4s; }
.fb-3 .fb-dot { background: var(--violet); }
@keyframes floatBadge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ─── MARQUEE TRUST BAR ─── */
.marquee-bar {
  padding: 28px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden; position: relative; z-index: 1;
}
.marquee-track {
  display: flex; gap: 64px;
  animation: marquee 20s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex; align-items: center; gap: 12px;
  white-space: nowrap; flex-shrink: 0;
}
.marquee-item .mi-val {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  color: var(--text); letter-spacing: -0.02em;
}
.marquee-item .mi-label {
  font-size: 0.72rem; color: var(--text3);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.marquee-item .mi-sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--text3); flex-shrink: 0;
}
@keyframes marquee {
  0% { transform: translateX(0) }
  100% { transform: translateX(calc(-50% - 32px)) }
}

/* ─── SERVICES — BENTO GRID ─── */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 14px;
}
.b-1 { grid-column: 1/7; }
.b-2 { grid-column: 7/13; }
.b-3 { grid-column: 1/5; }
.b-4 { grid-column: 5/13; }

/* ─── PROCESS ─── */
.process-sec {
  background: var(--bg2);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.4s;
}
.timeline {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}
.timeline::before {
  content: '';
  position: absolute; top: 40px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), var(--glass-border), transparent);
}
.t-step { padding: 0 24px; text-align: center; position: relative; }
.t-num {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem; font-weight: 800;
  margin: 16px auto 20px;
  background: var(--bg);
  border: 1px solid var(--glass-border);
  color: var(--orange);
  transition: all 0.3s; position: relative; z-index: 2;
}
.t-step:hover .t-num {
  background: var(--orange); color: white;
  box-shadow: 0 0 24px var(--orange-glow);
}
.t-step h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.t-step p  { font-size: 0.8rem; color: var(--text3); max-width: 200px; margin: 0 auto; line-height: 1.55; }

/* ─── USE CASES GRID ─── */
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* ─── DEMO SECTION ─── */
.demo-sec {
  background: var(--bg2);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.4s;
}
.demo-head { text-align: center; margin-bottom: 52px; }
.demo-head .sec-desc { margin: 0 auto; }
.demo-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}
.demo-feats { display: flex; flex-direction: column; gap: 12px; }

/* ─── ABOUT ─── */
.about-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.about-vals { display: flex; flex-direction: column; gap: 12px; }

/* ─── CTA ─── */
.cta-sec {
  padding: 120px 0;
  text-align: center;
  position: relative; z-index: 1;
}
.cta-sec::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, var(--orange-glow), transparent 70%);
  pointer-events: none;
}
.cta-sec .sec-title { max-width: 600px; margin: 0 auto 14px; }
.cta-sec p { color: var(--text2); max-width: 440px; margin: 0 auto 36px; font-size: 0.98rem; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }

/* ─── CONTACT ─── */
.contact-sec {
  background: var(--bg2);
  border-top: 1px solid var(--glass-border);
  transition: background 0.4s;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 56px; align-items: start;
}


/* ─── LEGAL PAGE ─── */
.legal-hero {
  padding: 160px 0 60px;
  position: relative; z-index: 1;
  border-bottom: 1px solid var(--glass-border);
}
.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -0.04em;
  line-height: 1.1; margin-bottom: 12px;
  animation: fadeUp 0.7s ease both;
}
.legal-hero h1 .grad {
  background: linear-gradient(135deg, var(--orange), var(--violet));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.legal-hero p {
  color: var(--text2); font-size: 0.95rem; max-width: 520px; line-height: 1.7;
  animation: fadeUp 0.7s ease 0.1s both;
}

.legal-updated {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 32px; padding: 6px 16px;
  border-radius: 100px;
  background: var(--glass); border: 1px solid var(--glass-border);
  font-size: 0.72rem; font-weight: 600;
  color: var(--text3); text-transform: uppercase; letter-spacing: 0.08em;
}
.legal-updated .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--orange);
}

.doc-tabs-wrap {
  padding-top: 48px;
  animation: fadeUp 0.7s ease 0.3s both;
}
.doc-tabs {
  display: flex; gap: 4px;
  padding: 4px;
  border-radius: var(--r-sm);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  width: fit-content;
}
.doc-tab {
  padding: 10px 24px; border-radius: 8px;
  font-size: 0.82rem; font-weight: 600;
  color: var(--text3); cursor: pointer;
  transition: all 0.25s; border: none;
  background: transparent;
  font-family: var(--font-body);
}
.doc-tab:hover { color: var(--text); }
.doc-tab.active {
  background: var(--orange); color: white;
  box-shadow: 0 2px 12px var(--orange-glow);
}

.legal-body {
  padding: 48px 0 120px;
  position: relative; z-index: 1;
}
.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.policy-section {
  margin-bottom: 56px;
  scroll-margin-top: 100px;
}
.policy-section:last-child { margin-bottom: 0; }
.policy-section h2 {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 800;
  letter-spacing: -0.03em; margin-bottom: 20px;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
}
.policy-section h3 {
  font-family: var(--font-display);
  font-size: 1.02rem; font-weight: 700;
  letter-spacing: -0.01em; margin: 24px 0 10px;
  color: var(--text);
}
.policy-section p {
  font-size: 0.88rem; color: var(--text2);
  line-height: 1.8; margin-bottom: 14px;
}
.policy-section ul {
  list-style: none; padding: 0; margin: 0 0 16px;
}
.policy-section ul li {
  position: relative; padding-left: 20px;
  font-size: 0.86rem; color: var(--text2);
  line-height: 1.75; margin-bottom: 6px;
}
.policy-section ul li::before {
  content: '';
  position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); opacity: 0.6;
}
.policy-section a {
  color: var(--orange); text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}
.policy-section a:hover { opacity: 0.8; }

.policy-callout {
  padding: 20px 24px;
  border-radius: var(--r-sm);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  margin: 20px 0;
}
.policy-callout p {
  font-size: 0.85rem; color: var(--text2); margin: 0;
}
.policy-callout strong { color: var(--text); }

.policy-caps {
  font-size: 0.82rem !important;
  line-height: 1.75 !important;
}

.provider-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 0.82rem;
}
.provider-table th,
.provider-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text2);
  line-height: 1.6;
}
.provider-table th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text3);
  background: var(--glass);
}
.provider-table tr:hover td {
  background: var(--glass);
}
