/* ==========================================
         MANDATORY CSS RESET & BASE STYLING
         ========================================== */
* {
  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,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}
img,
svg,
canvas,
iframe,
textarea,
input,
select,
button {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* CSS Variables */
:root {
  --bg-dark: #0b0f19;
  --bg-card: #121827;
  --bg-surface: #182235;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(244, 63, 94, 0.3);
  --accent-rose: #f43f5e;
  --accent-amber: #fb923c;
  --accent-emerald: #10b981;
  --text-white: #ffffff;
  --text-slate: #a1a1aa;
  --text-muted: #71717a;
  --gradient-sunset: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
}

/* Typography & Utility */
a {
  color: inherit;
  text-decoration: none;
}
.gradient-text {
  background: var(--gradient-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================
         SECTION 1: NAVBAR
         ========================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-white);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  user-select: none;
}
.logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--gradient-sunset);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.45);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-slate);
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: var(--text-white);
}
.nav-link.active {
  color: var(--text-white);
  font-weight: 600;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2.5px;
  border-radius: 9999px;
  background: var(--gradient-sunset);
}

/* Mobile Hamburger & Drawer */
.hamburger-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-white);
}
.hamburger-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}
.mobile-drawer {
  display: none;
  width: 100%;
  background: #0e1422;
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.25rem;
}
.mobile-drawer.active {
  display: block;
}
.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-nav-item a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-slate);
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.mobile-nav-item a:hover,
.mobile-nav-item a.active {
  background: rgba(244, 63, 94, 0.12);
  color: var(--text-white);
}

@media (max-width: 991px) {
  .nav-links {
    display: none;
  }
  .hamburger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ==========================================
         SECTION 2: HERO & COMPACT HEADER
         ========================================== */
.hero-section {
  padding: 3rem 0 2rem;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.25);
  color: #f87171;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
  color: var(--text-slate);
  max-width: 720px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.highlight-pill svg {
  color: var(--accent-emerald);
}

/* ==========================================
         SECTION 3: INTERACTIVE DETECTOR TOOL
         ========================================== */
.detector-layout-section {
  padding: 1.5rem 0 4rem;
}
.detector-grid {
  display: grid;
  grid-template-columns: minmax(160px, 200px) 1fr minmax(160px, 200px);
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .detector-grid {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .ad-slot-container {
    order: 3;
    width: 100% !important;
    max-width: 850px;
    margin: 1rem auto 0;
  }
}

/* Sidebar Ad Slots */
.ad-card {
  background: #0e1422;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
@media (max-width: 1024px) {
  .ad-card {
    min-height: 160px;
    padding: 1.25rem;
    flex-direction: row;
    justify-content: space-around;
  }
}
.ad-badge {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.ad-content {
  margin: auto 0;
}
.ad-title {
  color: var(--text-white);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.ad-text {
  font-size: 0.75rem;
  color: var(--text-slate);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}
.ad-link {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fb923c;
  border-bottom: 1px dotted #fb923c;
}

/* Main Tool Container */
.tool-box {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow:
    0 20px 40px -15px rgba(0, 0, 0, 0.65),
    0 0 20px rgba(244, 63, 94, 0.04);
}
@media (max-width: 640px) {
  .tool-box {
    padding: 1.15rem;
    border-radius: 12px;
  }
}

/* Tool Controls Header */
.tool-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.sample-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.btn-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-slate);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-pill:hover {
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.3);
  color: var(--text-white);
}
.btn-clear {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.15s ease;
}
.btn-clear:hover {
  color: var(--accent-rose);
}

/* Textarea Wrapper */
.textarea-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 0.75rem;
}
.detector-textarea {
  width: 100%;
  min-height: 220px;
  max-height: 480px;
  resize: vertical;
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: #f4f4f5;
  line-height: 1.65;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.detector-textarea:focus {
  border-color: var(--accent-rose);
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.15);
}
.detector-textarea::placeholder {
  color: #52525b;
}

/* Stats bar */
.textarea-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding: 0 0.25rem;
}
.stats-group {
  display: flex;
  gap: 1.25rem;
}
.stat-highlight {
  color: var(--text-white);
  font-weight: 600;
}

/* Action Button */
.btn-scan {
  width: 100%;
  padding: 0.95rem 1.5rem;
  border: none;
  border-radius: 10px;
  background: var(--gradient-sunset);
  color: #ffffff;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.35);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}
.btn-scan:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.45);
}
.btn-scan:active:not(:disabled) {
  transform: translateY(0);
}
.btn-scan:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.7s linear infinite;
}
.btn-scan.loading .spinner {
  display: inline-block;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Input Error Banner */
.input-alert {
  display: none;
  margin-top: 0.85rem;
  padding: 0.65rem 0.95rem;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.35);
  border-radius: 8px;
  font-size: 0.8125rem;
  color: #fca5a5;
}

/* DETAILED RESULTS DISPLAY */
.results-container {
  display: none;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  animation: fadeIn 0.4s ease-out forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Result Header */
.results-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.results-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
}
.verdict-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
}
.verdict-human {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}
.verdict-ai {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fb7185;
}
.verdict-mixed {
  background: rgba(251, 146, 60, 0.15);
  border: 1px solid rgba(251, 146, 60, 0.35);
  color: #fdba74;
}

