/* ════════════════════════════════════════════════════════════════
   homepage.css — styles specific to the WebSnug homepage (/)
   Loaded ONLY on the homepage, after shared.css.
   shared.css handles: reset, tokens, nav, buttons, footer,
                       card system, icons, service page layout.
   This file handles: homepage hero, ticker, stats, service cards,
                      insights, platform section, packages, FAQ,
                      testimonials, CTA, preview panel, responsive.
════════════════════════════════════════════════════════════════ */

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

/* ----------------------------------------------------------------
   Design tokens
   These variables are the homepage design system. Keeping colours,
   radii and shadows here makes the site easier to tune consistently.
   Premium feel mostly comes from restraint: fewer colours, softer
   borders, consistent radii and layered shadows instead of hard boxes.
---------------------------------------------------------------- */
:root {
  /* Brand blues: primary actions, accents, focus rings and highlights. */
  --blue: #0067f0;
  --blue-dark: #0052c2;
  --blue-soft: rgba(0, 103, 240, 0.1);

  /* Navy system: headings, hero backgrounds and dark product surfaces. */
  --navy: #001b45;
  --navy-mid: #06245f;
  --chrome: #151f30;

  /* Text hierarchy: ink for headings, text for body, muted for support copy. */
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;

  /* Border and surface colours used for cards, panels and dividers. */
  --line: rgba(226, 232, 240, 0.9);
  --line-strong: rgba(203, 213, 225, 0.9);
  --bg: #f1f5f9;
  --panel: rgba(255, 255, 255, 0.9);
  --white: #ffffff;

  /* Status accent used for live/ready proof dots. */
  --green: #16a34a;

  /* Shape and layout constants. */
  --radius: 14px;
  --header-h: 76px;

  /* Layered shadows: small for quiet cards, large for hero/product panels. */
  --shadow-sm:
    0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 18px rgba(15, 23, 42, 0.06);
  --shadow-md:
    0 4px 14px rgba(15, 23, 42, 0.07), 0 20px 55px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 55px rgba(0, 27, 69, 0.16);
}

/* Smooth anchor navigation for homepage jump links. */
html {
  scroll-behavior: smooth;
}

/* Global page background: a subtle blue wash keeps white sections from
   feeling flat while avoiding a heavy one-colour theme. */
body {
  min-height: 100vh;
  font-family:
    "DM Sans",
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 8% 4%,
      rgba(0, 103, 240, 0.12),
      transparent 26rem
    ),
    linear-gradient(180deg, #fbfdff 0%, #eef4fb 46%, #f8fafc 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Branded text selection colour. */
::selection {
  color: #fff;
  background: var(--blue);
}

/* Images are block-level to avoid small baseline gaps under assets. */
img {
  max-width: 100%;
  display: block;
}

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

/* Buttons inherit the site font instead of browser defaults. */
button {
  font: inherit;
}

/* Prevents decorative hero/section effects from causing horizontal scroll. */
.site-shell {
  overflow: hidden;
}

/* Main layout rail. The wide cap supports desktop dashboards while the
   calc() keeps comfortable side gutters on small screens. */
.container {
  width: min(1680px, calc(100% - 4rem));
  margin-inline: auto;
}

/* Accessibility: hidden until focused, then shown for keyboard users. */
.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Fixed topbar: dark and elevated so it reads as product chrome. */
.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  background: var(--chrome);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.16);
}

/* Navigation uses flex so logo, links and actions stay aligned vertically. */
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Brand lockup: logo mark plus wordmark. Hover lift is intentionally tiny. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  transition: transform 0.2s ease;
}

.brand:hover {
  transform: translateY(-1px);
}


/* Pill navigation: the translucent panel separates links from the topbar
   without introducing another heavy rectangle. */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.12);
}

.nav-links a {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: rgba(219, 234, 254, 0.82);
  font-size: 0.86rem;
  font-weight: 800;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.nav-links a:hover {
  background: rgba(0, 103, 240, 0.18);
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Secondary nav action. Kept lower contrast than the primary CTA. */
.portal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 10px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 10px 24px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.portal-link:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.48);
  background: rgba(0, 103, 240, 0.22);
  color: #fff;
}

