/* ============================================================================
   VibeSpace — vibespaceos.com landing styles
   Sleek "Claude-cozy" theme · warm calm palette · refined type · soft glow
   ----------------------------------------------------------------------------
   1) Tokens 2) Base 3) Background 4) Buttons/pills 5) Navbar 6) Hero
   7) Strip 8) Sections/Features 9) Steps 10) Video 11) Chat 12) About
   13) Testimonials 14) Download 15) FAQ 16) Contact 17) Footer
   18) Scroll progress / cursor glow / tilt 19) Toast/reveal 20) Responsive
   ========================================================================== */

/* ----------------------------- 1) Tokens --------------------------------- */
:root {
  /* Warm, dim plum-charcoal backgrounds (cozier + calmer than pure black) */
  --bg:        #100c15;
  --bg-2:      #15101c;
  --surface:   #1a1422;
  --elevated:  #1f1829;

  /* Glass panels — softer, warmer */
  --glass:        rgba(33, 26, 44, 0.50);
  --glass-strong: rgba(38, 30, 50, 0.74);
  --glass-border: rgba(206, 188, 230, 0.12);
  --glass-border-strong: rgba(206, 188, 230, 0.24);

  /* Warm cream text (the cozy signature) */
  --text:   #f4eee8;
  --text-2: #d6ccd6;
  --muted:  #a99fae;

  /* Accents — calm violet primary + warm clay/rose for coziness */
  --primary:    #9b7ef0;   /* softened violet */
  --primary-2:  #b98cff;   /* light orchid */
  --violet:     #7c63d8;
  --clay:       #e8a87c;   /* warm terracotta */
  --rose:       #eca6bf;   /* soft rose */
  --blue:       #7fb2f0;   /* gentle blue */
  --live:       #6fcf97;   /* calm green */

  /* Gradients (lower saturation for a refined, non-neon feel) */
  --grad:      linear-gradient(120deg, #b98cff 0%, #9b7ef0 45%, #e8a87c 100%);
  --grad-cool: linear-gradient(120deg, #b98cff 0%, #8e9bf0 55%, #7fb2f0 100%);
  --grad-soft: linear-gradient(120deg, rgba(155,126,240,0.16), rgba(232,168,124,0.12));

  --border: rgba(255, 255, 255, 0.07);
  --radius-xl: 28px;
  --radius:    20px;
  --radius-sm: 13px;

  /* Soft, low-contrast shadows */
  --shadow-soft: 0 10px 34px rgba(0, 0, 0, 0.28);
  --shadow-lift: 0 26px 70px rgba(12, 6, 22, 0.5);
  --glow-primary: 0 0 0 1px rgba(206,188,230,0.14), 0 20px 56px rgba(123, 99, 216, 0.26);

  --maxw: 1140px;
  --nav-h: 74px;

  --font-sans: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ------------------------------ 2) Base ---------------------------------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;                 /* more breathing room */
  letter-spacing: 0.002em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* warm radial wash, calmer than before */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 720px at 80% -10%, rgba(123, 99, 216, 0.16), transparent 60%),
    radial-gradient(900px 620px at 6% 4%, rgba(232, 168, 124, 0.08), transparent 58%),
    radial-gradient(1200px 820px at 50% 122%, rgba(236, 166, 191, 0.07), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

.muted { color: var(--muted); }

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

.glass {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
}

code {
  font-family: var(--font-mono); font-size: 0.85em;
  background: rgba(206,188,230,0.10); padding: 0.1em 0.4em; border-radius: 6px; color: #e3d6ff;
}

/* ----------------------------- 3) Background ----------------------------- */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(130px); opacity: 0.26; will-change: transform; }
.orb--violet { width: 500px; height: 500px; top: -130px; right: -90px;  background: #7c63d8; animation: drift1 26s ease-in-out infinite; }
.orb--clay   { width: 420px; height: 420px; top: 32%;   left: -150px;  background: #e8a87c; opacity: 0.22; animation: drift2 30s ease-in-out infinite; }
.orb--rose   { width: 380px; height: 380px; bottom: -130px; left: 32%;  background: #eca6bf; opacity: 0.2;  animation: drift3 34s ease-in-out infinite; }
.orb--blue   { width: 400px; height: 400px; bottom: 8%; right: -110px;  background: #6f8fd8; opacity: 0.22; animation: drift1 30s ease-in-out infinite reverse; }

/* paper-like grain for cozy texture */
.bg-grain {
  position: absolute; inset: 0; opacity: 0.5;
  background-image: radial-gradient(rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 3px 3px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black, transparent 80%);
}

@keyframes drift1 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-26px,34px) scale(1.06);} }
@keyframes drift2 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(34px,-26px) scale(1.08);} }
@keyframes drift3 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(26px,-34px) scale(1.05);} }

