/* ===================================================================
   ColdCallable — Navbar + Hero styles
   =================================================================== */

/* ─── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  transition: all 250ms var(--ease-out);
}
@media (min-width: 768px) { .navbar { height: 72px; } }

.navbar.scrolled {
  background: rgba(14,17,22,0.80);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-frost);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-mark {
  width: 32px; height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}
.logo-wordmark {
  height: 20px;
  width: auto;
  object-fit: contain;
}

/* Desktop nav links */
.nav-links {
  display: none;
  gap: 28px;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: rgba(246,249,252,0.70);
  font-size: 14px;
  font-weight: 500;
  transition: color 150ms;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-links a:hover { color: var(--color-frost); }
@media (min-width: 768px) { .nav-links { display: flex; } }

/* Desktop CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-cta .btn { display: none; }
@media (min-width: 640px) { .nav-cta .btn { display: inline-flex; } }

/* Hamburger button */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  color: var(--color-frost);
  flex-shrink: 0;
  transition: opacity 150ms;
}
.hamburger:hover { opacity: 0.75; }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all 250ms var(--ease-out);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 768px) { .hamburger { display: none; } }

/* Mobile slide-in menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: rgba(14,17,22,0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 32px 20px;
  padding-bottom: calc(32px + var(--safe-bottom));
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform 300ms var(--ease-out);
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 56px;
  font-size: 20px;
  font-weight: 600;
  color: rgba(246,249,252,0.80);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 4px;
  transition: color 150ms;
}
.mobile-menu a:hover { color: var(--color-frost); }
.mobile-menu .mobile-cta {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
  min-height: 56px;
  font-size: 17px;
}
@media (min-width: 768px) { .mobile-menu { display: none !important; } }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 100px;  /* nav height + extra on mobile */
  padding-bottom: 64px;
  background: var(--color-midnight);
  color: var(--color-frost);
  overflow: hidden;
  display: flex;
  align-items: center;
}
@media (min-width: 768px) { .hero { padding-top: 120px; padding-bottom: 80px; } }

/* Background layers */
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 600px at 15% 30%, rgba(77,168,255,0.22) 0%, transparent 60%),
    radial-gradient(700px 500px at 90% 70%, rgba(255,122,60,0.18) 0%, transparent 60%),
    linear-gradient(135deg, #0E1116 0%, #1A2340 100%);
}
.hero-bg .grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}
.hero-bg .noise {
  position: absolute; inset: 0;
  opacity: 0.4; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-bg .blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.5;
  animation: float-blob 18s ease-in-out infinite;
}
.hero-bg .blob-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(77,168,255,0.4), transparent 70%);
  top: -100px; left: -100px;
}
.hero-bg .blob-2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,122,60,0.3), transparent 70%);
  bottom: -150px; right: -120px;
  animation-delay: -8s;
}
@keyframes float-blob {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(40px,-30px) scale(1.06); }
  66%       { transform: translate(-30px,40px) scale(0.96); }
}

/* Hero layout — mobile first: single column */
.hero-content {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-content { grid-template-columns: 1.05fr 1fr; gap: 80px; }
}

/* Hero copy */
.hero-copy h1 { margin-top: 16px; }
.hero-copy h1 .accent-word {
  background: linear-gradient(135deg, #FF7A3C 0%, #FFB547 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block; position: relative;
}
.hero-copy h1 .accent-word::after {
  content: '';
  position: absolute; bottom: 0.08em; left: 0; right: 0;
  height: 0.18em;
  background: rgba(255,122,60,0.20);
  z-index: -1; border-radius: 4px;
}
.hero-copy .lede {
  margin-top: 20px;
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.6;
  color: rgba(246,249,252,0.72);
  max-width: 520px;
}
.hero-copy .cta-row {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Trust line */
.hero-trust {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(246,249,252,0.55);
  font-size: 13px;
}
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--color-midnight);
  margin-left: -8px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 600;
  color: white;
}
.hero-trust .avatars span:first-child { margin-left: 0; }

