/* =====================================================================
   SkoolSync – Main Stylesheet
   Colours come from the SkoolSync logo (orange + green open book, navy
   wordmark) and the iTechStellar family palette. Change them here once
   and the whole site updates.
   ===================================================================== */

:root {
  --ss-orange: #f79429;   /* left page of the book (shared with iTechStellar) */
  --ss-green: #4cb24e;    /* right page of the book + "Sync" */
  --ss-navy: #173d6f;     /* "Skool" wordmark */
  --ss-blue: #1f7ae0;     /* vibrant primary */
  --ss-sky: #00aeef;      /* iTechStellar blue */
  --ss-sun: #ffbe1a;      /* playful highlight */
  --ss-berry: #ec4f8a;    /* playful accent */
  --ss-ink-dark: #0c2240; /* dark sections */
  --ss-ink-dark-2: #123563;
  --ink: #14243a;
  --muted: #5b6b7f;
  --surface: #ffffff;
  --surface-alt: #f5f8fc;
  --surface-warm: #fff8ef;
  --border: #e3ebf3;

  --grad-book: linear-gradient(120deg, var(--ss-orange) 0%, var(--ss-sun) 45%, var(--ss-green) 100%);
  --grad-cool: linear-gradient(135deg, var(--ss-blue) 0%, var(--ss-sky) 55%, var(--ss-green) 100%);
  --grad-dark: linear-gradient(160deg, var(--ss-ink-dark) 0%, var(--ss-ink-dark-2) 100%);
  --radius: 20px;
  --shadow-sm: 0 4px 14px rgba(12, 34, 64, 0.06);
  --shadow-md: 0 16px 40px rgba(12, 34, 64, 0.10);
  --shadow-lg: 0 28px 64px rgba(12, 34, 64, 0.16);

  /* Bootstrap overrides */
  --bs-primary: var(--ss-blue);
  --bs-primary-rgb: 31, 122, 224;
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--ink);
  --bs-link-color: var(--ss-blue);
  --bs-link-hover-color: #1663bb;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--bs-body-font-family);
  color: var(--ink);
  background: var(--surface);
  overflow-x: clip;
  padding-top: 76px; /* height of fixed navbar */
}
h1, h2, h3, h4, h5, h6, .font-display {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
}
p { line-height: 1.7; }
.text-muted-2 { color: var(--muted) !important; }
.text-blue { color: var(--ss-blue) !important; }
.text-orange { color: var(--ss-orange) !important; }
.text-green { color: var(--ss-green) !important; }
.text-gradient {
  background: var(--grad-book);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-gradient-cool {
  background: var(--grad-cool);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* hand-drawn underline under a highlighted word */
.scribble { position: relative; white-space: nowrap; display: inline-block; }
.scribble::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.12em;
  height: 0.32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C 50 4, 120 4, 197 12' stroke='%23f79429' stroke-width='6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  z-index: -1;
}

.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.bg-alt { background: var(--surface-alt); }
.bg-warm { background: var(--surface-warm); }
@media (max-width: 767.98px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
}

/* ---------- Section headings (same pattern as iTechStellar) ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ss-orange);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--ss-orange) 50%, var(--ss-green) 50%);
}
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 16px; }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 660px; }
.text-center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 50px; padding: 0.75rem 1.6rem; transition: all 0.25s ease; }
.btn-brand {
  background: var(--ss-blue);
  border: 0;
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 122, 224, 0.32);
}
.btn-brand:hover, .btn-brand:focus { background: #1767c2; color: #fff; transform: translateY(-2px); }
.btn-orange {
  background: var(--ss-orange);
  border: 0;
  color: #fff;
  box-shadow: 0 10px 24px rgba(247, 148, 41, 0.35);
}
.btn-orange:hover, .btn-orange:focus { background: #e3830f; color: #fff; transform: translateY(-2px); }
.btn-green {
  background: var(--ss-green);
  border: 0;
  color: #fff;
  box-shadow: 0 10px 24px rgba(76, 178, 78, 0.32);
}
.btn-green:hover, .btn-green:focus { background: #33a040; color: #fff; transform: translateY(-2px); }
.btn-outline-brand { border: 2px solid var(--ss-blue); color: var(--ss-blue); background: transparent; }
.btn-outline-brand:hover { background: var(--ss-blue); color: #fff; }
.btn-outline-light:hover { color: var(--ss-ink-dark); }
.btn-white { background: #fff; color: var(--ss-ink-dark); border: 0; box-shadow: var(--shadow-sm); }
.btn-white:hover { background: #fff; color: var(--ss-blue); transform: translateY(-2px); }

/* ---------- Logo (built in main.js) ---------- */
.ss-logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.ss-logo img { height: 46px; width: auto; }
.site-footer .ss-logo img { height: 52px; }

/* ---------- Navbar ---------- */
.site-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  min-height: 76px;
  transition: box-shadow 0.3s ease;
}
.site-navbar.scrolled { box-shadow: 0 6px 24px rgba(12, 34, 64, 0.08); }
.site-navbar .nav-link {
  font-weight: 600;
  color: var(--ink);
  padding: 0.5rem 1rem !important;
  position: relative;
}
.site-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 2px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--ss-orange) 50%, var(--ss-green) 50%);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.site-navbar .nav-link:hover, .site-navbar .nav-link.active { color: var(--ss-blue); }
.site-navbar .nav-link:hover::after, .site-navbar .nav-link.active::after { transform: scaleX(1); }
.site-navbar .navbar-toggler { border: 0; box-shadow: none; font-size: 1.8rem; color: var(--ink); }
.parent-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: none;
  padding: 5px 10px 5px 6px;
  border-radius: 50px;
  border: 1px solid var(--border);
  white-space: nowrap;
}
.parent-chip img { height: 18px; }
.parent-chip strong { color: var(--ink); }
.parent-chip:hover { border-color: var(--ss-sky); color: var(--ink); }
@media (max-width: 991.98px) {
  .site-navbar .navbar-collapse {
    background: #fff;
    margin: 8px -12px 0;
    padding: 12px 16px 20px;
    border-top: 1px solid var(--border);
  }
  .site-navbar .nav-link::after { display: none; }
}
@media (max-width: 400px) {
  .ss-logo img { height: 40px; }
}

