/* ============================================================
   Bio-VoIP — styles.css
   VoIP & CRM landing page
   ============================================================ */

:root {
  --teal-50:  #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --emerald:  #34d399;
  --cyan:     #06b6d4;
  --ink:      #0f2e2b;
  --ink-soft: #335450;
  --muted:    #6b8682;
  --line:     #e3eeeb;
  --bg:       #ffffff;
  --bg-soft:  #f3fbf9;
  --amber:    #f59e0b;
  --rose:     #fb7185;

  --grad: linear-gradient(120deg, var(--emerald) 0%, var(--teal-500) 50%, var(--cyan) 100%);
  --shadow-sm: 0 2px 10px rgba(15, 46, 43, .06);
  --shadow:    0 18px 50px rgba(15, 46, 43, .12);
  --shadow-lg: 0 30px 80px rgba(15, 46, 43, .18);
  --radius:    18px;
  --radius-lg: 26px;
  --maxw:      1160px;
  --font:      'Inter', 'Segoe UI', system-ui, sans-serif;
  --display:   'Poppins', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; color: var(--ink); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(20,184,166,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(20,184,166,.45); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--teal-400); color: var(--teal-600); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { flex: none; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -.3px; }
.brand-name span { color: var(--teal-500); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-weight: 500; font-size: 15px; color: var(--ink-soft); transition: color .15s; }
.nav-links a:hover { color: var(--teal-600); }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-btn {
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--muted);
  padding: 6px 12px; border-radius: 999px; transition: all .15s;
}
.lang-btn.is-active { background: #fff; color: var(--teal-600); box-shadow: var(--shadow-sm); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .25s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(52,211,153,.18), transparent 60%),
    radial-gradient(50% 50% at 10% 20%, rgba(6,182,212,.14), transparent 60%),
    var(--bg-soft);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(52,211,153,.2); }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -1px; margin: 18px 0; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 540px; }
.hero-cta { display: flex; gap: 14px; margin: 28px 0 20px; flex-wrap: wrap; }
.hero-checks { display: flex; gap: 20px; flex-wrap: wrap; list-style: none; }
.hero-checks li { font-size: 14px; color: var(--muted); font-weight: 500; }

/* Hero visual */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-card {
  width: 300px; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px; border: 1px solid var(--line);
}
.pc-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.pc-status { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--teal-600); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); position: relative; }
.live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(52,211,153,.5); animation: ping 1.6s infinite; }
@keyframes ping { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.pc-timer { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.pc-caller { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.avatar { width: 48px; height: 48px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; }
.pc-caller small { display: block; color: var(--muted); font-size: 12.5px; }
.dialpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 18px; }
.dialpad span {
  aspect-ratio: 1.6; display: grid; place-items: center; border-radius: 12px;
  background: var(--bg-soft); font-family: var(--display); font-weight: 600; color: var(--ink-soft);
  border: 1px solid var(--line); font-size: 16px;
}
.pc-actions { display: flex; justify-content: space-around; }
.pc-btn { width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; font-size: 19px; box-shadow: var(--shadow-sm); }
.pc-btn.mute { background: var(--bg-soft); }
.pc-btn.answer { background: var(--emerald); }
.pc-btn.end { background: var(--rose); }

.crm-card {
  position: absolute; bottom: -26px; right: -10px; width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px;
}
.crm-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.crm-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); }
.crm-name { font-size: 14px; font-weight: 600; margin: 8px 0 10px; }
.crm-name em { color: var(--amber); font-style: normal; font-size: 12px; }
.crm-bar { height: 7px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; }
.crm-bar span { display: block; height: 100%; background: var(--grad); }
.crm-card small { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
.floaty { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 72px; }
.stat { text-align: center; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.stat strong { display: block; font-family: var(--display); font-size: 1.7rem; font-weight: 800; }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.eyebrow { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal-600); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.6px; }
.section-head p { color: var(--ink-soft); margin-top: 14px; font-size: 1.05rem; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Feature cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--teal-50); font-size: 26px; margin-bottom: 16px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: .98rem; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-visual { order: -1; }
.split-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin: 12px 0 14px; letter-spacing: -.5px; }
.split-copy > p { color: var(--ink-soft); font-size: 1.06rem; margin-bottom: 22px; }
.check-list { list-style: none; margin-bottom: 28px; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 13px; color: var(--ink-soft); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--teal-50); color: var(--teal-600);
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}