/* ─── Phone mockup ───────────────────────────────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

.phone {
  position: relative;
  width: 300px; height: 600px;
  border-radius: 44px;
  background: #0a0a0c;
  padding: 10px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.08),
    inset 0 0 0 2px rgba(255,255,255,0.04),
    var(--shadow-glow-blue);
  transform: rotate(-3deg);
  animation: float-phone 6s ease-in-out infinite;
}
@media (min-width: 480px) { .phone { width: 320px; height: 640px; } }

.phone-screen {
  width: 100%; height: 100%;
  border-radius: 36px;
  background: linear-gradient(180deg, #0E1116 0%, #1A2340 100%);
  overflow: hidden;
  position: relative;
  padding: 44px 20px 24px;
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 28px;
  background: #000; border-radius: 18px;
}
@keyframes float-phone {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%       { transform: rotate(-3deg) translateY(-12px); }
}

/* Call UI inside phone */
.call-status {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-success);
  display: flex; align-items: center; gap: 6px;
}
.call-status .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
  animation: pulse-dot 1.6s ease-out infinite;
}
.call-prospect {
  margin-top: 16px; display: flex; align-items: center; gap: 12px;
}
.call-prospect .av {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, #4DA8FF, #2B7FD9);
  display: grid; place-items: center;
  color: white; font-weight: 700; font-size: 18px;
  border: 2px solid rgba(255,255,255,0.08);
}
.call-prospect .info { display: flex; flex-direction: column; gap: 2px; }
.call-prospect .info .name  { font-size: 15px; font-weight: 600; color: var(--color-frost); }
.call-prospect .info .meta  { font-size: 12px; color: rgba(246,249,252,0.55); }
.call-timer {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(246,249,252,0.6);
  background: rgba(255,255,255,0.06);
  padding: 4px 10px; border-radius: 999px;
}
.transcript {
  margin-top: 20px; flex: 1;
  display: flex; flex-direction: column; gap: 10px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0%, black 8%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 8%, black 88%, transparent 100%);
}
.bubble {
  max-width: 82%; padding: 10px 14px;
  font-size: 13px; line-height: 1.4;
  border-radius: 14px;
  animation: bubble-in 400ms var(--ease-out) backwards;
}
.bubble-prospect {
  align-self: flex-start;
  background: rgba(255,255,255,0.08);
  color: var(--color-frost);
  border-bottom-left-radius: 4px;
}
.bubble-user {
  align-self: flex-end;
  background: var(--color-primary);
  color: white;
  border-bottom-right-radius: 4px;
}
@keyframes bubble-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.live-coach {
  margin-top: 14px; padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(77,168,255,0.16), rgba(62,207,142,0.10));
  border: 1px solid rgba(77,168,255,0.30);
  display: flex; gap: 10px; align-items: flex-start;
}
.live-coach .coach-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-success));
  display: grid; place-items: center; font-size: 13px; flex-shrink: 0;
}
.live-coach .coach-copy { flex: 1; font-size: 12px; line-height: 1.4; }
.live-coach .coach-copy .label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-primary); display: block; margin-bottom: 2px;
}
.live-coach .coach-copy .text { color: var(--color-frost); }
.call-controls {
  margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 18px;
}
.call-controls button {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.10);
  color: var(--color-frost);
  display: grid; place-items: center;
}
.call-controls .hangup {
  width: 56px; height: 56px;
  background: var(--color-danger);
  box-shadow: 0 6px 20px rgba(255,90,90,0.45);
}

/* Floating score / streak cards */
.float-card {
  position: absolute;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 14px 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  color: var(--color-frost);
  animation: float-card 7s ease-in-out infinite;
}
.float-card.score  { top: 60px; right: -8px; width: 200px; }
.float-card.streak { bottom: 80px; left: -10px; width: 186px; animation-delay: -3s; }
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.float-card .label {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(246,249,252,0.55); margin-bottom: 6px;
  display: flex; align-items: center; gap: 6px;
}
.float-card .big {
  font-size: 28px; font-weight: 800; line-height: 1;
  display: flex; align-items: baseline; gap: 6px;
}
.float-card .big .unit { font-size: 13px; font-weight: 600; color: rgba(246,249,252,0.6); }
.float-card .meter {
  margin-top: 8px; height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px; overflow: hidden;
}
.float-card .meter > div {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-success));
  border-radius: 999px; width: 0;
  animation: fill-meter 2s var(--ease-out) 0.4s forwards;
}
@keyframes fill-meter { to { width: 88%; } }

/* Hide float cards below 480px, scale phone down */
@media (max-width: 479px) {
  .float-card { display: none; }
  .phone {
    transform: rotate(0deg) scale(0.88);
    animation-name: float-phone-mobile;
  }
  @keyframes float-phone-mobile {
    0%, 100% { transform: rotate(0deg) scale(0.88) translateY(0); }
    50%       { transform: rotate(0deg) scale(0.88) translateY(-10px); }
  }
}
@media (max-width: 1023px) {
  .float-card.score  { top: 20px; right: 0; }
  .float-card.streak { bottom: 20px; left: 0; }
}

/* ─── Logo strip ─────────────────────────────────────────────── */
.logo-strip {
  padding: 40px 0 24px;
  background: var(--color-midnight);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.logo-strip .label {
  text-align: center;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(246,249,252,0.4); margin-bottom: 20px;
}
.logo-strip .row {
  display: flex; flex-wrap: wrap;
  gap: 32px 48px; justify-content: center; align-items: center; opacity: 0.7;
}
.logo-strip .row span {
  font-size: 16px; font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(246,249,252,0.6);
  font-family: var(--font-mono);
}
@media (min-width: 640px) {
  .logo-strip .row { gap: 48px; }
  .logo-strip .row span { font-size: 18px; }
}

/* ─── Sticky mobile CTA ──────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(14,17,22,0.94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 12px 20px;
  padding-bottom: calc(12px + var(--safe-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transform: translateY(100%);
  transition: transform 400ms var(--ease-out);
}
.sticky-cta.visible  { transform: translateY(0); }
.sticky-cta-text { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.4; }
.sticky-cta-text strong { color: var(--color-white); display: block; font-size: 14px; }
.sticky-cta .btn-primary {
  min-height: 44px; font-size: 14px; padding: 0 18px;
  flex-shrink: 0; border-radius: var(--radius-lg);
}
@media (min-width: 768px) { .sticky-cta { display: none; } }