/* Base button primitive used by hero, packages and CTA sections. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

/* Primary CTA: brighter, with inset highlight for a more polished surface. */
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 30px rgba(0, 103, 240, 0.27);
}

.btn-dark {
  color: #fff;
  background: #020817;
  box-shadow: 0 12px 30px rgba(0, 27, 69, 0.2);
}

.btn-light {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

/* Mobile menu trigger, hidden until the 980px breakpoint. */
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

/* ----------------------------------------------------------------
   Hero
   Full first-viewport product story. The layered background combines
   navy depth, blue lighting and a subtle grid so it feels technical
   and premium without needing a bitmap hero asset.
---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  padding: clamp(5rem, 8vw, 8rem) 0 5.5rem;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(
      circle at 18% 28%,
      rgba(0, 103, 240, 0.38),
      transparent 28rem
    ),
    radial-gradient(
      circle at 78% 22%,
      rgba(56, 189, 248, 0.2),
      transparent 30rem
    ),
    linear-gradient(135deg, #020817 0%, #06245f 48%, #001b45 100%);
}

/* Animated lighting layer. It sits behind content because of isolation/z-index. */
.hero::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(0, 103, 240, 0.18), transparent 42%),
    radial-gradient(
      circle at 22% 40%,
      rgba(14, 165, 233, 0.22),
      transparent 24rem
    ),
    radial-gradient(
      circle at 82% 58%,
      rgba(59, 130, 246, 0.2),
      transparent 26rem
    );
  filter: blur(10px);
  opacity: 0.9;
  animation: heroDrift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Fine grid overlay: adds structure to the dark hero without visual clutter. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.045) 1px,
      transparent 1px
    );
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  pointer-events: none;
}

@keyframes heroDrift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }

  to {
    transform: translate3d(2%, 2%, 0) scale(1.05);
  }
}

/* Two-column hero layout: copy on the left, product preview on the right. */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

/* Small label above major headings. Used for category/status context. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.42rem 0.68rem;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 24px rgba(0, 0, 0, 0.12);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Status dot used inside eyebrow labels. */
.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.12);
}

/* Homepage display typography. Montserrat gives the brand its chunky,
   confident headline voice; DM Sans remains the readable body font. */
h1,
h2,
h3 {
  font-family: "Montserrat", "DM Sans", sans-serif;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 980px;
  font-size: clamp(2.45rem, 6.2vw, 5.25rem);
  font-weight: 800;
  color: #fff;
}

h1 span {
  color: var(--blue);
}

/* The hero highlight gets a subtle brand-blue glow for contrast without
   the heavier outlined-text look. */
#hero-title span {
  color: #1a7fff;
  text-shadow: 0 12px 34px rgba(0, 103, 240, 0.45);
}

/* Lead copy under the hero heading. Kept narrower for readable line length. */
.hero-copy {
  max-width: 760px;
  margin-top: 1.35rem;
  color: rgba(226, 232, 240, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

/* Three proof cards under the hero CTA. These are quick confidence signals. */
.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 860px;
  margin-top: 2rem;
}

.proof-card {
  min-height: 88px;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: var(--radius);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.13),
    rgba(255, 255, 255, 0.07)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 18px 44px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}
.proof-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 24px 58px rgba(0, 0, 0, 0.22);
}

.proof-card strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}

.proof-card span {
  display: block;
  margin-top: 0.2rem;
  color: rgba(226, 232, 240, 0.68);
  font-size: 0.82rem;
}

/* Product preview wrapper. The slight 3D rotation makes it feel like a
   premium app mockup, not just another static card. */
.hero-panel {
  position: relative;
  padding: 1.1rem;
  border: 1px solid rgba(219, 234, 254, 0.2);
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0.07)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 30px 90px rgba(0, 0, 0, 0.32);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1.5deg);
}

/* Floating badge reinforces the all-in-one positioning in the hero visual. */
.hero-panel::after {
  content: "Portal + hosting + email";
  position: absolute;
  right: 1.35rem;
  bottom: -0.85rem;
  padding: 0.48rem 0.72rem;
  border: 1px solid rgba(219, 234, 254, 0.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 103, 240, 0.9);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  font-size: 0.75rem;
  font-weight: 900;
}

