/* ============================================================
   SMBCMS — marketing site
   One page, dark hero + light content sections.
   Palette follows the logo: brand red #9E0B0F + amber accent.
   Font: Inter only.
   ============================================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Inter-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Inter-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Inter-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Inter-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/Inter-800.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/Inter-900.ttf') format('truetype');
}

:root {
  --brand: #9E0B0F;
  --brand-2: #C1121F;
  --amber: #F59E0B;
  --grad: linear-gradient(135deg, #C1121F 0%, #F59E0B 100%);
  --dark: #160C0D;
  --dark-2: #1F1214;
  --dark-3: #2A1A1C;
  --border: #3A2322;
  --gray: #6C6563;
  --gray-2: #8E8583;
  --gray-d: #A79C9A;
  --soft: #FAF6F5;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 18px 50px rgba(30, 10, 10, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font);
  color: var(--gray);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

[data-aos] { max-width: 100vw; }

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; }
i { line-height: 1; }

::selection { background: rgba(158, 11, 15, 0.14); color: var(--dark); }

/* ======= Typography & shared blocks ======= */
.section { padding: 100px 0; }
.dark-section { background: var(--dark); color: var(--gray-d); }
.soft-section { background: var(--soft); }

.section-header { text-align: center; margin-bottom: 60px; }

.section-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand);
  background: rgba(158, 11, 15, 0.07);
  padding: 6px 18px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}

.section-badge.gold {
  color: var(--amber);
  background: rgba(245, 158, 11, 0.1);
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 18px;
}

.section-title.white { color: #fff; }

.section-header p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1rem;
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-brand { color: var(--brand); }
.text-amber { color: var(--amber); }

/* ======= Buttons ======= */
.btn-brand {
  background: var(--grad);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}

.btn-brand:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(193, 18, 31, 0.28);
}

.btn-outline-brand {
  border: 2px solid var(--brand);
  color: var(--brand);
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  background: transparent;
  transition: var(--transition);
}

