/* ==========================================================================
   Miya Travel CRM — Liquid Glass Design System
   ========================================================================== */

:root {
  /* Palette — drawn from the Miya Travel mark (magenta -> violet -> indigo) */
  --bg-void: #0a0714;
  --bg-deep: #120a20;
  --bg-deep-2: #170c28;

  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --panel-border: rgba(255, 255, 255, 0.07);
  --panel-border-strong: rgba(255, 255, 255, 0.14);

  --text-primary: #f7f4fc;
  --text-muted: #bcb2cf;
  --text-faint: #83769c;

  --accent-pink: #ff3d9a;
  --accent-violet: #9b2ff7;
  --accent-indigo: #4e2fe0;

  --grad-brand: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-violet) 55%, var(--accent-indigo) 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(255, 61, 154, 0.18) 0%, rgba(155, 47, 247, 0.18) 55%, rgba(78, 47, 224, 0.18) 100%);
  --grad-text: linear-gradient(120deg, #ff6fb5 0%, #b95bff 50%, #7a6bff 100%);

  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 7px;
  --radius-pill: 10px;

  --shadow-glass: 0 8px 32px rgba(5, 2, 12, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --shadow-lift: 0 20px 50px rgba(5, 2, 12, 0.55);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: "DM Sans Variable", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "DM Sans Variable", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--text-primary);
}

p { margin: 0 0 1em; color: var(--text-muted); max-width: 62ch; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
ul { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; padding: 20px 0; }
@media (max-width: 720px) { section { padding: 20px 0; } }

.section-head {
  max-width: 640px;
  margin: 0 0 28px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad-brand);
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Ambient background mesh ---------- */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--bg-void);
  overflow: hidden;
}
.mesh-bg span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.mesh-bg span:nth-child(1) {
  width: 46vw; height: 46vw; top: -14vw; left: -10vw;
  background: radial-gradient(circle at 30% 30%, var(--accent-pink), transparent 70%);
  animation: drift1 26s ease-in-out infinite;
}
.mesh-bg span:nth-child(2) {
  width: 40vw; height: 40vw; top: 10vh; right: -14vw;
  background: radial-gradient(circle at 60% 40%, var(--accent-violet), transparent 70%);
  animation: drift2 30s ease-in-out infinite;
}
.mesh-bg span:nth-child(3) {
  width: 38vw; height: 38vw; bottom: -16vw; left: 20vw;
  background: radial-gradient(circle at 50% 50%, var(--accent-indigo), transparent 70%);
  animation: drift3 34s ease-in-out infinite;
}
@keyframes drift1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(6vw, 4vh); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-5vw, 6vh); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(4vw, -5vh); } }
@media (prefers-reduced-motion: reduce) {
  .mesh-bg span { animation: none; }
}
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Glass primitives ---------- */
.glass {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
}
.glass-strong {
  background: var(--panel-strong);
  border-color: var(--panel-border-strong);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

/* ---------- Primary buttons: animated sparkle / dots-border treatment ---------- */
.btn-primary {
  position: relative;
  overflow: visible;
  background-color: transparent;
  color: #fff;
  transform: scale(calc(1 + (var(--active, 0) * 0.08)));
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0.5px hsl(0, 0%, 100%),
    inset 0 -1px 2px 0 hsla(0, 0%, 0%, 0.35),
    0 10px 30px rgba(155, 47, 247, 0.35),
    0 0 0 calc(var(--active, 0) * 0.3rem) rgba(255, 61, 154, 0.55);
  transition: box-shadow 0.25s var(--ease);
  z-index: 0;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  background-image: radial-gradient(at 15% 15%, var(--accent-pink) 0px, transparent 55%),
    radial-gradient(at 85% 30%, var(--accent-violet) 0px, transparent 55%),
    radial-gradient(at 50% 100%, var(--accent-indigo) 0px, transparent 60%);
  opacity: var(--active, 0);
  transition: opacity 0.25s var(--ease);
  z-index: 1;
}
.btn-primary:is(:hover, :focus-visible) { --active: 1; transform: translateY(-2px) scale(1.03); }
.btn-primary:active { transform: scale(0.97); }

.btn-primary .dots_border {
  overflow: hidden;
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-pill);
  z-index: -1;
  pointer-events: none;
}
.btn-primary .dots_border::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  width: 100%;
  height: 2rem;
  background-image: linear-gradient(90deg, var(--accent-pink), var(--accent-violet), var(--accent-indigo));
  mask: linear-gradient(transparent 0%, white 120%);
  -webkit-mask: linear-gradient(transparent 0%, white 120%);
  transform-origin: left;
  transform: rotate(0deg);
  animation: btn-dots-rotate 2s linear infinite;
}
@keyframes btn-dots-rotate {
  to { transform: rotate(360deg); }
}