/* ---------- Home hero: bright, warm and playful ---------- */
.hero {
  position: relative;
  padding: 80px 0 110px;
  background:
    radial-gradient(circle at 8% 18%, rgba(247, 148, 41, 0.20), transparent 32%),
    radial-gradient(circle at 92% 12%, rgba(0, 174, 239, 0.20), transparent 34%),
    radial-gradient(circle at 70% 95%, rgba(76, 178, 78, 0.20), transparent 38%),
    var(--surface-warm);
  overflow: hidden;
  isolation: isolate;
}
.hero::before { /* dotted pattern */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(22, 70, 122, 0.12) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  z-index: -1;
}
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.1; margin-bottom: 22px; color: var(--ss-ink-dark); }
.hero .lead { color: var(--muted); font-size: 1.15rem; max-width: 560px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border-radius: 50px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-badge .pill { background: var(--ss-green); color: #fff; font-weight: 700; font-size: 0.72rem; padding: 4px 10px; border-radius: 50px; letter-spacing: 0.06em; }
.hero-trust { color: var(--muted); font-size: 0.92rem; }
.hero-trust i { color: var(--ss-green); }
.shape { position: absolute; z-index: -1; pointer-events: none; animation: floaty 7s ease-in-out infinite; }
.shape.s1 { width: 18px; height: 18px; border-radius: 50%; border: 4px solid var(--ss-orange); top: 16%; left: 46%; }
.shape.s2 { width: 22px; height: 22px; background: var(--ss-sun); border-radius: 6px; transform: rotate(20deg); bottom: 16%; left: 4%; animation-delay: -2s; }
.shape.s3 { width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-bottom: 20px solid var(--ss-berry); top: 10%; right: 6%; animation-delay: -4s; }
.shape.s4 { width: 14px; height: 14px; border-radius: 50%; background: var(--ss-sky); bottom: 12%; right: 40%; animation-delay: -1s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 991.98px) { .hero { padding: 56px 0 80px; } }

/* hero dashboard mock-up */
.hero-visual { position: relative; padding: 24px 10px 30px 30px; }
.dash {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.5s ease;
}
.hero-visual:hover .dash { transform: none; }
.dash-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: var(--surface-alt); border-bottom: 1px solid var(--border); }
.dash-bar > span { width: 10px; height: 10px; border-radius: 50%; }
.dash-bar > span:nth-child(1) { background: #ff6058; }
.dash-bar > span:nth-child(2) { background: #ffbd2e; }
.dash-bar > span:nth-child(3) { background: #28ca42; }
.dash-url { margin-left: 10px; flex: 1; height: 22px; border-radius: 6px; background: #fff; border: 1px solid var(--border); font-size: 0.7rem; color: var(--muted); display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.dash-url i { color: var(--ss-green); }
.dash-body { display: grid; grid-template-columns: 58px 1fr; }
.dash-side { background: var(--ss-navy); padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; color: rgba(255, 255, 255, 0.55); font-size: 1.1rem; }
.dash-side img { width: 30px; margin-bottom: 4px; }
.dash-side i.on { color: #fff; background: rgba(255, 255, 255, 0.14); padding: 6px 8px; border-radius: 10px; }
.dash-main { padding: 18px; min-width: 0; }
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.dash-head strong { font-family: "Poppins", sans-serif; font-size: 0.98rem; }
.dash-head small { color: var(--muted); font-size: 0.72rem; }
.dash-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.dash-tile { border-radius: 14px; padding: 10px 12px; color: #fff; }
.dash-tile small { display: block; font-size: 0.68rem; opacity: 0.9; }
.dash-tile b { font-family: "Poppins", sans-serif; font-size: 1.05rem; }
.dash-tile.t1 { background: linear-gradient(135deg, var(--ss-blue), var(--ss-sky)); }
.dash-tile.t2 { background: linear-gradient(135deg, #2fa83d, #6ccf5a); }
.dash-tile.t3 { background: linear-gradient(135deg, #f08a0f, var(--ss-sun)); }
.dash-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; }
.dash-card { background: var(--surface-alt); border-radius: 14px; padding: 12px; }
.dash-card h6 { font-size: 0.74rem; margin-bottom: 10px; color: var(--ink); }
.dash-chart { display: flex; align-items: flex-end; gap: 6px; height: 92px; }
.dash-chart div { flex: 1; border-radius: 5px 5px 2px 2px; background: var(--ss-blue); transform-origin: bottom; animation: grow 1.2s ease both; }
.dash-chart div:nth-child(3n+2) { background: var(--ss-green); }
.dash-chart div:nth-child(3n) { background: var(--ss-orange); }
.donut {
  width: 84px;
  height: 84px;
  margin: 0 auto;
  border-radius: 50%;
  background: conic-gradient(var(--ss-green) 0 94%, var(--ss-berry) 94% 98%, var(--ss-sun) 98% 100%);
  display: grid;
  place-items: center;
}
.donut::after { content: "94%"; width: 58px; height: 58px; border-radius: 50%; background: var(--surface-alt); display: grid; place-items: center; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 0.9rem; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.toast-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  max-width: 250px;
  animation: floaty 6s ease-in-out infinite;
  z-index: 2;
}
.toast-card .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 1rem; flex-shrink: 0; }
.toast-card b { display: block; font-size: 0.82rem; }
.toast-card span { color: var(--muted); font-size: 0.74rem; }
.toast-card.tc1 { top: 0; left: -6px; }
.toast-card.tc1 .ic { background: var(--ss-berry); }
.toast-card.tc2 { bottom: 0; right: -6px; animation-delay: -3s; }
.toast-card.tc2 .ic { background: var(--ss-green); }
@media (max-width: 575.98px) {
  .hero-visual { padding: 34px 0 40px; }
  .dash { transform: none; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .dash-tile b { font-size: 0.92rem; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-grid .dash-card:last-child { display: none; }
  .toast-card { max-width: 220px; }
  .toast-card.tc1 { left: 0; }
  .toast-card.tc2 { right: 0; }
}

/* colourful stripe under heroes (matches iTechStellar) */
.brand-stripe { height: 6px; background: linear-gradient(90deg, var(--ss-orange) 0 20%, var(--ss-sun) 20% 40%, var(--ss-green) 40% 60%, var(--ss-sky) 60% 80%, var(--ss-blue) 80% 100%); }

/* inner page hero */
.page-hero {
  position: relative;
  padding: 84px 0 76px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 12% 20%, rgba(247, 148, 41, 0.35), transparent 35%),
    radial-gradient(circle at 88% 80%, rgba(76, 178, 78, 0.35), transparent 38%),
    linear-gradient(135deg, var(--ss-navy) 0%, var(--ss-blue) 100%);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  z-index: -1;
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, 0.85); max-width: 660px; margin: 0 auto; font-size: 1.08rem; }
.page-hero .breadcrumb { justify-content: center; margin-bottom: 18px; }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255, 255, 255, 0.75); text-decoration: none; font-size: 0.9rem; }
.page-hero .breadcrumb-item.active { color: var(--ss-sun); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, 0.45); }

/* ---------- Colour helpers & icon boxes ---------- */
.c-orange { --c: var(--ss-orange); --c-soft: rgba(247, 148, 41, 0.13); --c-2: #ffb347; }
.c-green { --c: var(--ss-green); --c-soft: rgba(76, 178, 78, 0.13); --c-2: #7fd36a; }
.c-blue { --c: var(--ss-blue); --c-soft: rgba(31, 122, 224, 0.12); --c-2: #5aa8ff; }
.c-sky { --c: var(--ss-sky); --c-soft: rgba(0, 174, 239, 0.12); --c-2: #6fd6ff; }
.c-sun { --c: #f2a900; --c-soft: rgba(255, 190, 26, 0.18); --c-2: #ffd75e; }
.c-berry { --c: var(--ss-berry); --c-soft: rgba(236, 79, 138, 0.12); --c-2: #ff8fb8; }
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  flex-shrink: 0;
  background: var(--c-soft, rgba(31, 122, 224, 0.12));
  color: var(--c, var(--ss-blue));
}
.icon-box.lg { width: 72px; height: 72px; font-size: 2rem; border-radius: 22px; }
.icon-box.solid { background: linear-gradient(135deg, var(--c), var(--c-2)); color: #fff; box-shadow: 0 10px 22px var(--c-soft); }

/* ---------- Audience strip ---------- */
.audience-strip { background: #fff; border-bottom: 1px solid var(--border); }
.audience-strip .label { font-weight: 600; color: var(--muted); font-size: 0.9rem; }
.audience-item { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-family: "Poppins", sans-serif; color: var(--ink); }
.audience-item i { font-size: 1.4rem; color: var(--c); }
@media (max-width: 991.98px) { .audience-strip .label { width: 100%; text-align: center; } }

/* ---------- Before / after ---------- */
.ba-card { border-radius: 24px; padding: 32px; height: 100%; }
.ba-card h4 { font-size: 1.2rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.ba-card ul { list-style: none; padding: 0; margin: 0; }
.ba-card li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(12, 34, 64, 0.1); }
.ba-card li:last-child { border-bottom: 0; }
.ba-card li i { font-size: 1.1rem; margin-top: 1px; }
.ba-before { background: #fff; border: 1px solid var(--border); }
.ba-before li i { color: #e5484d; }
.ba-before li { color: var(--muted); }
.ba-after { background: linear-gradient(150deg, var(--ss-navy), var(--ss-blue)); color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.ba-after::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, 0.07); right: -80px; bottom: -80px; }
.ba-after li { border-bottom-color: rgba(255, 255, 255, 0.15); }
.ba-after li i { color: #7fe08a; }
.ba-arrow { width: 56px; height: 56px; border-radius: 50%; background: var(--grad-book); color: #fff; display: grid; place-items: center; font-size: 1.5rem; box-shadow: var(--shadow-md); margin: 0 auto; }
@media (max-width: 991.98px) { .ba-arrow { transform: rotate(90deg); } }
@media (max-width: 575.98px) { .ba-card { padding: 24px 20px; } }

/* ---------- Module tiles ---------- */
.module-tile {
  display: block;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.module-tile::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--c-soft);
  right: -50px;
  top: -50px;
  transition: transform 0.4s ease;
}
.module-tile:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; color: var(--ink); }
.module-tile:hover::before { transform: scale(1.5); }
.module-tile > * { position: relative; }
.module-tile h5 { margin: 18px 0 8px; font-size: 1.15rem; }
.module-tile p { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.module-tile .more { font-weight: 600; color: var(--c); font-size: 0.92rem; }
.module-tile .more i { transition: transform 0.25s ease; display: inline-block; }
.module-tile:hover .more i { transform: translateX(4px); }
.module-num { position: absolute; top: 22px; right: 24px; font-family: "Poppins", sans-serif; font-weight: 800; font-size: 0.9rem; color: var(--c); opacity: 0.6; }

/* ---------- Role tabs ---------- */
.role-tabs { gap: 10px; flex-wrap: wrap; }
.role-tabs .nav-link {
  border-radius: 50px;
  padding: 10px 20px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.role-tabs .nav-link i { color: var(--c); }
.role-tabs .nav-link.active { background: var(--c); color: #fff; border-color: var(--c); box-shadow: 0 10px 22px var(--c-soft); }
.role-tabs .nav-link.active i { color: #fff; }
.role-panel { background: #fff; border-radius: 28px; padding: 44px; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.role-panel h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
@media (max-width: 575.98px) {
  .role-panel { padding: 28px 20px; border-radius: 20px; }
  .role-tabs .nav-link { padding: 8px 14px; font-size: 0.9rem; }
}

/* phone mock-up */
.phone {
  width: 250px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 38px;
  background: var(--ss-ink-dark);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; border-radius: 12px; background: var(--ss-ink-dark); z-index: 2; }
.phone-screen { background: var(--surface-alt); border-radius: 28px; overflow: hidden; min-height: 430px; }
.phone-top { background: linear-gradient(135deg, var(--c), var(--c-2)); color: #fff; padding: 44px 18px 22px; }
.phone-top small { opacity: 0.85; font-size: 0.72rem; }
.phone-top h6 { margin: 2px 0 0; font-size: 1.05rem; }
.phone-list { padding: 12px; display: grid; gap: 10px; }
.phone-item { background: #fff; border-radius: 14px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-sm); font-size: 0.78rem; }
.phone-item i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; flex-shrink: 0; }
.phone-item b { display: block; font-size: 0.8rem; }
.phone-item span { color: var(--muted); font-size: 0.7rem; }
.pi-green i { background: rgba(76, 178, 78, 0.15); color: var(--ss-green); }
.pi-orange i { background: rgba(247, 148, 41, 0.15); color: var(--ss-orange); }
.pi-blue i { background: rgba(31, 122, 224, 0.13); color: var(--ss-blue); }
.pi-berry i { background: rgba(236, 79, 138, 0.13); color: var(--ss-berry); }

/* ---------- Feature cards ---------- */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 4px;
  background: var(--c, var(--ss-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card h4 { font-size: 1.2rem; margin: 20px 0 10px; }
.feature-card p { color: var(--muted); margin-bottom: 0; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--ink); }
.check-list li::before {
  content: "\F26E"; /* bi-check-circle-fill */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--c, var(--ss-green));
}
.check-list.two-col { columns: 2; column-gap: 28px; }
.check-list.two-col li { break-inside: avoid; }
@media (max-width: 575.98px) { .check-list.two-col { columns: 1; } }

/* ---------- Stats band ---------- */
.stats-band { background: var(--grad-dark); color: #fff; position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1.2px, transparent 1.2px); background-size: 22px 22px; }
.stat-item { text-align: center; padding: 12px; position: relative; }
.stat-item .num { font-family: "Poppins", sans-serif; font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; }
.stat-item:nth-child(4n+1) .num { color: var(--ss-orange); }
.stat-item:nth-child(4n+2) .num { color: var(--ss-sun); }
.stat-item:nth-child(4n+3) .num { color: #6fd77b; }
.stat-item:nth-child(4n+4) .num { color: var(--ss-sky); }
.stat-item .label { color: rgba(255, 255, 255, 0.75); margin-top: 8px; font-weight: 500; }

/* ---------- Steps ---------- */
.step-card { text-align: center; padding: 0 12px; position: relative; }
.step-card .step-num {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  background: linear-gradient(135deg, var(--c), var(--c-2));
  box-shadow: 0 0 0 8px var(--c-soft);
  position: relative;
  z-index: 1;
  transform: rotate(-6deg);
}
.step-card .step-num i { transform: rotate(6deg); }
.step-card .step-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c); }
.step-card h5 { margin: 4px 0 8px; }
.step-card p { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 992px) {
  .steps-row { position: relative; }
  .steps-row::before { content: ""; position: absolute; top: 38px; left: 12%; right: 12%; border-top: 2px dashed var(--border); }
}

/* ---------- Testimonial ---------- */
.quote-card {
  background: #fff;
  border-radius: 32px;
  padding: 56px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.quote-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: linear-gradient(180deg, var(--ss-orange), var(--ss-green)); }
.quote-card .bi-quote { font-size: 4rem; line-height: 1; background: var(--grad-book); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote-card blockquote { font-family: "Poppins", sans-serif; font-weight: 500; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.6; color: var(--ink); margin: 8px 0 28px; }
.quote-author { display: flex; align-items: center; gap: 14px; }
.quote-author .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--grad-cool); color: #fff; display: grid; place-items: center; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.3rem; flex-shrink: 0; }
.quote-author strong { display: block; }
.quote-author small { color: var(--muted); }
@media (max-width: 575.98px) { .quote-card { padding: 34px 22px 30px 28px; border-radius: 22px; } }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 1px solid var(--border); border-radius: 16px !important; margin-bottom: 12px; overflow: hidden; }
.faq .accordion-button { font-weight: 600; font-family: "Poppins", sans-serif; padding: 18px 22px; color: var(--ink); background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--ss-blue); background: rgba(31, 122, 224, 0.05); }
.faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(31, 122, 224, 0.2); }
.faq .accordion-body { color: var(--muted); padding: 4px 22px 20px; }

/* ---------- Pricing ---------- */
.plan-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 36px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan-card .plan-name { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.35rem; color: var(--c); }
.plan-card .plan-aud { color: var(--muted); font-size: 0.95rem; min-height: 3em; }
.plan-card .plan-price { font-family: "Poppins", sans-serif; font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 14px 0 2px; }
.plan-card .plan-per { color: var(--muted); font-size: 0.85rem; margin-bottom: 22px; }
.plan-card .check-list { flex: 1; margin-bottom: 26px; }
.plan-card.popular { border: 2px solid var(--c); box-shadow: var(--shadow-lg); }
.plan-card .popular-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad-book); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 16px; border-radius: 50px; white-space: nowrap; }
.plan-card .btn-plan { background: var(--c-soft); color: var(--c); border: 0; }
.plan-card .btn-plan:hover { background: var(--c); color: #fff; }
.plan-card.popular .btn-plan { background: var(--c); color: #fff; box-shadow: 0 10px 22px var(--c-soft); }

/* ---------- Comparison table ---------- */
.compare { background: #fff; border-radius: 24px; box-shadow: var(--shadow-md); border: 1px solid var(--border); overflow: hidden; }
.compare table { margin: 0; }
.compare th, .compare td { padding: 16px 20px; vertical-align: middle; border-color: var(--border); }
.compare thead th { font-family: "Poppins", sans-serif; background: var(--surface-alt); font-size: 0.95rem; }
.compare thead th.ss { background: var(--ss-blue); color: #fff; }
.compare td.ss { background: rgba(31, 122, 224, 0.04); font-weight: 600; }
.compare .bi-x-circle-fill { color: #e5484d; }
.compare .bi-check-circle-fill { color: var(--ss-green); }
@media (max-width: 575.98px) { .compare th, .compare td { padding: 12px 12px; font-size: 0.88rem; } }

/* ---------- Module detail page ---------- */
.module-nav { position: sticky; top: 76px; z-index: 10; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.module-nav .nav { position: relative; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.module-nav .nav::-webkit-scrollbar { display: none; }
.module-nav .nav-link { white-space: nowrap; color: var(--ink); font-weight: 600; padding: 15px 16px; border-bottom: 3px solid transparent; font-size: 0.93rem; }
.module-nav .nav-link i { color: var(--c); }
.module-nav .nav-link:hover, .module-nav .nav-link.active { color: var(--c); border-bottom-color: var(--c); }
.module-detail { padding: 80px 0; scroll-margin-top: 130px; }
.module-detail .tag { color: var(--c); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; }
.module-detail h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 8px 0 14px; }
.module-detail .desc { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; }
@media (max-width: 767.98px) { .module-detail { padding: 56px 0; } }

/* module visual */
.module-visual {
  border-radius: 28px;
  padding: 36px;
  background: linear-gradient(140deg, var(--c), var(--c-2));
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.module-visual::before, .module-visual::after { content: ""; position: absolute; border-radius: 50%; border: 34px solid rgba(255, 255, 255, 0.12); }
.module-visual::before { width: 260px; height: 260px; right: -90px; top: -90px; }
.module-visual::after { width: 180px; height: 180px; left: -70px; bottom: -70px; }
.mv-card { background: #fff; border-radius: 20px; padding: 22px; width: 100%; max-width: 360px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18); position: relative; z-index: 1; }
.mv-card .mv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mv-card .mv-head strong { font-family: "Poppins", sans-serif; }
.mv-card .mv-head small { display: block; color: var(--muted); font-size: 0.75rem; }
.mv-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-alt); margin-bottom: 8px; font-size: 0.88rem; }
.mv-row i { color: var(--c); }
.mv-row .bar { margin-left: auto; width: 60px; height: 6px; border-radius: 6px; background: var(--c-soft); overflow: hidden; }
.mv-row .bar span { display: block; height: 100%; background: var(--c); border-radius: 6px; }
.mv-float { position: absolute; z-index: 2; bottom: 22px; right: 22px; background: #fff; border-radius: 14px; padding: 8px 12px; font-size: 0.8rem; font-weight: 600; box-shadow: var(--shadow-md); display: flex; gap: 8px; align-items: center; }
.mv-float i { color: var(--ss-green); }
@media (max-width: 575.98px) { .module-visual { padding: 24px 18px 60px; min-height: 0; border-radius: 22px; } }

/* ---------- Device / security panels ---------- */
.dark-panel { background: var(--grad-dark); color: #fff; border-radius: 30px; padding: 56px; position: relative; overflow: hidden; }
.dark-panel::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1.2px, transparent 1.2px); background-size: 22px 22px; }
.dark-panel > .row { position: relative; z-index: 1; }
.dark-panel p { color: rgba(255, 255, 255, 0.78); }
.glass-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); height: 100%; }
.glass-item i { font-size: 1.5rem; color: var(--c, #7fe08a); }
.glass-item h6 { margin-bottom: 4px; }
.glass-item p { margin: 0; font-size: 0.9rem; }
@media (max-width: 767.98px) { .dark-panel { padding: 36px 22px; border-radius: 22px; } }

.device-row { display: flex; justify-content: center; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.device { background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--c); font-weight: 600; }
.device i { font-size: 2.6rem; }
.device span { color: var(--ink); font-size: 0.9rem; }
.device.d1 { width: 190px; height: 150px; }
.device.d2 { width: 140px; height: 120px; }
.device.d3 { width: 100px; height: 140px; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 30px;
  padding: 60px 56px;
  background: var(--grad-cool);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; }
.cta-band::before { width: 320px; height: 320px; right: -80px; top: -120px; background: rgba(255, 255, 255, 0.12); }
.cta-band::after { width: 180px; height: 180px; right: 200px; bottom: -110px; background: rgba(247, 148, 41, 0.45); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band p { color: rgba(255, 255, 255, 0.92); margin: 0; }
@media (max-width: 767.98px) { .cta-band { padding: 40px 24px; border-radius: 22px; text-align: center; } }

/* ---------- Contact ---------- */
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); margin-bottom: 14px; transition: box-shadow 0.25s ease; }
.contact-card:hover { box-shadow: var(--shadow-sm); }
.contact-card h6 { margin-bottom: 4px; }
.contact-card a, .contact-card p { color: var(--muted); text-decoration: none; margin: 0; word-break: break-word; }
.contact-card a:hover { color: var(--ss-blue); }
.form-panel { background: #fff; border-radius: 26px; padding: 40px; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
@media (max-width: 575.98px) { .form-panel { padding: 26px 18px; } }
.form-control, .form-select { border-radius: 12px; padding: 0.8rem 1rem; border-color: var(--border); background-color: var(--surface-alt); }
.form-control:focus, .form-select:focus { border-color: var(--ss-blue); box-shadow: 0 0 0 4px rgba(31, 122, 224, 0.15); background-color: #fff; }
.form-label { font-weight: 600; font-size: 0.92rem; }
.module-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.module-checks input { position: absolute; opacity: 0; pointer-events: none; }
.module-checks label { padding: 7px 14px; border-radius: 50px; border: 1px solid var(--border); background: var(--surface-alt); font-size: 0.86rem; font-weight: 500; cursor: pointer; transition: all 0.2s ease; }
.module-checks input:checked + label { background: var(--ss-blue); border-color: var(--ss-blue); color: #fff; }
.module-checks input:focus-visible + label { box-shadow: 0 0 0 3px rgba(31, 122, 224, 0.3); }
.demo-perks { background: var(--surface-warm); border-radius: var(--radius); padding: 24px; }
.map-wrap { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); line-height: 0; }
.map-wrap iframe { width: 100%; height: 360px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ss-ink-dark); color: rgba(255, 255, 255, 0.72); padding-top: 80px; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--ss-orange) 0 20%, var(--ss-sun) 20% 40%, var(--ss-green) 40% 60%, var(--ss-sky) 60% 80%, var(--ss-blue) 80% 100%); }
.site-footer h6 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, 0.72); text-decoration: none; transition: color 0.2s ease; }
.site-footer a:hover { color: var(--ss-orange); }
.site-footer .footer-contact li { display: flex; gap: 12px; }
.site-footer .footer-contact i { color: var(--ss-green); margin-top: 3px; }
.footer-parent { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.footer-parent img { height: 26px; background: #fff; border-radius: 6px; padding: 2px; }
.footer-parent small { display: block; font-size: 0.72rem; color: rgba(255, 255, 255, 0.55); }
.footer-parent strong { color: #fff; font-size: 0.92rem; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.1rem;
}
.social-links a:hover { background: var(--ss-orange); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 56px; padding: 22px 0; font-size: 0.9rem; }

/* ---------- Floating buttons ---------- */
.whatsapp-float, .back-to-top {
  position: fixed;
  right: 22px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 1030;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.whatsapp-float { bottom: 22px; background: #25d366; font-size: 1.6rem; }
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
.back-to-top { bottom: 88px; width: 44px; height: 44px; right: 27px; background: var(--ss-blue); border: 0; font-size: 1.2rem; opacity: 0; pointer-events: none; }
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }
@media (max-width: 575.98px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .back-to-top { right: 19px; bottom: 76px; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .shape, .toast-card, .dash-chart div { animation: none; }
}

/* offset anchor jumps for the fixed navbar */
[id] { scroll-margin-top: 96px; }

/* comfortable side gutter on phones */
@media (max-width: 575.98px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  .row.g-5, .row.gx-5 { --bs-gutter-x: 2rem; }
}
