:root {
  --brand-50:  #EBF3FE;
  --brand-100: #D5E7FE;
  --brand-500: #1877F2;
  --brand-600: #1367D8;
  --brand-700: #0F55B4;
  --ink-900: #0B1A2E;
  --ink-800: #1B2A3F;
  --ink-700: #2C3B52;
  --ink-500: #5A6A80;
  --ink-400: #7A8AA0;
  --ink-300: #9CA9BE;
  --ink-200: #C7D0DD;
  --ink-100: #E3E8EF;
  --ink-50:  #F3F5F8;
  --bg:      #F7F9FC;
  --card:    #FFFFFF;
  --wa: #25D366;
  --msgr: #0084FF;
  --ig: linear-gradient(135deg, #E4405F, #FCAF45);
  --shadow-1: 0 1px 2px rgba(11,26,46,.05), 0 1px 3px rgba(11,26,46,.06);
  --shadow-2: 0 12px 40px -8px rgba(11,26,46,.12), 0 4px 12px -4px rgba(11,26,46,.06);
  --shadow-3: 0 30px 80px -12px rgba(24,119,242,.20), 0 12px 32px -8px rgba(11,26,46,.10);
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-800);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { font-family: 'Bricolage Grotesque', 'Onest', sans-serif; letter-spacing: -0.02em; color: var(--ink-900); margin: 0; }

/* Background glow */
.bg-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1000px 500px at 15% -10%, rgba(24,119,242,.15), transparent 60%),
    radial-gradient(800px 400px at 90% 10%, rgba(37,211,102,.08), transparent 60%),
    radial-gradient(700px 600px at 50% 110%, rgba(228,64,95,.06), transparent 60%);
}

/* Nav */
.site-nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  padding: 14px 28px;
  background: rgba(247,249,252,.78);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(11,26,46,.06);
}
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-900); }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 8px; color: white;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  box-shadow: 0 4px 12px -2px rgba(24,119,242,.4);
}
.brand-name { font-family: 'Bricolage Grotesque'; font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.site-nav nav { display: flex; gap: 26px; }
.site-nav nav a { font-size: 14px; color: var(--ink-500); font-weight: 500; }
.site-nav nav a:hover { color: var(--ink-900); }
.nav-cta { display: flex; gap: 8px; align-items: center; }

/* Buttons */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 10px;
  font-family: 'Onest'; font-weight: 500; font-size: 14px;
  transition: all .18s ease;
  cursor: pointer; border: none;
}
.btn-primary {
  background: var(--brand-500); color: white;
  box-shadow: 0 4px 14px -4px rgba(24,119,242,.5), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn-primary:hover { background: var(--brand-600); transform: translateY(-1px); color: white; box-shadow: 0 8px 20px -6px rgba(24,119,242,.6), inset 0 1px 0 rgba(255,255,255,.15); }
.btn-ghost {
  background: transparent; color: var(--ink-800);
  border: 1px solid var(--ink-200); background: rgba(255,255,255,.7);
}
.btn-ghost:hover { border-color: var(--ink-300); background: white; color: var(--ink-900); }
.btn-primary.lg, .btn-ghost.lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  max-width: 1240px; margin: 0 auto;
  padding: 100px 32px 80px;
}
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-top: 60px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 500;
  color: var(--brand-700); background: var(--brand-50);
  border: 1px solid var(--brand-100);
}
.eyebrow.subtle {
  color: var(--ink-500); background: white; border-color: var(--ink-100);
  text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 600;
}
.pulse {
  width: 7px; height: 7px; border-radius: 999px; background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.18); animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(34,197,94,.18); } 50% { box-shadow: 0 0 0 7px rgba(34,197,94,.06); } }