.btn-primary .sparkle {
  position: relative;
  z-index: 10;
  width: 1.15rem;
  flex-shrink: 0;
}
.btn-primary .sparkle .path {
  fill: currentColor;
  stroke: currentColor;
  transform-origin: center;
  color: #fff;
}
.btn-primary:is(:hover, :focus) .sparkle .path { animation: btn-sparkle-path 1.5s linear 0.5s infinite; }
.btn-primary .sparkle .path:nth-child(1) { --scale_path_1: 1.2; }
.btn-primary .sparkle .path:nth-child(2) { --scale_path_2: 1.2; }
.btn-primary .sparkle .path:nth-child(3) { --scale_path_3: 1.2; }
@keyframes btn-sparkle-path {
  0%, 34%, 71%, 100% { transform: scale(1); }
  17% { transform: scale(var(--scale_path_1, 1)); }
  49% { transform: scale(var(--scale_path_2, 1)); }
  83% { transform: scale(var(--scale_path_3, 1)); }
}

.btn-primary .text_button {
  position: relative;
  z-index: 10;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--panel-border);
  color: var(--text-primary);
  backdrop-filter: blur(14px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--panel-border-strong); }
.btn-block { width: 100%; }

/* ---------- Nav CTA: star-burst button (Uiverse by opMorn, recolored) ---------- */
.btn-nav {
  position: relative;
  overflow: visible;
  padding: 12px 32px;
  background: var(--grad-brand);
  border: 3px solid transparent;
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(155, 47, 247, 0.35);
  transition: all 0.3s ease-in-out;
}
.btn-nav:hover {
  background: transparent;
  border-color: var(--accent-violet);
  color: var(--accent-pink);
  box-shadow: 0 14px 38px rgba(155, 47, 247, 0.5);
}

.btn-nav .cc-star {
  position: absolute;
  width: 25px;
  height: auto;
  z-index: -5;
  transition: all 1s cubic-bezier(0.05, 0.83, 0.43, 0.96);
}
.btn-nav .cc-star svg path { fill: var(--accent-pink); }

.btn-nav .cc-star-1 { top: 20%; left: 15%; width: 22px; }
.btn-nav .cc-star-2 { top: 45%; left: 42%; width: 14px; transition: all 1s cubic-bezier(0, 0.4, 0, 1.01); }
.btn-nav .cc-star-3 { top: 40%; left: 38%; width: 5px; transition: all 1s cubic-bezier(0, 0.4, 0, 1.01); }
.btn-nav .cc-star-4 { top: 20%; left: 38%; width: 8px; transition: all 0.8s cubic-bezier(0, 0.4, 0, 1.01); }
.btn-nav .cc-star-5 { top: 25%; left: 42%; width: 14px; transition: all 0.6s cubic-bezier(0, 0.4, 0, 1.01); }
.btn-nav .cc-star-6 { top: 5%; left: 46%; width: 5px; transition: all 0.8s ease; }

.btn-nav:hover .cc-star-1 { top: -80%; left: -25%; width: 22px; z-index: 2; }
.btn-nav:hover .cc-star-2 { top: 0%; left: 8%; width: 14px; z-index: 2; }
.btn-nav:hover .cc-star-3 { top: 55%; left: 22%; width: 5px; z-index: 2; }
.btn-nav:hover .cc-star-4 { top: 30%; left: 78%; width: 8px; z-index: 2; }
.btn-nav:hover .cc-star-5 { top: 25%; left: 112%; width: 14px; z-index: 2; }
.btn-nav:hover .cc-star-6 { top: 5%; left: 58%; width: 5px; z-index: 2; }