/* Mock browser/application frame shown inside the hero panel. */
.site-preview {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.18);
  background: #fff;
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.22);
}

/* Mini browser chrome across the top of the preview. */
.preview-top {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 42px;
  padding: 0 0.9rem;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.window-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #cbd5e1;
}

.preview-url {
  margin-left: 0.45rem;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
}

.preview-body {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  min-height: 430px;
}

.preview-aside {
  padding: 1.55rem;
  color: #fff;
  background:
    radial-gradient(
      circle at 25% 18%,
      rgba(0, 103, 240, 0.35),
      transparent 10rem
    ),
    linear-gradient(180deg, var(--navy-mid), var(--navy));
}

.preview-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  margin-bottom: 2.35rem;
}

.preview-brand-mark {
  width: min(190px, 100%);
  height: auto;
}

.preview-brand-name {
  font-family: "Montserrat", "DM Sans", sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.45rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.06em;
  color: #fff;
}

.preview-brand-name span {
  color: var(--blue);
}

.preview-brand-tagline {
  color: rgba(219, 234, 254, 0.62);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.preview-pill {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #bfdbfe;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-aside h2 {
  font-size: 2rem;
  color: #fff;
}

.preview-aside p {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

/* Right-hand preview content: miniature dashboard stats and setup states. */
.preview-main {
  padding: 1.2rem;
  background:
    linear-gradient(135deg, rgba(0, 103, 240, 0.08), transparent 52%),
    #fff;
}

/* Individual preview rows. These mimic dashboard summary modules. */
.preview-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.82rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.preview-stat + .preview-stat {
  margin-top: 0.75rem;
}

.preview-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: var(--blue);
  background: var(--blue-soft);
  font-weight: 900;
}

.preview-stat strong {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
}

.preview-stat span {
  color: var(--muted);
  font-size: 0.78rem;
}

/* Three small status chips at the bottom of the mock dashboard. */
.status-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.status-strip div {
  padding: 0.8rem 0.65rem;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 900;
  text-align: center;
}

/* Respect users who prefer less motion by disabling decorative hero drift. */
@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
  }
}

/* Base homepage section spacing. Every major band starts from this rhythm. */
section {
  position: relative;
  padding: 5.25rem 0;
}

/* Section header pattern: large heading paired with optional support copy. */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Blue uppercase kicker used to orient visitors before the section title. */
.section-kicker {
  margin-bottom: 0.6rem;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head h2 {
  max-width: 820px;
  color: var(--navy);
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  font-weight: 800;
}

.section-head p {
  max-width: 520px;
  color: var(--muted);
}

/* Homepage service cards: three-column overview of the main offering. */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* Generic premium card surface. Shared by service, insight, package and FAQ
   blocks so the homepage feels like one coherent design system. */
.card {
  border: 1px solid rgba(203, 213, 225, 0.68);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 253, 255, 0.92)),
    radial-gradient(circle at 10% 0, rgba(0, 103, 240, 0.08), transparent 16rem);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 18px 42px rgba(15, 23, 42, 0.08);
}

/* Service cards add a small hover lift for interactivity. */
.service-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  padding: 1.5rem;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 103, 240, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 18px 48px rgba(15, 23, 42, 0.1);
}

/* Icon bubble used by homepage feature/service cards. Kept here so this
   homepage file can render correctly even if shared icon CSS changes. */
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(0,103,240,0.14), rgba(0,103,240,0.06));
  color: #0067f0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}
.feature-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
/* Two-column grid for feature callouts inside the platform/portal section. */
.platform-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.platform-feature-card {
  padding: 1.4rem;
  border: 1px solid rgba(148,163,184,0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,255,0.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 24px rgba(15,23,42,0.07);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.platform-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 103, 240, 0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 18px 48px rgba(15,23,42,0.1);
}
.platform-feature-card h4 {
  margin: 0 0 0.4rem;
  font-family: "Montserrat", "DM Sans", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  color: #001b45;
}
.platform-feature-card p {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Compact icon bubble used by cards that are not full feature cards. */
.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 12px;
  color: var(--blue);
  background: linear-gradient(
    180deg,
    rgba(0, 103, 240, 0.14),
    rgba(0, 103, 240, 0.06)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  font-weight: 900;
}

.service-card h3,
.package h3,
.faq-item h3 {
  color: var(--navy);
  font-size: 1.08rem;
}

.service-card p,
.package p,
.faq-item p {
  margin-top: 0.65rem;
  color: var(--muted);
}

/* Unordered feature lists without browser bullets. Custom dots feel more
   intentional and match the brand accent. */
.feature-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--text);
  font-size: 0.9rem;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 0.5rem;
}

