/* ── Konnexa Design System ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg:         #060B18;
  --surface:    #0D1527;
  --surface-2:  #132038;
  --border:     #1A2D50;
  --accent:     #0EC4D0;
  --accent-dim: rgba(14,196,208,0.10);
  --accent-glow:rgba(14,196,208,0.20);
  --text:       #E2E8F0;
  --muted:      #64748B;
  --green:      #10B981;
  --amber:      #F59E0B;
  --red:        #EF4444;
  --white:      #FFFFFF;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow:     0 4px 24px rgba(0,0,0,0.4);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4 { margin: 0; font-weight: 700; color: var(--white); text-wrap: balance; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { margin: 0; color: var(--muted); }
a  { color: inherit; text-decoration: none; }

/* ── Layout ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6,11,24,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--bg);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  padding: 6px 14px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--white); }
.nav-cta { display: flex; gap: 8px; flex-shrink: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary  { background: var(--accent); color: var(--bg); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-outline  { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--white); }
.btn-ghost    { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--white); }
.btn-lg       { padding: 13px 28px; font-size: 15px; border-radius: var(--radius-lg); }
.btn-xl       { padding: 16px 36px; font-size: 16px; border-radius: var(--radius-lg); }

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid;
}
.badge-cyan { color: var(--accent); border-color: var(--accent-glow); background: var(--accent-dim); }

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.card-hover { transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.card-hover:hover { border-color: rgba(14,196,208,0.3); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(14,196,208,0.08); }

/* ── Eyebrow ── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ── Section head ── */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head p { font-size: 1.05rem; margin-top: 14px; }

/* ── Grid ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── Check list ── */
.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.check-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.check-list li.no::before { content: '—'; color: var(--muted); }

/* ── Divider ── */
.divider { height: 1px; background: var(--border); margin: 0; border: none; }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 13px; margin-top: 12px; line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: var(--muted); padding: 3px 0; transition: color 0.12s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.footer-bottom a { color: var(--muted); transition: color 0.12s; }
.footer-bottom a:hover { color: var(--text); }
.footer-legal { display: flex; gap: 20px; }

/* ── Channel icons ── */
.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.icon-whatsapp { background: rgba(37,211,102,0.12); }
.icon-sms      { background: rgba(59,130,246,0.12); }
.icon-voice    { background: rgba(139,92,246,0.12); }
.icon-inbox    { background: rgba(14,196,208,0.12); }
.icon-campaigns{ background: rgba(245,158,11,0.12); }
.icon-analytics{ background: rgba(16,185,129,0.12); }

/* ── Stat ── */
.stat-num { font-size: 2.6rem; font-weight: 800; color: var(--white); letter-spacing: -0.03em; line-height: 1; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ── Pricing ── */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  background: linear-gradient(135deg, #0D1F40 0%, #0D2040 100%);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-dim), 0 24px 64px rgba(14,196,208,0.1);
}
.pricing-tier { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pricing-name { font-size: 1.4rem; font-weight: 700; color: var(--white); margin: 4px 0 0; }
.pricing-price { display: flex; align-items: baseline; gap: 4px; margin: 20px 0 4px; }
.pricing-price .amount { font-size: 2.8rem; font-weight: 800; color: var(--white); letter-spacing: -0.04em; }
.pricing-price .period { font-size: 14px; color: var(--muted); }
.pricing-desc { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.pricing-divider { height: 1px; background: var(--border); margin: 20px 0; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 auto; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text); }
.pricing-features li svg { flex-shrink: 0; margin-top: 2px; }
.pricing-cta { margin-top: 28px; width: 100%; justify-content: center; }
.annual-save {
  display: inline-block;
  background: rgba(16,185,129,0.12);
  color: var(--green);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ── Toggle ── */
.toggle-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}
.toggle-label { font-size: 14px; color: var(--muted); }
.toggle-label.active { color: var(--white); font-weight: 500; }
.toggle {
  position: relative;
  width: 48px;
  height: 26px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s;
}
.toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--muted);
  border-radius: 50%;
  transition: transform 0.2s, background 0.2s;
}
.toggle.annual::after { transform: translateX(22px); background: var(--accent); }
.toggle.annual { background: var(--accent-dim); border-color: var(--accent); }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}
.faq-q:hover { color: var(--accent); }
.faq-q svg { flex-shrink: 0; transition: transform 0.2s; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding-bottom: 20px; font-size: 14px; line-height: 1.75; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-item.open .faq-a { max-height: 200px; }

/* ── Form ── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 12px; font-weight: 600; color: #9CA3AF; letter-spacing: 0.02em; }
.form-input, .form-select, .form-textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--white);
  outline: none;
  width: 100%;
  font-family: inherit;
  transition: border-color 0.15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent); }
.form-input::placeholder { color: var(--muted); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-select { -webkit-appearance: none; cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .nav-links      { display: none; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .pricing-grid { grid-template-columns: 1fr !important; }
}