/* --------------------------- 4) Buttons & pills -------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; border-radius: 999px; padding: 0.72rem 1.3rem;
  cursor: pointer; white-space: nowrap; color: var(--text);
  transition: transform 0.22s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.btn svg { flex: none; }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn--lg { padding: 0.92rem 1.7rem; font-size: 1.02rem; }

.btn--primary { background: var(--grad); color: #1a1020; box-shadow: var(--glow-primary); font-weight: 700; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(206,188,230,0.26), 0 24px 60px rgba(123,99,216,0.4); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost { background: rgba(255,255,255,0.035); border-color: var(--glass-border-strong); backdrop-filter: blur(8px); }
.btn--ghost:hover { transform: translateY(-2px); background: rgba(206,188,230,0.10); border-color: rgba(206,188,230,0.4); }

.pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.4rem 0.85rem; border-radius: 999px;
  border: 1px solid var(--glass-border); background: rgba(255,255,255,0.035); color: var(--text-2);
}
.pill--soft { background: var(--grad-soft); border-color: rgba(206,188,230,0.2); color: #ecdffb; }
.pill--mono { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.02em; text-transform: none; }

.chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.83rem; color: var(--text-2);
  padding: 0.42rem 0.9rem; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(255,255,255,0.025);
}

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot--live { background: var(--live); box-shadow: 0 0 0 0 rgba(111,207,151,0.55); animation: pulse 2.4s infinite; }
.dot--blue { background: var(--blue); }
.dot--clay { background: var(--clay); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(111,207,151,0.5); }
  70% { box-shadow: 0 0 0 7px rgba(111,207,151,0); }
  100% { box-shadow: 0 0 0 0 rgba(111,207,151,0); }
}

/* ------------------------------ 5) Navbar -------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
.nav.is-scrolled {
  background: rgba(16, 12, 21, 0.7);
  backdrop-filter: blur(18px) saturate(135%); -webkit-backdrop-filter: blur(18px) saturate(135%);
  border-bottom-color: var(--border);
}
.nav__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand__mark { display: inline-flex; filter: drop-shadow(0 6px 16px rgba(123,99,216,0.4)); }
.brand__text { display: inline-flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand__badge {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #e3d6ff; background: rgba(155,126,240,0.14); border: 1px solid rgba(155,126,240,0.24);
  padding: 0.05rem 0.42rem; border-radius: 6px; width: max-content; margin-top: 3px;
}

.nav__links { display: flex; align-items: center; gap: 1.5rem; }
.nav__links > a:not(.btn) { font-size: 0.92rem; font-weight: 500; color: var(--text-2); transition: color 0.2s ease; position: relative; }
.nav__links > a:not(.btn):hover { color: var(--text); }
.nav__links > a:not(.btn).is-active { color: #fff; }
.nav__links > a:not(.btn).is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; background: var(--grad); border-radius: 2px; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------- 6) Hero --------------------------------- */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(3rem, 7vw, 6.5rem) 1.5rem 2.5rem;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero__eyebrow { margin-bottom: 1.4rem; }
.hero__title { font-size: clamp(2.3rem, 5.4vw, 4rem); margin-bottom: 1.3rem; font-weight: 500; }
.hero__sub { color: var(--text-2); font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 34ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.8rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.hero__visual { position: relative; }
.hero__shot { border-radius: var(--radius-xl); border: 1px solid var(--glass-border); box-shadow: var(--shadow-lift); }

.mockup {
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lift);
  border: 1px solid var(--glass-border-strong);
  transform: perspective(1500px) rotateY(-7deg) rotateX(3deg);
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
  animation: floaty 8s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{ translate: 0 0; } 50%{ translate: 0 -12px; } }