.btn-outline-brand:hover { background: var(--brand); color: #fff; }

/* ======= Navigation ======= */
.navbar {
  padding: 20px 0;
  background: transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(22, 12, 13, 0.94);
  backdrop-filter: blur(18px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(58, 35, 34, 0.7);
}

.navbar-brand { display: flex; align-items: center; }

/* The shipped logo is a dark wordmark: black "SMB" letters on transparency plus a
   red "CMS" box with white letters. On the dark navbar / footer we need the black
   half to become white — done with CSS, no white plate behind the logo:
   the <img> stays untouched (red box keeps its colours) and a masked, inverted
   copy of the same file is painted over the left (wordmark) half only.
   Replace logo.png with any file of the same name and this keeps working. */
.brand-logo {
  position: relative;
  display: inline-block;
  width: 172px;
  line-height: 0;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.brand-logo .brand-logo-base {
  position: relative;
  z-index: 2;
}

/* White plate that sits BEHIND the red "CMS" block. The box is opaque and hides
   it completely, but the letters are knocked out of the box in the PNG — so they
   show white instead of showing the dark page behind. */
.brand-logo .brand-logo-plate {
  position: absolute;
  top: 1%;
  bottom: 1%;
  left: 50.5%;
  right: 0.5%;
  background: #fff;
  z-index: 1;
}

/* Second copy of the logo, inverted to white and clipped to the wordmark half,
   so the black "SMB" letters become white on dark backgrounds. */
.brand-logo .brand-logo-white {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  filter: brightness(0) invert(1);
  clip-path: inset(0 51.5% 0 0);
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.55) !important;
  font-weight: 500;
  font-size: 0.84rem;
  padding: 8px 14px !important;
  border-radius: 8px;
  white-space: nowrap;
  transition: var(--transition);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #fff !important;
  background: rgba(245, 158, 11, 0.1);
}

.nav-actions { display: flex; gap: 10px; align-items: center; }
.navbar-toggler { color: #fff; border: none; font-size: 1.3rem; }
.navbar-toggler:focus { box-shadow: none; }

/* ======= Hero ======= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58, 35, 34, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 35, 34, 0.45) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 72%);
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.5;
}

.orb-1 {
  width: 520px; height: 520px;
  top: -140px; left: -120px;
  background: radial-gradient(circle, rgba(158, 11, 15, 0.75) 0%, transparent 68%);
}

.orb-2 {
  width: 460px; height: 460px;
  bottom: -160px; right: -80px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.4) 0%, transparent 70%);
}

.orb-3 {
  width: 380px; height: 380px;
  top: 40%; left: 52%;
  background: radial-gradient(circle, rgba(193, 18, 31, 0.35) 0%, transparent 70%);
  opacity: 0.35;
}

.hero .container { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.18);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.hero h1 {
  font-size: 3.9rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero .lead {
  font-size: 1.08rem;
  color: var(--gray-d);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-actions .btn-brand { padding: 14px 30px; font-size: 0.95rem; }
.hero-actions .btn-outline-light { padding: 14px 30px; font-size: 0.9rem; border-width: 2px; }
.hero-actions .btn-outline-light:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }

.hero-metrics { display: flex; gap: 38px; flex-wrap: wrap; }
.hm-item { display: flex; align-items: baseline; gap: 2px; flex-wrap: wrap; }

.hm-num {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}

.hm-suffix {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--amber);
}

.hm-lbl {
  font-size: 0.78rem;
  color: var(--gray-d);
  margin-left: 4px;
  width: 100%;
}

/* Hero counters: one single row on wide screens */
@media (min-width: 1200px) {
  .hero-metrics { flex-wrap: nowrap; gap: 30px; }
  .hm-item { min-width: 0; }
  .hm-lbl { font-size: 0.75rem; }
}

/* Hero browser panel */
.hero-panel {
  background: #110A0B;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: #1B1012;
  border-bottom: 1px solid var(--border);
}

.panel-dots { display: flex; gap: 6px; }
.panel-dots span { width: 10px; height: 10px; border-radius: 50%; }
.panel-dots span:nth-child(1) { background: #ff5f56; }
.panel-dots span:nth-child(2) { background: #ffbd2e; }
.panel-dots span:nth-child(3) { background: #27c93f; }

.panel-title { font-size: 0.72rem; color: var(--gray-d); font-family: ui-monospace, 'SF Mono', Menlo, monospace; }
.panel-body { padding: 14px; }

.panel-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 8px;
  border-radius: 6px;
  font-size: 0.83rem;
  color: #d8cfcd;
  transition: var(--transition);
}

.panel-row:hover { background: rgba(255, 255, 255, 0.04); }
.panel-row i { font-size: 1.05rem; width: 22px; }
.panel-row .text-muted { color: #6a5b59 !important; font-size: 0.72rem; }
.panel-row.dim { color: #7a6b69; border: 1px dashed var(--border); margin-top: 6px; }
.panel-divider { height: 1px; background: var(--border); margin: 8px 0; }

.live-pill {
  margin-left: auto;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.08);
  padding: 2px 8px;
  border-radius: 100px;
}

.hero-fade {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 130px;
  background: linear-gradient(to top, var(--dark), transparent);
  pointer-events: none;
}

/* ======= Tech strip ======= */
.techstrip {
  background: var(--dark);
  border-top: 1px solid rgba(58, 35, 34, 0.6);
  padding: 26px 0;
}

.techstrip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }

.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-d);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
}

.tech-chip i { color: var(--amber); font-size: 1rem; }

/* ======= Live in production ======= */
.liveband { background: #fff; padding: 32px 0 4px; }
.liveband .container { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

.lb-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--brand);
}

.lb-card {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 420px;
  padding: 15px 20px;
  background: linear-gradient(135deg, rgba(193, 18, 31, 0.03), rgba(245, 158, 11, 0.05));
  border: 1px solid #ece3e1;
  border-radius: 16px;
  transition: var(--transition);
}

.lb-card:hover {
  border-color: rgba(193, 18, 31, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.lb-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.lb-text { display: flex; flex-direction: column; }
.lb-text strong { font-size: 0.95rem; color: var(--dark); }
.lb-text span { font-size: 0.82rem; color: var(--gray); }
.lb-go { margin-left: auto; color: var(--brand); font-size: 1.2rem; }

/* ======= Features ======= */
.features { background: #fff; }

.feature-card-vd {
  background: #fff;
  border: 1px solid #ece3e1;
  border-radius: 16px;
  padding: 34px 28px;
  height: 100%;
  transition: var(--transition);
}

.feature-card-vd:hover {
  border-color: rgba(193, 18, 31, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.fc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(193, 18, 31, 0.08), rgba(245, 158, 11, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--brand);
  margin-bottom: 20px;
}

.feature-card-vd h4 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.feature-card-vd p { font-size: 0.85rem; color: var(--gray); margin-bottom: 16px; }

.fc-list { list-style: none; padding: 0; margin: 0; }

.fc-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: #4C4644;
  padding: 4px 0;
}

.fc-list li i { color: var(--brand); font-size: 0.9rem; margin-top: 1px; }

/* ======= Comparison table ======= */
.compare { background: var(--dark); }

.compare-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--dark-2);
}

.compare-table { width: 100%; border-collapse: collapse; min-width: 760px; }

.compare-table thead th {
  padding: 20px 22px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-align: left;
  background: #110A0B;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.th-feature { color: var(--gray-d); width: 34%; }
.th-brand { color: #fff; }
.th-other { color: rgba(255, 255, 255, 0.32); font-size: 0.72rem; min-width: 118px; }
.th-other i { margin-right: 6px; font-size: 0.95rem; vertical-align: -1px; }

.brand-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  letter-spacing: 0.2px;
}

.brand-dot {
  width: 18px; height: 18px;
  border-radius: 5px;
  background: var(--grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  color: #fff;
}

.compare-table tbody td {
  padding: 15px 22px;
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(58, 35, 34, 0.55);
  vertical-align: middle;
}

.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: rgba(245, 158, 11, 0.03); }

/* highlight the SMBCMS column */
.compare-table thead th.th-brand { background: #1F1214; }
.compare-table tbody td:nth-child(2) {
  background: rgba(245, 158, 11, 0.05);
  border-left: 1px solid rgba(245, 158, 11, 0.16);
  border-right: 1px solid rgba(245, 158, 11, 0.16);
}
.compare-table tbody tr:last-child td:nth-child(2) { border-bottom-color: rgba(245, 158, 11, 0.16); }

.td-label { color: rgba(255, 255, 255, 0.68); font-weight: 500; }
.td-yes { color: #f4ebe9; font-weight: 600; }
.td-yes i { color: #22c55e; margin-right: 8px; vertical-align: -1px; }
.td-partial { color: var(--amber); font-weight: 500; }
.td-partial i { color: var(--amber); margin-right: 8px; vertical-align: -1px; }
.td-no { color: rgba(255, 255, 255, 0.25); }
.td-no i { color: rgba(255, 255, 255, 0.14); margin-right: 8px; vertical-align: -1px; }

.compare-footnote { font-size: 0.8rem; color: var(--gray-d); margin-top: 24px; }
.compare-footnote strong { color: #fff; }

/* ======= Use cases ======= */
.forwhom { background: #fff; }

.use-case-card {
  position: relative;
  background: #fff;
  border: 1px solid #ece3e1;
  border-radius: 20px;
  padding: 38px 30px;
  height: 100%;
  overflow: hidden;
  transition: var(--transition);
}

.use-case-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad);
  opacity: 0;
  pointer-events: none;   /* decorative — must never swallow clicks */
  transition: var(--transition);
}

.use-case-card:hover::before { opacity: 1; }

.use-case-card:hover {
  border-color: rgba(193, 18, 31, 0.28);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.uc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.uc-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(193, 18, 31, 0.08), rgba(245, 158, 11, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--brand);
}

.uc-number {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(158, 11, 15, 0.08);
}

.use-case-card h4 { font-size: 1.3rem; font-weight: 800; color: var(--dark); margin-bottom: 4px; letter-spacing: -0.01em; }

.uc-subtitle { font-size: 0.8rem; font-weight: 600; color: var(--brand); margin-bottom: 14px; }

.use-case-card > p:not(.uc-subtitle) { font-size: 0.88rem; line-height: 1.75; margin-bottom: 18px; }

.uc-list { list-style: none; padding: 0; margin: 0; }

.uc-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.83rem;
  color: #4C4644;
  padding: 5px 0;
}

.uc-list li i { color: var(--brand); font-size: 0.9rem; margin-top: 2px; }

/* ======= Modules (dark) ======= */
.modules { background: var(--dark); }

.modules .section-title { color: #fff; }
.modules p.mod-intro { color: var(--gray-d); }

.preview-types { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }

.pt-group { display: flex; gap: 16px; align-items: baseline; }

.pt-label {
  min-width: 118px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--amber);
}

.pt-tags {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}

.mod-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.mod-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 15px;
  transition: var(--transition);
}

.mod-chip:hover { border-color: rgba(245, 158, 11, 0.45); color: #fff; }
.mod-chip i { color: var(--amber); font-size: 1rem; }

.preview-mockup {
  background: #110A0B;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.pm-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #1B1012;
  border-bottom: 1px solid var(--border);
}

.pm-dots { display: flex; gap: 6px; }
.pm-dots span { width: 8px; height: 8px; border-radius: 50%; }
.pm-dots span:nth-child(1) { background: #ff5f56; }
.pm-dots span:nth-child(2) { background: #ffbd2e; }
.pm-dots span:nth-child(3) { background: #27c93f; }

.pm-filename { font-size: 0.72rem; color: var(--gray-d); font-family: ui-monospace, 'SF Mono', Menlo, monospace; }
.pm-zoom { margin-left: auto; color: var(--gray-d); }
.pm-body img { width: 100%; display: block; }

.pm-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--gray-d);
}

.pm-actions { display: flex; gap: 12px; }
.pm-actions a { color: var(--gray-d); }
.pm-actions a:hover { color: var(--amber); }

/* ======= Screenshots ======= */
.screens { background: #fff; }

.sec-card {
  background: #fff;
  border: 1px solid #ece3e1;
  border-radius: 16px;
  padding: 14px 14px 24px;
  height: 100%;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.sec-card:hover {
  border-color: rgba(193, 18, 31, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.sec-card .thumbnail {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #f0e7e5;
  background: var(--soft);
  margin-bottom: 18px;
  display: block;
}

.sec-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin: 0 10px 8px; }
.sec-card p { font-size: 0.83rem; color: var(--gray); margin: 0 10px; }

.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 10px 14px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--brand);
}

/* ======= Security ======= */
.security-dark { background: var(--dark); }

.sec-group {
  height: 100%;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 28px;
  transition: var(--transition);
}

.sec-group:hover { border-color: rgba(245, 158, 11, 0.35); transform: translateY(-4px); }

.sg-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }

.sg-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.sec-group h4 { font-size: 1.05rem; font-weight: 700; color: #fff; margin: 0; }
.sg-sub { font-size: 0.78rem; color: var(--gray-d); margin: 0 0 16px; }

.sg-list { list-style: none; padding: 0; margin: 0; }

.sg-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.83rem;
  line-height: 1.55;
  color: #d5ccca;
  padding: 6px 0;
}

.sg-list li i { color: #22c55e; font-size: 0.95rem; margin-top: 2px; flex-shrink: 0; }

.security-note {
  max-width: 900px;
  margin: 30px auto 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray-d);
}

.security-note i { color: var(--amber); }

/* ======= Custom work ======= */
.customwork { background: var(--soft); }

.customwork-card {
  background: linear-gradient(135deg, rgba(193, 18, 31, 0.04), rgba(245, 158, 11, 0.07));
  border: 1px solid #ece3e1;
  border-radius: 22px;
  padding: 44px 42px;
}

.customwork-card h3 {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 12px;
}

.customwork-card .row > div > p { font-size: 0.9rem; color: var(--gray); margin-bottom: 20px; }

.cw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 18px; }

.cw-item {
  height: 100%;
  background: #fff;
  border: 1px solid #f0e7e5;
  border-radius: 16px;
  padding: 22px 20px;
}

.cw-item i { display: block; font-size: 1.4rem; color: var(--brand); margin-bottom: 12px; }
.cw-item h5 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.cw-item p { font-size: 0.8rem; color: var(--gray); line-height: 1.65; margin: 0; }

.cw-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(193, 18, 31, 0.12);
  font-size: 0.82rem;
  color: var(--gray);
}

.cw-note i { color: var(--brand); font-size: 1rem; margin-top: 2px; }

/* ======= What your subscription pays for (why) ======= */
.why { background: #fff; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.why-card {
  background: #fff;
  border: 2px solid #ece3e1;
  border-radius: 20px;
  padding: 34px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.why-icon {
  width: 48px; height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(193, 18, 31, 0.08), rgba(245, 158, 11, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--brand);
}

.why-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--dark); line-height: 1.35; margin-bottom: 8px; }
.why-lead { font-size: 0.85rem; color: var(--gray); margin-bottom: 16px; }

.why-list { list-style: none; padding: 0; margin: 0; }

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.83rem;
  color: #4C4644;
  padding: 5px 0;
}

.why-list li i { color: #22c55e; font-size: 0.95rem; margin-top: 3px; flex-shrink: 0; }

.why-specs { list-style: none; padding: 0; margin: 0; }

.why-specs li {
  font-size: 0.85rem;
  color: #4C4644;
  padding: 7px 0;
  border-bottom: 1px dashed #f0e7e5;
}

.why-specs li:last-child { border-bottom: none; }
.why-specs strong { color: var(--dark); font-weight: 800; margin-right: 6px; }

.why-foot {
  font-size: 0.79rem;
  color: var(--gray-2);
  line-height: 1.65;
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid #f0e7e5;
}

.why-compare { margin-top: 54px; }

.why-compare h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-bottom: 10px;
}

.why-compare-sub {
  text-align: center;
  font-size: 0.88rem;
  color: var(--gray);
  max-width: 720px;
  margin: 0 auto 30px;
}

.why-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.why-col {
  border: 2px solid #ece3e1;
  border-radius: 20px;
  background: #fff;
  padding: 28px 26px;
}

.why-col.diy { background: var(--soft); border-color: #f0e7e5; }
.why-col.incl { border-color: var(--brand-2); box-shadow: 0 16px 44px rgba(193, 18, 31, 0.08); }

.why-col h5 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.why-col h5 i { font-size: 1.1rem; }
.why-col.diy h5 i { color: var(--gray-2); }
.why-col.incl h5 i { color: #22c55e; }

.why-col ul { list-style: none; padding: 0; margin: 0; }

.why-col ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  line-height: 1.6;
  padding: 7px 0;
  color: #4C4644;
}

.why-col.diy ul li { color: var(--gray-2); }
.why-col ul li i { font-size: 0.95rem; margin-top: 3px; flex-shrink: 0; }
.why-col.diy ul li i { color: #cbc2c0; }
.why-col.incl ul li i { color: #22c55e; }

.why-note {
  max-width: 880px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray);
}

.why-note strong { color: var(--dark); }
.why-note a { color: var(--brand); font-weight: 600; }
.why-note a:hover { color: var(--brand-2); }

/* ======= Demo request ======= */
.demo { background: var(--soft); }

.demo-card {
  background: #fff;
  border: 1px solid #ece3e1;
  border-radius: 22px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(40, 15, 15, 0.05);
  height: 100%;
}

.demo-card h3 { font-size: 1.4rem; font-weight: 800; color: var(--dark); margin-bottom: 8px; letter-spacing: -0.01em; }
.demo-card .demo-sub { font-size: 0.85rem; color: var(--gray); margin-bottom: 26px; }

.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-control, .form-select {
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--dark);
  background: #fff;
  border: 1px solid #e4dad8;
  border-radius: 10px;
  padding: 11px 14px;
  transition: var(--transition);
}

.form-control::placeholder { color: #b3a9a7; }
.form-control:focus, .form-select:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(193, 18, 31, 0.08);
}

.demo-form .btn-brand { padding: 13px 26px; font-size: 0.9rem; }

.demo-form-note { font-size: 0.72rem; color: var(--gray-2); margin-top: 12px; }

.demo-success {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.25);
  background: rgba(34, 197, 94, 0.06);
  color: #15803d;
  font-size: 0.82rem;
}

.demo-success.show { display: block; }

.demo-error {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(193, 18, 31, 0.25);
  background: rgba(193, 18, 31, 0.05);
  color: #9E0B0F;
  font-size: 0.82rem;
}

.demo-error.show { display: block; }

/* Actaprime widget slot + its no-JavaScript fallback */
.actaprime-widget { margin-bottom: 14px; }

.ap-noscript {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
  padding: 13px 16px;
  border: 1px solid #e4dad8;
  border-radius: 10px;
  background: repeating-linear-gradient(45deg, #fff 0, #fff 10px, #f8f3f2 10px, #f8f3f2 20px);
  color: #4C4644;
  font-size: 0.8rem;
}

.ap-noscript a { color: var(--brand); font-weight: 600; }

.demo-benefits { list-style: none; padding: 0; margin: 0 0 26px; }

.demo-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.86rem;
  color: #4C4644;
}

.demo-benefits li i { color: var(--brand); font-size: 1.15rem; margin-top: 2px; }
.demo-benefits li strong { color: var(--dark); }

.demo-contact {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #f0e7e5;
  font-size: 0.84rem;
  color: var(--gray);
}

.demo-contact a { color: var(--brand); font-weight: 600; }
.demo-contact a:hover { color: var(--amber); }

/* ======= FAQ ======= */
.faq { background: #fff; }

.faq-accordion .accordion-item {
  border: 1px solid #ece3e1;
  border-radius: 14px !important;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}

.faq-accordion .accordion-button {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  background: #fff;
  padding: 20px 22px;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--brand);
  background: #fff;
  box-shadow: none;
}

.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 4px rgba(193, 18, 31, 0.07); }

/* keep Bootstrap's default chevron, just tint it to the brand red */
.faq-accordion .accordion-button::after {
  filter: invert(12%) sepia(82%) saturate(4891%) hue-rotate(351deg) brightness(86%) contrast(103%);
}

.faq-accordion .accordion-body { font-size: 0.87rem; color: var(--gray); padding: 0 22px 22px; }

/* ======= CTA ======= */
.cta-section { background: var(--dark); padding: 70px 0; }

.cta-box-vd {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark-2) 0%, #2A1518 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 58px 50px;
}

.cta-box-vd::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -12%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.14) 0%, transparent 70%);
  pointer-events: none;   /* decorative — must never swallow clicks */
}

