/* ── Google Fonts ────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Fredoka:wght@600;700&display=swap');

/* ── Design tokens ───────────────────────────────────────────── */
:root {
  --purple:        #7c3aed;
  --purple-dark:   #5b21b6;
  --purple-mid:    #6d28d9;
  --purple-light:  #ede9fe;
  --pink:          #ec4899;
  --pink-dark:     #be185d;
  --pink-light:    #fce7f3;
  --amber:         #f59e0b;
  --amber-light:   #fef3c7;
  --green:         #10b981;
  --green-light:   #d1fae5;
  --red:           #ef4444;
  --red-light:     #fee2e2;
  --dark:          #0f0a19;
  --text:          #1e1433;
  --text-muted:    #6b6882;
  --bg:            #faf9ff;
  --white:         #ffffff;
  --border:        #e5e2f0;
  --shadow:        rgba(124, 58, 237, 0.14);
  --gradient:      linear-gradient(135deg, var(--purple), var(--pink));
  --gradient-warm: linear-gradient(135deg, var(--amber), var(--pink));
}

/* ── Reset & base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Navbar ──────────────────────────────────────────────────── */
.navbar {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 66px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px var(--shadow);
}

.brand {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.01em;
}

.brand:hover { text-decoration: none; }

.brand-logo {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

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

.nav-links { display: flex; gap: 18px; align-items: center; }

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: .88rem;
  transition: color .18s;
}

.nav-links a:hover { color: var(--purple); text-decoration: none; }

/* ── Layout ──────────────────────────────────────────────────── */
.container { max-width: 920px; margin: 52px auto; padding: 0 24px; }

footer {
  text-align: center;
  padding: 40px 24px;
  color: var(--text-muted);
  font-size: .85rem;
  border-top: 2px solid var(--border);
  margin-top: 72px;
  background: var(--white);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary {
  background: var(--gradient);
  color: #fff;
  padding: 11px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 700;
  font-family: inherit;
  display: inline-block;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 16px rgba(124,58,237,.35);
  letter-spacing: -.01em;
}

.btn-primary:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,58,237,.45);
}

.btn-secondary {
  background: var(--purple-light);
  color: var(--purple-dark);
  padding: 11px 24px;
  border-radius: 50px;
  border: 2px solid #c4b5fd;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 600;
  font-family: inherit;
  display: inline-block;
  transition: all .15s;
}

.btn-secondary:hover { background: var(--purple); color: white; border-color: var(--purple); text-decoration: none; }

.btn-danger {
  background: var(--red-light);
  color: var(--red);
  padding: 9px 20px;
  border-radius: 50px;
  border: 2px solid #fecaca;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 600;
  font-family: inherit;
  transition: all .15s;
}

.btn-danger:hover { background: var(--red); color: white; border-color: var(--red); }

.btn-sm  { padding: 6px 16px; font-size: .82rem; }
.btn-lg  { padding: 15px 38px; font-size: 1.08rem; }
.btn-block { width: 100%; margin-top: 8px; text-align: center; display: block; }

/* ── Alerts ──────────────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: .92rem;
  font-weight: 500;
  border: 1.5px solid transparent;
}

.alert-success { background: var(--green-light); color: #065f46; border-color: #a7f3d0; }
.alert-danger  { background: var(--red-light);   color: #991b1b; border-color: #fecaca; }
.alert-warning { background: var(--amber-light); color: #92400e; border-color: #fde68a; }
.alert-info    { background: var(--purple-light); color: var(--purple-dark); border-color: #c4b5fd; }

/* ── Forms ───────────────────────────────────────────────────── */
.form-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 22px;
  padding: 44px;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: 0 10px 36px var(--shadow);
}

.form-card h1 { margin-bottom: 6px; font-weight: 800; letter-spacing: -.03em; }
.form-card p  { color: var(--text-muted); margin-bottom: 28px; }

label {
  display: block;
  font-weight: 600;
  margin-top: 18px;
  margin-bottom: 5px;
  font-size: .875rem;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=password] {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: 11px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}

input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(124,58,237,.12);
  background: var(--white);
}

small { display: block; color: var(--text-muted); font-size: .8rem; margin-top: 5px; }

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--purple-light);
  border-radius: 12px;
  border: 1.5px solid #c4b5fd;
}