.hero h1 {
  font-size: clamp(38px, 5.2vw, 66px);
  font-weight: 600; line-height: 1.03; letter-spacing: -0.035em;
  margin: 24px 0;
}
.hero h1 .grad {
  background: linear-gradient(120deg, #1877F2 0%, #4F8EF7 40%, #1877F2 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { color: var(--ink-500); font-size: 18px; max-width: 540px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges { margin-top: 24px; display: flex; gap: 20px; flex-wrap: wrap; color: var(--ink-500); font-size: 13px; }

.fade-up { opacity: 0; transform: translateY(14px); animation: fadeUp .7s cubic-bezier(.16,.84,.4,1) forwards; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .12s; } .d3 { animation-delay: .19s; }
.d4 { animation-delay: .30s; } .d5 { animation-delay: .42s; } .d6 { animation-delay: .52s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Hero preview */
.hero-preview { position: relative; }
.preview-inbox {
  display: grid; grid-template-columns: 220px 1fr; height: 470px;
  background: white; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-3);
  border: 1px solid var(--ink-100);
  transform: perspective(1400px) rotateY(-4deg) rotateX(3deg);
  transition: transform .5s ease;
}
.hero-preview:hover .preview-inbox { transform: perspective(1400px) rotateY(-1deg) rotateX(1deg); }
.pi-side { border-right: 1px solid var(--ink-100); background: var(--ink-50); display: flex; flex-direction: column; }
.pi-tabs { display: flex; flex-direction: column; gap: 2px; padding: 12px 8px; border-bottom: 1px solid var(--ink-100); }
.pi-tab { padding: 6px 10px; font-size: 12px; border-radius: 6px; color: var(--ink-500); display: inline-flex; align-items: center; gap: 6px; }
.pi-tab.active { background: white; color: var(--ink-900); box-shadow: var(--shadow-1); font-weight: 500; }
.pi-list { flex: 1; overflow: hidden; }
.pi-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid rgba(11,26,46,.04); }
.pi-row.active { background: white; box-shadow: inset 3px 0 0 var(--brand-500); }
.pi-av { width: 32px; height: 32px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: white; font-weight: 600; font-size: 13px; flex-shrink: 0; }
.pi-txt { flex: 1; min-width: 0; }
.pi-name { font-size: 12.5px; font-weight: 500; color: var(--ink-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pi-snip { font-size: 11.5px; color: var(--ink-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pi-time { font-size: 10.5px; color: var(--ink-400); flex-shrink: 0; }
.unread { background: var(--brand-500); color: white; padding: 1px 6px; border-radius: 999px; font-size: 10px; margin-left: 4px; }

.pi-thread { display: flex; flex-direction: column; }
.pi-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--ink-100); }
.pi-head .pi-name { font-size: 14px; }
.pi-meta { font-size: 11px; color: var(--ink-500); display: inline-flex; align-items: center; gap: 6px; }
.pi-pill { margin-left: auto; font-size: 10.5px; background: var(--brand-50); color: var(--brand-700); padding: 3px 8px; border-radius: 999px; border: 1px solid var(--brand-100); font-weight: 500; }
.pi-msgs { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 6px; background: linear-gradient(180deg, #FCFDFE, #F7F9FC); overflow: hidden; }
.pi-msg { max-width: 78%; padding: 8px 12px; border-radius: 14px; font-size: 13px; line-height: 1.4; }
.pi-msg.in { align-self: flex-start; background: white; border: 1px solid var(--ink-100); border-bottom-left-radius: 4px; }
.pi-msg.out { align-self: flex-end; background: var(--brand-500); color: white; border-bottom-right-radius: 4px; }
.pi-msg.out.compact { padding: 3px 10px; font-size: 10.5px; background: transparent; color: var(--ink-400); border: none; margin-top: -4px; }
.pi-typing { align-self: flex-start; display: inline-flex; gap: 3px; padding: 10px 14px; background: white; border: 1px solid var(--ink-100); border-radius: 14px; border-bottom-left-radius: 4px; }
.pi-typing span { width: 5px; height: 5px; border-radius: 999px; background: var(--ink-300); animation: bob 1.2s infinite ease-in-out; }
.pi-typing span:nth-child(2) { animation-delay: .15s; } .pi-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bob { 0%,80%,100% { opacity: .4; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.pi-input { padding: 12px 16px; border-top: 1px solid var(--ink-100); display: flex; justify-content: space-between; align-items: center; color: var(--ink-400); font-size: 12.5px; }
.pi-send { width: 26px; height: 26px; border-radius: 999px; background: var(--brand-500); color: white; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }

/* Channel dots */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; }
.dot.ch-wa { background: var(--wa); }
.dot.ch-msgr { background: var(--msgr); }
.dot.ch-ig { background: var(--ig); }

/* Logos band */
.logos { max-width: 1240px; margin: 0 auto; padding: 0 32px 80px; text-align: center; }
.logos p { color: var(--ink-400); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: white; border: 1px solid var(--ink-100);
  font-size: 13px; color: var(--ink-700); font-weight: 500;
  box-shadow: var(--shadow-1);
}

/* Sections */
section { padding: 100px 32px; max-width: 1240px; margin: 0 auto; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 600; margin: 14px 0 14px; letter-spacing: -0.03em; line-height: 1.1; }
.section-head p { color: var(--ink-500); font-size: 17px; }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }
.feat {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: all .2s ease;
}
.feat:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--brand-100); }
.feat-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; margin-bottom: 16px;
}
.feat h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.02em; }
.feat p { color: var(--ink-500); font-size: 14.5px; margin: 0; }
.ico-a { background: linear-gradient(135deg, #EBF3FE, #D5E7FE); color: var(--brand-700); }
.ico-b { background: linear-gradient(135deg, #DEF7EC, #C6F0D8); color: #128C4C; }
.ico-c { background: linear-gradient(135deg, #FEECEF, #FAD5DC); color: #C0244A; }
.ico-d { background: linear-gradient(135deg, #FFF3D9, #FEE7A6); color: #A16207; }
.ico-e { background: linear-gradient(135deg, #EDE6FE, #DDD1FC); color: #6B44D6; }
.ico-f { background: linear-gradient(135deg, #E0F2FE, #BAE6FD); color: #0369A1; }

/* Channels */
.channel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .channel-grid { grid-template-columns: 1fr; } }
.ch-card {
  border-radius: var(--radius); padding: 28px 26px;
  border: 1px solid var(--ink-100);
  background: white;
  position: relative; overflow: hidden;
}
.ch-card::before {
  content: ""; position: absolute; inset: 0; opacity: .04; z-index: 0;
}
.ch-card.wa::before { background: var(--wa); }
.ch-card.msgr::before { background: var(--msgr); }
.ch-card.ig::before { background: var(--ig); }
.ch-icon { position: relative; z-index: 1; font-family: 'Bricolage Grotesque'; font-size: 20px; font-weight: 600; color: var(--ink-900); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; letter-spacing: -0.02em; }
.ch-icon .dot { width: 12px; height: 12px; }
.ch-card ul { list-style: none; padding: 0; margin: 0; position: relative; z-index: 1; }
.ch-card li { padding: 6px 0; color: var(--ink-700); font-size: 14.5px; border-top: 1px solid var(--ink-100); }
.ch-card li:first-child { border-top: none; }

/* Pricing */
.price-card {
  background: white; border-radius: 20px; padding: 40px;
  border: 1px solid var(--ink-100); box-shadow: var(--shadow-2);
  max-width: 720px; margin: 0 auto;
}
.price-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--ink-100); margin-bottom: 24px; }
.price-tag { color: var(--brand-700); background: var(--brand-50); padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; display: inline-block; letter-spacing: .04em; text-transform: uppercase; }
.price-amt { font-family: 'Bricolage Grotesque'; font-size: 46px; font-weight: 600; letter-spacing: -0.03em; margin-top: 8px; }
.price-amt span { font-size: 16px; color: var(--ink-400); font-weight: 400; margin-left: 4px; }
.price-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
@media (max-width: 700px) { .price-list { grid-template-columns: 1fr; } }
.price-list li { color: var(--ink-700); font-size: 14px; padding: 4px 0; }

/* FAQ */
.faq-grid { display: flex; flex-direction: column; gap: 10px; max-width: 800px; margin: 0 auto; }
.faq-grid details {
  background: white; border: 1px solid var(--ink-100); border-radius: 12px;
  padding: 18px 22px; transition: all .18s ease;
}
.faq-grid details[open] { border-color: var(--brand-100); box-shadow: var(--shadow-1); }
.faq-grid summary {
  font-weight: 500; font-size: 15.5px; color: var(--ink-900); cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after {
  content: "+"; color: var(--ink-400); font-size: 20px; font-weight: 300;
  transition: transform .2s ease;
}
.faq-grid details[open] summary::after { transform: rotate(45deg); color: var(--brand-500); }
.faq-grid p { color: var(--ink-500); margin-top: 12px; margin-bottom: 0; font-size: 14.5px; }

/* Final CTA */
.cta-final { padding: 60px 32px 100px; }
.cta-card {
  background: linear-gradient(135deg, #0F55B4 0%, #1877F2 50%, #4F8EF7 100%);
  border-radius: 24px; padding: 60px 32px; text-align: center; color: white;
  box-shadow: var(--shadow-3);
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(400px 200px at 20% -10%, rgba(255,255,255,.2), transparent 70%),
    radial-gradient(400px 200px at 80% 110%, rgba(255,255,255,.15), transparent 70%);
}
.cta-card h2 { color: white; font-size: clamp(28px, 3.5vw, 40px); font-weight: 600; margin-bottom: 12px; position: relative; }
.cta-card p { color: rgba(255,255,255,.8); font-size: 16px; margin-bottom: 30px; position: relative; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-card .btn-primary { background: white; color: var(--brand-700); box-shadow: 0 6px 20px -6px rgba(0,0,0,.3); }
.cta-card .btn-primary:hover { background: var(--brand-50); color: var(--brand-700); }
.cta-card .btn-ghost { background: rgba(255,255,255,.1); color: white; border-color: rgba(255,255,255,.3); }
.cta-card .btn-ghost:hover { background: rgba(255,255,255,.2); color: white; border-color: rgba(255,255,255,.5); }

/* Footer */
.site-foot { border-top: 1px solid var(--ink-100); background: white; padding: 60px 32px 40px; }
.foot-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 2fr; gap: 60px; }
@media (max-width: 800px) { .foot-inner { grid-template-columns: 1fr; gap: 40px; } }
.foot-brand p { color: var(--ink-500); font-size: 14px; margin: 12px 0 6px; max-width: 320px; }
.foot-brand p.muted { font-size: 12.5px; color: var(--ink-400); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 600px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
.foot-cols h4 { font-family: 'Onest'; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-400); font-weight: 600; margin: 0 0 12px; }
.foot-cols a { display: block; padding: 4px 0; font-size: 14px; color: var(--ink-700); }
.foot-cols a:hover { color: var(--brand-600); }

/* Reduce hero-preview complexity on mobile */
@media (max-width: 900px) {
  .preview-inbox { transform: none !important; grid-template-columns: 180px 1fr; height: 400px; }
}