.feature-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 0.5rem;
  border-radius: 999px;
  background: var(--blue);
  flex: 0 0 auto;
}

/* Small text link inside cards. Used when a card leads to a deeper page. */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.15rem;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.service-link:hover {
  color: var(--navy);
}

/* ----------------------------------------------------------------
   SEO / why section
   Editorial split layout: sticky intro card on the left, rich copy and
   proof cards on the right. This breaks up the page so it is not only
   repeated card grids.
---------------------------------------------------------------- */
.seo-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 4.8vw, 4.8rem);
  align-items: start;
}

.seo-section {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(239, 246, 255, 0.72)),
    radial-gradient(circle at 88% 8%, rgba(0, 103, 240, 0.11), transparent 26rem);
}

.seo-section .section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: clamp(2rem, 4vw, 4.25rem);
  align-items: end;
  margin-bottom: 2.5rem;
}

.seo-section .section-head h2 {
  max-width: 820px;
  font-size: clamp(2.35rem, 4.6vw, 5.25rem);
  line-height: 0.97;
}

.seo-section .section-head p {
  max-width: 760px;
  margin-top: 0;
  padding: 1.25rem 1.35rem 1.25rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-left: 4px solid var(--blue);
  border-radius: 18px;
  color: #36506f;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 255, 0.78));
  box-shadow: 0 18px 44px rgba(0, 27, 69, 0.08);
}

.seo-copy {
  display: grid;
  gap: 1.15rem;
  color: var(--text);
}

.seo-copy h3 {
  color: var(--navy);
  font-size: 1.25rem;
}

.seo-copy > h3:first-child {
  font-size: 1.45rem;
}

.seo-copy p {
  max-width: 760px;
}

/* Sticky left card: keeps the main promise visible while reading the section. */
.seo-intro {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  overflow: hidden;
  padding: clamp(1.4rem, 2vw, 1.75rem);
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.9)),
    radial-gradient(circle at 0 0, rgba(0, 103, 240, 0.16), transparent 18rem);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 26px 70px rgba(0, 27, 69, 0.12);
}

.seo-intro::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--blue), #60a5fa);
}

.seo-intro h3 {
  color: var(--navy);
  font-size: 1.25rem;
}

.seo-intro p {
  margin-top: 0.75rem;
  color: var(--text);
}

/* Insight cards summarise important buying reasons without creating a wall
   of paragraph text. */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0.25rem 0 0.35rem;
}

.insight-card {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  padding: 1.45rem;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.insight-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), rgba(96, 165, 250, 0.2), transparent);
}

.insight-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 103, 240, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 24px 60px rgba(15, 23, 42, 0.1);
}

.insight-card h3 {
  color: var(--navy);
  font-size: 1.05rem;
}

.insight-card p {
  margin-top: 0.55rem;
  color: var(--muted);
}

/* Industry chips: quick scannable proof of who the platform is for. */
.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.industry-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.48rem 0.78rem;
  border: 1px solid rgba(0, 103, 240, 0.18);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 24px rgba(15, 23, 42, 0.06);
}

/* Dark process band: separates the practical setup flow from lighter sections. */
.dark-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 103, 240, 0.26), transparent 42%),
    linear-gradient(180deg, #06245f 0%, #001b45 100%);
}

/* Grid texture used only on dark bands to keep the technical/product feel. */
.dark-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.045) 1px,
      transparent 1px
    );
  background-size: 42px 42px;
  pointer-events: none;
}

.dark-band .section-kicker,
.dark-band h2 {
  color: #fff;
}