.checkbox-row input { margin-top: 3px; flex-shrink: 0; accent-color: var(--purple); }
.checkbox-row label { margin: 0; font-weight: 500; font-size: .875rem; color: var(--purple-dark); }
.form-footer { text-align: center; margin-top: 22px; color: var(--text-muted); font-size: .9rem; }

/* ── Hero (landing page) ─────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 72px 0 56px;
}

.hero-content { max-width: 520px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--purple-light);
  color: var(--purple-dark);
  font-size: .8rem;
  font-weight: 700;
  padding: 5px 15px;
  border-radius: 50px;
  margin-bottom: 22px;
  border: 1.5px solid #c4b5fd;
  letter-spacing: .02em;
}

.hero h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  color: var(--dark);
}

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

.tagline {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 34px;
  line-height: 1.65;
}

.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.subtext {
  color: var(--text-muted);
  font-size: .84rem;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.subtext::before { content: "✓"; color: var(--green); font-weight: 800; }

/* ── Mascot ──────────────────────────────────────────────────── */
.hero-mascot { position: relative; flex-shrink: 0; }

.mascot-img {
  width: 210px;
  height: 210px;
  animation: mascot-float 3.6s ease-in-out infinite;
  filter: drop-shadow(0 16px 28px rgba(124,58,237,.28));
}

@keyframes mascot-float {
  0%, 100% { transform: translateY(0)    rotate(-1.5deg); }
  50%       { transform: translateY(-14px) rotate(1.5deg); }
}

.hero-mascot-bubble {
  position: absolute;
  top: 8px;
  right: -12px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 16px 16px 16px 4px;
  padding: 7px 13px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--purple-dark);
  box-shadow: 0 4px 14px var(--shadow);
  white-space: nowrap;
  animation: bubble-pulse 3.6s ease-in-out infinite;
}

@keyframes bubble-pulse {
  0%, 100% { transform: scale(1); }
  30%       { transform: scale(1.07); }
  60%       { transform: scale(1); }
}

/* ── Section headings ────────────────────────────────────────── */
.how-it-works h2,
.pricing h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
  letter-spacing: 0.01em;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: .97rem;
}

/* ── How it works ────────────────────────────────────────────── */
.how-it-works { margin: 76px 0; }

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 840px;
  margin: 0 auto;
}

.steps li {
  counter-increment: step;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 28px 22px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.steps li:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px var(--shadow);
  border-color: var(--purple);
}

.steps li::before {
  content: counter(step);
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(124,58,237,.3);
}