.cta-box-vd h2 { position: relative; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: #fff; margin-bottom: 12px; }
.cta-box-vd p { position: relative; color: var(--gray-d); margin: 0; max-width: 620px; }
.cta-box-vd .btn-brand { padding: 15px 34px; font-size: 0.95rem; }
.cta-box-vd .btn-outline-light { padding: 15px 30px; font-size: 0.9rem; border-width: 2px; }

/* CTA buttons: one row, identical height, aligned right on desktop.
   position/z-index keep them above the decorative glow. */
.cta-box-vd .cta-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 992px) {
  .cta-box-vd .cta-actions { justify-content: flex-end; }
}

.cta-box-vd .cta-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 30px;
  font-size: 0.92rem;
  line-height: 1.3;
}

/* transparent border on the filled button so both boxes are exactly as tall */
.cta-box-vd .cta-actions .btn-brand { border: 2px solid transparent; }

/* ======= Footer ======= */
.footer { background: #0F0809; color: rgba(255, 255, 255, 0.42); padding: 64px 0 0; }
.footer-brand { margin-bottom: 18px; }
.footer-live { margin-top: 6px; font-size: 0.82rem; }
.footer-live a { color: var(--amber); font-weight: 600; }
.footer p { font-size: 0.85rem; max-width: 320px; line-height: 1.8; }

.footer h5 {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  margin-bottom: 18px;
}

.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 9px; }
.footer ul a { color: rgba(255, 255, 255, 0.42); font-size: 0.84rem; }
.footer ul a:hover { color: var(--amber); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 46px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
}