.dark-band .section-head p {
  color: rgba(255, 255, 255, 0.68);
}

.dark-band .container {
  position: relative;
  z-index: 1;
}

/* Four-step launch process. Collapses to two columns/tablet and one/mobile. */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.process-card {
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  border-radius: 10px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.process-card h3 {
  color: #fff;
  font-size: 1rem;
}

.process-card p {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

/* Platform section: pairs a larger summary card with a list of capabilities. */
.platform {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
  align-items: stretch;
}

.platform-card {
  padding: 1.75rem;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.98),
    rgba(239, 246, 255, 0.88)
  );
}

.platform-card h2 {
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.platform-card p {
  margin-top: 0.9rem;
  color: var(--muted);
}

.platform-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.platform-item {
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.platform-item::before {
  content: "";
  display: block;
  width: 32px;
  height: 4px;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: var(--blue);
}

.platform-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.platform-item strong {
  display: block;
  color: var(--navy);
}

.platform-item span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Package/pricing band. Light blue wash keeps it distinct from white sections. */
.packages {
  background: linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%);
}

/* Package cards. The starter-only modifier lets one package feel deliberate
   rather than like two missing pricing columns. */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.package-grid.starter-only {
  grid-template-columns: minmax(0, 1fr);
}

.package-grid.starter-only .package {
  max-width: 980px;
  margin-inline: 0;
}

.package-grid.starter-only .feature-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.package {
  position: relative;
  overflow: hidden;
  padding: 1.45rem;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

/* Featured package gets a stronger border and badge to establish priority. */
.package.featured {
  border-color: rgba(0, 103, 240, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    var(--shadow-md);
}

.package.featured::after {
  content: "Most complete";
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
  font-size: 0.68rem;
  font-weight: 900;
}

.package:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 103, 240, 0.28);
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.1);
}

.soon {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.35rem 0.58rem;
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-placeholder {
  margin: 1.1rem 0;
  padding: 0.85rem;
  border: 1px dashed rgba(0, 103, 240, 0.32);
  border-radius: 12px;
  color: var(--navy);
  background: #f8fbff;
  font-weight: 900;
}

/* FAQ section: subtle background and large heading make it feel like an
   intentional support area, not an afterthought. */
#faq {
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(241, 247, 255, 0.9)),
    radial-gradient(circle at 12% 0, rgba(0, 103, 240, 0.1), transparent 24rem);
}

#faq .section-head {
  align-items: flex-start;
}

#faq .section-head h2 {
  max-width: 760px;
  font-size: clamp(2.45rem, 4.4vw, 4.5rem);
  line-height: 0.98;
}

/* Two-column FAQ grid on desktop, single column on mobile. */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.faq-item {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 1.45rem;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

/* Decorative "Q" watermark. Uses ::after so ::before can stay reserved for
   the universal blue top line shared by all cards. */
.faq-item::after {
  content: "Q";
  position: absolute;
  right: 1.2rem;
  top: 1rem;
  z-index: 0;
  color: rgba(0, 103, 240, 0.08);
  font-family: "Montserrat", "DM Sans", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.faq-item > * {
  position: relative;
  z-index: 1;
}

.faq-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 103, 240, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 22px 54px rgba(15, 23, 42, 0.1);
}

/* Final CTA band spacing. The box itself carries the visual weight. */
.cta {
  padding: 0 0 4.5rem;
}

/* Strong final conversion panel using brand navy/blue and high-contrast text. */
.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  color: #fff;
  background:
    linear-gradient(
      135deg,
      rgba(0, 103, 240, 0.88),
      rgba(0, 27, 69, 0.98)
    ),
    var(--navy);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    var(--shadow-lg);
}

.cta-box h2 {
  font-size: clamp(1.7rem, 3.4vw, 3rem);
}

.cta-box p {
  max-width: 680px;
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.78);
}



.footer-col strong {
  color: #fff;
  font-family: "Montserrat", sans-serif;
}

.copyright {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.85rem;
}

