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

:root {
  --brand: #4F46E5;
  --brand-dark: #3730A3;
  --brand-light: #EEF2FF;
  --text: #0F172A;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --surface: #F8FAFC;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.07), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: none; cursor: pointer;
  transition: background .18s, transform .12s, box-shadow .18s;
  box-shadow: 0 1px 2px rgba(79,70,229,.3);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79,70,229,.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex; align-items: center;
  font-weight: 500; font-size: 14px;
  color: var(--text-muted);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}
.btn-ghost:hover { background: var(--surface); color: var(--text); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px;
  color: var(--text);
  border: 1.5px solid var(--border);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .12s;
}
.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-light);
  transform: translateY(-1px);
}

.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--radius); }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center;
  gap: 32px; height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px;
  letter-spacing: -.3px;
  flex-shrink: 0;
}
.nav-links {
  display: flex; gap: 4px; flex: 1;
}
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: 8px; }

/* ── HERO ── */
.hero {
  background: linear-gradient(160deg, #F8F9FF 0%, #EEF2FF 40%, #F8FAFC 100%);
  padding: 80px 0 0;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
}
.hero-inner {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px; font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 28px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 2px #DCFCE7;
  flex-shrink: 0;
}
.hero-title {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--text);
}
.gradient-text {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #A855F7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px; color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 16px; }
.hero-note { font-size: 13px; color: #94A3B8; margin-bottom: 56px; }

/* ── DASHBOARD CARD ── */
.hero-visual {
  width: 100%;
  display: flex; justify-content: center;
  padding: 0 24px;
}
.dashboard-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px 16px 0 0;
  box-shadow: var(--shadow-lg);
  width: 100%; max-width: 580px;
  overflow: hidden;
}
.dash-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.dash-title { font-weight: 600; font-size: 14px; }
.dash-live {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  color: #16A34A;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22C55E;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}
.call-rows { padding: 8px 0; }
.call-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid #F1F5F9;
  transition: background .12s;
}
.call-row:last-child { border-bottom: none; }
.call-row:hover { background: var(--surface); }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.av1 { background: linear-gradient(135deg, #4F46E5, #7C3AED); }
.av2 { background: linear-gradient(135deg, #0891B2, #0284C7); }
.av3 { background: linear-gradient(135deg, #16A34A, #15803D); }
.call-info { flex: 1; min-width: 0; }
.call-name { display: block; font-size: 13px; font-weight: 600; }
.call-num { display: block; font-size: 12px; color: var(--text-muted); }
.call-status {
  font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 100px;
  display: flex; align-items: center; gap: 5px;
}
.call-status.active { background: #DCFCE7; color: #15803D; }
.call-status.hold { background: #FEF3C7; color: #B45309; }
.call-time { font-weight: 500; opacity: .8; }
.dash-stats {
  display: flex; border-top: 1px solid var(--border);
}
.stat-box {
  flex: 1; padding: 14px 16px;
  display: flex; flex-direction: column; align-items: center;
  border-right: 1px solid var(--border);
}
.stat-box:last-child { border-right: none; }
.stat-val { font-size: 20px; font-weight: 700; color: var(--text); }
.stat-lbl { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ── LOGOS BAR ── */
.logos-bar { padding: 40px 0; border-bottom: 1px solid var(--border); }
.logos-label { text-align: center; font-size: 13px; color: var(--text-muted); margin-bottom: 20px; text-transform: uppercase; letter-spacing: .06em; }
.logos-row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.logo-name { font-size: 15px; font-weight: 600; color: #94A3B8; letter-spacing: -.2px; }
.logo-sep { color: #CBD5E1; }

/* ── FEATURES ── */
.features { padding: 96px 0; }
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800; letter-spacing: -1px;
  margin-bottom: 16px; line-height: 1.15;
}
.section-sub { color: var(--text-muted); font-size: 17px; margin-bottom: 56px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.feat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.feat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.feat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feat-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feat-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── PRICING ── */
.pricing { padding: 96px 0; background: var(--surface); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; align-items: start;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.price-featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand), var(--shadow-lg);
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 100px;
  white-space: nowrap;
}
.price-tier { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 12px; }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 12px; }
.price-val { font-size: 40px; font-weight: 800; letter-spacing: -1.5px; }
.price-per { font-size: 14px; color: var(--text-muted); }
.price-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.6; }
.price-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.price-features li {
  font-size: 14px;
  padding-left: 22px;
  position: relative;
  color: var(--text);
}
.price-features li::before {
  content: '';
  position: absolute; left: 0; top: 6px;
  width: 12px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%234F46E5' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/cover;
}
.price-cta { display: block; text-align: center; width: 100%; padding: 12px; border-radius: var(--radius-sm); }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-inner h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; color: #fff; margin-bottom: 12px; letter-spacing: -.5px; }
.cta-inner p { color: rgba(255,255,255,.75); font-size: 17px; margin-bottom: 32px; }
.cta-banner .btn-primary { background: #fff; color: var(--brand); font-size: 15px; padding: 14px 32px; }
.cta-banner .btn-primary:hover { background: #F8F9FF; transform: translateY(-1px); }

/* ── FOOTER ── */
.footer { background: #0F172A; color: #94A3B8; padding: 64px 0 0; }
.footer-inner { display: flex; gap: 64px; flex-wrap: wrap; margin-bottom: 48px; }
.footer-brand { flex: 1.5; min-width: 200px; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-cols { display: flex; gap: 48px; flex: 2; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 100px; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.footer-col a { font-size: 14px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  font-size: 13px;
}

/* ── LOGIN PAGE ── */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-left {
  background: linear-gradient(160deg, #1E1B4B 0%, #312E81 40%, #4338CA 100%);
  padding: 48px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.auth-left::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,.06)'/%3E%3C/svg%3E");
}
.auth-logo { position: relative; color: #fff; font-size: 18px; font-weight: 700; margin-bottom: auto; }
.auth-headline {
  position: relative;
  margin-top: auto;
}
.auth-headline h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; color: #fff; letter-spacing: -1px; margin-bottom: 16px; line-height: 1.2; }
.auth-headline p { font-size: 16px; color: rgba(255,255,255,.65); line-height: 1.7; max-width: 380px; }
.auth-testimonial {
  position: relative;
  margin-top: 40px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.auth-testimonial blockquote { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.7; margin-bottom: 14px; font-style: italic; }
.auth-testimonial cite { font-size: 13px; color: rgba(255,255,255,.5); font-style: normal; display: flex; align-items: center; gap: 10px; }
.cite-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #4F46E5, #A855F7); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; }

.auth-right {
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 48px 40px;
}
.auth-form-wrap { width: 100%; max-width: 400px; }
.auth-tabs {
  display: flex; gap: 0;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 32px;
}
.auth-tab {
  flex: 1; text-align: center;
  padding: 9px;
  font-size: 14px; font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-muted);
  transition: background .15s, color .15s, box-shadow .15s;
  border: none; background: transparent;
}
.auth-tab.active { background: #fff; color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.1); }

.auth-panel { display: none; }
.auth-panel.active { display: block; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.form-group input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79,70,229,.12); }
.form-group input::placeholder { color: #C0C9D7; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 5px; }

.form-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; }
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.form-divider span { font-size: 12px; color: var(--text-muted); white-space: nowrap; }

.btn-submit {
  width: 100%; padding: 13px;
  background: var(--brand); color: #fff;
  font-size: 15px; font-weight: 700;
  border: none; border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .18s, transform .12s, box-shadow .18s;
  box-shadow: 0 2px 8px rgba(79,70,229,.3);
  font-family: inherit;
}
.btn-submit:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(79,70,229,.35); }
.btn-submit:active { transform: translateY(0); }

.btn-social {
  width: 100%; padding: 11px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  background: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; color: var(--text);
  transition: background .15s, border-color .15s;
  margin-bottom: 10px;
}
.btn-social:hover { background: var(--surface); border-color: #CBD5E1; }

.auth-footer-note {
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}
.auth-footer-note a { color: var(--brand); font-weight: 500; }
.auth-footer-note a:hover { text-decoration: underline; }

.forgot-row { display: flex; justify-content: flex-end; margin-top: -10px; margin-bottom: 18px; }
.forgot-row a { font-size: 13px; color: var(--brand); font-weight: 500; }
.forgot-row a:hover { text-decoration: underline; }

.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-muted); }
.form-check input[type=checkbox] { margin-top: 2px; accent-color: var(--brand); flex-shrink: 0; }
.form-check a { color: var(--brand); }
.form-check a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-right { padding: 32px 24px; min-height: 100vh; align-items: flex-start; padding-top: 40px; }
  .pricing-grid, .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 32px; }
}