.mockup__bar { display: flex; align-items: center; gap: 0.8rem; padding: 0.72rem 1rem; border-bottom: 1px solid var(--border); background: rgba(22,16,30,0.6); flex-wrap: wrap; }
.traffic { display: inline-flex; gap: 6px; }
.traffic i { width: 11px; height: 11px; border-radius: 50%; background: #4b4060; }
.traffic i:nth-child(1){ background:#e8a87c; } .traffic i:nth-child(2){ background:#ecc97c; } .traffic i:nth-child(3){ background:#6fcf97; }
.mockup__title { font-size: 0.82rem; color: var(--muted); font-family: var(--font-mono); }
.mockup__pills { display: inline-flex; gap: 0.4rem; margin-left: auto; flex-wrap: wrap; }

.mockup__body { display: grid; grid-template-columns: 130px 1fr; min-height: 304px; background: rgba(16,12,21,0.55); }
.mockup__rail { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.9rem 0.6rem; border-right: 1px solid var(--border); }
.rail__item { font-size: 0.82rem; color: var(--muted); padding: 0.44rem 0.6rem; border-radius: 11px; }
.rail__item--active { color: #fff; background: rgba(155,126,240,0.14); border: 1px solid rgba(155,126,240,0.2); }

.mockup__main { padding: 1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.bubble { max-width: 84%; padding: 0.66rem 0.92rem; border-radius: 15px; font-size: 0.86rem; line-height: 1.5; }
.bubble__who { display: block; font-size: 0.66rem; font-weight: 700; color: var(--primary-2); margin-bottom: 2px; letter-spacing: 0.03em; }
.bubble--ai { align-self: flex-start; background: rgba(155,126,240,0.1); border: 1px solid rgba(155,126,240,0.16); border-bottom-left-radius: 5px; }
.bubble--me { align-self: flex-end; background: var(--grad); color: #1a1020; border-bottom-right-radius: 5px; font-weight: 500; }

.mockup__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: auto; }
.mini-card { background: rgba(255,255,255,0.035); border: 1px solid var(--border); border-radius: 13px; padding: 0.62rem; display: flex; flex-direction: column; gap: 0.15rem; }
.mini-card__label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.mini-card__value { font-size: 0.78rem; font-weight: 600; }
.wave { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; margin-top: 4px; }
.wave i { width: 3px; background: var(--primary); border-radius: 2px; animation: eq 1.1s ease-in-out infinite; }
.wave i:nth-child(1){height:6px;animation-delay:0s} .wave i:nth-child(2){height:14px;animation-delay:.15s}
.wave i:nth-child(3){height:9px;animation-delay:.3s} .wave i:nth-child(4){height:16px;animation-delay:.45s}
.wave i:nth-child(5){height:7px;animation-delay:.6s}
@keyframes eq { 0%,100%{ transform: scaleY(0.5);} 50%{ transform: scaleY(1);} }

.float-card { position: absolute; font-size: 0.8rem; font-weight: 600; padding: 0.62rem 0.9rem; border-radius: 15px; display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid var(--glass-border-strong); box-shadow: var(--shadow-soft); }
.float-card--1 { top: 12%; left: -28px; animation: floaty 6.5s ease-in-out infinite; }
.float-card--2 { bottom: 8%; right: -22px; animation: floaty 8s ease-in-out infinite reverse; }

/* ------------------------------- 7) Strip -------------------------------- */
.strip { max-width: var(--maxw); margin: 1.5rem auto 0; padding: 0 1.5rem; }
.strip__inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem 1.8rem;
  padding: 1.1rem 1.4rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: linear-gradient(90deg, rgba(155,126,240,0.05), rgba(232,168,124,0.04));
  font-size: 0.9rem; color: var(--text-2);
}

/* --------------------------- 8) Sections/Features ------------------------ */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) 1.5rem; }
.section__head { text-align: center; max-width: 660px; margin: 0 auto clamp(2.4rem, 4.5vw, 3.5rem); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.section__title { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.section__lead { color: var(--text-2); font-size: 1.06rem; }

.grid { display: grid; gap: 1.3rem; }
.grid--features { grid-template-columns: repeat(3, 1fr); }
.grid--quotes { grid-template-columns: repeat(3, 1fr); }

.card {
  position: relative; overflow: hidden;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius);
  padding: 1.7rem;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform 0.28s cubic-bezier(0.16,1,0.3,1), border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}
.card:hover { border-color: var(--glass-border-strong); box-shadow: var(--glow-primary); background: var(--glass-strong); }

/* mouse spotlight inside tilt cards (driven by --mx/--my from JS) */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
[data-tilt]::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(206,188,230,0.16), transparent 45%);
  transition: opacity 0.35s ease;
}
[data-tilt]:hover::before { opacity: 1; }

.feature__icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; font-size: 1.5rem;
  background: var(--grad-soft); border: 1px solid rgba(206,188,230,0.18); margin-bottom: 1.1rem;
}
.feature h3 { font-size: 1.22rem; margin-bottom: 0.55rem; font-weight: 600; }
.feature p { color: var(--text-2); font-size: 0.95rem; }

