/* ================================================================
   Horizon PM — Website Stylesheet
   Color Palette matches the application's tailwind.config.ts
   ================================================================ */

/* ─── CSS Variables ─────────────────────────────────────────────── */
:root {
  /* Navy */
  --navy:        #0B1229;
  --navy-light:  #111d3c;
  --navy-mid:    #162040;
  --navy-dark:   #080e1e;
  --navy-50:     #e8ecf5;
  --navy-100:    #c5ceea;
  --navy-200:    #9aaedd;

  /* Brand */
  --blue:        #2E5EFF;
  --blue-light:  #5B82FF;
  --orange:      #F5A623;
  --orange-dark: #d4891a;

  /* Background */
  --bg:          #070B19;
  --bg-card:     #0f1830;
  --bg-card-hover: #132040;

  /* Text */
  --text:        #ffffff;
  --text-muted:  #8892b0;
  --text-sub:    #a8b2cc;

  /* Border */
  --border:      rgba(46, 94, 255, 0.15);
  --border-card: rgba(255,255,255,0.06);

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.35);
  --shadow-glow: 0 0 20px rgba(46,94,255,0.25);

  /* Gradients */
  --grad-brand:   linear-gradient(135deg, #2E5EFF 0%, #5B82FF 100%);
  --grad-sidebar: linear-gradient(180deg, #111d3c 0%, #0B1229 100%);
  --grad-text:    linear-gradient(135deg, #5B82FF 0%, #F5A623 100%);

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-w: 1280px;
  --nav-h: 72px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ─── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
code {
  background: rgba(46,94,255,0.15);
  color: var(--blue-light);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
  font-family: 'Courier New', monospace;
}

/* ─── Utilities ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: opacity 0.2s;
  border-radius: inherit;
}
.btn:hover::after { opacity: 0.06; }
.btn:active::after { opacity: 0.12; }

.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 4px 16px rgba(46,94,255,0.4);
}
.btn--primary:hover {
  box-shadow: 0 6px 24px rgba(46,94,255,0.55);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border-card);
}
.btn--ghost:hover {
  border-color: rgba(46,94,255,0.4);
  background: rgba(46,94,255,0.1);
}

.btn--sm  { padding: 8px 18px;  font-size: 0.85rem; }
.btn--md  { padding: 10px 22px; font-size: 0.9rem; }
.btn--lg  { padding: 13px 28px; font-size: 1rem; }
.btn--xl  { padding: 16px 36px; font-size: 1.05rem; }
.btn--full{ width: 100%; justify-content: center; }

.btn__icon { width: 16px; height: 16px; flex-shrink: 0; }
.btn--lg .btn__icon, .btn--xl .btn__icon { width: 18px; height: 18px; }

/* ─── Section Shared ────────────────────────────────────────────── */
.section { padding-block: clamp(4rem, 10vw, 7rem); }

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(46,94,255,0.1);
  border: 1px solid rgba(46,94,255,0.25);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section__heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section__sub {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ─── NAV ───────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 11, 25, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border-card);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.nav__logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav__logo-pm {
  color: var(--blue-light);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav__link {
  padding: 6px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0;
  background: rgba(7,11,25,0.97);
  backdrop-filter: blur(20px);
  padding: 2rem;
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.nav__mobile.open {
  transform: translateX(0);
}
.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.nav__mobile-links .nav__link {
  font-size: 1.1rem;
  padding: 12px 16px;
}

/* ─── HERO ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(2rem, 6vw, 4rem);
  overflow: hidden;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46,94,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,94,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 0%, transparent 100%);
}

.hero__orbs { position: absolute; inset: 0; pointer-events: none; }
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.hero__orb--1 {
  width: 600px; height: 600px;
  background: var(--blue);
  top: -200px; left: -150px;
}
.hero__orb--2 {
  width: 400px; height: 400px;
  background: var(--orange);
  top: 50px; right: -100px;
  opacity: 0.12;
}
.hero__orb--3 {
  width: 300px; height: 300px;
  background: var(--blue-light);
  bottom: 0; right: 30%;
  opacity: 0.1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: rgba(46,94,255,0.08);
  border: 1px solid rgba(46,94,255,0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 2rem;
}
.hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 8px var(--blue);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__heading {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-inline: auto;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-sub);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.hero__sub strong { color: var(--text); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 4rem;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.5rem;
}
.hero__stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero__stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero__stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-card);
}

.hero__preview-wrap { position: relative; z-index: 2; }

/* App Preview Window Mock */
.app-preview {
  background: var(--navy-dark);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(46,94,255,0.1),
    0 32px 80px rgba(0,0,0,0.6),
    0 0 100px rgba(46,94,255,0.08);
  max-width: 960px;
  margin-inline: auto;
}

.app-preview__titlebar {
  display: flex;
  align-items: center;
  padding: 0 12px;
  height: 36px;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  gap: 8px;
}
.app-preview__traffic { display: flex; gap: 6px; }
.traffic {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.traffic--red    { background: #ff5f57; }
.traffic--yellow { background: #febc2e; }
.traffic--green  { background: #28c840; }

.app-preview__title {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}
.app-preview__win-btns {
  display: flex;
  gap: 8px;
}
.app-preview__win-btns span {
  width: 14px; height: 14px;
  border-radius: 2px;
  background: rgba(255,255,255,0.05);
}

.app-preview__body {
  display: grid;
  grid-template-columns: 180px 1fr;
  height: 420px;
}

/* Sidebar mock */
.mock-sidebar {
  background: var(--grad-sidebar);
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 16px 12px;
}
.mock-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding: 0 6px;
}
.mock-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mock-dot--blue { background: var(--blue); box-shadow: 0 0 8px var(--blue); }

.mock-sidebar__nav { display: flex; flex-direction: column; gap: 2px; }
.mock-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: background 0.2s;
}
.mock-nav-item--active {
  background: rgba(46,94,255,0.2);
  color: var(--blue-light);
}
.mock-nav-icon {
  width: 14px; height: 14px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.4;
}

/* Content mock */
.mock-content {
  background: #0c1326;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.mock-title-line {
  height: 14px; width: 140px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
  margin-bottom: 6px;
}
.mock-sub-line {
  height: 9px; width: 90px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
}
.mock-header-actions { display: flex; gap: 8px; }
.mock-btn {
  height: 28px;
  width: 70px;
  border-radius: 6px;
}
.mock-btn--outline { border: 1px solid rgba(255,255,255,0.1); }
.mock-btn--primary { background: rgba(46,94,255,0.4); }

.mock-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.mock-stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 12px;
}
.mock-stat-num {
  height: 20px;
  width: 50%;
  border-radius: 4px;
  margin-bottom: 8px;
}
.mock-stat-num--blue   { background: rgba(46,94,255,0.5); }
.mock-stat-num--orange { background: rgba(245,166,35,0.5); }
.mock-stat-num--green  { background: rgba(16,185,129,0.5); }
.mock-stat-num--red    { background: rgba(239,68,68,0.5); }
.mock-stat-lbl { height: 8px; width: 70%; background: rgba(255,255,255,0.07); border-radius: 4px; }

.mock-lower {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
}
.mock-chart {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: flex-end;
}
.mock-chart__bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 80px;
  width: 100%;
}
.mock-bar {
  flex: 1;
  background: linear-gradient(to top, #2E5EFF, #5B82FF);
  border-radius: 3px 3px 0 0;
  opacity: 0.7;
  animation: bar-grow 1.2s ease both;
}
@keyframes bar-grow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); transform-origin: bottom; }
}
.mock-bar:nth-child(1) { animation-delay: 0.1s; }
.mock-bar:nth-child(2) { animation-delay: 0.2s; }
.mock-bar:nth-child(3) { animation-delay: 0.3s; }
.mock-bar:nth-child(4) { animation-delay: 0.4s; }
.mock-bar:nth-child(5) { animation-delay: 0.5s; }
.mock-bar:nth-child(6) { animation-delay: 0.6s; }
.mock-bar:nth-child(7) { animation-delay: 0.7s; }

.mock-table {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-table__header {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}
.mock-table__row { display: flex; gap: 6px; align-items: center; }
.mock-th { height: 8px; flex: 1; background: rgba(255,255,255,0.08); border-radius: 3px; }
.mock-td { height: 10px; flex: 1; background: rgba(255,255,255,0.05); border-radius: 3px; }
.mock-td--badge { flex: 0 0 44px; height: 14px; border-radius: 6px; }
.mock-td--green  { background: rgba(16,185,129,0.4); }
.mock-td--orange { background: rgba(245,166,35,0.4); }
.mock-td--blue   { background: rgba(46,94,255,0.4); }

/* ─── TRUST BAR ─────────────────────────────────────────────────── */
.trust-bar {
  padding-block: 2.5rem;
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}
.trust-bar__label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.trust-bar__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.trust-item:hover { opacity: 1; }
.trust-item svg { width: 32px; height: 32px; }
.trust-item span { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.05em; }

/* ─── FEATURES ──────────────────────────────────────────────────── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46,94,255,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  border-color: rgba(46,94,255,0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
  width: 48px; height: 48px;
  background: rgba(46,94,255,0.15);
  border: 1px solid rgba(46,94,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--blue-light);
}
.feature-card__icon svg { width: 22px; height: 22px; }
.feature-card__icon--orange { background: rgba(245,166,35,0.12); border-color: rgba(245,166,35,0.2); color: var(--orange); }
.feature-card__icon--green  { background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.2); color: #10b981; }
.feature-card__icon--red    { background: rgba(239,68,68,0.12);  border-color: rgba(239,68,68,0.2);  color: #ef4444; }

.feature-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.feature-card__desc {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.feature-card__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feature-card__list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-card__list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue-light);
  flex-shrink: 0;
}

/* ─── ARCHITECTURE ──────────────────────────────────────────────── */
.arch { background: linear-gradient(180deg, var(--bg) 0%, var(--navy-dark) 50%, var(--bg) 100%); }

.arch__diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 800px;
  margin-inline: auto;
}

.arch__layer {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  text-align: center;
  position: relative;
  transition: box-shadow 0.3s;
}
.arch__layer:hover { box-shadow: var(--shadow-glow); }

.arch__layer--ui     { border-color: rgba(46,94,255,0.3); }
.arch__layer--bridge { border-color: rgba(245,166,35,0.3); }
.arch__layer--main   { border-color: rgba(59,130,246,0.3); }
.arch__layer--cloud  { border-color: rgba(16,185,129,0.3); }

.arch__layer-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.arch__layer-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.arch__layer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.arch__arrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.5rem 0;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.arch__arrow svg { width: 14px; height: 14px; opacity: 0.6; }

.chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}
.chip--blue   { background: rgba(46,94,255,0.15);  color: var(--blue-light); }
.chip--orange { background: rgba(245,166,35,0.15); color: var(--orange); }
.chip--green  { background: rgba(16,185,129,0.15); color: #34d399; }
.chip--purple { background: rgba(139,92,246,0.15); color: #a78bfa; }

/* ─── SECURITY ──────────────────────────────────────────────────── */
.security {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--bg) 100%);
}
.security__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.security__content { max-width: 560px; }
.security__content .section__header { text-align: left; margin: 0 0 2.5rem; }
.security__content .section__sub { margin-bottom: 2rem; }

.security__pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.security__pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.security__pillar-icon {
  width: 40px; height: 40px;
  background: rgba(46,94,255,0.12);
  border: 1px solid rgba(46,94,255,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  flex-shrink: 0;
}
.security__pillar-icon svg { width: 18px; height: 18px; }
.security__pillar-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.security__pillar-desc {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* Vault Visual */
.security__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.vault-visual {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vault-visual__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(46,94,255,0.2);
  animation: spin-ring linear infinite;
}
.vault-visual__ring--1 { width: 100%; height: 100%; animation-duration: 30s; }
.vault-visual__ring--2 { width: 75%; height: 75%; animation-duration: 20s; animation-direction: reverse; border-color: rgba(245,166,35,0.2); }
.vault-visual__ring--3 { width: 50%; height: 50%; animation-duration: 15s; border-color: rgba(46,94,255,0.3); }
@keyframes spin-ring {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.vault-visual__center {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  border: 2px solid rgba(46,94,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  box-shadow: 0 0 30px rgba(46,94,255,0.3);
  z-index: 1;
}
.vault-visual__center svg { width: 28px; height: 28px; }
.vault-visual__label {
  position: absolute;
  bottom: -24px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-light);
  text-transform: uppercase;
}
.vault-visual__chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.vault-chip {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}
.vault-chip:nth-child(1) { top: 10%; left: 5%; }
.vault-chip:nth-child(2) { top: 10%; right: 5%; }
.vault-chip:nth-child(3) { bottom: 10%; left: 5%; }
.vault-chip:nth-child(4) { bottom: 10%; right: 5%; }

/* ─── CLOUD ─────────────────────────────────────────────────────── */
.cloud__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.cloud-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  animation-delay: var(--delay, 0ms);
}
.cloud-card:hover {
  border-color: rgba(46,94,255,0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.cloud-card--highlight {
  background: linear-gradient(135deg, rgba(46,94,255,0.1) 0%, rgba(46,94,255,0.05) 100%);
  border-color: rgba(46,94,255,0.25);
  position: relative;
  overflow: hidden;
}
.cloud-card__pulse {
  position: absolute;
  top: -20px; right: -20px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(46,94,255,0.15);
  animation: pulse-ring 3s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2);   opacity: 0; }
}

.cloud-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.75rem;
}
.cloud-card__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cloud-card__icon svg { width: 24px; height: 24px; }
.cloud-card__icon--mongo     { background: rgba(71,162,72,0.15); }
.cloud-card__icon--google    { background: rgba(66,133,244,0.15); }
.cloud-card__icon--sharepoint{ background: rgba(3,108,112,0.15); }
.cloud-card__icon--onedrive  { background: rgba(0,120,212,0.15); }
.cloud-card__icon--azure     { background: rgba(0,120,212,0.15); }

.cloud-card__title {
  font-size: 1rem;
  font-weight: 700;
}
.cloud-card__desc {
  font-size: 0.875rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.cloud-card__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  background: rgba(46,94,255,0.12);
  color: var(--blue-light);
  border-radius: 100px;
  letter-spacing: 0.05em;
}
.cloud-card__stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 1rem;
}
.cloud-card__stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
}
.cloud-card__stat-unit {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── PIPELINE ──────────────────────────────────────────────────── */
.pipeline { overflow: hidden; }

.pipeline__stages {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  position: relative;
}
.pipeline__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 120px;
  padding: 0 1rem;
  position: relative;
}
.pipeline__stage-num {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.pipeline__stage-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  margin-bottom: 12px;
  position: relative;
  flex-shrink: 0;
}
.pipeline__stage-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.3;
}
.pipeline__stage-dot--blue   { background: #2E5EFF; color: #2E5EFF; box-shadow: 0 0 12px rgba(46,94,255,0.5); }
.pipeline__stage-dot--indigo { background: #6366f1; color: #6366f1; box-shadow: 0 0 12px rgba(99,102,241,0.5); }
.pipeline__stage-dot--purple { background: #8b5cf6; color: #8b5cf6; box-shadow: 0 0 12px rgba(139,92,246,0.5); }
.pipeline__stage-dot--orange { background: #F5A623; color: #F5A623; box-shadow: 0 0 12px rgba(245,166,35,0.5); }
.pipeline__stage-dot--yellow { background: #eab308; color: #eab308; box-shadow: 0 0 12px rgba(234,179,8,0.5); }
.pipeline__stage-dot--green  { background: #10b981; color: #10b981; box-shadow: 0 0 12px rgba(16,185,129,0.5); }

.pipeline__stage-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.pipeline__stage-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pipeline__connector {
  flex: 0 0 40px;
  height: 2px;
  background: linear-gradient(90deg, rgba(46,94,255,0.3), rgba(245,166,35,0.3));
  margin-top: 28px;
  position: relative;
}
.pipeline__connector::after {
  content: '';
  position: absolute;
  right: -6px;
  top: -3px;
  width: 8px; height: 8px;
  border-right: 2px solid rgba(245,166,35,0.5);
  border-top: 2px solid rgba(245,166,35,0.5);
  transform: rotate(45deg);
}

/* ─── ROLES ─────────────────────────────────────────────────────── */
.roles__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.role-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.role-card:hover {
  border-color: rgba(46,94,255,0.3);
  transform: translateY(-4px);
}

.role-card__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.role-card__badge--gold  { background: rgba(245,166,35,0.15); color: var(--orange); }
.role-card__badge--blue  { background: rgba(46,94,255,0.15);  color: var(--blue-light); }
.role-card__badge--green { background: rgba(16,185,129,0.15); color: #34d399; }

.role-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.role-card__perms { display: flex; flex-direction: column; gap: 8px; }
.perm {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-sub);
  font-weight: 500;
}
.perm::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.perm--allow::before {
  background: rgba(16,185,129,0.2);
  border: 1.5px solid #10b981;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2 2 4-4' stroke='%2310b981' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}
.perm--deny::before {
  background: rgba(239,68,68,0.15);
  border: 1.5px solid #ef4444;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 3l4 4M7 3l-4 4' stroke='%23ef4444' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}
.perm--deny { color: var(--text-muted); }

/* ─── FAQ ───────────────────────────────────────────────────────── */
.faq__inner { max-width: 780px; }
.faq__list { display: flex; flex-direction: column; gap: 0.75rem; }

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq__item[open] { border-color: rgba(46,94,255,0.3); }
.faq__item:hover { border-color: rgba(46,94,255,0.2); }

.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  gap: 1rem;
}
.faq__q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--blue-light);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s;
}
details[open] .faq__q::after {
  transform: rotate(45deg);
}

.faq__a {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.7;
  border-top: 1px solid var(--border-card);
  margin-top: -1px;
}

/* ─── CTA ───────────────────────────────────────────────────────── */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--navy-dark);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}
.cta__bg { position: absolute; inset: 0; pointer-events: none; }
.cta__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
}
.cta__orb--1 { width: 500px; height: 500px; background: var(--blue); top: -200px; left: -100px; }
.cta__orb--2 { width: 400px; height: 400px; background: var(--orange); bottom: -200px; right: -100px; opacity: 0.12; }

.cta__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-block: clamp(4rem, 8vw, 6rem);
}
.cta__heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.cta__sub {
  font-size: 1.1rem;
  color: var(--text-sub);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.cta__note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── FOOTER ────────────────────────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  padding-top: 4rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer__brand .nav__logo { margin-bottom: 1rem; }
.footer__tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.25rem;
}
.footer__socials { display: flex; gap: 0.75rem; }
.footer__social {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}
.footer__social:hover { background: rgba(46,94,255,0.15); color: var(--blue-light); }
.footer__social svg { width: 16px; height: 16px; }

.footer__group-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer__links-group ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__link {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
  font-weight: 500;
}
.footer__link:hover { color: var(--blue-light); }

.footer__bottom {
  border-top: 1px solid var(--border-card);
  padding-block: 1.25rem;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .security__inner { grid-template-columns: 1fr; }
  .security__visual { display: none; }
  .security__content { max-width: 100%; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__actions { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile { display: block; }

  .app-preview__body { grid-template-columns: 1fr; height: auto; }
  .mock-sidebar { display: none; }
  .mock-stats { grid-template-columns: 1fr 1fr; }
  .mock-lower { grid-template-columns: 1fr; }
  .mock-content { height: 260px; overflow: hidden; }

  .hero__stat-divider { display: none; }
  .hero__stats { gap: 1.5rem; }
  .hero__stat { padding: 0; }

  .pipeline__connector { display: none; }
  .pipeline__stages { gap: 1rem; }
  .pipeline__stage { min-width: calc(50% - 1rem); }

  .arch__arrow { flex-direction: column; gap: 4px; }

  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .cta__actions { flex-direction: column; align-items: stretch; }
  .cta__actions .btn { justify-content: center; }

  .pipeline__stage { min-width: 100%; }
  .features__grid { grid-template-columns: 1fr; }
  .roles__grid { grid-template-columns: 1fr; }
  .cloud__grid { grid-template-columns: 1fr; }
}

/* ─── Print ─────────────────────────────────────────────────────── */
@media print {
  .nav, .hero__orbs, .hero__bg-grid, .cta__bg, .vault-visual__ring { display: none; }
  body { background: white; color: black; }
}