.btn-nav .text_button {
  position: relative;
  z-index: 10;
  color: inherit;
  font-weight: 700;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(15, 9, 26, 0.55);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  max-width: var(--container);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: "DM Sans Variable", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-weight: 700; font-size: 1.15rem; }
.brand-logo {
  height: 44px; width: auto;
  max-width: 160px; max-height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.15rem; font-weight: 800;
  box-shadow: 0 6px 18px rgba(155, 47, 247, 0.45);
  flex-shrink: 0;
}
.brand-word span { color: var(--text-primary); }
.brand-word b { font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-actions { display: flex; align-items: center; gap: 14px; }

/* Contact-sales button duplicated inside the mobile dropdown menu;
   hidden on desktop where the header copy (in .nav-actions) is used instead. */
.nav-links .btn-nav-mobile { display: none; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--panel-border);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.nav-toggle span { width: 16px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: 0.25s; }

@media (max-width: 860px) {
  .nav-links { position: fixed; top: 84px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 4px; padding: 18px; border-radius: var(--radius-lg); background: rgba(15,9,26,0.92); border: 1px solid var(--panel-border); backdrop-filter: blur(20px); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: 0.3s var(--ease); }
  .nav-links a { padding: 12px 10px; border-radius: var(--radius-sm); }
  .nav-links a:hover { background: rgba(255,255,255,0.06); }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-actions .btn-ghost { display: none; }
  /* Contact sales should live inside the mobile menu, not the header bar */
  .nav-actions .btn-nav-cta { display: none; }
  .nav-links .btn-nav-mobile { display: inline-flex; justify-content: center; align-items: center; margin-top: 10px; padding: 12px 32px; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 200px 0 80px;
  text-align: center;
}
.hero .container { display: flex; flex-direction: column; align-items: center; }
.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.875rem);
  max-width: 17ch;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.hero .lede {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  max-width: 56ch;
  margin-inline: auto;
  color: var(--text-muted);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin: 36px 0 40px; }
.hero-stat {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.hero-stat .stars { color: #ffcf6b; letter-spacing: 2px; }

/* ---------- Video banner ---------- */
.video-banner .frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.video-banner video, .video-banner .video-fallback {
  width: 100%;
  aspect-ratio: 16 / 8.2;
  object-fit: cover;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #1a0f2e, #2a1240);
  display: block;
}
.video-banner .video-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  color: var(--text-muted);
  text-align: center;
  padding: 24px;
}
@media (max-width: 640px) {
  /* Slightly smaller/shorter on phones so it doesn't dominate the screen */
  .video-banner .frame { border-radius: var(--radius-lg); }
  .video-banner video, .video-banner .video-fallback {
    aspect-ratio: 16 / 11;
    border-radius: var(--radius-lg);
  }
}
.play-badge {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid var(--panel-border-strong);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
}
.play-badge svg { margin-left: 4px; }

/* ---------- Platform marquee ---------- */
.platform-marquee { padding: 50px 0; }
.platform-marquee .label {
  display: block;
  width: 100%;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.85rem;
  margin: 0 0 26px;
  padding: 0 24px;
  box-sizing: border-box;
}
.marquee {
  overflow: hidden;
  width: 100%;
  /* Percentage-based fade so the fully-visible zone scales with the
     container instead of being eaten up on laptop/tablet widths
     (fixed px fades used to leave logos permanently half-faded/"cut"
     on screens narrower than ~1180px). */
  mask-image: linear-gradient(90deg,
    transparent 0%, transparent 2%, #000 10%,
    #000 90%, transparent 98%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0%, transparent 2%, #000 10%,
    #000 90%, transparent 98%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  animation: marquee 30s linear infinite;
  will-change: transform;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
@media (max-width: 640px) {
  .marquee-track { gap: 10px; }
  .logo-chip { width: 104px; height: 46px; padding: 6px 12px; }
  .platform-chip { padding: 9px 16px; font-size: 0.82rem; }
}
.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: "DM Sans Variable", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.9rem;
  white-space: nowrap;
}
.platform-chip svg { flex-shrink: 0; }

.logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 56px;
  padding: 10px 18px;
  border-radius: var(--radius-lg);
  flex-shrink: 0;
  box-sizing: border-box;
}
.logo-chip img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(1.6);
  opacity: 0.7;
  transition: filter 0.25s var(--ease), opacity 0.25s var(--ease);
}
.logo-chip:hover img {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

/* ---------- Feature grid ---------- */
.grid {
  display: grid;
  gap: 22px;
}
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid.cols-3, .grid.cols-4, .grid.cols-2 { grid-template-columns: 1fr; }
}

.card {
  padding: 30px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--panel-border-strong); background: var(--panel-strong); }