.steps li strong { display: block; font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.steps li span   { color: var(--text-muted); font-size: .88rem; line-height: 1.55; }

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing { margin: 76px 0; }

.price-card {
  background: var(--white);
  border: 3px solid var(--purple);
  border-radius: 26px;
  padding: 46px 40px;
  max-width: 380px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  box-shadow: 0 14px 44px rgba(124,58,237,.18);
}

.price-card::before {
  content: "⭐ Most Popular";
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: white;
  font-size: .72rem;
  font-weight: 800;
  padding: 5px 18px;
  border-radius: 50px;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.price {
  font-size: 3.2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 26px;
  letter-spacing: -.04em;
}

.price small { font-size: 1rem; font-weight: 500; }

.price-card ul { list-style: none; margin-bottom: 32px; text-align: left; }

.price-card ul li {
  padding: 9px 0;
  padding-left: 26px;
  position: relative;
  font-size: .93rem;
  border-bottom: 1px solid var(--border);
}

.price-card ul li:last-child { border-bottom: none; }

.price-card ul li::before {
  content: "✓";
  color: var(--green);
  position: absolute;
  left: 0;
  font-weight: 800;
}

/* ── Trusted bar ─────────────────────────────────────────────── */
.trusted-bar {
  text-align: center;
  padding: 32px 0 12px;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  margin-bottom: 80px;
}

.trusted-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.network-badge {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* ── Features ─────────────────────────────────────────────────── */
.features { margin: 0 0 80px; }

.features h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
  letter-spacing: 0.01em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.feature-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.feature-card-highlight {
  border-color: var(--purple-light);
  background: linear-gradient(145deg, #fdfcff, var(--purple-light));
}

.badge-free-sm {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--green-light);
  color: #065f46;
  border: 1.5px solid #6ee7b7;
  border-radius: 999px;
  padding: 1px 7px;
  vertical-align: middle;
  margin-left: 5px;
  position: relative;
  top: -2px;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px var(--shadow);
  border-color: var(--purple);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

.feature-card p {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.6;
  margin: 0;
}

/* ── Reviews ──────────────────────────────────────────────────── */
.reviews { margin: 0 0 80px; }

.reviews h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
  letter-spacing: 0.01em;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.review-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-stars {
  color: var(--amber);
  font-size: 1rem;
  letter-spacing: 2px;
}

.review-text {
  color: var(--text);
  font-size: .92rem;
  line-height: 1.65;
  flex: 1;
  margin: 0;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  font-size: .75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  font-size: .9rem;
  font-weight: 700;
}

.review-author span {
  font-size: .8rem;
  color: var(--text-muted);
}

/* ── Pricing note ─────────────────────────────────────────────── */
.price-note {
  color: var(--text-muted);
  font-size: .82rem;
  margin-top: 14px;
}

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq { margin: 0 0 80px; }

.faq h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
  letter-spacing: 0.01em;
}

.faq-list {
  max-width: 680px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item[open] { border-color: var(--purple); }

.faq-item summary {
  padding: 18px 22px;
  font-weight: 700;
  font-size: .97rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--purple);
  flex-shrink: 0;
  transition: transform .2s;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.65;
  margin: 0;
}

/* ── CTA Banner ───────────────────────────────────────────────── */
.cta-banner {
  background: var(--gradient);
  border-radius: 28px;
  text-align: center;
  padding: 64px 40px;
  margin: 0 0 80px;
  color: white;
}

.cta-banner h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 1.05rem;
  opacity: .88;
  margin-bottom: 32px;
}

.cta-banner .btn-primary {
  background: white;
  color: var(--purple-dark);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.cta-banner .btn-primary:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
}

.cta-sub {
  margin-top: 16px !important;
  font-size: .82rem !important;
  opacity: .72;
  margin-bottom: 0 !important;
}

/* ── Dashboard grid ──────────────────────────────────────────── */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.badge { padding: 4px 12px; border-radius: 50px; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.badge-trial { background: var(--amber-light); color: #92400e; }

.status-badge { display: inline-block; padding: 5px 16px; border-radius: 50px; font-weight: 700; font-size: .78rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .05em; }
.status-active    { background: var(--green-light); color: #065f46; }
.status-trial     { background: var(--amber-light); color: #92400e; }
.status-cancelled { background: var(--red-light);   color: #991b1b; }
.status-note { color: var(--text-muted); font-size: .84rem; margin: 5px 0 0; }

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 2px 10px var(--shadow);
  transition: box-shadow .2s;
}

.card:hover { box-shadow: 0 6px 22px var(--shadow); }

.card h2 { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 14px; }

/* ── Number display ──────────────────────────────────────────── */
.number-row { display: flex; align-items: center; gap: 12px; margin: 10px 0 6px; }

.number-display {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: 'Space Grotesk', monospace;
  letter-spacing: .02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-copy {
  background: var(--purple-light);
  color: var(--purple-dark);
  border: none;
  padding: 5px 14px;
  border-radius: 50px;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 600;
  font-family: inherit;
  transition: all .15s;
  white-space: nowrap;
}

.btn-copy:hover { background: var(--purple); color: white; }
.btn-copy-inline { margin-left: 10px; }

/* ── Setup card ──────────────────────────────────────────────── */
.setup-card { margin-bottom: 24px; }
.setup-card summary { cursor: pointer; padding: 4px 0; list-style: none; display: flex; align-items: center; }
.setup-card summary::-webkit-details-marker { display: none; }
.setup-hint { color: var(--text-muted); font-size: .84rem; font-weight: 400; }
.setup-body { margin-top: 20px; display: flex; flex-direction: column; gap: 18px; }
.setup-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.setup-method { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; }
.setup-method strong { font-size: .95rem; }

.dial-code {
  font-family: 'Space Grotesk', monospace;
  font-size: 1.08rem;
  background: var(--purple-light);
  color: var(--purple-dark);
  padding: 8px 16px;
  border-radius: 9px;
  display: inline-block;
  border: 1.5px solid #c4b5fd;
  font-weight: 700;
  letter-spacing: .04em;
}

/* ── Section header ──────────────────────────────────────────── */
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.section-header h1, .section-header h2 { margin: 0; }

/* ── Voicemail list ──────────────────────────────────────────── */
.vm-list { display: flex; flex-direction: column; gap: 12px; }

.vm-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  transition: all .2s;
}

.vm-card:hover { border-color: var(--purple); box-shadow: 0 5px 18px var(--shadow); }

.vm-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }

.vm-caller {
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vm-time { color: var(--text-muted); font-size: .82rem; }
.vm-dur  { background: var(--purple-light); color: var(--purple-dark); font-size: .74rem; font-weight: 700; padding: 2px 10px; border-radius: 50px; }
.vm-preview { display: block; color: #374151; line-height: 1.55; font-size: .92rem; }
.vm-preview:hover { color: var(--purple); }
.vm-transcript { color: #374151; line-height: 1.7; font-size: .95rem; margin-bottom: 14px; }
.vm-card-actions { padding-top: 12px; border-top: 1px solid var(--border); }
.vm-card-full .vm-card-meta { margin-bottom: 12px; }

/* ── Voicemail detail ────────────────────────────────────────── */
.vm-detail { max-width: 660px; margin: 0 auto; }
.vm-detail-header { margin-bottom: 32px; }
.vm-detail-header h1 { margin: 12px 0 4px; font-weight: 800; letter-spacing: -.03em; }
.vm-meta { color: var(--text-muted); font-size: .9rem; }

.transcript-box {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px var(--shadow);
}

.transcript-box h2 { margin-bottom: 14px; font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.transcript-box p  { font-size: 1.08rem; line-height: 1.78; }

.vm-actions { display: flex; flex-direction: column; gap: 12px; }
.text-muted { color: var(--text-muted); font-size: .88rem; }

/* ── Account page ────────────────────────────────────────────── */
.account-page { max-width: 660px; }
.account-page h1 { margin-bottom: 32px; font-weight: 800; letter-spacing: -.03em; }

.account-section {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px var(--shadow);
}

.account-section h2 { margin-bottom: 18px; font-weight: 700; font-size: 1.05rem; }

dl { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; }
dt { color: var(--text-muted); font-size: .9rem; }
.danger-zone { border-color: #fecaca; }
.danger-zone h2 { color: var(--red); }

/* ── Delivery preference ─────────────────────────────────────── */
.delivery-card { margin-bottom: 18px; }

.delivery-preference-group {
  border: none;
  padding: 0;
  margin: 0 0 16px;
}

.delivery-preference-group legend {
  font-weight: 700;
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: block;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: .92rem;
  transition: border-color .15s, background .15s;
}

.radio-label:hover { border-color: var(--purple); background: var(--purple-light); }

.radio-label input[type=radio] {
  accent-color: var(--purple);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── Sandbox notice ──────────────────────────────────────────── */
.sandbox-notice {
  background: var(--amber-light);
  border: 1.5px solid #fde68a;
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 10px;
  font-size: .88rem;
}

.sandbox-notice strong { display: block; margin-bottom: 6px; color: #92400e; }
.sandbox-notice p { color: #92400e; margin-bottom: 8px; }
.sandbox-notice ol { margin: 0 0 0 18px; color: #78350f; line-height: 1.8; }
.sandbox-notice a { color: #92400e; font-weight: 700; }

/* ── Auto-reply card ─────────────────────────────────────────── */
.auto-reply-card { margin-bottom: 18px; }

.badge-free {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--green-light);
  color: #065f46;
  border: 1.5px solid #6ee7b7;
  border-radius: 999px;
  padding: 1px 9px;
  vertical-align: middle;
  margin-left: 6px;
  position: relative;
  top: -2px;
}

/* Toggle switch */
.toggle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  user-select: none;
}

.toggle-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-track {
  display: inline-flex;
  align-items: center;
  width: 44px;
  height: 24px;
  background: var(--border);
  border-radius: 999px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.toggle-label input:checked ~ .toggle-track {
  background: var(--purple);
}

.toggle-thumb {
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  margin-left: 3px;
  transition: transform 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}

.toggle-label input:checked ~ .toggle-track .toggle-thumb {
  transform: translateX(20px);
}

.auto-reply-card textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  margin-top: 6px;
  transition: border-color 0.2s;
}

.auto-reply-card textarea:focus {
  outline: none;
  border-color: var(--purple);
}

/* ── Callback tracking ───────────────────────────────────────── */

/* Pending callbacks alert card in dash-grid */
.callback-alert-card {
  border-left: 4px solid var(--amber);
  background: var(--amber-light);
}

.callback-alert-card h2 { color: #92400e; }

.callback-count {
  font-size: 3rem;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
  margin: 6px 0 4px;
}

/* Inline badge on voicemail cards */
.vm-callback-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.callback-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.callback-done {
  background: var(--green-light);
  color: #065f46;
  border: 1.5px solid #6ee7b7;
}

.callback-pending {
  background: var(--amber-light);
  color: #92400e;
  border: 1.5px solid #fde68a;
}

/* "Mark called back" button — ghost style */
.btn-callback {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1.5px solid var(--purple);
  color: var(--purple);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
}

.btn-callback:hover {
  background: var(--purple);
  color: var(--white);
}

/* Muted undo link */
.btn-link-muted {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-family: inherit;
}

.btn-link-muted:hover { color: var(--text); }

/* Callback status box on voicemail detail */
.callback-section {
  margin: 24px 0;
}

.callback-status-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1.5px solid;
}

.callback-status-done {
  background: var(--green-light);
  border-color: #6ee7b7;
}

.callback-status-done strong { color: #065f46; }
.callback-status-done p { color: #065f46; margin: 2px 0 0; font-size: 0.88rem; }

.callback-status-pending {
  background: var(--amber-light);
  border-color: #fde68a;
}

.callback-status-pending strong { color: #92400e; }
.callback-status-pending p { color: #92400e; margin: 2px 0 0; font-size: 0.88rem; }

.callback-status-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

/* Orange dot on caller cards needing a callback */
.callback-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--amber);
  border-radius: 50%;
  vertical-align: middle;
  margin-left: 5px;
  flex-shrink: 0;
}

/* ── Caller history ──────────────────────────────────────────── */
.caller-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.caller-card {
  display: block;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.caller-card:hover {
  border-color: var(--purple);
  box-shadow: 0 4px 18px var(--shadow);
  transform: translateY(-1px);
  text-decoration: none;
}

.caller-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.caller-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
}

.caller-avatar-lg {
  width: 38px;
  height: 38px;
  font-size: 1rem;
  display: inline-flex;
  vertical-align: middle;
  margin-right: 10px;
}

.caller-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.caller-number {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}

.caller-count {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.caller-dates {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.caller-last { font-weight: 600; }
.caller-first { color: #a09db8; }

.caller-preview {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  padding-left: 58px;  /* aligns under caller-meta, past the avatar */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* vm badges in caller history */
.vm-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vm-badge-sent {
  background: var(--green-light);
  color: #065f46;
}

.vm-badge-failed {
  background: var(--red-light);
  color: #991b1b;
}

/* Multiple links in section header */
.section-header-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

/* ── Pagination ──────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 28px; color: var(--text-muted); }
.pagination a { background: var(--purple-light); color: var(--purple-dark); padding: 6px 18px; border-radius: 50px; font-weight: 600; font-size: .88rem; }
.pagination a:hover { background: var(--purple); color: white; text-decoration: none; }
.pagination-disabled { color: var(--border); }

/* ── Empty state ─────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 72px 0; color: var(--text-muted); }
.empty-state p:first-child { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }

/* ── vm-table (kept for compat) ──────────────────────────────── */
.vm-table { width: 100%; border-collapse: collapse; background: var(--white); border: 2px solid var(--border); border-radius: 14px; overflow: hidden; }
.vm-table th, .vm-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.vm-table th { background: var(--bg); font-weight: 700; font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.vm-table tr:last-child td { border-bottom: none; }

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .navbar { padding: 0 16px; height: 60px; }
  .nav-links { gap: 10px; font-size: .83rem; }
  .brand-logo { width: 34px; height: 34px; }
  .container { padding: 0 16px; margin: 24px auto; }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 44px 0 32px;
    gap: 32px;
  }

  .hero-mascot { order: -1; display: flex; justify-content: center; }
  .mascot-img { width: 150px; height: 150px; }
  .hero-mascot-bubble { right: 0; font-size: .72rem; }
  .hero h1 { font-size: 2.3rem; }
  .tagline { font-size: .98rem; }
  .hero-cta { justify-content: center; }
  .subtext { justify-content: center; }

  .features-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 44px 24px; border-radius: 20px; }
  .cta-banner h2 { font-size: 1.5rem; }
  .steps { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .setup-cols { grid-template-columns: 1fr; }
  .number-display { font-size: 1.1rem; }

  .form-card { padding: 28px 20px; border-radius: 18px; }
  .price-card { padding: 32px 20px; }

  dl { grid-template-columns: 1fr; }
  .account-page { max-width: 100%; }
  .section-header h1 { font-size: 1.3rem; }
  .vm-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pagination { gap: 10px; font-size: .88rem; }
}