@media (max-width: 980px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid .stat-item:nth-child(2) {
    border-right: none;
  }

  .stats-grid .stat-item:nth-child(1),
  .stats-grid .stat-item:nth-child(2) {
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.25rem;
    margin-bottom: 0.25rem;
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .nav-links.open {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 1rem;
    left: 1rem;
    display: grid;
    gap: 0.25rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 18px;
    padding: 0.75rem;
    background: rgba(12, 22, 38, 0.98);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 24px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
  }

  .nav-links.open a {
    padding: 0.82rem 0.9rem;
    border-radius: 12px;
    color: rgba(219, 234, 254, 0.86);
  }

  .nav-links.open a:hover {
    background: rgba(0, 103, 240, 0.18);
    color: #fff;
  }

  .hero-grid,
  .platform,
  .seo-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-panel {
    max-width: 720px;
  }

  .service-grid,
  .insight-grid,
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .seo-section .section-head,
  .seo-grid {
    grid-template-columns: 1fr;
  }

  .seo-intro {
    position: relative;
    top: auto;
  }
}

@media (max-width: 720px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  :root {
    --header-h: 68px;
  }

  .container {
    width: min(100% - 1.4rem, 1680px);
  }

  .nav {
    min-height: 68px;
  }


  .nav-actions .btn {
    display: none;
  }

  .portal-link {
    min-height: 40px;
    padding: 0.65rem 0.82rem;
  }

  .hero {
    padding: 3rem 0 3.5rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .proof-row,
  .service-grid,
  .insight-grid,
  .package-grid.starter-only .feature-list,
  .process-grid,
  .platform-list,
  .package-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .preview-body {
    grid-template-columns: 1fr;
  }

  .preview-main {
    display: none;
  }

  .preview-aside {
    min-height: 340px;
  }

  .hero-panel::after {
    display: none;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 0.8rem;
  }

  section {
    padding: 3.25rem 0;
  }

  .cta-box {
    grid-template-columns: 1fr;
    padding: 1.35rem;
  }

  .cta-box .btn {
    width: 100%;
  }
}

/* ── Ticker bar ── */
.ticker-bar {
  background: linear-gradient(90deg, #001b45, #06245f 50%, #001b45);
  border-bottom: 1px solid rgba(0, 103, 240, 0.28);
  overflow: hidden;
  white-space: nowrap;
  height: 38px;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: ticker 28s linear infinite;
}

.ticker-bar:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 2rem;
  font-size: 0.76rem;
  font-weight: 800;
  color: rgba(219, 234, 254, 0.75);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex: 0 0 auto;
  box-shadow: 0 0 6px rgba(0, 103, 240, 0.6);
}

/* ── Stats band ── */
.stats-band {
  padding: 2.25rem 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.95),
      rgba(248, 251, 255, 0.88)
    ),
    radial-gradient(
      circle at 50% 0,
      rgba(0, 103, 240, 0.08),
      transparent 28rem
    );
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  border-right: 1px solid var(--line);
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-value span {
  color: var(--blue);
}

.stat-label {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ── Testimonials ── */
.testimonials {
  background: linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.testimonial-card {
  padding: 1.45rem;
  position: relative;
}

.testimonial-card::after {
  content: "\201C";
  position: absolute;
  top: 0.75rem;
  right: 1.2rem;
  font-family: "Montserrat", sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--blue-soft);
  line-height: 1;
}

.testimonial-text {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  flex: 0 0 auto;
}

.author-name {
  display: block;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.88rem;
}

.author-role {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.star-row {
  display: flex;
  gap: 2px;
  margin-bottom: 0.65rem;
}

.star-row span {
  color: #f59e0b;
  font-size: 0.82rem;
}

@media (max-width: 460px) {
  .ticker-bar {
    display: none;
  }

  body {
    background: #f8fafc;
  }

  .brand-kicker {
    display: none;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .proof-card,
  .service-card,
  .platform-card,
  .platform-item,
  .package,
  .faq-item {
    padding: 1rem;
  }

  .status-strip {
    grid-template-columns: 1fr;
  }

  .preview-brand-mark {
    width: 150px;
  }

  .preview-brand-name {
    font-size: 1.8rem;
  }

  .preview-brand-tagline {
    font-size: 0.58rem;
  }

  .preview-aside h2 {
    font-size: 1.7rem;
  }
}
