:root {
  --navy-900: #0a1533;
  --navy-800: #0f1e42;
  --navy-700: #17275a;
  --ink: #0b1220;
  --paper: #f7f9fc;
  --white: #ffffff;
  --slate-500: #5b6b8c;
  --slate-400: #8494b4;
  --line: rgba(18, 34, 74, 0.1);

  --gold: #d9a441;
  --gold-soft: #f0d089;
  --sky: #3a7bd5;
  --sky-2: #4facfe;
  --teal: #2dd4bf;
  --danger: #e5484d;
  --ok: #16a34a;

  --grad-brand: linear-gradient(135deg, #17275a 0%, #3a7bd5 100%);
  --grad-gold: linear-gradient(135deg, #d9a441 0%, #f0d089 100%);

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-lg: 0 30px 70px -30px rgba(10, 21, 51, 0.55);
  --shadow-md: 0 12px 30px -12px rgba(10, 21, 51, 0.3);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: radial-gradient(
      1200px 700px at 80% -10%,
      #eaf1ff 0%,
      transparent 60%
    ),
    radial-gradient(1000px 600px at -10% 20%, #fff6e6 0%, transparent 55%),
    var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Background orbs ─────────────────────────────── */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}
.orb-1 {
  width: 420px;
  height: 420px;
  background: #cfe0ff;
  top: -120px;
  right: -80px;
}
.orb-2 {
  width: 360px;
  height: 360px;
  background: #ffe6b8;
  bottom: -140px;
  left: -100px;
}
.orb-3 {
  width: 300px;
  height: 300px;
  background: #d6f5ee;
  top: 40%;
  left: 55%;
}

/* ── Header ──────────────────────────────────────── */
.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px clamp(20px, 5vw, 64px);
}

.brand,
.partner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--grad-brand);
  border-radius: 13px;
  box-shadow: var(--shadow-md);
}
.brand-mark svg {
  width: 26px;
  height: 26px;
}

.partner-seal {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--navy-700);
  background: var(--white);
  border: 1.5px solid var(--gold);
  border-radius: 13px;
  box-shadow: var(--shadow-md);
}
.partner-seal svg {
  width: 26px;
  height: 26px;
  color: var(--gold);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy-800);
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 0.72rem;
  color: var(--slate-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.partnership {
  display: flex;
  align-items: center;
  gap: 16px;
}
.partnership-x {
  font-size: 0.72rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* ── Hero layout ─────────────────────────────────── */
.hero {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 5vw, 64px) 40px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-700);
  background: rgba(58, 123, 213, 0.1);
  border: 1px solid rgba(58, 123, 213, 0.18);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6);
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(22, 163, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 18px;
}
.hero h1 .accent {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede {
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  color: var(--slate-500);
  line-height: 1.6;
  max-width: 30rem;
  margin-bottom: 26px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.98rem;
  color: var(--navy-800);
  font-weight: 500;
}
.feature-list .check {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.16);
  color: #0d9488;
  font-size: 0.72rem;
  font-weight: 800;
}
.feature-list .check svg {
  width: 12px;
  height: 12px;
}


/* ── Panel / card ────────────────────────────────── */
.panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  overflow: hidden;
}

.tabs {
  display: flex;
  gap: 6px;
  background: rgba(15, 30, 66, 0.05);
  border-radius: 14px;
  padding: 6px;
}
.tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-500);
  padding: 12px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.tab .tab-ico {
  font-size: 1.05rem;
}
.tab.active {
  background: var(--white);
  color: var(--navy-800);
  box-shadow: var(--shadow-md);
}

.pane {
  padding: 30px 26px 24px;
  display: none;
  animation: fadeIn 0.35s ease;
}
.pane.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── In-browser voice visual ─────────────────────── */
.orb-visual {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 8px auto 22px;
  display: grid;
  place-items: center;
}
.pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(58, 123, 213, 0.35);
  opacity: 0;
}
.orb-visual.live .pulse-ring {
  animation: pulseOut 2s ease-out infinite;
}
.orb-visual.live .pulse-ring.delay {
  animation-delay: 1s;
}
@keyframes pulseOut {
  0% {
    transform: scale(0.7);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.mic-btn {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  color: var(--white);
  background: var(--grad-brand);
  box-shadow: 0 16px 34px -12px rgba(58, 123, 213, 0.7);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mic-btn:hover {
  transform: translateY(-2px) scale(1.03);
}
.mic-btn:active {
  transform: scale(0.97);
}
.mic-btn .mic-icon,
.mic-btn .end-icon {
  width: 40px;
  height: 40px;
  grid-area: 1 / 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mic-btn .end-icon {
  opacity: 0;
  transform: scale(0.5);
}
.orb-visual.live .mic-btn {
  background: linear-gradient(135deg, #e5484d 0%, #ff7a7e 100%);
  box-shadow: 0 16px 34px -12px rgba(229, 72, 77, 0.7);
}
.orb-visual.live .mic-btn .mic-icon {
  opacity: 0;
  transform: scale(0.5);
}
.orb-visual.live .mic-btn .end-icon {
  opacity: 1;
  transform: scale(1);
}
.orb-visual.connecting .mic-btn {
  animation: breathe 1.2s ease-in-out infinite;
}
@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

.status-line {
  text-align: center;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy-800);
  min-height: 1.4em;
}

.hint {
  text-align: center;
  font-size: 0.82rem;
  color: var(--slate-400);
  margin-top: 16px;
}

/* ── Outbound call form ──────────────────────────── */
.call-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-800);
}
.field-label em {
  font-style: normal;
  font-weight: 500;
  color: var(--slate-400);
}
.field input {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder {
  color: var(--slate-400);
}
.field input:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(58, 123, 213, 0.12);
}
.field-help {
  font-size: 0.8rem;
  color: var(--slate-400);
}

.call-submit {
  position: relative;
  margin-top: 4px;
  font-family: var(--font);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
  background: var(--grad-brand);
  border: none;
  border-radius: var(--radius-sm);
  padding: 15px;
  cursor: pointer;
  box-shadow: 0 14px 30px -12px rgba(58, 123, 213, 0.65);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.2s;
}
.call-submit:hover:not(:disabled) {
  transform: translateY(-2px);
}
.call-submit:disabled {
  opacity: 0.7;
  cursor: progress;
}
.call-submit.loading .btn-label {
  opacity: 0;
}
.btn-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  opacity: 0;
}
.call-submit.loading .btn-spinner {
  opacity: 1;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-msg {
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  min-height: 1.2em;
}
.form-msg.error {
  color: var(--danger);
}
.form-msg.success {
  color: var(--ok);
}

.trust-row {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.82rem;
  color: var(--slate-400);
}

/* ── Disabled state banner ───────────────────────── */
.pane .disabled-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(229, 72, 77, 0.08);
  border: 1px solid rgba(229, 72, 77, 0.2);
  color: #b42318;
  font-size: 0.85rem;
  text-align: center;
}

/* ── Footer ──────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 26px 20px 32px;
  border-top: 1px solid var(--line);
  color: var(--slate-500);
  font-size: 0.88rem;
}
.site-footer strong {
  color: var(--navy-800);
}
.footer-sub {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--slate-400);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 20px;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .feature-list {
    align-items: flex-start;
  }
  .panel {
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
  }
}
@media (max-width: 560px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .partnership {
    width: 100%;
  }
  .pane {
    padding: 26px 18px 20px;
  }
}