/* ------------------------------- 9) Steps -------------------------------- */
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 1rem; }
.step {
  position: relative; overflow: hidden;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; display: flex; flex-direction: column; gap: 0.6rem;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform 0.28s cubic-bezier(0.16,1,0.3,1), border-color 0.28s ease, box-shadow 0.28s ease;
}
.step:hover { border-color: var(--glass-border-strong); box-shadow: var(--glow-primary); }
.step__num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.step h3 { font-size: 1.2rem; font-weight: 600; }
.step p { color: var(--text-2); font-size: 0.95rem; }
.step__line { align-self: center; width: 36px; height: 1px; background: linear-gradient(90deg, transparent, rgba(206,188,230,0.5), transparent); }

/* ------------------------------- 10) Video ------------------------------- */
.video { display: grid; grid-template-columns: 1.7fr 1fr; gap: 1.3rem; align-items: start; }
.video__stage { border-radius: var(--radius-xl); padding: 0.8rem; position: relative; }
.video__stage video { width: 100%; border-radius: calc(var(--radius) - 2px); background: #000; aspect-ratio: 16 / 9; object-fit: cover; }
.video__caption { font-size: 1.06rem; padding: 0.9rem 0.5rem 0.35rem; font-weight: 600; }

.video__fallback {
  position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: calc(var(--radius) - 2px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; text-align: center; padding: 1.5rem;
  background: radial-gradient(circle at 50% 35%, rgba(155,126,240,0.14), rgba(16,12,21,0.7));
  border: 1px dashed var(--glass-border-strong);
}
.video__fallback-icon { font-size: 2.4rem; }

.video__list { display: flex; flex-direction: column; gap: 0.7rem; }
.video__thumb {
  display: flex; align-items: center; gap: 0.85rem; text-align: left; width: 100%;
  padding: 0.75rem 0.85rem; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--glass-border); cursor: pointer; color: var(--text); font-family: inherit;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.video__thumb:hover { transform: translateX(4px); border-color: var(--glass-border-strong); }
.video__thumb.is-active { border-color: rgba(155,126,240,0.45); background: var(--glass-strong); box-shadow: var(--glow-primary); }
.video__thumb-art { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; font-size: 1.3rem; background: var(--grad-soft); border: 1px solid rgba(206,188,230,0.18); flex: none; }
.video__thumb-meta { display: flex; flex-direction: column; flex: 1; }
.video__thumb-title { font-weight: 600; font-size: 0.95rem; }
.video__thumb-sub { font-size: 0.8rem; color: var(--muted); }
.video__thumb-play { color: var(--primary-2); font-size: 0.8rem; }

/* ------------------------------- 11) Chat -------------------------------- */
.chat { max-width: 740px; margin: 0 auto; border-radius: var(--radius-xl); padding: 1.2rem; }
.chat__head { display: flex; align-items: center; gap: 0.8rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.chat__avatar { filter: drop-shadow(0 6px 16px rgba(123,99,216,0.4)); }
.chat__id { display: flex; flex-direction: column; }
.chat__name { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.chat__status { font-size: 0.78rem; color: var(--muted); display: inline-flex; align-items: center; gap: 0.4rem; }

.chat__log { display: flex; flex-direction: column; gap: 0.7rem; padding: 1.2rem 0.2rem; min-height: 240px; max-height: 400px; overflow-y: auto; }
.msg { max-width: 82%; padding: 0.72rem 1rem; border-radius: 17px; font-size: 0.95rem; line-height: 1.55; animation: msgIn 0.4s cubic-bezier(0.16,1,0.3,1); }
.msg__who { display: block; font-size: 0.66rem; font-weight: 700; color: var(--primary-2); margin-bottom: 2px; letter-spacing: 0.03em; }
.msg--ai { align-self: flex-start; background: rgba(155,126,240,0.1); border: 1px solid rgba(155,126,240,0.16); border-bottom-left-radius: 5px; }
.msg--me { align-self: flex-end; background: var(--grad); color: #1a1020; border-bottom-right-radius: 5px; font-weight: 500; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.typing { display: inline-flex; gap: 4px; align-items: center; padding: 0.9rem 1rem; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--primary-2); opacity: 0.6; animation: blink 1.3s infinite; }
.typing i:nth-child(2){ animation-delay: 0.2s; } .typing i:nth-child(3){ animation-delay: 0.4s; }
@keyframes blink { 0%,80%,100%{ transform: scale(0.7); opacity: 0.4; } 40%{ transform: scale(1); opacity: 1; } }

.chat__suggest { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.5rem 0.2rem 1rem; }
.suggest {
  font-family: inherit; font-size: 0.84rem; color: var(--text-2);
  background: rgba(255,255,255,0.035); border: 1px solid var(--glass-border); border-radius: 999px; padding: 0.42rem 0.9rem; cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.suggest:hover { transform: translateY(-2px); background: rgba(155,126,240,0.12); border-color: rgba(206,188,230,0.4); color: #fff; }

.chat__input { display: flex; gap: 0.6rem; }
.chat__input input {
  flex: 1; font-family: inherit; font-size: 0.95rem; color: var(--text);
  background: rgba(16,12,21,0.6); border: 1px solid var(--glass-border); border-radius: 999px; padding: 0.82rem 1.15rem; outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.chat__input input::placeholder { color: var(--muted); }
.chat__input input:focus { border-color: rgba(155,126,240,0.6); box-shadow: 0 0 0 4px rgba(155,126,240,0.16); }
.chat__send { padding-inline: 1.15rem; }
.chat__note { font-size: 0.78rem; text-align: center; margin-top: 0.8rem; }

/* ------------------------------- 12) About ------------------------------- */
.about { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.8rem, 4.5vw, 3.5rem); align-items: center; }
.about__text { display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; }
.about__text p { color: var(--text-2); font-size: 1.06rem; }
.about__stats { display: flex; gap: 2.4rem; margin-top: 0.8rem; }
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; }
.stat__label { font-size: 0.85rem; color: var(--muted); }

.about__panel { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 1.8rem; }
.about__panel-title { font-size: 1.16rem; margin-bottom: 1.1rem; font-weight: 600; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.8rem; }
.ticks li { position: relative; padding-left: 2rem; color: var(--text-2); font-size: 0.95rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 8px; font-size: 0.72rem; font-weight: 700; color: #1a1020; background: var(--grad); }

/* --------------------------- 13) Testimonials ---------------------------- */
.quote { display: flex; flex-direction: column; gap: 0.9rem; }
.quote__mark { font-family: var(--font-display); font-size: 3rem; line-height: 0.6; color: var(--primary-2); opacity: 0.6; }
.quote blockquote { margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--text); }
.quote figcaption { display: flex; align-items: center; gap: 0.55rem; font-size: 0.88rem; color: var(--text-2); margin-top: auto; }
.quote__avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 0.7rem; color: #1a1020; background: var(--grad); }
.quote__tag { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--clay); border: 1px solid rgba(232,168,124,0.35); border-radius: 999px; padding: 0.05rem 0.45rem; }

/* ------------------------------ 14) Download ----------------------------- */
.download { max-width: 1000px; margin: 0 auto; border-radius: var(--radius-xl); padding: clamp(2rem, 4.5vw, 3.4rem); text-align: center; }
.download__head { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; margin-bottom: 1.8rem; }
.download__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.download__meta { margin-top: 1.1rem; font-size: 0.88rem; }
.grid--reqs { grid-template-columns: repeat(4, 1fr); margin-top: 2.2rem; }
.req { display: flex; flex-direction: column; gap: 0.25rem; align-items: center; text-align: center; padding: 1.2rem 0.8rem; border-radius: var(--radius); background: rgba(255,255,255,0.025); border: 1px solid var(--border); }
.req__icon { font-size: 1.6rem; }
.req__title { font-weight: 600; font-size: 0.92rem; }
.req__sub { font-size: 0.8rem; }

/* -------------------------------- 15) FAQ -------------------------------- */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.8rem; }
.faq__item { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 0 1.3rem; transition: border-color 0.2s ease, background 0.2s ease; }
.faq__item[open] { border-color: var(--glass-border-strong); background: var(--glass-strong); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.15rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 600; font-size: 1.04rem; font-family: var(--font-display); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { font-size: 1.4rem; color: var(--primary-2); transition: transform 0.25s ease; line-height: 1; flex: none; }
.faq__item[open] .faq__chev { transform: rotate(45deg); }
.faq__item p { color: var(--text-2); padding-bottom: 1.15rem; font-size: 0.95rem; }

/* ------------------------------ 16) Contact ------------------------------ */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.8rem, 4.5vw, 3.5rem); align-items: start; }
.contact__intro { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.contact__list { list-style: none; margin: 0.4rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; color: var(--text-2); }
.contact__list a { color: var(--primary-2); }
.contact__list a:hover { text-decoration: underline; }

.contact__form { border-radius: var(--radius-xl); padding: 1.8rem; display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text-2); }
.field input, .field textarea {
  font-family: inherit; font-size: 0.95rem; color: var(--text);
  background: rgba(16,12,21,0.6); border: 1px solid var(--glass-border); border-radius: var(--radius-sm); padding: 0.78rem 0.98rem; outline: none; resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { border-color: rgba(155,126,240,0.6); box-shadow: 0 0 0 4px rgba(155,126,240,0.16); }
.field input:invalid:not(:placeholder-shown) { border-color: rgba(236,166,191,0.55); }
.contact__submit { align-self: flex-start; }
.contact__success { font-size: 0.95rem; font-weight: 600; color: #cdf3df; background: rgba(111,207,151,0.12); border: 1px solid rgba(111,207,151,0.3); border-radius: var(--radius-sm); padding: 0.85rem 1rem; animation: msgIn 0.4s ease; }

/* ------------------------------- 17) Footer ------------------------------ */
.footer { border-top: 1px solid var(--border); margin-top: 2.5rem; background: rgba(13,9,18,0.5); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 2.8rem 1.5rem 1.6rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 0.75rem; }
.footer__name { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.footer__by { font-size: 0.85rem; }
.footer__by a { color: var(--primary-2); }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__links a { font-size: 0.92rem; color: var(--text-2); transition: color 0.2s ease; }
.footer__links a:hover { color: #fff; }
.footer__legal { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem 2.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__legal p { font-size: 0.8rem; }

/* ----------------- 18) Scroll progress / cursor glow / etc --------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: 0 50%;
  background: var(--grad); z-index: 60; box-shadow: 0 0 14px rgba(155,126,240,0.5); will-change: transform;
}
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 420px; height: 420px; border-radius: 50%; z-index: 0; pointer-events: none;
  transform: translate(-50%, -50%); margin-left: -210px; margin-top: -210px;
  background: radial-gradient(circle, rgba(155,126,240,0.14), rgba(232,168,124,0.06) 40%, transparent 70%);
  opacity: 0; transition: opacity 0.4s ease; mix-blend-mode: screen;
}
.cursor-glow.is-active { opacity: 1; }

/* --------------------------- 19) Toast + reveal -------------------------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: var(--glass-strong); border: 1px solid var(--glass-border-strong);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--text); padding: 0.82rem 1.25rem; border-radius: 999px; box-shadow: var(--shadow-lift);
  font-size: 0.9rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease; z-index: 100;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ----------------------------- 20) Responsive ---------------------------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { max-width: 52ch; margin-inline: auto; }
  .hero__eyebrow, .hero__actions, .hero__badges { justify-content: center; }
  .hero__visual { max-width: 540px; margin: 0 auto; }
  .grid--features, .grid--quotes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step__line { display: none; }
  .video { grid-template-columns: 1fr; }
  .video__list { flex-direction: row; flex-wrap: wrap; }
  .video__thumb { flex: 1 1 240px; }
  .about, .contact { grid-template-columns: 1fr; }
  .about__text, .contact__intro { align-items: center; text-align: center; }
  .ticks li { text-align: left; }
  .grid--reqs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0.25rem; padding: 0.8rem 1.5rem 1.2rem;
    background: rgba(16,12,21,0.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav__links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links > a:not(.btn) { padding: 0.72rem 0.2rem; border-bottom: 1px solid var(--border); }
  .nav__links > a:not(.btn).is-active::after { display: none; }
  .nav__cta { margin-top: 0.6rem; justify-content: center; }

  .grid--features, .grid--quotes { grid-template-columns: 1fr; }
  .grid--reqs { grid-template-columns: 1fr; }
  .about__stats { justify-content: center; gap: 1.6rem; }
  .footer__inner, .footer__legal { flex-direction: column; text-align: center; }
  .mockup { transform: none; animation: none; }
  .float-card { display: none; }
  .cursor-glow { display: none; }
  .btn--lg { width: 100%; justify-content: center; }
  .hero__actions { flex-direction: column; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .cursor-glow, .scroll-progress { display: none; }
}


/* ----------------------- 21) Calling & Messaging ------------------------ */
.connect { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.8rem,4.5vw,3.5rem); align-items: center; }
.connect__list { display: flex; flex-direction: column; gap: 0.9rem; }
.connect__item {
  position: relative; overflow: hidden; display: flex; gap: 1rem; align-items: flex-start;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius);
  padding: 1.1rem 1.2rem; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform 0.28s cubic-bezier(0.16,1,0.3,1), border-color 0.28s ease, box-shadow 0.28s ease;
}
.connect__item:hover { border-color: var(--glass-border-strong); box-shadow: var(--glow-primary); }
.connect__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 13px; font-size: 1.3rem; background: var(--grad-soft); border: 1px solid rgba(206,188,230,0.18); }
.connect__item h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 0.2rem; }
.connect__item p { color: var(--text-2); font-size: 0.92rem; }

/* interactive phone (call screen + message thread) */
.phone-stage { position: relative; display: flex; justify-content: center; padding: 1rem 0; }
.phone {
  position: relative; width: 290px; height: 580px; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #211a2e, #14101c);
  border: 1px solid var(--glass-border-strong);
  box-shadow: var(--shadow-lift), inset 0 0 0 2px rgba(255,255,255,0.03);
  animation: floaty 8s ease-in-out infinite;
}
.phone__notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 132px; height: 26px; background: #0c0910; border-radius: 0 0 16px 16px; z-index: 4; }
.phone__home { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); width: 110px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.2); z-index: 4; }
.phone__screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, rgba(123,99,216,0.22), transparent 55%), linear-gradient(180deg, #15101f, #100c16); display: flex; flex-direction: column; }
.phone__switch { display: flex; gap: 4px; margin: 38px 16px 0; padding: 4px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 999px; }
.phone__tab { flex: 1; font-family: inherit; font-size: 0.8rem; font-weight: 600; color: var(--text-2); background: none; border: 0; border-radius: 999px; padding: 0.42rem; cursor: pointer; transition: background 0.25s ease, color 0.25s ease; }
.phone__tab.is-active { color: #1a1020; background: var(--grad); }
.phone__view { flex: 1; min-height: 0; }
.phone__view[hidden] { display: none; }
.phone__view.is-active { animation: fadeView 0.4s ease; }
@keyframes fadeView { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* call screen */
.callscreen { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; padding: 1rem 1.2rem 2rem; text-align: center; position: relative; }
.callscreen__rings { position: absolute; top: 22%; left: 50%; width: 84px; height: 84px; transform: translateX(-50%); pointer-events: none; }
.callscreen__rings span { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 1px solid rgba(155,126,240,0.5); animation: ring 2.6s ease-out infinite; }
.callscreen__rings span:nth-child(2){ animation-delay: 0.8s; } .callscreen__rings span:nth-child(3){ animation-delay: 1.6s; }
@keyframes ring { 0%{ transform: scale(0.65); opacity: 0.85; } 100%{ transform: scale(2); opacity: 0; } }
.callscreen__avatar { position: relative; z-index: 1; filter: drop-shadow(0 8px 22px rgba(123,99,216,0.55)); }
.callscreen__name { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; }
.callscreen__timer { font-family: var(--font-mono); font-size: 0.9rem; color: var(--live); letter-spacing: 0.04em; }
.callscreen__wave { height: 26px; margin: 0.3rem 0; }
.callscreen__caption { font-size: 0.85rem; color: var(--text-2); min-height: 2.6em; max-width: 22ch; }
.callscreen__caption.is-in { animation: fadeView 0.4s ease; }
.callscreen__actions { display: flex; gap: 1.1rem; margin-top: 0.6rem; }
.call__btn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem; color: #fff; box-shadow: var(--shadow-soft); }
.call__btn--soft { background: rgba(255,255,255,0.1); border: 1px solid var(--glass-border-strong); }
.call__btn--end { background: #e5604f; animation: jiggle 1.8s ease-in-out infinite; }
@keyframes jiggle { 0%,100%{ transform: rotate(0); } 25%{ transform: rotate(-10deg);} 75%{ transform: rotate(10deg);} }

/* messages screen */
.smsscreen { height: 100%; display: flex; flex-direction: column; padding-top: 34px; }
.smsscreen__head { display: flex; align-items: center; gap: 0.6rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); }
.sms__ava { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 700; color: #1a1020; background: var(--grad); font-size: 0.9rem; flex: none; }
.sms__id { display: flex; flex-direction: column; line-height: 1.2; font-size: 0.85rem; }
.sms__id .muted { font-size: 0.72rem; }
.smsscreen__thread { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 0.5rem; padding: 0.9rem; }
.sms-bubble { max-width: 82%; padding: 0.5rem 0.75rem; border-radius: 15px; font-size: 0.82rem; line-height: 1.45; animation: msgIn 0.35s cubic-bezier(0.16,1,0.3,1); }
.sms-bubble--me { align-self: flex-end; background: var(--grad); color: #1a1020; font-weight: 500; border-bottom-right-radius: 4px; }
.sms-bubble--ai { align-self: flex-start; background: rgba(155,126,240,0.12); color: var(--text); border: 1px solid rgba(155,126,240,0.16); border-bottom-left-radius: 4px; }

/* floating chips around the phone */
.phone__chip { position: absolute; font-size: 0.78rem; font-weight: 600; padding: 0.55rem 0.8rem; border-radius: 14px; background: var(--glass-strong); border: 1px solid var(--glass-border-strong); box-shadow: var(--shadow-soft); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); white-space: nowrap; }
.phone__chip--1 { top: 15%; left: -26px; animation: floaty 6.5s ease-in-out infinite; }
.phone__chip--2 { bottom: 13%; right: -30px; animation: floaty 8s ease-in-out infinite reverse; }
@media (max-width: 700px) { .phone__chip { display: none; } }

.connect__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 2.4rem; }
.connect__note { text-align: center; font-size: 0.82rem; margin-top: 1rem; }

/* ------------------------- 22) Install commands -------------------------- */
.install { position: relative; max-width: 680px; margin: 0 auto 1.8rem; border-radius: var(--radius); border: 1px solid var(--glass-border); background: rgba(16,12,21,0.5); padding: 0.8rem; overflow: hidden; }
.install__ribbon { display: none; }
.install__tabs { display: flex; gap: 0.4rem; margin-bottom: 0.7rem; }
.install__tab { flex: 1; font-family: inherit; font-size: 0.88rem; font-weight: 600; color: var(--text-2); background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); border-radius: 12px; padding: 0.6rem; cursor: pointer; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.install__tab:hover { color: #fff; border-color: var(--glass-border-strong); }
.install__tab.is-active { color: #fff; background: var(--grad-soft); border-color: rgba(206,188,230,0.4); }
.cmd { display: flex; align-items: center; gap: 0.6rem; background: #0c0910; border: 1px solid var(--glass-border); border-radius: 12px; padding: 0.85rem 1rem; }
.cmd__code { flex: 1; font-family: var(--font-mono); font-size: 0.88rem; color: #e3d6ff; background: none; padding: 0; overflow-x: auto; white-space: nowrap; }
.cmd__copy { flex: none; font-family: inherit; font-size: 0.8rem; font-weight: 600; color: var(--text); background: rgba(206,188,230,0.12); border: 1px solid var(--glass-border-strong); border-radius: 9px; padding: 0.42rem 0.8rem; cursor: pointer; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.cmd__copy:hover { background: rgba(206,188,230,0.22); }
.cmd__copy.is-copied { background: rgba(111,207,151,0.2); border-color: rgba(111,207,151,0.4); color: #cdf3df; }
.install__hint { margin-top: 0.6rem; font-size: 0.82rem; text-align: center; }
.install__hint strong { color: var(--text); }

/* Coming-soon overlay — delete .is-coming-soon on #installArea to launch */
.install.is-coming-soon { border-style: dashed; border-color: rgba(232,168,124,0.45); }
.install.is-coming-soon .install__ribbon {
  display: inline-flex; position: absolute; top: 16px; right: -40px; transform: rotate(45deg);
  background: linear-gradient(120deg,#e8a87c,#eca6bf); color: #2a1410; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 3rem; box-shadow: 0 6px 16px rgba(0,0,0,0.32); z-index: 3;
}
.install.is-coming-soon .install__panels { opacity: 0.6; filter: saturate(0.85); }
.soon-tag { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(42,20,16,0.32); color: #2a1410; border-radius: 999px; padding: 0.1rem 0.5rem; margin-left: 0.25rem; }
.btn.is-disabled { opacity: 0.8; cursor: not-allowed; }
.btn.is-disabled:hover { transform: none; box-shadow: var(--glow-primary); }

/* ----------- nav hamburger earlier so the wider menu never crowds -------- */
@media (max-width: 920px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0.25rem; padding: 0.8rem 1.5rem 1.2rem;
    background: rgba(16,12,21,0.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav__links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links > a:not(.btn) { padding: 0.72rem 0.2rem; border-bottom: 1px solid var(--border); }
  .nav__links > a:not(.btn).is-active::after { display: none; }
  .nav__cta { margin-top: 0.6rem; justify-content: center; }
}

/* responsive: calling section stacks, call visual on top */
@media (max-width: 980px) {
  .connect { grid-template-columns: 1fr; }
  .phone-stage { order: -1; }
}
