/* =========================================================
   TRINITY WEBVERSE — THEME
   Inspired by a clean SaaS / professional services layout:
   light-blue hero, navy type, rounded cards, dark service band.
   Edit colours and fonts in :root only.
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --navy: #0b1f33;
  --ink: #102033;
  --blue: #1a6fb3;
  --blue-2: #1680d0;
  --blue-deep: #0d4f86;
  --sky: #e7f3fb;
  --sky-2: #f4faff;
  --mist: #f7fbfe;
  --line: #d7e4ef;
  --muted: #5b6b7c;
  --white: #ffffff;
  --dark: #071422;
  --dark-2: #0b1c2e;
  --card-dark: #0e2438;
  --gold: #d4a017;
  --ok: #12805a;
  --shadow: 0 18px 50px rgba(11, 31, 51, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 78px;
  --max: 1180px;
  --font: "Manrope", system-ui, -apple-system, 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(--white);
  line-height: 1.65;
  font-size: 16.5px;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
button, input, select, textarea { font-family: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s, border-color .2s;
}
.site-header.scrolled {
  box-shadow: 0 8px 24px rgba(11,31,51,.06);
  border-bottom-color: var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.brand img, .brand svg { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.brand-text span { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .drop > button {
  background: none; border: 0; cursor: pointer;
  color: var(--ink); font-weight: 600; font-size: 15px;
  padding: 10px 12px; border-radius: 10px;
}
.nav > a:hover, .drop > button:hover { background: var(--sky); color: var(--navy); }
.drop { position: relative; }
.drop > button { display: flex; align-items: center; gap: 6px; }
.drop > button::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.drop-panel {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 280px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow); padding: 10px;
  display: none;
}
.drop.open .drop-panel { display: block; }
.drop-panel a {
  display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 14.5px;
}
.drop-panel a small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.drop-panel a:hover { background: var(--sky); color: var(--navy); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px; font-weight: 700; border: 0; cursor: pointer;
  padding: 12px 18px; font-size: 14.5px; transition: .18s ease;
}
.btn-primary { background: var(--blue-deep); color: #fff; }
.btn-primary:hover { background: #0a3f6c; color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--navy); }
.btn-lg { padding: 15px 22px; border-radius: 14px; font-size: 15.5px; }
.menu-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 10px; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 420px at 15% -10%, #cfe8f8 0%, transparent 60%),
    radial-gradient(800px 380px at 90% 10%, #d7eefb 0%, transparent 55%),
    linear-gradient(180deg, #eaf6fc 0%, #f7fbfe 70%, #fff 100%);
  padding: 72px 0 28px;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #d6e8f5; color: var(--blue-deep);
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-2); display: inline-block; }
h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: .98; letter-spacing: -.04em; font-weight: 800; margin: 22px 0 18px; color: var(--navy);
}
h1 em { color: var(--blue); font-style: normal; display: block; }
.lede { font-size: 18.5px; color: var(--muted); max-width: 540px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.trust-row span { display: flex; align-items: center; gap: 6px; }

.device {
  background: linear-gradient(180deg, #1a6fb3, #0b3a66);
  border-radius: 28px; padding: 18px 18px 0;
  box-shadow: 0 30px 70px rgba(13,79,134,.28);
  position: relative;
}
.device-card {
  background: #fff; border-radius: 20px 20px 0 0; padding: 22px 22px 28px; min-height: 360px;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #eef6fc; color: var(--blue-deep); font-size: 12px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px;
}
.device-card h3 { margin: 14px 0 6px; font-size: 26px; letter-spacing: -.03em; }
.device-card p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-box {
  background: #f4f9fd; border: 1px solid #e3eef6; border-radius: 14px; padding: 16px; text-align: center;
}
.stat-box b { display: block; font-size: 28px; color: var(--blue); letter-spacing: -.03em; }
.stat-box span { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.float-badge {
  position: absolute; top: 18px; right: -12px; background: #fff;
  border-radius: 14px; box-shadow: var(--shadow); padding: 10px 14px;
  display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; color: var(--navy);
}

.strip {
  background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.strip label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a, .pills span {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 14px; font-size: 13.5px; font-weight: 700; color: var(--ink);
}

/* Sections */
section { padding: 84px 0; }
.kicker { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.035em; line-height: 1.08; color: var(--navy); margin: 8px 0 14px; }
h2 em { color: var(--blue); font-style: normal; }
.sub { color: var(--muted); max-width: 620px; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.why-list { display: grid; gap: 14px; }
.why-item {
  display: grid; grid-template-columns: 64px 44px 1fr; gap: 14px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px;
}
.why-item .num { font-size: 28px; font-weight: 800; color: #c5d8e8; letter-spacing: -.04em; }
.icon {
  width: 42px; height: 42px; border-radius: 12px; background: #e8f3fb;
  display: grid; place-items: center; color: var(--blue);
}
.why-item h3 { font-size: 17px; margin-bottom: 4px; }
.why-item p { color: var(--muted); font-size: 14.5px; }
.callout {
  margin-top: 22px; border: 1px solid #cfe3f3; background: #f4faff;
  border-radius: 16px; padding: 18px 18px 18px 20px; border-left: 4px solid var(--blue);
}
.callout strong { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 6px; }

.dark {
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(26,127,212,.18), transparent 50%),
    var(--dark);
  color: #d7e4ef;
}
.dark h2, .dark h3 { color: #fff; }
.center { text-align: center; }
.center .sub { margin-inline: auto; }
.badges { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 22px 0 36px; }
.badges span {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: #fff; border-radius: 12px; padding: 10px 14px; font-size: 13.5px; font-weight: 700;
}
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--card-dark); border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; padding: 22px; min-height: 260px; display: flex; flex-direction: column;
}
.card .icon { background: rgba(26,127,212,.15); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0; }
.tag {
  border: 1px solid rgba(255,255,255,.12); color: #9ec7e6; border-radius: 999px;
  padding: 4px 8px; font-size: 11px; font-weight: 700; letter-spacing: .03em;
}
.card h3 { margin: 8px 0 8px; font-size: 22px; }
.card p { color: #b7c7d4; flex: 1; }
.card a { color: #7ec4f0; font-weight: 700; margin-top: 16px; }
.ribbon { float: right; background: var(--blue); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-card {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow);
  padding: 28px 16px; text-align: center;
}
.stat-card .icon { margin: 0 auto 10px; }
.stat-card b { font-size: 40px; letter-spacing: -.04em; color: var(--navy); }
.stat-card b i { color: var(--blue); font-style: normal; }
.stat-card span { display: block; margin-top: 4px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.logo-band { text-align: center; margin-top: 48px; }
.logo-band p { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; color: #8a9aab; font-weight: 800; letter-spacing: .02em; font-size: 18px; opacity: .75; }

.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.step .n { font-size: 13px; font-weight: 800; color: var(--blue); letter-spacing: .1em; }
.step h3 { margin: 8px 0; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px;
  display: flex; flex-direction: column;
}
.price.featured { border-color: var(--blue); box-shadow: 0 20px 50px rgba(26,111,179,.15); position: relative; }
.price.featured::before {
  content: "Most chosen"; position: absolute; top: -12px; left: 24px;
  background: var(--blue); color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
}
.price .plan { font-weight: 800; font-size: 18px; }
.price .amt { font-size: 44px; font-weight: 800; letter-spacing: -.04em; margin: 10px 0 4px; }
.price .amt small { font-size: 16px; color: var(--muted); font-weight: 600; }
.price ul { list-style: none; margin: 18px 0 24px; color: var(--muted); flex: 1; }
.price li { padding: 7px 0 7px 22px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }

.insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.insight {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
}
.insight img { height: 180px; width: 100%; object-fit: cover; }
.insight .body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.insight time { color: var(--muted); font-size: 13px; font-weight: 600; }
.insight h3 { margin: 8px 0 8px; font-size: 18.5px; letter-spacing: -.02em; color: var(--navy); }
.insight p { color: var(--muted); font-size: 14.5px; flex: 1; }
.insight a { margin-top: 14px; font-weight: 700; }

.coverage {
  background:
    radial-gradient(circle at 50% 20%, #d7eefb, transparent 55%),
    var(--sky-2);
}
.cov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.cov {
  background: #fff; border-radius: 16px; padding: 16px 18px;
  display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow);
}
.cov h3 { font-size: 16px; }
.cov p { color: var(--muted); font-size: 13.5px; }

.cta-band {
  background: linear-gradient(90deg, #0d4f86, #1a7ad4);
  color: #fff; border-radius: 24px; padding: 36px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: 32px; }
.cta-band p { color: #d7eaf8; }

/* Page hero */
.page-hero {
  background: linear-gradient(180deg, #eaf6fc, #fff);
  padding: 64px 0 28px;
}
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
form { display: grid; gap: 12px; }
label { font-size: 13px; font-weight: 700; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font-size: 15px; background: #fff;
}
textarea { min-height: 130px; resize: vertical; }
.contact-cards { display: grid; gap: 12px; }
.info {
  border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; background: #fff;
}
.info h3 { font-size: 14px; margin-bottom: 4px; }
.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fff;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin-top: 8px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--dark); color: #b7c7d4; padding: 56px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .9fr .9fr 1fr; gap: 28px; }
.site-footer h4 { color: #fff; margin-bottom: 12px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.site-footer a { color: #b7c7d4; display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.legal { border-top: 1px solid rgba(255,255,255,.08); margin-top: 32px; padding-top: 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }

/* Cookie + float */
.cookie {
  position: fixed; left: 18px; bottom: 18px; z-index: 60; max-width: 420px;
  background: var(--dark); color: #fff; border-radius: 18px; padding: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.cookie p { font-size: 13.5px; color: #c5d3de; margin: 8px 0 14px; }
.cookie .row { display: flex; gap: 8px; }
.chat {
  position: fixed; right: 20px; bottom: 20px; z-index: 55;
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--blue); color: #fff; box-shadow: 0 12px 30px rgba(26,111,179,.4);
  font-size: 22px;
}

.prose { max-width: 760px; }
.prose p, .prose li { margin-bottom: 12px; color: #334155; }
.prose h3 { margin: 22px 0 8px; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.member img { height: 240px; width: 100%; object-fit: cover; }
.member div { padding: 16px; }
.member span { color: var(--muted); font-size: 13.5px; }

@media (max-width: 980px) {
  .hero-grid, .split, .cards-3, .stats, .process, .price-grid, .insights, .form-grid, .foot-grid, .team, .cov-grid {
    grid-template-columns: 1fr;
  }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px; flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
  .drop-panel { position: static; box-shadow: none; border: 0; padding: 0 0 0 10px; }
  .menu-toggle { display: inline-block; }
  .header-cta .btn { display: none; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  h1 { font-size: 40px; }
  .why-item { grid-template-columns: 48px 1fr; }
  .why-item .num { display: none; }
}
