/* ========================================
   NocTel Warden Marketing Site
   ======================================== */

:root {
  /* Brand Colors */
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --accent: #0ea5e9;

  /* Light Theme */
  --bg: #ffffff;
  --bg-alt: #e8f0fe;
  --bg-dark: #dbeafe;
  --surface: #ffffff;

  /* Text */
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-on-primary: #ffffff;

  /* Borders & Effects */
  --border: #e2e8f0;
  --border-dark: #cbd5e1;
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

  /* Status */
  --success: #10b981;

  /* Sizing */
  --container: 1280px;
  --section-padding: 5rem;

  /* Typography */
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', SFMono-Regular, ui-monospace, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* ========================================
   Layout
   ======================================== */

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

.section {
  padding: var(--section-padding) 0;
}

.section-alt {
  background: var(--bg-alt);
}


.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

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

@media (max-width: 768px) {
  :root {
    --section-padding: 3rem;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .section-header h2 {
    font-size: 2rem;
  }
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-on-primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--text-on-primary);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ========================================
   Header
   ======================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-full {
  height: 60px;
  width: auto;
}

/* Legacy support for icon + text */
.logo-icon {
  width: 36px;
  height: 44px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-noctel {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.logo-warden {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.5rem 1.5rem;
}

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

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child:not(.btn) {
  border-bottom: none;
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 1rem;
  border-bottom: none;
  color: var(--text-on-primary);
  text-align: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  background: var(--primary);
  border-radius: 0.5rem;
}

@media (max-width: 900px) {
  .nav, .header-actions {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

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

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
}

.footer-links h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 0.875rem;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
    text-align: center;
  }
  .footer-brand .logo {
    justify-content: center;
  }
  .footer-tagline {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ========================================
   Cards
   ======================================== */

.card {
  background: var(--surface);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* ========================================
   Media Placeholders
   ======================================== */

.media-placeholder {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 1rem;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.media-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.15) 0%, transparent 50%);
}

.media-placeholder-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.media-placeholder svg {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.media-placeholder span {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  background: var(--bg);
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background:
    radial-gradient(circle at 70% 30%, rgba(30, 64, 175, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(14, 165, 233, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.hero-content {
  max-width: 560px;
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-accent {
  display: block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.hero-meta-item svg {
  color: var(--success);
  width: 16px;
  height: 16px;
}

.hero-screenshot {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Page Hero (for inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 6rem 0 4rem;
  text-align: center;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-content {
    max-width: none;
    text-align: center;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-meta {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0 3rem;
  }
  .hero h1 {
    font-size: 2.25rem;
  }
  .hero-cta {
    flex-direction: column;
  }
  .page-hero {
    padding: 4rem 0 3rem;
  }
  .page-hero h1 {
    font-size: 2.25rem;
  }
}

/* ========================================
   Value Props
   ======================================== */

.value-card {
  background: var(--surface);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 0.75rem;
  color: white;
  margin-bottom: 1.5rem;
}

.value-icon svg {
  width: 28px;
  height: 28px;
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   Features
   ======================================== */

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bg-alt);
  border-radius: 0.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ========================================
   Demo Section
   ======================================== */

.demo-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.demo-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.demo-content > p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.demo-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.demo-list li:last-child {
  border-bottom: none;
}

.demo-list svg {
  color: var(--success);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.demo-content .btn {
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .demo-media {
    order: -1;
  }
}

/* ========================================
   Comparison Table
   ======================================== */

.comparison {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.comparison-header > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem;
  font-weight: 600;
}

.comparison-header > div:first-child {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-warden,
.comparison-legacy {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
}

.comparison-warden {
  background: rgba(16, 185, 129, 0.05);
}

.comparison-warden svg {
  color: var(--success);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.comparison-legacy {
  color: var(--text-secondary);
}

/* ========================================
   Use Cases
   ======================================== */

.use-case-card {
  background: var(--surface);
  border-radius: 1rem;
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.use-case-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.use-case-header svg {
  color: var(--primary);
  width: 32px;
  height: 32px;
}

.use-case-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.use-case-card > p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.use-case-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: var(--text-secondary);
}

.use-case-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* ========================================
   Screenshots Grid
   ======================================== */

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.screenshot-item h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}

.screenshot-item p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

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

/* ========================================
   Tech Specs
   ======================================== */

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tech-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.tech-content > p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.tech-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.tech-code {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 1rem;
  padding: 2rem;
  overflow: hidden;
}

.tech-code pre {
  margin: 0;
  padding: 0;
  background: transparent;
  overflow-x: auto;
}

.tech-code code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.8;
  color: #e2e8f0;
}

.tech-highlights {
  display: flex;
  gap: 2rem;
  margin: 1.5rem 0;
}

.tech-highlight {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.tech-highlight strong {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.tech-highlight span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .tech-code {
    order: -1;
  }
  .tech-highlights {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 5rem 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.cta-section > .container > p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.cta-section .btn-primary {
  background: white;
  color: var(--primary);
}

.cta-section .btn-primary:hover {
  background: var(--bg-alt);
}

.cta-section .btn-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.cta-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

@media (max-width: 768px) {
  .cta-section h2 {
    font-size: 1.75rem;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ========================================
   Forms
   ======================================== */

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

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

/* ========================================
   Contact Page Specifics
   ======================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form-wrapper {
  background: var(--surface);
  border-radius: 1rem;
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-form-wrapper h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-form-intro {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-disclaimer {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--surface);
  border-radius: 1rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
}

.sidebar-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.benefit-item:last-child {
  margin-bottom: 0;
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-alt);
  border-radius: 0.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 20px;
  height: 20px;
}

.benefit-item h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.benefit-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.sidebar-card > p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.sidebar-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
}

.faq-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.faq-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 1.5rem;
  }
}

/* ========================================
   About Page Specifics
   ======================================== */

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.story-content p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Timeline */
.timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  position: relative;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 24px;
  flex-shrink: 0;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 3px var(--primary-light);
  z-index: 1;
}

.timeline-line {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin-top: 0.5rem;
}

.timeline-content {
  padding-bottom: 3rem;
}

.timeline-item:last-child .timeline-content {
  padding-bottom: 0;
}

.timeline-period {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: rgba(30, 64, 175, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 0.75rem;
}

.timeline-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Values */
.value-row {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--surface);
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.value-row:hover {
  box-shadow: var(--shadow-md);
}

.value-row .value-icon {
  flex-shrink: 0;
}

.value-row h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.value-row p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* NocTel Section */
.noctel-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
}

.noctel-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: rgba(30, 64, 175, 0.1);
  padding: 0.375rem 0.875rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

.noctel-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.noctel-content > p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.noctel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.noctel-logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: var(--surface);
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.noctel-logo-box img {
  width: 120px;
  height: auto;
  margin-bottom: 1rem;
}

.noctel-logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.noctel-logo-text span:first-child {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.noctel-logo-text span:last-child {
  font-size: 2rem;
  font-weight: 800;
}

/* What We're Not */
.not-section {
  max-width: 900px;
  margin: 0 auto;
}

.not-section > h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.not-intro {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

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

.not-item {
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.not-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.not-item p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.not-conclusion {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.125rem;
  font-style: italic;
}

@media (max-width: 1024px) {
  .story-grid,
  .noctel-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .story-media,
  .noctel-logo-box {
    order: -1;
  }
  .noctel-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

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

/* ========================================
   Features Page Specifics
   ======================================== */

.protocol-card {
  background: var(--surface);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.protocol-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.protocol-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 0.75rem;
  color: white;
  margin-bottom: 1.5rem;
}

.protocol-icon svg {
  width: 28px;
  height: 28px;
}

.protocol-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.protocol-card > p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.protocol-details {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.protocol-details li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.protocol-details svg {
  color: var(--success);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Auth Grid */
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.auth-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.auth-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.auth-card:hover {
  box-shadow: var(--shadow-md);
}

.auth-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bg);
  border-radius: 0.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.auth-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.auth-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .auth-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .auth-media {
    order: -1;
  }
}

/* Access Control */
.access-card {
  display: flex;
  gap: 1.25rem;
  padding: 2rem;
  background: var(--surface);
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.access-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--bg-alt);
  border-radius: 0.75rem;
  color: var(--primary);
  flex-shrink: 0;
}

.access-icon svg {
  width: 28px;
  height: 28px;
}

.access-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.access-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.access-demo {
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Operational Grid */
.operational-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.operational-card {
  background: var(--surface);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
}

.operational-header {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
}

.operational-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 0.5rem;
  color: white;
  flex-shrink: 0;
}

.operational-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.operational-header p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.operational-media {
  padding: 0 1.5rem 1.5rem;
}

.operational-media .media-placeholder {
  aspect-ratio: 4 / 3;
}

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

/* Network Support */
.network-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.network-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--surface);
  border-radius: 1rem;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.network-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.network-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--bg-alt);
  border-radius: 50%;
  color: var(--primary);
  margin: 0 auto 1rem;
}

.network-icon svg {
  width: 28px;
  height: 28px;
}

.network-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.network-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

/* Tech Specs on Features Page */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.specs-card {
  background: var(--surface);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
}

.specs-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 500;
  color: var(--text-secondary);
}

.spec-value {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
}

.deployment-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.deployment-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.deployment-item > svg {
  color: var(--primary);
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.deployment-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.deployment-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

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

/* API Section */
.api-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.api-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.api-content > p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.api-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--text-secondary);
}

.api-list svg {
  color: var(--success);
  width: 18px;
  height: 18px;
}

.api-content .btn {
  margin-top: 2rem;
}

.api-code {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 1rem;
  padding: 2rem;
  overflow: hidden;
}

.api-code pre {
  margin: 0;
  background: transparent;
  overflow-x: auto;
}

.api-code code {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.8;
  color: #e2e8f0;
}

@media (max-width: 1024px) {
  .api-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ========================================
   Docs Page
   ======================================== */

.doc-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.doc-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}

.doc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--bg-alt);
  border-radius: 0.75rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: all 0.2s ease;
}

.doc-card:hover .doc-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
}

.doc-icon svg {
  width: 28px;
  height: 28px;
}

.doc-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.doc-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.doc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-top: 1rem;
}

.doc-card:hover .doc-link {
  gap: 0.625rem;
}

.coming-soon {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem;
}

.coming-soon svg {
  color: var(--primary);
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
}

.coming-soon h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.coming-soon p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ========================================
   Utility
   ======================================== */

.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* SVG Icons inline styling */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  fill: currentColor;
}

/* ========================================
   Contact Page
   ======================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form-wrapper h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-form-wrapper > p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  background: var(--surface);
  color: var(--text);
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-checkbox {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 0.25rem;
  accent-color: var(--primary);
}

.form-checkbox label {
  font-weight: 400;
  color: var(--text-secondary);
}

/* Contact Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background: var(--bg-alt);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.sidebar-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.sidebar-card > p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.expect-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.expect-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.expect-list svg {
  color: var(--success);
  flex-shrink: 0;
}

.sidebar-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
}

.sidebar-email:hover {
  text-decoration: underline;
}

.sidebar-faq .faq-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.sidebar-faq .faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-faq .faq-item:first-of-type {
  padding-top: 0;
}

.sidebar-faq h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.sidebar-faq p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Alternative Contact */
.alt-contact h2 {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
}

.alt-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.alt-contact-item {
  text-align: center;
  padding: 2rem;
  background: var(--surface);
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.alt-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--bg-alt);
  border-radius: 50%;
  color: var(--primary);
  margin: 0 auto 1.25rem;
}

.alt-contact-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.alt-contact-item p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.alt-contact-item a {
  color: var(--primary);
  font-weight: 500;
}

.alt-contact-item a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .alt-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Documentation Page
   ======================================== */

.docs-hero {
  max-width: 900px;
  margin: 0 auto;
}

.docs-hero h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.docs-hero-content > p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.docs-hero-note {
  margin-top: 1.5rem;
  color: var(--text-secondary);
}

.docs-hero-note code {
  background: var(--bg-alt);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.9em;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.docs-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.docs-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}

.docs-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--bg-alt);
  border-radius: 0.75rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  transition: all 0.2s ease;
}

.docs-card:hover .docs-card-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
}

.docs-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.docs-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.5;
  flex: 1;
}

.docs-card-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: 1rem;
}

.docs-card:hover .docs-card-link {
  text-decoration: underline;
}

/* Integration Guides */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.integration-category h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
}

.integration-list li {
  margin-bottom: 0.5rem;
}

.integration-list a {
  display: block;
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  transition: color 0.15s ease;
}

.integration-list a:hover {
  color: var(--primary);
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.faq-card {
  background: var(--surface);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.faq-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.faq-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Resources Grid */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.resource-card {
  padding: 2rem;
  background: var(--bg-alt);
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.resource-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.resource-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.resource-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9375rem;
}

.resource-link:hover {
  text-decoration: underline;
}

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

@media (max-width: 768px) {
  .docs-grid,
  .faq-grid,
  .resources-grid,
  .integration-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Use Cases Page
   ======================================== */

.use-case-section {
  padding: 4rem 0;
}

.use-case-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 2.5rem 2.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 1.25rem;
  box-shadow:
    0 4px 6px -1px rgba(30, 64, 175, 0.06),
    0 10px 20px -2px rgba(30, 64, 175, 0.08),
    0 0 0 1px rgba(30, 64, 175, 0.05);
  position: relative;
  overflow: hidden;
}

.use-case-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
  background-size: 200% 100%;
}

.section-alt .use-case-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.use-case-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.875rem;
  flex-wrap: wrap;
}

.use-case-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  background: linear-gradient(135deg, var(--primary) 0%, #2563eb 100%);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  box-shadow: 0 2px 4px rgba(30, 64, 175, 0.2);
}

.use-case-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
  line-height: 1.2;
}

.use-case-header p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.use-case-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.use-case-grid-reverse {
  grid-template-columns: 1fr 1.2fr;
}

.use-case-grid-reverse .use-case-content {
  order: 2;
}

.use-case-grid-reverse .use-case-media {
  order: 1;
}

.use-case-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.use-case-content h3:not(:first-child) {
  margin-top: 2rem;
}

.use-case-content > p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.use-case-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-item > svg {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.benefit-item strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.benefit-item p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0;
}

.use-case-quote {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: 0.75rem;
  border-left: 4px solid var(--primary);
}

.use-case-quote blockquote {
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.use-case-quote cite {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: normal;
}

.use-case-media {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.use-case-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-box {
  text-align: center;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.stat-box .stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-box .stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.use-case-features {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.use-case-features h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.use-case-features ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.use-case-features li {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  padding-left: 1.25rem;
  position: relative;
}

.use-case-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.compliance-box {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.compliance-box h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.compliance-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.compliance-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.375rem 0.75rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  border-radius: 0.25rem;
}

.compliance-box p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

.msp-benefits {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.msp-benefits h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.msp-benefits ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.msp-benefits li {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  padding-left: 1.25rem;
  position: relative;
}

.msp-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
}

/* Industry Grid */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.industry-card {
  padding: 2rem;
  background: var(--surface);
  border-radius: 1rem;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.industry-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.industry-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--bg-alt);
  border-radius: 0.75rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.industry-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.industry-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .use-case-grid,
  .use-case-grid-reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .use-case-grid-reverse .use-case-content,
  .use-case-grid-reverse .use-case-media {
    order: unset;
  }
  .use-case-media {
    order: -1;
  }
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .use-case-section {
    padding: 3rem 0;
  }
  .use-case-header {
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem 1.5rem;
    border-radius: 1rem;
  }
  .use-case-title-row {
    gap: 0.625rem;
  }
  .use-case-badge {
    font-size: 0.625rem;
    padding: 0.375rem 0.75rem;
  }
  .use-case-header h2 {
    font-size: 1.375rem;
    line-height: 1.25;
  }
  .use-case-header p {
    font-size: 0.9375rem;
  }
  .use-case-grid,
  .use-case-grid-reverse {
    gap: 2rem;
  }
  .use-case-content h3 {
    font-size: 1.125rem;
  }
  .use-case-content h3:not(:first-child) {
    margin-top: 1.5rem;
  }
  .use-case-content > p {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
  }
  .use-case-benefits {
    gap: 1rem;
  }
  .benefit-item {
    gap: 0.75rem;
  }
  .benefit-item strong {
    font-size: 0.9375rem;
  }
  .benefit-item p {
    font-size: 0.875rem;
  }
  .use-case-quote {
    padding: 1.25rem;
    margin-top: 1.5rem;
  }
  .use-case-quote blockquote {
    font-size: 0.9375rem;
  }
  .use-case-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .stat-box {
    padding: 1rem;
  }
  .stat-box .stat-number {
    font-size: 1.5rem;
  }
  .industry-grid {
    grid-template-columns: 1fr;
  }
  .industry-card {
    padding: 1.5rem;
  }
}

/* ========================================
   Lightbox
   ======================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 4rem);
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox-image {
  transform: scale(1);
}

@media (max-width: 768px) {
  .lightbox {
    padding: 1rem;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  .lightbox-close svg {
    width: 24px;
    height: 24px;
  }
}