.footer-bottom p { margin: 0; max-width: none; }
.footer-bottom a { color: rgba(255, 255, 255, 0.6); }
.footer-bottom a:hover { color: var(--amber); }

.footer-social { display: flex; gap: 10px; }

.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
}

.footer-social a:hover { border-color: var(--amber); color: var(--amber); }

/* ======= Responsive ======= */
@media (max-width: 1199px) {
  .hero h1 { font-size: 3.2rem; }

  /* seven links + brand + CTA need to fit above the 992px collapse breakpoint */
  .navbar .nav-link { font-size: 0.78rem; padding: 8px 9px !important; }
  .brand-logo { width: 140px; }
  .nav-actions .btn { padding: 9px 16px; font-size: 0.78rem; }

  /* keep the two CTA buttons side by side on smaller desktops */
  .cta-box-vd .cta-actions .btn { padding: 12px 20px; font-size: 0.86rem; }
}

@media (max-width: 991px) {
  .hero h1 { font-size: 2.7rem; }
  .section-title { font-size: 2.15rem; }
  .section { padding: 80px 0; }

  .navbar-collapse {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    padding: 2rem;
    overflow-y: auto;
    background: rgba(22, 12, 13, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1040;
  }

  .navbar-collapse:not(.show) { display: none; }
  .navbar-collapse.collapsing { display: flex; }
  .navbar-collapse .navbar-nav { flex-direction: column; align-items: center; gap: 0.4rem; }
  .navbar-collapse .nav-link { font-size: 1.05rem !important; padding: 12px 24px !important; text-align: center; }
  .navbar-collapse .nav-actions { flex-direction: column; width: 100%; max-width: 230px; margin-top: 1.5rem; }
  .navbar-collapse .nav-actions .btn { width: 100%; text-align: center; }
  .navbar-toggler { position: relative; z-index: 1050; }

  /* keep the brand visible above the fullscreen mobile menu overlay */
  .navbar-brand { position: relative; z-index: 1050; }

  .brand-logo { width: 148px; }
  .customwork-card { padding: 30px 24px; }
  .customwork-card h3 { font-size: 1.45rem; }
  .demo-card { padding: 30px 24px; }
  .why-cols { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 767px) {
  .hero h1 { font-size: 2.15rem; }
  .section-title { font-size: 1.75rem; }
  .section { padding: 62px 0; }
  .hero-metrics { gap: 22px; }
  .hm-num { font-size: 1.55rem; }
  .cta-box-vd { padding: 38px 24px; }
  .cta-box-vd h2 { font-size: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .techstrip .container { gap: 8px; }
  .why-card { padding: 28px 22px; }
  .why-col { padding: 24px 20px; }
  .why-compare { margin-top: 42px; }
  .why-compare h3 { font-size: 1.25rem; }
}

@media (max-width: 575px) {
  .hero h1 { font-size: 1.85rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .pt-group { flex-direction: column; gap: 4px; }
  .cta-box-vd .cta-actions { flex-direction: column; }
  .cta-box-vd .cta-actions .btn { width: 100%; }
  .demo-card { padding: 24px 18px; }
}