.card .icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--grad-brand-soft);
  border: 1px solid var(--panel-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: #fff;
}
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { font-size: 0.94rem; margin-bottom: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 26px; position: relative; }
.step .num {
  font-family: "DM Sans Variable", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 12px;
  display: block;
}
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: 0.9rem; margin: 0; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.testi-card .stars { color: #ffcf6b; font-size: 0.85rem; letter-spacing: 2px; }
.testi-card p { font-size: 0.95rem; margin: 0; color: var(--text-primary); opacity: 0.92; }
.testi-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  font-family: "DM Sans Variable", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-weight: 700; color: #fff; font-size: 0.9rem;
  flex-shrink: 0;
}
.testi-person .name { font-size: 0.92rem; font-weight: 600; color: var(--text-primary); }
.testi-person .role { font-size: 0.8rem; color: var(--text-faint); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 820px; margin: 0 auto; }
.faq-item { padding: 4px 26px; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: "DM Sans Variable", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--panel-border-strong);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.faq-item summary .plus::before, .faq-item summary .plus::after {
  content: ""; position: absolute; background: var(--text-primary);
}
.faq-item summary .plus::before { width: 10px; height: 1.5px; }
.faq-item summary .plus::after { width: 1.5px; height: 10px; }
.faq-item[open] summary .plus { transform: rotate(135deg); background: var(--grad-brand); border-color: transparent; }
.faq-item .faq-body { padding: 0 0 22px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 90px 0; }
.cta-band .glass { padding: 64px 40px; max-width: 820px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.cta-band p { margin-inline: auto; }

/* ---------- Footer ---------- */
footer { padding: 70px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 0.9rem; max-width: 32ch; }
.footer-col h4 { font-size: 0.85rem; color: var(--text-faint); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  padding-top: 28px; border-top: 1px solid var(--panel-border);
  font-size: 0.82rem; color: var(--text-faint);
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--panel-border);
  color: var(--text-muted);
  transition: 0.2s;
}
.socials a:hover { color: #fff; border-color: var(--panel-border-strong); background: rgba(255,255,255,0.06); }

/* ---------- Legal pages ---------- */
.legal-hero { padding: 170px 0 40px; }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-content { padding-top: 0; }
.legal-content .glass { padding: 44px; }
.legal-content h2 { font-size: 1.25rem; margin-top: 36px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.legal-content ul li { color: var(--text-muted); margin-bottom: 8px; }
.legal-content hr { border: none; border-top: 1px solid var(--panel-border); margin: 30px 0; }
.legal-content strong { color: var(--text-primary); }

/* ---------- Contact page ---------- */
.contact-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: start; }
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-form { padding: 40px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.85rem; color: var(--text-muted); }
.field input, .field textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-violet);
  background: rgba(255,255,255,0.08);
}
.contact-side { padding: 34px; display: flex; flex-direction: column; gap: 22px; }
.contact-info-row { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-row .icon { width: 40px; height: 40px; flex-shrink: 0; }
.contact-info-row h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-row p { font-size: 0.88rem; margin: 0; }
.form-note { font-size: 0.82rem; color: var(--text-faint); margin-top: 6px; }

/* Focus visibility */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-violet);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--accent-violet); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0; z-index: 999;
}
.skip-link:focus { left: 0; }
