/* ==========================================================================
         MANDATORY CSS RESET & GLOBAL CONSTRAINTS
         ========================================================================== */
* {
  box-sizing: border-box !important;
  margin: 0;
  padding: 0;
}
html,
body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  background: #0b0f19;
  color: #a1a1aa;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
}
img,
svg,
canvas,
iframe,
textarea,
input,
select,
button {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

:root {
  --bg-dark: #0b0f19;
  --bg-card: #111827;
  --bg-card-hover: #161f33;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(244, 63, 94, 0.28);
  --primary-rose: #f43f5e;
  --secondary-amber: #fb923c;
  --text-white: #ffffff;
  --text-slate: #a1a1aa;
  --signature-gradient: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
}

.gradient-text {
  background: var(--signature-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-glow {
  background: var(--signature-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(244, 63, 94, 0.35));
  display: inline-block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}

.brand-logo {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--text-white);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: #d1d5db;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.15s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text-white);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--signature-gradient);
  transition: width 0.2s ease;
}
.nav-link:hover::after,
.nav-link:focus-visible::after {
  width: 100%;
}

.hamburger-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.5rem;
  color: var(--text-white);
  cursor: pointer;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
}

.hamburger-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.mobile-drawer {
  display: none;
  width: 100%;
  background: #0b0f19;
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.25rem 1.5rem 2rem 1.5rem;
}

.mobile-drawer.active {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.85rem 1rem;
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-nav-link:hover {
  background: rgba(244, 63, 94, 0.08);
  color: var(--text-white);
  border-color: var(--border-accent);
}

@media (max-width: 991px) {
  .nav-links-desktop {
    display: none;
  }
  .hamburger-btn {
    display: inline-flex;
  }
}

/* Hero Section */
.hero-section {
  padding: 5.5rem 0 4rem 0;
  text-align: center;
  background: radial-gradient(
    ellipse 80% 50% at 50% -10%,
    rgba(244, 63, 94, 0.15),
    transparent 70%
  );
}

.hero-kicker {
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--secondary-amber);
  margin-bottom: 1.25rem;
}

.hero-title {
  color: var(--text-white);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 980px;
  margin: 0 auto 1.5rem auto;
  text-wrap: balance;
}

.hero-subtitle {
  color: var(--text-slate);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  max-width: 780px;
  margin: 0 auto 2.25rem auto;
  text-wrap: balance;
}

.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: #9ca3af;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  max-width: 720px;
  margin: 0 auto;
}

/* Pillars Grid */
.capabilities-section {
  padding: 5rem 0 4rem 0;
  border-top: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-rose);
  margin-bottom: 0.75rem;
}

.section-title {
  color: var(--text-white);
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-slate);
  font-size: 1.05rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
}

.pillar-card:hover,
.pillar-card.active {
  border-color: rgba(244, 63, 94, 0.45);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.45),
    0 0 20px rgba(244, 63, 94, 0.12);
  transform: translateY(-2px);
}

.pillar-card.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--signature-gradient);
}

.pillar-card:nth-child(1) {
  grid-column: span 6;
}
.pillar-card:nth-child(2) {
  grid-column: span 6;
}
.pillar-card:nth-child(3) {
  grid-column: span 4;
}
.pillar-card:nth-child(4) {
  grid-column: span 4;
}
.pillar-card:nth-child(5) {
  grid-column: span 4;
}

@media (max-width: 991px) {
  .pillar-card:nth-child(1),
  .pillar-card:nth-child(2),
  .pillar-card:nth-child(3),
  .pillar-card:nth-child(4),
  .pillar-card:nth-child(5) {
    grid-column: span 12;
  }
}

.pillar-icon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.pillar-badge-num {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--secondary-amber);
}

.pillar-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-rose);
}

.pillar-icon-box svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.pillar-title {
  color: var(--text-white);
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pillar-body {
  color: var(--text-slate);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.pillar-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary-amber);
}

/* Inspector */
.inspector-panel {
  background: #0e1526;
  border: 1px solid rgba(244, 63, 94, 0.25);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.inspector-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.inspector-title {
  color: var(--text-white);
  font-size: 1.2rem;
  font-weight: 700;
}
.inspector-tab-strip {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: #d1d5db;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  font-size: 0.825rem;
  font-weight: 500;
  cursor: pointer;
}

.tab-btn.active {
  background: rgba(244, 63, 94, 0.15);
  border-color: var(--primary-rose);
  color: var(--text-white);
}

.inspector-view {
  display: none;
}
.inspector-view.active {
  display: block;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

.box-pane {
  background: #080c14;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.25rem;
}

.box-pane-header {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
}

.box-content-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #d1d5db;
}
.box-content-code {
  font-family: monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #e2e8f0;
  white-space: pre-wrap;
}

/* Story Section */
.story-section {
  padding: 5.5rem 0 4.5rem 0;
  border-top: 1px solid var(--border-subtle);
  background: #0e1424;
}

.story-article {
  max-width: 900px;
  margin: 0 auto;
}
.story-lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #e2e8f0;
  margin-bottom: 2rem;
}
.story-block {
  margin-bottom: 3.5rem;
}

.story-h2 {
  color: var(--text-white);
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.story-h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--signature-gradient);
}

.story-h3 {
  color: #f3f4f6;
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
}

.story-p {
  color: #a1a1aa;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.story-quote {
  background: rgba(244, 63, 94, 0.05);
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  margin: 2.25rem 0;
}

.story-quote p {
  color: #f43f5e;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.story-quote cite {
  color: var(--secondary-amber);
  font-size: 0.875rem;
  font-style: normal;
}

.story-feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

@media (max-width: 640px) {
  .story-feature-list {
    grid-template-columns: 1fr;
  }
}

.story-feature-item {
  background: #0b0f19;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.25rem;
}

.story-feature-title {
  color: var(--text-white);
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.story-feature-desc {
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Trust & FAQs */
.trust-faq-section {
  padding: 5.5rem 0 5rem 0;
  border-top: 1px solid var(--border-subtle);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}

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

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2rem 1.5rem;
}

.trust-stat {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}
.trust-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary-amber);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.trust-desc {
  font-size: 0.925rem;
  color: var(--text-slate);
  line-height: 1.55;
}

.faq-wrapper {
  max-width: 860px;
  margin: 0 auto;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.35rem 1.5rem;
  text-align: left;
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-icon {
  width: 20px;
  height: 20px;
  stroke: var(--secondary-amber);
  stroke-width: 2;
  fill: none;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  stroke: var(--primary-rose);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-slate);
  font-size: 0.96rem;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 1.35rem;
}

/* Footer */
.site-footer {
  background: #070b13;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem 0;
  color: #9ca3af;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  display: inline-block;
}

.footer-bio-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #9ca3af;
  max-width: 480px;
}
.footer-column-heading {
  color: var(--text-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.925rem;
}

.footer-link:hover {
  color: var(--text-white);
}
.footer-link.active-link {
  color: var(--primary-rose);
  font-weight: 600;
}

.footer-bottom-bar {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}
