:root {
  /* Strictly Non-Blue Palette: Violet, Fuchsia, Neon Rose & Obsidian Bronze */
  --bg-canvas: #0e0714;
  --bg-surface: #180d24;
  --bg-surface-elevated: #241436;
  --bg-surface-hover: #311b47;
  --border-subtle: rgba(244, 63, 94, 0.18);
  --border-strong: rgba(244, 63, 94, 0.45);
  
  --text-primary: #fdf2f4;
  --text-muted: #d4b8ca;
  --text-dim: #99788f;
  
  --accent-primary: #f43f5e;
  --accent-secondary: #9333ea;
  --accent-glow: #fb7185;
  --accent-amber: #f59e0b;
  
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 16px 36px -6px rgba(0, 0, 0, 0.55);
  --glow-accent: 0 0 28px -4px rgba(244, 63, 94, 0.35);
  --radius-card: 16px;
  --radius-pill: 9999px;
  --max-width: 1180px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-canvas);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.68;
  overflow-wrap: anywhere;
  hyphens: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography Standards */
h1, h2, h3, h4, h5, h6 {
  color: #fff;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

a {
  color: var(--accent-glow);
  text-decoration: none;
  transition: color 0.2s var(--ease-kinetic);
}

a:hover, a:focus-visible {
  color: #fff;
}

/* Header & Left-Aligned Branding */
.site-header {
  position: relative;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
  z-index: 50;
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.15rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  margin-right: auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: -0.05em;
}

.brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.brand-title span {
  color: var(--accent-primary);
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all 0.25s var(--ease-kinetic);
  padding: 0.4rem 0.2rem;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-primary);
  border-radius: 2px;
}

/* Mobile 3-Dot Trigger */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.menu-toggle:hover {
  background: var(--bg-surface-hover);
  border-color: var(--accent-primary);
}

.mobile-nav-pane {
  display: none;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-strong);
  padding: 1.25rem 1.5rem;
}

.mobile-nav-pane.open {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-pane .nav-link {
  font-size: 1.05rem;
  padding: 0.5rem 0;
}

/* Main Layout */
main {
  flex: 1 0 auto;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.prose-container {
  max-width: 72ch;
  margin: 0 auto;
}

/* Bento Hero Section */
.hero-band {
  background: radial-gradient(circle at 80% 20%, rgba(244, 63, 94, 0.15) 0%, rgba(147, 51, 234, 0.08) 40%, transparent 70%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 4rem 1.5rem;
}

.hero-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-content .tagline {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-glow);
  margin-bottom: 1.25rem;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-elevation), var(--glow-accent);
  border: 1px solid var(--border-subtle);
}

.hero-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.65rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-kinetic);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #fff;
  box-shadow: 0 4px 18px rgba(244, 63, 94, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(244, 63, 94, 0.6);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover {
  background: var(--bg-surface-hover);
  border-color: var(--accent-primary);
  color: #fff;
}

/* Dynamic Bento Grid Framework */
.bento-section {
  padding: 4.5rem 1.5rem;
  background: var(--bg-canvas);
}

.section-head {
  max-width: var(--max-width);
  margin: 0 auto 3rem auto;
  text-align: left;
}

.section-head p {
  max-width: 65ch;
}

.bento-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.bento-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--ease-kinetic);
  position: relative;
  overflow: hidden;
}

.bento-item:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-elevation), var(--glow-accent);
}

.span-12 { grid-column: span 12; }
.span-8 { grid-column: span 8; }
.span-7 { grid-column: span 7; }
.span-6 { grid-column: span 6; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }

.bento-item .card-media {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.bento-item .card-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.bento-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.stat-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent-glow);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Feature Comparison Table */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 2.5rem 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  background: var(--bg-surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

th, td {
  padding: 1.15rem 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  background: var(--bg-surface-elevated);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(244, 63, 94, 0.04);
}

/* Interactive Message Tool */
.tool-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: var(--shadow-elevation);
  margin: 2.5rem 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, outline 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.3);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.tool-output {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: #08030b;
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88rem;
  color: #fca5a5;
  white-space: pre-wrap;
  word-break: break-all;
}

/* FAQ Accordion Styling */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.faq-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.75rem 2rem;
  transition: border-color 0.2s var(--ease-kinetic);
}

.faq-card:hover {
  border-color: var(--accent-primary);
}

.faq-question {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

/* Scroll Reveal Hook */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-kinetic), transform 0.7s var(--ease-kinetic);
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer (Universal Strict) */
.site-footer {
  background: #09040c;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 1.5rem 2rem 1.5rem;
  margin-top: auto;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-heading {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Responsive Rules */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .span-8, .span-7, .span-6, .span-5, .span-4 {
    grid-column: span 12;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .bento-item {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