/* Overall Gauge Bar */
.gauge-wrapper {
  background: #090d16;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.gauge-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}
.human-score-label {
  color: #34d399;
}
.ai-score-label {
  color: #fb7185;
}
.gauge-track {
  position: relative;
  width: 100%;
  height: 14px;
  background: #1f2937;
  border-radius: 9999px;
  overflow: hidden;
}
.gauge-fill {
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, #10b981 0%, #fb923c 50%, #f43f5e 100%);
  border-radius: 9999px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Model Confidence Breakdown Cards */
.model-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 640px) {
  .model-cards-grid {
    grid-template-columns: 1fr;
  }
}
.model-card {
  background: #0e1422;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.85rem;
  text-align: center;
}
.model-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-slate);
  margin-bottom: 0.25rem;
}
.model-pct {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
}
.model-bar-wrap {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  margin-top: 0.4rem;
  overflow: hidden;
}
.model-bar-fill {
  height: 100%;
  background: var(--gradient-sunset);
  width: 0%;
  transition: width 0.6s ease;
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 640px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
}
.metric-badge {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.metric-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.metric-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
}
.metric-desc {
  font-size: 0.71875rem;
  color: var(--text-slate);
}

/* Text Analysis Output Box */
.analysis-box {
  background: #090d16;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.analysis-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.analysis-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-white);
}
.analysis-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.75rem;
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.legend-dot.green {
  background: #10b981;
}
.legend-dot.amber {
  background: #fb923c;
}
.legend-dot.rose {
  background: #f43f5e;
}

.annotated-text-content {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #e4e4e7;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 0.5rem;
}
/* Sentence highlighting classes */
.sent-human {
  background: rgba(16, 185, 129, 0.12);
  border-left: 2px solid rgba(16, 185, 129, 0.6);
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
  margin: 0 0.1rem;
}
.sent-mixed {
  background: rgba(251, 146, 60, 0.14);
  border-left: 2px solid rgba(251, 146, 60, 0.7);
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
  margin: 0 0.1rem;
}
.sent-ai {
  background: rgba(244, 63, 94, 0.18);
  border-left: 2px solid rgba(244, 63, 94, 0.8);
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
  margin: 0 0.1rem;
  color: #fecdd3;
}

/* Result Action Buttons */
.results-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn-secondary {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.15s ease;
}
.btn-copy {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-white);
}
.btn-copy:hover {
  background: rgba(255, 255, 255, 0.14);
}
.btn-reset {
  background: transparent;
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #f87171;
}
.btn-reset:hover {
  background: rgba(244, 63, 94, 0.1);
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #182235;
  border: 1px solid var(--accent-rose);
  color: var(--text-white);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
  animation: toastIn 0.3s ease;
}
@keyframes toastIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ==========================================
         SECTION 4: DEDICATED SEO CONTENT ARTICLE
         ========================================== */
.seo-article-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, #0b0f19 0%, #0d1322 100%);
}
.article-container {
  max-width: 860px;
  margin: 0 auto;
}
.article-header {
  margin-bottom: 2.5rem;
  text-align: left;
}
.article-tag {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-rose);
  margin-bottom: 0.5rem;
  display: block;
}
.article-main-title {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  color: var(--text-white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.article-lead {
  font-size: 1.125rem;
  color: #d4d4d8;
  line-height: 1.7;
}

.article-body h2 {
  font-size: 1.625rem;
  color: var(--text-white);
  margin: 2.25rem 0 1rem;
  letter-spacing: -0.015em;
}
.article-body h3 {
  font-size: 1.25rem;
  color: #f4f4f5;
  margin: 1.5rem 0 0.75rem;
}
.article-body p {
  font-size: 1rem;
  color: var(--text-slate);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.article-body ul,
.article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-slate);
  line-height: 1.75;
}
.article-body li {
  margin-bottom: 0.65rem;
}
.article-body strong {
  color: var(--text-white);
}
.callout-box {
  background: #111827;
  border-left: 4px solid var(--accent-rose);
  padding: 1.25rem 1.5rem;
  border-radius: 0 10px 10px 0;
  margin: 1.75rem 0;
}
.callout-box p {
  margin-bottom: 0;
  color: #e4e4e7;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.75rem 0;
}
@media (max-width: 640px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}
.step-item {
  background: #0e1422;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.25rem;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient-sunset);
  color: #fff;
  font-weight: 800;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.step-item h4 {
  color: var(--text-white);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.step-item p {
  font-size: 0.875rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ==========================================
         SECTION 5: FAQS ACCORDION
         ========================================== */
.faq-section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--border-subtle);
}
.faq-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.faq-tag {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-rose);
  display: block;
  margin-bottom: 0.5rem;
}
.faq-main-heading {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  color: var(--text-white);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.faq-accordion-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}
.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
}
.faq-item.active {
  border-color: rgba(244, 63, 94, 0.35);
  background: #141b2d;
}
.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.4;
}
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent-rose);
  transition: transform 0.25s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-content-inner {
  padding: 0 1.5rem 1.35rem 1.5rem;
  color: var(--text-slate);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ==========================================
         SECTION 6: MANDATORY FOOTER
         ========================================== */
.site-footer {
  background: #070a11;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.footer-col-1 .footer-logo {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.85rem;
  display: inline-block;
}
.footer-bio {
  font-size: 0.9375rem;
  color: var(--text-slate);
  line-height: 1.65;
  max-width: 440px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-nav-list a {
  color: var(--text-slate);
  font-size: 0.9rem;
  transition:
    color 0.15s ease,
    transform 0.15s ease;
  display: inline-block;
}
.footer-nav-list a:hover {
  color: var(--text-white);
  transform: translateX(2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}
