/* ===========================================================================
   Oceonic Tele CRM — marketing site
   Royal blue, matching the product: #1E3A8A deep, #1D4ED8 solid, #4169E1 seed.
   =========================================================================== */

:root {
  --blue-950: #12225c;
  --blue-900: #1e3a8a;
  --blue-800: #1e40af;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #4169e1;
  --blue-100: #dbe4ff;
  --blue-50:  #eef3ff;

  /* The app's tile hues, reused so the site and the product agree. */
  --rose:   #e11d48;
  --violet: #7c3aed;
  --amber:  #b45309;
  --teal:   #0f766e;
  --slate:  #475569;
  --green:  #16a34a;

  --ink:     #0f172a;
  --ink-2:   #334155;
  --ink-3:   #64748b;
  --line:    #e2e8f0;
  --line-2:  #cbd5e1;
  --surface: #ffffff;
  --canvas:  #f6f8fc;

  --radius:   16px;
  --radius-s: 10px;
  --shadow:   0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-l: 0 24px 60px -12px rgba(15, 23, 42, .22);
  --wrap:     1160px;

  --sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: 1.12rem; font-weight: 700; }
p  { margin: 0 0 1em; }
a  { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }

section { padding: 84px 0; }
.section-alt { background: var(--canvas); border-block: 1px solid var(--line); }

.eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.head { max-width: 680px; margin-bottom: 44px; }
.head.center { margin-inline: auto; text-align: center; }
.head p { font-size: 1.06rem; color: var(--ink-3); margin: 0; }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue-700); color: #fff; box-shadow: 0 6px 18px -6px rgba(29, 78, 216, .6); }
.btn-primary:hover { background: var(--blue-800); }
.btn-ghost { background: #fff; color: var(--blue-900); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--blue-500); }
.btn-on-dark { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-on-dark:hover { background: rgba(255,255,255,.2); }
.btn-sm { padding: 9px 18px; font-size: .88rem; }

/* --------------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 26px; height: 68px; }

.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--ink); font-size: 1.02rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span small { display: block; font-size: .68rem; font-weight: 600; color: var(--ink-3); letter-spacing: .04em; }

.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  color: var(--ink-2);
  font-weight: 600;
  font-size: .94rem;
  padding: 8px 14px;
  border-radius: 8px;
}
.nav-links a:hover { background: var(--blue-50); color: var(--blue-800); text-decoration: none; }

.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 9px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px 0; border-radius: 2px; }

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  padding: 78px 0 0;
  background:
    radial-gradient(900px 480px at 78% -8%, rgba(65, 105, 225, .18), transparent 62%),
    radial-gradient(700px 420px at 8% 4%, rgba(29, 78, 216, .12), transparent 60%),
    var(--surface);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 54px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--blue-700); }
/* "followed up" must never break across lines — it leaves an orphan "up." */
.hero h1 .nb { white-space: nowrap; }
.hero-lede { font-size: 1.12rem; color: var(--ink-3); max-width: 30em; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-note { font-size: .86rem; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.hero-note::before { content: "✓"; color: var(--green); font-weight: 800; }

.hero-art { position: relative; }
.hero-art .shot { transform: perspective(1600px) rotateY(-8deg) rotateX(3deg); }
.hero-art .phone-float {
  position: absolute;
  right: -10px;
  bottom: -46px;
  width: 176px;
  filter: drop-shadow(0 24px 40px rgba(15, 23, 42, .3));
}

/* ------------------------------------------------------------- browser frame */

.shot {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #fff;
  box-shadow: var(--shadow-l);
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--line);
}
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.shot-bar i:nth-child(1) { background: #f87171; }
.shot-bar i:nth-child(2) { background: #fbbf24; }
.shot-bar i:nth-child(3) { background: #34d399; }
.shot-bar .url {
  flex: 1;
  margin-left: 8px;
  font-size: .72rem;
  color: var(--ink-3);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 10px;
  font-style: normal;
}
.shot img { width: 100%; }

/* ------------------------------------------------------------------- strip */

.strip { border-block: 1px solid var(--line); background: var(--canvas); padding: 30px 0; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.strip-grid b { display: block; font-size: 1.55rem; font-weight: 800; color: var(--blue-900); letter-spacing: -.03em; }
.strip-grid span { font-size: .85rem; color: var(--ink-3); }

/* ---------------------------------------------------------------- features */

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.feat:hover { border-color: var(--blue-100); transform: translateY(-2px); box-shadow: var(--shadow); }
.feat .ic {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid; place-items: center;
  margin-bottom: 15px;
  color: #fff;
}
.feat .ic svg { width: 21px; height: 21px; }
.feat p { margin: 0; font-size: .93rem; color: var(--ink-3); }

.bg-blue   { background: var(--blue-700); }
.bg-rose   { background: var(--rose); }
.bg-violet { background: var(--violet); }
.bg-amber  { background: var(--amber); }
.bg-teal   { background: var(--teal); }
.bg-slate  { background: var(--slate); }
.bg-green  { background: var(--green); }

/* ------------------------------------------------------------------- tabs */

.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 26px; }
.tab {
  font: inherit;
  font-weight: 700;
  font-size: .9rem;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .13s ease;
}
.tab:hover { border-color: var(--blue-500); }
.tab[aria-selected="true"] { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }

.panel[hidden] { display: none; }
.panel-cap { text-align: center; color: var(--ink-3); font-size: .93rem; margin: 18px auto 0; max-width: 62ch; }

/* -------------------------------------------------------------- app section */

.app-sec { background: var(--blue-950); color: #c7d2fe; }
.app-sec h2, .app-sec h3 { color: #fff; }
.app-sec .head p { color: #a9b8e8; }
.app-sec .eyebrow { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #dbe4ff; }

.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.phones { display: flex; gap: 20px; justify-content: center; }
.phones .phone:nth-child(2) { transform: translateY(26px) scale(.94); opacity: .96; }

.app-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.app-list li { display: flex; gap: 13px; align-items: flex-start; }
.app-list .dot {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid; place-items: center;
  margin-top: 2px;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
}
.app-list b { color: #fff; display: block; font-size: .98rem; }
.app-list span { font-size: .9rem; color: #a9b8e8; }

/* --------------------------------------------------- phone mockup (CSS art) */

.phone {
  width: 252px;
  flex: none;
  background: #0b1220;
  border-radius: 32px;
  padding: 9px;
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255,255,255,.08);
}
.phone-screen {
  background: #f7f8fc;
  border-radius: 25px;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.35;
  color: #0f172a;
  position: relative;
  /* Both mockups are the same height, and the bottom bar sits on the bottom
     edge in each — otherwise the shorter screen leaves a slab of bezel. */
  min-height: 476px;
  display: flex;
  flex-direction: column;
}
.ph-body { flex: 1; }
.ph-status {
  background: var(--blue-900);
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 6px 14px 2px;
  font-size: 9px;
  font-weight: 700;
  opacity: .85;
}
.ph-bar {
  background: var(--blue-900);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px 11px;
  font-weight: 700;
  font-size: 10.5px;
  white-space: nowrap;
}
.ph-bar img { width: 20px; height: 20px; border-radius: 6px; flex: none; }
.ph-bar .sp { margin-left: auto; opacity: .9; }
.ph-body { padding: 10px 10px 12px; }

.ph-welcome {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 12px 12px;
  text-align: center;
  margin-bottom: 10px;
}
.ph-welcome b { font-size: 14px; color: var(--ink); letter-spacing: -.02em; }
.ph-welcome p { margin: 3px 0 10px; font-size: 9.5px; color: var(--blue-700); font-weight: 700; }
.ph-welcome .cta {
  background: var(--blue-700);
  color: #fff;
  border-radius: 999px;
  padding: 7px;
  font-size: 10px;
  font-weight: 700;
}

.ph-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-tile {
  border-radius: 12px;
  padding: 9px 9px 8px;
  color: #fff;
  min-height: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ph-tile .top { width: 100%; display: flex; align-items: center; font-size: 12px; }
.ph-tile .badge {
  margin-left: auto;
  background: rgba(255,255,255,.26);
  border-radius: 999px;
  padding: 0 6px;
  font-size: 8.5px;
  font-weight: 800;
}
.ph-tile .nm { margin: auto 0 5px; font-size: 10px; font-weight: 800; }
.ph-tile .pill {
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 8px;
  margin-bottom: 2px;
}

.ph-nav {
  display: flex;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 6px 0 8px;
}
.ph-nav div { flex: 1; text-align: center; font-size: 7.5px; color: var(--ink-3); font-weight: 600; }
.ph-nav div i { display: block; font-size: 12px; font-style: normal; margin-bottom: 1px; }
.ph-nav div.on { color: var(--blue-700); }

/* second phone: the calling list */
.ph-search {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 9.5px;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.ph-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 10px;
  margin-bottom: 7px;
}
.ph-card .r1 { display: flex; align-items: center; gap: 6px; }
.ph-card .nm { font-weight: 800; font-size: 11px; color: var(--ink); }
.ph-card .st {
  margin-left: auto;
  font-size: 7.5px;
  font-weight: 800;
  border-radius: 999px;
  padding: 1px 7px;
  color: #fff;
}
.ph-card .sub { font-size: 9px; color: var(--ink-3); margin-top: 1px; }
.ph-card .meta { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.ph-card .meta span {
  font-size: 7.5px;
  background: var(--blue-50);
  color: var(--blue-800);
  border-radius: 999px;
  padding: 1px 7px;
  font-weight: 700;
}
.ph-card .acts { display: flex; gap: 5px; margin-top: 7px; }
.ph-card .acts b {
  flex: 1;
  text-align: center;
  font-size: 8.5px;
  border-radius: 8px;
  padding: 4px 0;
  color: #fff;
  font-weight: 700;
}

/* ----------------------------------------------------------------- pricing */

.note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 760px;
  margin: 0 auto 34px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-s);
  padding: 13px 16px;
  font-size: .88rem;
  color: #78350f;
}
.note b { color: #78350f; }

.toggle { display: flex; justify-content: center; margin-bottom: 34px; }
.toggle-in {
  display: inline-flex;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.toggle button {
  font: inherit;
  font-weight: 700;
  font-size: .88rem;
  border: 0;
  background: none;
  color: var(--ink-3);
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
}
.toggle button[aria-pressed="true"] { background: var(--blue-700); color: #fff; }
.toggle .save { font-size: .72rem; color: var(--green); font-weight: 800; margin-left: 4px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.price {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.price.pop {
  border: 2px solid var(--blue-700);
  box-shadow: 0 20px 46px -18px rgba(29, 78, 216, .42);
}
.price .tag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue-700);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.price h3 { margin-bottom: 4px; }
.price .who { font-size: .86rem; color: var(--ink-3); min-height: 2.6em; margin-bottom: 16px; }
.price .amt { display: flex; align-items: baseline; gap: 5px; margin-bottom: 4px; }
.price .amt .cur { font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.price .amt .num { font-size: 2.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1; }
.price .amt .per { font-size: .84rem; color: var(--ink-3); font-weight: 600; }
.price .bill { font-size: .8rem; color: var(--ink-3); min-height: 1.4em; margin-bottom: 20px; }
.price .btn { width: 100%; justify-content: center; margin-bottom: 22px; }
.price ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.price li { display: flex; gap: 9px; font-size: .89rem; align-items: flex-start; }
.price li::before {
  content: "";
  flex: none;
  width: 16px; height: 16px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.price li.off { color: var(--ink-3); }
.price li.off::before { background: #f1f5f9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%2394a3b8' stroke-width='3.5' stroke-linecap='round'%3E%3Cline x1='6' y1='12' x2='18' y2='12'/%3E%3C/svg%3E") center / 10px no-repeat; }

.price-foot { text-align: center; margin-top: 32px; font-size: .9rem; color: var(--ink-3); }

/* ---------------------------------------------------------------- add-ons */

.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.addon {
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-s);
  padding: 18px 20px;
  background: var(--surface);
}
.addon b { display: block; color: var(--ink); font-size: .95rem; }
.addon span { font-size: .85rem; color: var(--ink-3); }
.addon .p { font-weight: 800; color: var(--blue-700); font-size: .95rem; margin-top: 8px; display: block; }

/* -------------------------------------------------------------------- faq */

.faq { max-width: 800px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--surface);
  padding: 0;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  color: var(--ink);
  font-size: .97rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.3rem;
  color: var(--blue-700);
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq .ans { padding: 0 20px 18px; font-size: .92rem; color: var(--ink-3); }
.faq .ans p:last-child { margin: 0; }

/* -------------------------------------------------------------------- cta */

.cta-band {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700) 55%, var(--blue-500));
  color: #fff;
  text-align: center;
  border-radius: 22px;
  padding: 56px 30px;
  box-shadow: var(--shadow-l);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe4ff; max-width: 48ch; margin-inline: auto; font-size: 1.03rem; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.cta-band .btn-primary { background: #fff; color: var(--blue-800); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--blue-50); }

/* ----------------------------------------------------------------- footer */

.foot { background: var(--blue-950); color: #94a3c8; padding: 52px 0 26px; font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.foot h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.foot a { color: #94a3c8; display: block; padding: 4px 0; }
.foot a:hover { color: #fff; }
.foot .brand { color: #fff; margin-bottom: 12px; }
.foot .brand span small { color: #94a3c8; }
.foot p { max-width: 34ch; font-size: .88rem; }
.foot-base {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .83rem;
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 980px) {
  .hero-grid, .app-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art .shot { transform: none; }
  .hero-art .phone-float { display: none; }
  .feat-grid, .price-grid, .addons { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .price.pop { order: -1; }
}

@media (max-width: 760px) {
  section { padding: 60px 0; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
    gap: 2px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  /* The links carry margin-left:auto on desktop; with them hidden the burger
     needs its own push or it sits glued to the logo. */
  .nav-cta { margin-left: auto; }
  .nav-cta .btn { display: none; }
  .strip-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .feat-grid, .price-grid, .addons, .foot-grid { grid-template-columns: 1fr; }
  .phones { flex-direction: column; align-items: center; }
  .phones .phone:nth-child(2) { transform: none; }
  .cta-band { padding: 40px 22px; }
}