/* Mini panels */
.mini-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px; }
.mp-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--display); font-weight: 700; margin-bottom: 16px; }
.live-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--teal-600); background: var(--teal-50); padding: 4px 10px; border-radius: 999px; }
.call-log { list-style: none; }
.call-log li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.call-log li:last-child { border-bottom: 0; }
.call-log em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 13px; }
.cl-in, .cl-out, .cl-miss { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.cl-in { background: rgba(52,211,153,.15); color: var(--teal-600); }
.cl-out { background: rgba(6,182,212,.15); color: var(--cyan); }
.cl-miss { background: rgba(251,113,133,.15); color: var(--rose); }

.kanban { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.kb-col { background: var(--bg-soft); border-radius: 14px; padding: 12px; }
.kb-col small { display: block; font-weight: 700; color: var(--muted); margin-bottom: 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.kb-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; box-shadow: var(--shadow-sm); }
.kb-card.hot { border-left: 3px solid var(--amber); }
.kb-card.win { border-left: 3px solid var(--emerald); }

/* Steps */
.steps .step { text-align: center; padding: 12px; }
.step-n { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 22px; box-shadow: 0 10px 24px rgba(20,184,166,.35); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); }

/* Pricing */
.pricing { align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.plan.featured { border-color: var(--teal-400); box-shadow: var(--shadow); transform: translateY(-8px); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-family: var(--display); font-weight: 700; font-size: 12px; padding: 6px 16px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 1.3rem; }
.price { font-family: var(--display); font-weight: 800; font-size: 3rem; margin: 12px 0 4px; line-height: 1; }
.price .cur { font-size: 1.4rem; vertical-align: super; }
.price small { font-size: .85rem; font-weight: 500; color: var(--muted); }
.price-text { font-size: 1.9rem; }
.plan-desc { color: var(--muted); font-size: .95rem; min-height: 44px; margin-bottom: 18px; }
.plan ul { list-style: none; margin-bottom: 24px; flex: 1; }
.plan ul li { padding: 8px 0; color: var(--ink-soft); border-bottom: 1px dashed var(--line); font-size: .95rem; }
.plan ul li:last-child { border-bottom: 0; }

/* Quote */
.quote { max-width: 820px; margin: 0 auto; text-align: center; }
.quote p { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.4; letter-spacing: -.4px; }
.quote footer { margin-top: 22px; color: var(--ink-soft); }

/* CTA / contact */
.cta-section { background: linear-gradient(135deg, #0f2e2b 0%, #0d4a44 100%); color: #fff; }
.cta-section .eyebrow { color: var(--teal-400); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta-copy h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -.6px; }
.cta-copy p { color: rgba(255,255,255,.8); margin: 16px 0 26px; font-size: 1.08rem; }
.contact-info { list-style: none; display: grid; gap: 12px; }
.contact-info li { color: rgba(255,255,255,.9); }
.contact-info a { color: var(--teal-400); }
.cta-form { background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font); font-size: 15px; color: var(--ink); background: var(--bg-soft); transition: border .15s, background .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-400); background: #fff; }
.field textarea { resize: vertical; }
.form-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }
.form-note.ok { color: var(--teal-600); font-weight: 600; }

/* Footer */
.site-footer { background: #08201d; color: rgba(255,255,255,.75); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { filter: brightness(0) invert(1); }
.footer-tag { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.6); max-width: 240px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; font-size: 14px; color: rgba(255,255,255,.7); transition: color .15s; }
.footer-col a:hover { color: var(--teal-400); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.55); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .split, .cta-grid { grid-template-columns: 1fr; }
  .split.reverse .split-visual { order: 0; }
  .hero-visual { margin-top: 30px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .plan.featured { transform: none; }
}
@media (max-width: 640px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 18px;
    transform: translateY(-130%); transition: transform .3s ease; box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: flex; }
  .nav .btn-primary { display: none; }
  .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .crm-card { right: 0; }
}
