/**
 * CODUM.TR UNIFIED DESIGN SYSTEM — SAAS PLATFORM ARCHITECTURE
 * Theme: Obsidian Cyber SaaS (High-contrast dark, neon green, cyan, purple accents)
 * Standards: Mobile-first responsive, 0 horizontal overflow, server-authoritative states.
 */

:root {
  --codum-bg: #030708;
  --codum-bg-subtle: #061115;
  --codum-surface: #0a1b21;
  --codum-surface-hover: #0f2730;
  --codum-surface-card: #07151a;
  --codum-border: #13333d;
  --codum-border-light: #1a4450;
  --codum-border-hover: rgba(0, 237, 138, 0.4);
  --codum-border-glow: rgba(0, 237, 138, 0.2);

  --codum-green: #00ed8a;
  --codum-green-dim: #00b968;
  --codum-green-glow: rgba(0, 237, 138, 0.16);
  --codum-cyan: #00e5ff;
  --codum-cyan-glow: rgba(0, 229, 255, 0.16);
  --codum-purple: #a855f7;
  --codum-purple-glow: rgba(168, 85, 247, 0.2);
  --codum-amber: #f59e0b;
  --codum-red: #ff526f;

  --codum-text: #eef8f8;
  --codum-text-muted: #829ba0;
  --codum-text-dim: #4e6a70;

  --codum-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --codum-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;

  --codum-radius-sm: 6px;
  --codum-radius-md: 10px;
  --codum-radius-lg: 16px;
  --codum-radius-xl: 22px;
  --codum-radius-pill: 9999px;

  --codum-shadow-sm: 0 2px 4px rgba(0,0,0,0.5);
  --codum-shadow-md: 0 6px 20px rgba(0,0,0,0.65);
  --codum-shadow-lg: 0 16px 40px rgba(0,0,0,0.75);
  --codum-shadow-glow: 0 0 24px rgba(0, 237, 138, 0.14);
}

/* Base Resets */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  min-height: 100%;
}
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  height: auto !important;
  display: block !important;
  background-color: var(--codum-bg);
  color: var(--codum-text);
  font-family: var(--codum-font-sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-y: auto !important;
  user-select: auto !important;
}

/* Site & Main Layout Wrappers */
.codum-site,
#page.site,
.codum-main-wrapper,
.app-container {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: calc(100vh - 120px) !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

/* Global Content Containers (1240px Centered) */
.codum-container,
.codum-app-page-shell {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.codum-app-page-main,
.codum-ecosystem-main,
.codum-main {
  width: 100%;
  min-height: calc(100vh - 120px);
  margin: 0 auto;
  padding: 40px 0 64px;
  overflow: visible;
  display: block;
  box-sizing: border-box;
}

/* ==========================================================================
   1. GLOBAL HEADER & SAAS NAVIGATION
   ========================================================================== */
.codum-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(3, 7, 8, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--codum-border);
  font-family: var(--codum-font-sans);
}

.codum-nav-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
}

.codum-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--codum-font-mono);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--codum-text);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.codum-brand-prompt {
  color: var(--codum-green);
  font-weight: 900;
  text-shadow: 0 0 10px var(--codum-green);
}

.codum-brand-tag {
  font-size: 0.65rem;
  padding: 2px 8px;
  background: rgba(0, 237, 138, 0.1);
  border: 1px solid rgba(0, 237, 138, 0.3);
  color: var(--codum-green);
  border-radius: var(--codum-radius-pill);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.codum-nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.codum-nav-item {
  position: relative;
}

.codum-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  color: var(--codum-text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--codum-radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.codum-nav-link:hover,
.codum-nav-link.active {
  color: var(--codum-green);
  background: rgba(0, 237, 138, 0.06);
}

/* Dropdown */
.codum-has-dropdown {
  position: relative;
}

.codum-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  background: #06151a;
  border: 1px solid var(--codum-border-light);
  border-radius: var(--codum-radius-md);
  padding: 10px;
  box-shadow: var(--codum-shadow-lg), 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 237, 138, 0.08);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1050;
  backdrop-filter: blur(16px);
  margin-top: 6px;
  box-sizing: border-box;
}

/* Invisible bridge so mouse never loses hover between nav link and dropdown */
.codum-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}

.codum-nav-item:hover .codum-dropdown-menu,
.codum-nav-item:focus-within .codum-dropdown-menu,
.codum-has-dropdown.is-open .codum-dropdown-menu {
  display: flex;
}

.codum-has-dropdown:hover .codum-arrow,
.codum-has-dropdown.is-open .codum-arrow {
  transform: rotate(180deg);
}

.codum-dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--codum-radius-sm);
  text-decoration: none;
  transition: all 0.15s ease;
}

.codum-dropdown-link:hover {
  background: rgba(0, 237, 138, 0.08);
}

.codum-dropdown-icon {
  font-size: 1.3rem;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--codum-border);
  border-radius: var(--codum-radius-sm);
  flex-shrink: 0;
}

.codum-dropdown-info {
  display: flex;
  flex-direction: column;
}

.codum-dropdown-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--codum-text);
}

.codum-dropdown-desc {
  font-size: 0.72rem;
  color: var(--codum-text-muted);
}

/* Header User Actions */
.codum-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.codum-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  background: var(--codum-surface-card);
  border: 1px solid var(--codum-border);
  border-radius: var(--codum-radius-pill);
  text-decoration: none;
  color: var(--codum-text);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.codum-user-pill:hover {
  border-color: var(--codum-green);
  box-shadow: 0 0 14px var(--codum-green-glow);
}

.codum-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--codum-green-dim), var(--codum-cyan));
  color: #00150e;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.75rem;
  font-family: var(--codum-font-mono);
}

/* Mobile Hamburger Toggle */
.codum-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--codum-border);
  border-radius: var(--codum-radius-sm);
  color: var(--codum-text);
  padding: 8px 10px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* Mobile Drawer Overlay */
.codum-mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #051014;
  border-left: 1px solid var(--codum-border);
  z-index: 2000;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0,0,0,0.8);
  overflow-y: auto;
}

.codum-mobile-drawer.open {
  right: 0;
}

.codum-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 1999;
  display: none;
}

.codum-mobile-backdrop.open {
  display: block;
}

.codum-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--codum-border);
}

.codum-mobile-close {
  background: transparent;
  border: 0;
  color: var(--codum-text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.codum-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.codum-mobile-links a {
  padding: 10px 14px;
  color: var(--codum-text);
  text-decoration: none;
  border-radius: var(--codum-radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.codum-mobile-links a:hover,
.codum-mobile-links a.active {
  background: rgba(0, 237, 138, 0.1);
  color: var(--codum-green);
}

/* ==========================================================================
   2. BUTTONS & UI CONTROLS
   ========================================================================== */
.codum-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--codum-font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--codum-radius-sm);
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.codum-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.codum-btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: var(--codum-radius-sm);
}

.codum-btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--codum-radius-md);
}

.codum-btn-primary {
  background: linear-gradient(180deg, #06ed92, #00bc6d);
  border-color: var(--codum-green);
  color: #00150e;
  box-shadow: 0 0 20px rgba(0, 237, 138, 0.2);
}

.codum-btn-primary:hover {
  background: linear-gradient(180deg, #18f89f, #00d27a);
  box-shadow: 0 0 28px rgba(0, 237, 138, 0.35);
  transform: translateY(-1px);
}

.codum-btn-secondary {
  background: #07171d;
  border-color: var(--codum-border-light);
  color: var(--codum-text);
}

.codum-btn-secondary:hover {
  border-color: var(--codum-green);
  color: var(--codum-green);
  background: #0b222a;
}

.codum-btn-pro {
  background: linear-gradient(135deg, #a855f7, #6366f1);
  border-color: #c084fc;
  color: #ffffff;
  box-shadow: 0 0 22px rgba(168, 85, 247, 0.25);
}

.codum-btn-pro:hover {
  background: linear-gradient(135deg, #b86bfc, #7579f3);
  box-shadow: 0 0 32px rgba(168, 85, 247, 0.4);
  transform: translateY(-1px);
}

.codum-btn-ghost {
  background: transparent;
  border-color: var(--codum-border);
  color: var(--codum-text-muted);
}

.codum-btn-ghost:hover {
  border-color: var(--codum-border-light);
  color: var(--codum-text);
  background: rgba(255, 255, 255, 0.03);
}

.codum-btn-danger {
  background: rgba(255, 82, 111, 0.12);
  border-color: rgba(255, 82, 111, 0.4);
  color: #ff9aaa;
}

.codum-btn-danger:hover {
  background: rgba(255, 82, 111, 0.25);
  border-color: var(--codum-red);
  color: #fff;
}

/* Badges */
.codum-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-family: var(--codum-font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--codum-radius-pill);
}

.codum-badge-free {
  background: rgba(0, 237, 138, 0.1);
  border: 1px solid rgba(0, 237, 138, 0.35);
  color: var(--codum-green);
}

.codum-badge-pro {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #c084fc;
}

.codum-badge-new {
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: var(--codum-cyan);
}

.codum-badge-locked {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--codum-amber);
}

/* ==========================================================================
   3. HERO & HOMEPAGE SECTIONS
   ========================================================================== */
.codum-hero-section {
  position: relative;
  padding: 90px 24px 70px;
  text-align: center;
  max-width: 1040px;
  margin: 0 auto;
}

.codum-hero-section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 237, 138, 0.08) 0%, rgba(0, 229, 255, 0.04) 40%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.codum-hero-eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 237, 138, 0.08);
  border: 1px solid rgba(0, 237, 138, 0.28);
  border-radius: var(--codum-radius-pill);
  color: var(--codum-green);
  font-family: var(--codum-font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.codum-hero-title {
  position: relative;
  z-index: 1;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 20px;
  color: var(--codum-text);
}

.codum-hero-title span.accent {
  background: linear-gradient(135deg, #00ed8a, #00e5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.codum-hero-desc {
  position: relative;
  z-index: 1;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--codum-text-muted);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.codum-hero-ctas {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Stats Ticker */
.codum-stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 50px auto 70px;
  max-width: 1100px;
  padding: 24px;
  background: #061419;
  border: 1px solid var(--codum-border);
  border-radius: var(--codum-radius-lg);
  box-shadow: var(--codum-shadow-md);
}

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

.codum-stat-value {
  font-family: var(--codum-font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--codum-green);
  display: block;
}

.codum-stat-label {
  font-size: 0.8rem;
  color: var(--codum-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
  display: block;
}

/* Sections */
.codum-section {
  padding: 60px 0;
}

.codum-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}

.codum-section-kicker {
  font-family: var(--codum-font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--codum-green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.codum-section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--codum-text);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.codum-section-desc {
  font-size: 1.05rem;
  color: var(--codum-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Products Grid (Standardized 3 cols desktop, 2 cols tablet, 1 col mobile) */
.codum-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1199px) {
  .codum-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .codum-products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.codum-product-card {
  background: var(--codum-surface-card);
  border: 1px solid var(--codum-border);
  border-radius: var(--codum-radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.codum-product-card:hover {
  border-color: var(--codum-border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 237, 138, 0.08);
}

.codum-product-card.featured {
  border-color: rgba(0, 237, 138, 0.4);
  background: linear-gradient(180deg, #071a21, #051216);
}

.codum-product-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.codum-product-icon-wrap {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: #030a0d;
  border: 1px solid var(--codum-border);
  border-radius: var(--codum-radius-md);
}

.codum-product-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--codum-text);
  margin: 0 0 6px;
}

.codum-product-tagline {
  font-size: 0.85rem;
  color: var(--codum-green);
  font-family: var(--codum-font-mono);
  margin-bottom: 12px;
}

.codum-product-desc {
  font-size: 0.9rem;
  color: var(--codum-text-muted);
  line-height: 1.6;
  margin: 0 0 20px;
}

.codum-product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.codum-product-features li {
  font-size: 0.84rem;
  color: #c4d7da;
  display: flex;
  align-items: center;
  gap: 8px;
}

.codum-product-features li::before {
  content: '✓';
  color: var(--codum-green);
  font-weight: 800;
}

.codum-product-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

/* ==========================================================================
   4. PRO LOCK SYSTEM (Visual & Functional Locking)
   ========================================================================== */
.codum-pro-lock-banner {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(0, 229, 255, 0.08));
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--codum-radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0;
}

.codum-pro-lock-copy {
  display: flex;
  align-items: center;
  gap: 12px;
}

.codum-pro-lock-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.codum-pro-lock-copy strong {
  display: block;
  color: #e9d5ff;
  font-size: 0.95rem;
}

.codum-pro-lock-copy span {
  font-size: 0.84rem;
  color: var(--codum-text-muted);
}

/* ==========================================================================
   5. MEMBERSHIP & AUTH EXPERIENCE (/login/, /register/)
   ========================================================================== */
.codum-auth-container {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
}

.codum-auth-container::before {
  content: '';
  position: absolute;
  top: 20%;
  width: 500px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 237, 138, 0.10) 0%, rgba(168, 85, 247, 0.06) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.codum-auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background: #061419;
  border: 1px solid var(--codum-border-light);
  border-radius: var(--codum-radius-xl);
  padding: 36px 32px;
  box-shadow: var(--codum-shadow-lg), 0 0 30px rgba(0, 237, 138, 0.08);
  backdrop-filter: blur(16px);
}

.codum-auth-header {
  text-align: center;
  margin-bottom: 26px;
}

.codum-auth-header h1 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--codum-text);
  margin: 8px 0 4px;
}

.codum-auth-header p {
  color: var(--codum-text-muted);
  font-size: 0.88rem;
  margin: 0;
}

.codum-auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--codum-border);
  margin-bottom: 24px;
}

.codum-auth-tab {
  flex: 1;
  padding: 10px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--codum-text-muted);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  text-decoration: none;
}

.codum-auth-tab.active {
  color: var(--codum-green);
  border-bottom-color: var(--codum-green);
  background: rgba(0, 237, 138, 0.04);
}

.codum-form-group {
  margin-bottom: 18px;
}

.codum-form-label {
  display: block;
  font-family: var(--codum-font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--codum-text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.codum-form-input {
  width: 100%;
  box-sizing: border-box;
  background: #03090b;
  border: 1px solid var(--codum-border);
  border-radius: var(--codum-radius-sm);
  color: var(--codum-text);
  padding: 12px 14px;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.codum-form-input:focus {
  border-color: var(--codum-green);
  box-shadow: 0 0 12px var(--codum-green-glow);
}

.codum-auth-social-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}

.codum-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: #030a0d;
  border: 1px solid var(--codum-border);
  border-radius: var(--codum-radius-sm);
  color: var(--codum-text);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.codum-social-btn:hover {
  border-color: var(--codum-border-light);
  background: #09171c;
}

/* ==========================================================================
   6. ACCOUNT DASHBOARD & CUSTOMER PORTAL (/account/)
   ========================================================================== */
.codum-account-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  margin: 30px auto 60px;
}

.codum-account-sidebar {
  background: var(--codum-surface-card);
  border: 1px solid var(--codum-border);
  border-radius: var(--codum-radius-lg);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 90px;
}

.codum-sidebar-profile {
  padding: 12px;
  border-bottom: 1px solid var(--codum-border);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.codum-sidebar-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--codum-green), var(--codum-cyan));
  color: #00150e;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.codum-account-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  color: var(--codum-text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--codum-radius-sm);
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s;
}

.codum-account-nav-btn:hover,
.codum-account-nav-btn.active {
  color: var(--codum-green);
  background: rgba(0, 237, 138, 0.08);
}

.codum-account-content {
  min-width: 0;
}

/* Product Status Matrix in Account */
.codum-product-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.codum-status-card {
  background: #051318;
  border: 1px solid var(--codum-border);
  border-radius: var(--codum-radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.codum-status-card.locked {
  border-color: rgba(245, 158, 11, 0.25);
  background: rgba(8, 20, 26, 0.5);
}

.codum-status-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

/* ==========================================================================
   7. PRICING & FEATURE COMPARISON (/pricing/)
   ========================================================================== */
.codum-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 960px;
  margin: 40px auto;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .codum-pricing-grid {
    grid-template-columns: 1fr;
    margin: 24px auto;
  }
}

.codum-pricing-card {
  background: var(--codum-surface-card);
  border: 1px solid var(--codum-border);
  border-radius: var(--codum-radius-xl);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.codum-pricing-card.pro {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.18), inset 0 0 30px rgba(168, 85, 247, 0.03);
}

.codum-pricing-card.pro::before {
  content: 'ÖNERİLEN PAKET';
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--codum-font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--codum-radius-pill);
  background: linear-gradient(135deg, #a855f7, #00e5ff);
  color: #030708;
}

.codum-pricing-price {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--codum-text);
  margin: 14px 0 6px;
  font-family: var(--codum-font-mono);
}

.codum-pricing-price small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--codum-text-muted);
}

/* Comparison Table */
.codum-comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
  font-size: 0.9rem;
}

.codum-comparison-table th,
.codum-comparison-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--codum-border);
}

.codum-comparison-table th {
  background: #051419;
  font-family: var(--codum-font-mono);
  font-size: 0.8rem;
  color: var(--codum-green);
  text-transform: uppercase;
}

.codum-comparison-table tr:hover td {
  background: rgba(0, 237, 138, 0.02);
}

/* ==========================================================================
   8. DEVELOPER & AI TOOLS INTERFACE
   ========================================================================== */
.codum-tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--codum-border);
  margin-bottom: 24px;
  overflow-x: auto;
}

.codum-tab-btn {
  padding: 12px 18px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--codum-text-muted);
  font-family: var(--codum-font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.codum-tab-btn:hover {
  color: var(--codum-text);
}

.codum-tab-btn.active {
  color: var(--codum-green);
  border-bottom-color: var(--codum-green);
  background: rgba(0, 237, 138, 0.05);
}

.codum-tool-panel {
  display: none;
  background: var(--codum-surface-card);
  border: 1px solid var(--codum-border);
  border-radius: var(--codum-radius-lg);
  padding: 24px;
}

.codum-tool-panel.active {
  display: block;
}

.codum-tool-grid-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.codum-input-area {
  width: 100%;
  min-height: 220px;
  background: #020709;
  border: 1px solid var(--codum-border);
  border-radius: var(--codum-radius-sm);
  color: #bdebd7;
  font-family: var(--codum-font-mono);
  font-size: 0.86rem;
  padding: 14px;
  resize: vertical;
  line-height: 1.5;
  box-sizing: border-box;
  outline: none;
}

.codum-input-area:focus {
  border-color: var(--codum-green);
  box-shadow: 0 0 14px var(--codum-green-glow);
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.codum-footer {
  border-top: 1px solid var(--codum-border);
  background: #020608;
  padding: 70px 24px 36px;
  margin-top: 90px;
  font-family: var(--codum-font-sans);
}

.codum-footer-grid {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  box-sizing: border-box;
}

.codum-footer-brand p {
  color: var(--codum-text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 320px;
  margin: 12px 0 16px;
}

.codum-footer-col h4 {
  font-family: var(--codum-font-mono);
  font-size: 0.8rem;
  color: var(--codum-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.codum-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.codum-footer-col a {
  color: var(--codum-text-muted);
  text-decoration: none;
  font-size: 0.86rem;
  transition: color 0.15s ease;
}

.codum-footer-col a:hover {
  color: var(--codum-green);
}

.codum-footer-bottom {
  width: 100%;
  max-width: 1240px;
  margin: 40px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid var(--codum-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--codum-text-dim);
  flex-wrap: wrap;
  box-sizing: border-box;
}
  gap: 12px;
}

.codum-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--codum-green);
  font-family: var(--codum-font-mono);
  font-size: 0.8rem;
}

.codum-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--codum-green);
  box-shadow: 0 0 10px var(--codum-green);
}

/* ==========================================================================
   10. RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 1080px) {
  .codum-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .codum-account-layout { grid-template-columns: 1fr; }
  .codum-account-sidebar { position: static; }
}

@media (max-width: 768px) {
  .codum-footer-grid { grid-template-columns: 1fr 1fr; }
  .codum-tool-grid-split { grid-template-columns: 1fr; }
  .codum-products-grid { grid-template-columns: 1fr; }
  .codum-pro-lock-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .codum-footer-grid { grid-template-columns: 1fr; }
  .codum-hero-section { padding: 50px 16px 40px; }
  .codum-auth-card { padding: 26px 20px; }
}

/* ==========================================================================
   CODUM.TR SAAS DESIGN SYSTEM EXTENSIONS & RESPONSIVE COMPONENT SUITE
   ========================================================================== */

/* 1. TOP ANNOUNCEMENT BAR */
.codum-announcement-bar {
  background: linear-gradient(90deg, rgba(0, 255, 136, 0.08) 0%, rgba(0, 180, 255, 0.08) 100%);
  border-bottom: 1px solid rgba(0, 255, 136, 0.18);
  font-size: 0.8rem;
  padding: 8px 16px;
  text-align: center;
  position: relative;
  z-index: 1001;
}
.codum-announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}
.codum-announcement-badge {
  background: rgba(0, 255, 136, 0.2);
  color: var(--codum-green);
  border: 1px solid var(--codum-green);
  font-family: var(--codum-font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--codum-radius-pill);
  letter-spacing: 0.05em;
}
.codum-announcement-text {
  color: var(--codum-text);
}
.codum-announcement-link {
  color: var(--codum-green);
  font-weight: 600;
  text-decoration: none;
  transition: var(--codum-transition);
}
.codum-announcement-link:hover {
  text-decoration: underline;
  text-shadow: 0 0 8px var(--codum-green-glow);
}

/* 2. HEADER BRAND & NAVIGATION EXPANSIONS */
.codum-brand-name {
  color: var(--codum-text);
  font-weight: 800;
}
.codum-brand-dot {
  color: var(--codum-green);
}
.codum-arrow {
  font-size: 0.75rem;
  margin-left: 2px;
  transition: transform 0.2s ease;
}
.codum-has-dropdown:hover .codum-arrow {
  transform: rotate(180deg);
}
.codum-pill-subtle {
  font-size: 0.65rem;
  background: rgba(0, 255, 136, 0.15);
  color: var(--codum-green);
  padding: 1px 6px;
  border-radius: var(--codum-radius-pill);
  margin-left: 6px;
  font-family: var(--codum-font-mono);
}
.codum-dropdown-inner {
  padding: 8px 0;
}
.codum-dropdown-footer {
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--codum-border);
  font-size: 0.8rem;
  text-align: center;
}
.codum-dropdown-footer a {
  color: var(--codum-green);
  text-decoration: none;
  font-weight: 600;
}
.codum-dropdown-footer a:hover {
  text-decoration: underline;
}

/* Account Button in Header */
.codum-btn-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--codum-card-bg);
  border: 1px solid var(--codum-border);
  padding: 5px 12px;
  border-radius: var(--codum-radius-pill);
  color: var(--codum-text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--codum-transition);
}
.codum-btn-account:hover {
  border-color: var(--codum-border-hover);
  background: var(--codum-card-hover);
}
.codum-avatar-circle {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--codum-green), var(--codum-cyan));
  color: #030712;
  font-weight: 800;
  font-size: 0.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.codum-avatar-circle.large {
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
}
.codum-user-name {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.codum-logout-btn {
  color: var(--codum-text-muted) !important;
}
.codum-logout-btn:hover {
  color: var(--codum-red) !important;
}

/* 3. MOBILE HAMBURGER & DRAWER */
.codum-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--codum-border);
  border-radius: var(--codum-radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  align-items: center;
}
.codum-hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--codum-text);
  border-radius: 2px;
  transition: 0.2s ease;
}
.codum-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.codum-drawer-backdrop.active {
  display: block;
  opacity: 1;
}
.codum-mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #0d131f;
  border-left: 1px solid var(--codum-border);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
.codum-mobile-drawer.open {
  right: 0;
}
.codum-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--codum-border);
}
.codum-drawer-close {
  background: transparent;
  border: none;
  color: var(--codum-text-muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.codum-drawer-close:hover {
  color: var(--codum-text);
}
.codum-drawer-body {
  padding: 20px;
}
.codum-drawer-user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--codum-card-bg);
  border: 1px solid var(--codum-border);
  padding: 12px;
  border-radius: var(--codum-radius-sm);
  margin-bottom: 16px;
}
.codum-drawer-user-meta {
  overflow: hidden;
}
.codum-drawer-name {
  font-weight: 700;
  color: var(--codum-text);
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.codum-drawer-email {
  font-size: 0.78rem;
  color: var(--codum-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.codum-drawer-heading {
  font-family: var(--codum-font-mono);
  font-size: 0.72rem;
  color: var(--codum-green);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.codum-drawer-link {
  display: block;
  padding: 10px 12px;
  color: var(--codum-text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  border-radius: var(--codum-radius-sm);
  transition: var(--codum-transition);
  margin-bottom: 2px;
}
.codum-drawer-link:hover {
  background: var(--codum-card-bg);
  color: var(--codum-text);
}

/* 4. FOOTER EXTENSIONS */
.codum-footer-bio {
  color: var(--codum-text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 14px 0 16px;
}
.codum-footer-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.codum-footer-bottom-copy {
  color: var(--codum-text-muted);
  font-size: 0.85rem;
}
.codum-footer-bottom-meta {
  color: var(--codum-text-dim);
  font-size: 0.8rem;
  font-family: var(--codum-font-mono);
}
.codum-footer-sep {
  margin: 0 8px;
  color: var(--codum-border-hover);
}

/* 5. HERO TERMINAL MOCKUP */
.codum-hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--codum-green);
  box-shadow: 0 0 8px var(--codum-green);
}
.codum-hero-eyebrow-tag {
  background: rgba(0, 255, 136, 0.2);
  color: var(--codum-green);
  padding: 2px 6px;
  border-radius: var(--codum-radius-pill);
  font-size: 0.68rem;
  margin-left: 6px;
}
.codum-hero-mockup {
  margin-top: 48px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  perspective: 1000px;
}
.codum-terminal-window {
  background: #080d14;
  border: 1px solid var(--codum-border-hover);
  border-radius: var(--codum-radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 255, 136, 0.08);
  overflow: hidden;
  text-align: left;
}
.codum-terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #0f1724;
  border-bottom: 1px solid var(--codum-border);
}
.codum-terminal-dots {
  display: flex;
  gap: 7px;
}
.codum-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.codum-dot-red { background: #ff5f56; }
.codum-dot-yellow { background: #ffbd2e; }
.codum-dot-green { background: #27c93f; }
.codum-terminal-title {
  font-family: var(--codum-font-mono);
  font-size: 0.75rem;
  color: var(--codum-text-muted);
}
.codum-terminal-status {
  font-family: var(--codum-font-mono);
  font-size: 0.72rem;
  color: var(--codum-green);
  display: flex;
  align-items: center;
  gap: 6px;
}
.codum-terminal-body {
  padding: 20px 24px;
  font-family: var(--codum-font-mono);
  font-size: 0.85rem;
  line-height: 1.7;
  color: #c9d1d9;
}
.codum-terminal-body p {
  margin: 6px 0;
}
.codum-t-green { color: var(--codum-green); }
.codum-t-cyan { color: var(--codum-cyan); }
.codum-t-dim { color: #6e7681; }
.codum-t-white { color: #f0f6fc; }
.codum-cursor {
  display: inline-block;
  color: var(--codum-green);
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* 6. STATS STRIP */
.codum-stats-strip {
  border-top: 1px solid var(--codum-border);
  border-bottom: 1px solid var(--codum-border);
  background: var(--codum-bg-subtle);
  padding: 36px 24px;
}
.codum-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  box-sizing: border-box;
}
.codum-stat-card {
  text-align: center;
  padding: 12px;
}
.codum-stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--codum-green);
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
  margin-bottom: 4px;
}
.codum-stat-label {
  font-weight: 700;
  color: var(--codum-text);
  font-size: 0.95rem;
}
.codum-stat-sub {
  font-size: 0.8rem;
  color: var(--codum-text-muted);
  margin-top: 2px;
}

/* 7. WORKFLOW & 3-STEP GRID */
.codum-workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  box-sizing: border-box;
}
.codum-workflow-card {
  background: var(--codum-card-bg);
  border: 1px solid var(--codum-border);
  border-radius: var(--codum-radius-md);
  padding: 32px 24px;
  position: relative;
  transition: var(--codum-transition);
}
.codum-workflow-card:hover {
  border-color: var(--codum-green);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 255, 136, 0.08);
}
.codum-workflow-step {
  font-family: var(--codum-font-mono);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(0, 255, 136, 0.15);
  margin-bottom: 12px;
  line-height: 1;
}
.codum-workflow-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--codum-text);
  margin: 0 0 10px;
}
.codum-workflow-desc {
  color: var(--codum-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 16px;
}
.codum-workflow-link {
  color: var(--codum-green);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--codum-transition);
}
.codum-workflow-link:hover {
  text-decoration: underline;
}

/* 8. ARCHITECTURAL PILLARS */
.codum-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  box-sizing: border-box;
}
.codum-pillar-card {
  background: var(--codum-card-bg);
  border: 1px solid var(--codum-border);
  border-radius: var(--codum-radius-md);
  padding: 28px 22px;
  transition: var(--codum-transition);
}
.codum-pillar-card:hover {
  border-color: var(--codum-border-hover);
  background: var(--codum-card-hover);
}
.codum-pillar-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.codum-pillar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--codum-text);
  margin: 0 0 8px;
}
.codum-pillar-desc {
  color: var(--codum-text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* 9. INTERACTIVE FAQ ACCORDION */
.codum-faq-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.codum-faq-item {
  background: var(--codum-card-bg);
  border: 1px solid var(--codum-border);
  border-radius: var(--codum-radius-md);
  overflow: hidden;
  transition: var(--codum-transition);
}
.codum-faq-item[open] {
  border-color: var(--codum-green);
}
.codum-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  color: var(--codum-text);
  font-size: 1rem;
  user-select: none;
  list-style: none;
}
.codum-faq-question::-webkit-details-marker {
  display: none;
}
.codum-faq-chevron {
  font-size: 0.9rem;
  color: var(--codum-text-muted);
  transition: transform 0.2s ease;
}
.codum-faq-item[open] .codum-faq-chevron {
  transform: rotate(180deg);
  color: var(--codum-green);
}
.codum-faq-answer {
  padding: 0 22px 20px;
  color: var(--codum-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}
.codum-faq-answer p {
  margin: 0;
}

/* 10. CTA BANNER */
.codum-cta-banner {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.08) 0%, rgba(0, 180, 255, 0.08) 100%);
  border: 1px solid rgba(0, 255, 136, 0.25);
  border-radius: var(--codum-radius-lg);
  padding: 48px 32px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.codum-cta-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--codum-text);
  margin: 0 0 12px;
}
.codum-cta-desc {
  color: var(--codum-text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.codum-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 11. BREADCRUMBS & PAGE HEADER BANNER */
.codum-page-header-banner {
  margin-bottom: 36px;
}
.codum-breadcrumbs {
  font-family: var(--codum-font-mono);
  font-size: 0.78rem;
  color: var(--codum-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.codum-breadcrumbs a {
  color: var(--codum-text-muted);
  text-decoration: none;
}
.codum-breadcrumbs a:hover {
  color: var(--codum-green);
}
.codum-breadcrumb-sep {
  color: var(--codum-border-hover);
}
.codum-page-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--codum-text);
  margin: 0 0 10px;
}
.codum-page-description {
  color: var(--codum-text-muted);
  font-size: 1.05rem;
  max-width: 760px;
  line-height: 1.6;
  margin: 0;
}

/* 12. CATALOG TOOLBAR & SEARCH */
.codum-catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--codum-card-bg);
  border: 1px solid var(--codum-border);
  border-radius: var(--codum-radius-md);
}
.codum-category-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.codum-filter-btn {
  background: var(--codum-bg);
  border: 1px solid var(--codum-border);
  color: var(--codum-text-muted);
  padding: 7px 14px;
  border-radius: var(--codum-radius-pill);
  font-size: 0.84rem;
  cursor: pointer;
  transition: var(--codum-transition);
}
.codum-filter-btn:hover {
  color: var(--codum-text);
  border-color: var(--codum-border-hover);
}
.codum-filter-btn.active {
  background: rgba(0, 255, 136, 0.15);
  color: var(--codum-green);
  border-color: var(--codum-green);
  font-weight: 600;
}
.codum-search-box {
  background: var(--codum-bg);
  border: 1px solid var(--codum-border);
  border-radius: var(--codum-radius-pill);
  padding: 8px 16px;
  color: var(--codum-text);
  font-size: 0.88rem;
  width: 240px;
  transition: var(--codum-transition);
}
.codum-search-box:focus {
  outline: none;
  border-color: var(--codum-green);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.15);
}

/* 13. PRODUCT HERO & CODUMONKEY DETAILS */
.codum-product-hero-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  .codum-product-hero-layout {
    grid-template-columns: 1fr;
  }
}
.codum-install-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0;
}
.codum-install-step-item {
  display: flex;
  gap: 12px;
}
.codum-step-badge {
  width: 26px;
  height: 26px;
  background: rgba(0, 255, 136, 0.15);
  color: var(--codum-green);
  border: 1px solid var(--codum-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* 14. BAYIGRAM-STYLE CUSTOMER PORTAL */
.codum-portal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
@media (max-width: 860px) {
  .codum-portal-layout {
    grid-template-columns: 1fr;
  }
}
.codum-portal-sidebar {
  background: var(--codum-card-bg);
  border: 1px solid var(--codum-border);
  border-radius: var(--codum-radius-md);
  padding: 24px 18px;
  position: sticky;
  top: 90px;
}
.codum-portal-user-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--codum-border);
  margin-bottom: 16px;
}
.codum-portal-name {
  font-weight: 700;
  color: var(--codum-text);
  font-size: 1rem;
}
.codum-portal-email {
  font-size: 0.8rem;
  color: var(--codum-text-muted);
}
.codum-portal-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.codum-portal-nav-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 10px 14px;
  background: transparent;
  border: none;
  color: var(--codum-text-muted);
  border-radius: var(--codum-radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  text-align: left;
  transition: var(--codum-transition);
  width: 100%;
}
.codum-portal-nav-btn:hover {
  background: var(--codum-bg);
  color: var(--codum-text);
}
.codum-portal-nav-btn.active {
  background: rgba(0, 255, 136, 0.12);
  color: var(--codum-green);
  font-weight: 600;
  border-left: 3px solid var(--codum-green);
}
.codum-portal-pane {
  display: none;
}
.codum-portal-pane.active {
  display: block;
  animation: fadeIn 0.25s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pro Lock Banners in Portal */
.codum-pro-lock-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid rgba(0, 255, 136, 0.25);
  border-radius: var(--codum-radius-sm);
  padding: 16px 20px;
}
.codum-pro-lock-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 82, 111, 0.06);
  border: 1px solid rgba(255, 82, 111, 0.25);
  border-radius: var(--codum-radius-sm);
  padding: 24px;
}

/* 15. AUTH TABS & CARDS */
.codum-auth-card {
  width: 100%;
  max-width: 520px;
  margin: 40px auto;
  background: var(--codum-card-bg);
  border: 1px solid var(--codum-border);
  border-radius: var(--codum-radius-lg);
  padding: 36px 32px;
  box-shadow: var(--codum-shadow-card);
  box-sizing: border-box;
}
.codum-auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--codum-border);
  margin-bottom: 20px;
}
.codum-auth-tab {
  flex: 1;
  text-align: center;
  padding: 12px;
  color: var(--codum-text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  transition: var(--codum-transition);
}
.codum-auth-tab.active {
  color: var(--codum-green);
  border-bottom-color: var(--codum-green);
}
.codum-auth-tab:hover {
  color: var(--codum-text);
}

/* 16. RESPONSIVE ADJUSTMENTS FOR INTERMEDIATE DESKTOPS (768px - 1080px) */
@media (min-width: 768px) and (max-width: 1080px) {
  .codum-nav-container {
    padding: 0 16px;
    gap: 8px;
  }
  .codum-nav-menu {
    gap: 2px;
  }
  .codum-nav-link {
    padding: 6px 8px;
    font-size: 0.8rem;
  }
  .codum-brand {
    font-size: 1.05rem;
    gap: 6px;
  }
  .codum-header-actions {
    gap: 6px;
  }
  .codum-header-actions .codum-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  .codum-user-name {
    max-width: 80px;
  }
}

/* ==========================================================================
   17. HOMEPAGE HERO, 3+2 PRODUCTS GRID & SPOTLIGHT ENHANCEMENTS
   ========================================================================== */
.codum-ecosystem-hero {
  position: relative;
  padding: 80px 20px 60px;
  text-align: center;
  overflow: hidden;
}

.codum-hero-container {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.codum-hero-title {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.16;
  margin: 0 0 18px;
  color: var(--codum-text);
}

.codum-hero-title .highlight {
  background: linear-gradient(135deg, var(--codum-green), var(--codum-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.codum-hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: var(--codum-text-muted);
  max-width: 740px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.codum-hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.codum-hero-pills {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.codum-pill-tag {
  background: rgba(0, 237, 138, 0.05);
  border: 1px solid rgba(0, 237, 138, 0.2);
  border-radius: var(--codum-radius-pill);
  padding: 5px 14px;
  font-size: 0.8rem;
  color: var(--codum-green);
  font-family: var(--codum-font-mono);
  font-weight: 600;
}

/* 3 + 2 Balanced Product Grid */
@media (min-width: 1024px) {
  .codum-products-grid-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
  }
  .codum-products-grid-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 780px;
    margin: 0 auto;
  }
}

@media (max-width: 1023px) and (min-width: 641px) {
  .codum-products-grid-top,
  .codum-products-grid-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .codum-products-grid-bottom {
    margin-top: 20px;
  }
}

@media (max-width: 640px) {
  .codum-products-grid-top,
  .codum-products-grid-bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .codum-products-grid-bottom {
    margin-top: 16px;
  }
}

/* Spotlight Card (Codumonkey Featured) */
.codum-spotlight-card {
  background: linear-gradient(135deg, rgba(0, 237, 138, 0.06), rgba(0, 229, 255, 0.04));
  border: 1px solid rgba(0, 237, 138, 0.28);
  border-radius: var(--codum-radius-lg);
  padding: 38px 32px;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 237, 138, 0.06);
}

.codum-spotlight-title {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--codum-text);
  margin: 0 0 10px;
}

.codum-spotlight-desc {
  font-size: 1rem;
  color: var(--codum-text-muted);
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.codum-spotlight-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   GLOBAL RESPONSIVE & LAYOUT INTEGRATION (Standardized 1240px Container)
   ========================================================================== */

/* Pre, Code, Table, Textarea Responsive Overflow Protection */
pre, code, table, textarea {
  max-width: 100%;
  box-sizing: border-box;
}

pre {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
}

/* Tool Outputs Internal Scroll */
.tool-output,
#jsonOutput,
#regexOutput {
  max-height: 500px;
  overflow: auto;
  max-width: 100%;
  box-sizing: border-box;
}

/* Breakpoint: Desktop (>= 1200px) */
@media (min-width: 1200px) {
  .codum-container,
  .codum-app-page-shell,
  .codum-nav-container,
  .codum-hero-container,
  .codum-stats-grid,
  .codum-products-grid-top,
  .codum-spotlight-card,
  .codum-workflow-grid,
  .codum-pillars-grid,
  .codum-cta-banner,
  .codum-footer-grid,
  .codum-footer-bottom {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
}

/* Breakpoint: Tablet (768px - 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
  .codum-container,
  .codum-app-page-shell,
  .codum-nav-container,
  .codum-hero-container,
  .codum-stats-grid,
  .codum-products-grid-top,
  .codum-products-grid-bottom,
  .codum-spotlight-card,
  .codum-workflow-grid,
  .codum-pillars-grid,
  .codum-cta-banner,
  .codum-footer-grid,
  .codum-footer-bottom {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .codum-products-grid,
  .codum-products-grid-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .codum-products-grid-bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }

  .codum-footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Breakpoint: Mobile (<= 767px) */
@media (max-width: 767px) {
  .codum-nav-container,
  .codum-container,
  .codum-app-page-shell,
  .codum-hero-container,
  .codum-stats-grid,
  .codum-products-grid-top,
  .codum-products-grid-bottom,
  .codum-spotlight-card,
  .codum-workflow-grid,
  .codum-pillars-grid,
  .codum-cta-banner,
  .codum-faq-container,
  .codum-footer-grid,
  .codum-footer-bottom {
    width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box;
  }

  .codum-products-grid,
  .codum-products-grid-top,
  .codum-products-grid-bottom,
  .codum-pricing-grid,
  .codum-portal-layout,
  .codum-tool-grid-split,
  .codum-workflow-grid,
  .codum-pillars-grid,
  .codum-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .codum-auth-card {
    width: 100%;
    max-width: calc(100% - 32px);
    margin: 24px auto;
    padding: 24px 18px;
  }

  .codum-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .codum-footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Natural Document Scroll on Body */
html {
  min-height: 100%;
}

body {
  min-height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

/* ==========================================================================
   IMMERSIVE DARK GREEN / CYAN ATMOSPHERE (GUSTAVOBATISTA INSPIRATION)
   ========================================================================== */

:root {
  --codum-parallax-x: 0px;
  --codum-parallax-y: 0px;
  --codum-neon-green: #00ff88;
  --codum-neon-green-glow: rgba(0, 255, 136, 0.28);
  --codum-cyan: #00e5ff;
  --codum-cyan-glow: rgba(0, 229, 255, 0.22);
  --codum-subtle-purple: rgba(168, 85, 247, 0.14);
  --codum-obsidian: #030708;
  --codum-obsidian-surface: #06151a;
  --codum-obsidian-card: rgba(6, 21, 26, 0.72);
  --codum-card-border-glow: rgba(0, 255, 136, 0.18);
  --codum-card-border-hover: rgba(0, 255, 136, 0.45);
}

/* Living Ambient Background Layer */
.codum-ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background-color: var(--codum-obsidian);
}

.codum-ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.9;
}

.codum-ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  pointer-events: none;
  opacity: 0.7;
  will-change: transform, opacity;
  transform: translate(var(--codum-parallax-x), var(--codum-parallax-y));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.codum-orb-primary {
  top: -140px;
  left: 10%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.16) 0%, rgba(0, 237, 138, 0.05) 50%, transparent 75%);
  animation: codumOrbPulse 14s ease-in-out infinite alternate;
}

.codum-orb-secondary {
  top: 35%;
  right: -100px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, rgba(0, 180, 255, 0.04) 55%, transparent 75%);
  animation: codumOrbPulse 18s ease-in-out infinite alternate-reverse;
}

.codum-orb-accent {
  bottom: -100px;
  left: 30%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, rgba(0, 255, 136, 0.03) 60%, transparent 80%);
  animation: codumOrbPulse 22s ease-in-out infinite alternate;
}

@keyframes codumOrbPulse {
  0% {
    transform: translate(var(--codum-parallax-x), var(--codum-parallax-y)) scale(0.95);
    opacity: 0.5;
  }
  50% {
    transform: translate(calc(var(--codum-parallax-x) * 1.15), calc(var(--codum-parallax-y) * 1.15)) scale(1.08);
    opacity: 0.75;
  }
  100% {
    transform: translate(var(--codum-parallax-x), var(--codum-parallax-y)) scale(1);
    opacity: 0.55;
  }
}

.codum-ambient-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse at 50% 35%, rgba(0,0,0,1) 25%, rgba(0,0,0,0.05) 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, rgba(0,0,0,1) 25%, rgba(0,0,0,0.05) 85%);
  pointer-events: none;
  z-index: 1;
}

.codum-ambient-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 35%, transparent 40%, rgba(3, 7, 8, 0.88) 100%);
  pointer-events: none;
  z-index: 3;
}

/* Stacking Context (Drawer and Backdrop strictly excluded from relative document flow) */
.codum-announcement-bar,
.codum-header,
.codum-main-wrapper,
.codum-footer {
  position: relative;
  z-index: 10;
}

/* Section Transitions & Glowing Dividers */
.codum-section-divider {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.35), rgba(0, 229, 255, 0.25), transparent);
}

.codum-divider-glow {
  position: absolute;
  top: -10px;
  left: 20%;
  right: 20%;
  height: 20px;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 255, 136, 0.12), transparent 70%);
  pointer-events: none;
}

/* Abstract Ecosystem Hero Visual */
.codum-ecosystem-visual {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 48px auto 0;
  padding: 30px 10px;
  box-sizing: border-box;
}

.codum-visual-scene {
  position: relative;
  width: 100%;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Orbit Rings */
.codum-orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.codum-orbit-outer {
  width: 580px;
  height: 290px;
  border: 1px dashed rgba(0, 255, 136, 0.12);
  animation: codumOrbitPulse 24s linear infinite;
}

.codum-orbit-inner {
  width: 380px;
  height: 190px;
  border: 1px solid rgba(0, 229, 255, 0.08);
}

@keyframes codumOrbitPulse {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.codum-visual-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.codum-vector-ray {
  animation: codumRayDash 8s linear infinite;
}

@keyframes codumRayDash {
  from { stroke-dashoffset: 40; }
  to { stroke-dashoffset: 0; }
}

/* Central Hub Node */
.codum-node-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
}

.codum-node-hub-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.35) 0%, rgba(0, 229, 255, 0.1) 50%, transparent 75%);
  filter: blur(14px);
  border-radius: 50%;
  animation: codumHubGlow 4s ease-in-out infinite alternate;
}

@keyframes codumHubGlow {
  0% { transform: scale(0.92); opacity: 0.6; }
  100% { transform: scale(1.08); opacity: 1; }
}

.codum-node-hub-inner {
  position: relative;
  padding: 16px 26px;
  background: rgba(3, 10, 14, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 255, 136, 0.5);
  border-radius: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 255, 136, 0.2);
  text-align: center;
}

.codum-hub-prompt {
  color: var(--codum-neon-green);
  font-family: var(--codum-font-mono);
  font-weight: 800;
  margin-right: 4px;
}

.codum-hub-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.codum-hub-title .dot {
  color: var(--codum-neon-green);
}

.codum-hub-subtitle {
  display: block;
  font-family: var(--codum-font-mono);
  font-size: 0.68rem;
  color: var(--codum-text-muted);
  letter-spacing: 0.08em;
  margin-top: 3px;
}

/* Satellite Nodes */
.codum-node-satellite {
  position: absolute;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(5, 18, 24, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 255, 136, 0.18);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.codum-node-satellite:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(0, 255, 136, 0.5);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8), 0 0 18px rgba(0, 255, 136, 0.22);
}

.codum-node-1 { top: 30px; left: 60px; }
.codum-node-2 { top: 30px; right: 60px; }
.codum-node-3 { bottom: 50px; left: 40px; }
.codum-node-4 { bottom: 50px; right: 40px; }
.codum-node-5 { bottom: 8px; left: 50%; transform: translateX(-50%); }
.codum-node-5:hover { transform: translateX(-50%) translateY(-4px) scale(1.03); }

.codum-node-icon {
  font-size: 1.3rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 255, 136, 0.08);
  border-radius: 8px;
}

.codum-node-meta {
  display: flex;
  flex-direction: column;
}

.codum-node-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.codum-node-desc {
  font-family: var(--codum-font-mono);
  font-size: 0.68rem;
  color: var(--codum-text-muted);
}

/* Floating Chips */
.codum-floating-chip {
  position: absolute;
  padding: 4px 10px;
  font-family: var(--codum-font-mono);
  font-size: 0.7rem;
  color: var(--codum-cyan);
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 20px;
  pointer-events: none;
  animation: codumFloat 6s ease-in-out infinite alternate;
}

.chip-1 { top: 120px; left: 24%; animation-delay: 0s; }
.chip-2 { top: 110px; right: 22%; animation-delay: 1.5s; color: var(--codum-neon-green); border-color: rgba(0,255,136,0.25); }
.chip-3 { bottom: 95px; left: 28%; animation-delay: 3s; }
.chip-4 { bottom: 90px; right: 26%; animation-delay: 4.5s; color: #d4a5ff; border-color: rgba(168,85,247,0.3); }

@keyframes codumFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

/* Product Cards Hover Glow & Polish */
.codum-product-card {
  position: relative;
  background: rgba(6, 21, 26, 0.72) !important;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 255, 136, 0.14) !important;
  border-radius: var(--codum-radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
  overflow: hidden;
}

.codum-product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.6), transparent);
  opacity: 0.35;
  transition: opacity 0.3s ease, height 0.3s ease;
}

.codum-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 255, 136, 0.42) !important;
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.85), 0 0 24px -4px rgba(0, 255, 136, 0.16) !important;
}

.codum-product-card:hover::before {
  opacity: 1;
  height: 2px;
}

.codum-product-card[data-family="codumonkey"] {
  border-left: 2px solid rgba(0, 255, 136, 0.4) !important;
}
.codum-product-card[data-family="social"] {
  border-left: 2px solid rgba(0, 229, 255, 0.4) !important;
}
.codum-product-card[data-family="automation"] {
  border-left: 2px solid rgba(32, 227, 113, 0.4) !important;
}
.codum-product-card[data-family="developer"] {
  border-left: 2px solid rgba(0, 255, 136, 0.3) !important;
}
.codum-product-card[data-family="ai"] {
  border-left: 2px solid rgba(168, 85, 247, 0.5) !important;
}

/* Immersive Feature Sections */
.codum-immersive-feature {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.codum-feature-glow-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.codum-ai-glow {
  background: radial-gradient(circle at 75% 50%, rgba(0, 229, 255, 0.08) 0%, rgba(0, 255, 136, 0.03) 45%, transparent 70%);
}

.codum-sync-glow {
  background: radial-gradient(circle at 25% 50%, rgba(0, 255, 136, 0.08) 0%, rgba(0, 229, 255, 0.03) 45%, transparent 70%);
}

.codum-dev-glow {
  background: radial-gradient(circle at 75% 50%, rgba(0, 255, 136, 0.07) 0%, transparent 65%);
}

.codum-feature-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

.codum-immersive-feature.reverse .codum-feature-container {
  grid-template-columns: 0.9fr 1.1fr;
}

.codum-feature-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--codum-text);
  margin: 12px 0 16px;
  letter-spacing: -0.02em;
}

.codum-feature-desc {
  color: var(--codum-text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 24px;
}

.codum-feature-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.codum-feature-checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--codum-text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.codum-feature-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--codum-neon-green);
  font-weight: 800;
}

/* Neural Visual */
.codum-neural-visual {
  position: relative;
  width: 100%;
  height: 280px;
  background: rgba(4, 15, 20, 0.7);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--codum-radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 24px rgba(0, 229, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.codum-neural-core {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 20px;
  background: rgba(3, 9, 12, 0.9);
  border: 1px solid rgba(0, 255, 136, 0.4);
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.25);
}

.codum-neural-symbol {
  font-size: 1.5rem;
  color: var(--codum-neon-green);
}

.codum-neural-label {
  font-family: var(--codum-font-mono);
  font-size: 0.75rem;
  color: #fff;
  margin-top: 4px;
}

.codum-neural-nodes .codum-neural-node {
  position: absolute;
  padding: 6px 12px;
  font-family: var(--codum-font-mono);
  font-size: 0.75rem;
  color: var(--codum-cyan);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 8px;
  z-index: 5;
}

.codum-neural-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Cloud Sync Visual */
.codum-sync-visual {
  position: relative;
  width: 100%;
  padding: 36px 24px;
  box-sizing: border-box;
  background: rgba(4, 16, 22, 0.7);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: var(--codum-radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 24px rgba(0, 255, 136, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.codum-vault-box {
  text-align: center;
  padding: 16px 24px;
  background: rgba(3, 9, 12, 0.9);
  border: 1px solid rgba(0, 255, 136, 0.35);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.15);
}

.codum-vault-icon {
  font-size: 2rem;
}

.codum-vault-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 6px 0 4px;
}

.codum-vault-status {
  font-family: var(--codum-font-mono);
  font-size: 0.75rem;
  color: var(--codum-neon-green);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--codum-neon-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--codum-neon-green);
}

.codum-device-nodes {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.codum-dev-chip {
  padding: 8px 14px;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--codum-text);
}

/* Code Visual */
.codum-code-visual-preview {
  width: 100%;
  background: rgba(3, 10, 14, 0.9);
  border: 1px solid rgba(0, 255, 136, 0.22);
  border-radius: var(--codum-radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 20px rgba(0, 255, 136, 0.08);
  overflow: hidden;
  font-family: var(--codum-font-mono);
}

.codum-code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.code-dot.red { background: #ff5f56; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #27c93f; }

.code-file {
  font-size: 0.78rem;
  color: var(--codum-text-muted);
  margin-left: 6px;
}

.codum-code-lines {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.86rem;
  line-height: 1.6;
}

.c-comment { color: #6a737d; }
.c-tag { color: var(--codum-neon-green); font-weight: 600; }
.c-str { color: #a5d6ff; }
.c-url { color: var(--codum-cyan); }
.c-fn { color: #ffb454; }

/* Auth Header & Card */
.codum-auth-brand-header {
  text-align: center;
  margin-bottom: 24px;
}

.codum-auth-brand-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.codum-auth-brand-logo .prompt {
  color: var(--codum-neon-green);
  font-family: var(--codum-font-mono);
}

.codum-auth-brand-logo .dot {
  color: var(--codum-neon-green);
}

.codum-auth-brand-tagline {
  font-size: 0.92rem;
  color: var(--codum-text-muted);
  margin-top: 4px;
}

.codum-auth-card {
  background: rgba(6, 17, 22, 0.85) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 136, 0.22) !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85), 0 0 32px rgba(0, 255, 136, 0.08) !important;
}

/* Accessibility & Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .codum-ambient-orb,
  .codum-orbit-ring,
  .codum-node-hub-glow,
  .codum-vector-ray,
  .codum-floating-chip,
  .pulse-dot {
    animation: none !important;
    transition: none !important;
  }
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .codum-feature-container,
  .codum-immersive-feature.reverse .codum-feature-container {
    grid-template-columns: 1fr !important;
    gap: 36px;
  }

  .codum-visual-scene {
    height: 320px;
  }

  .codum-node-satellite {
    padding: 8px 12px;
  }

  .codum-node-1 { left: 10px; top: 10px; }
  .codum-node-2 { right: 10px; top: 10px; }
  .codum-node-3 { left: 10px; bottom: 40px; }
  .codum-node-4 { right: 10px; bottom: 40px; }
}

@media (max-width: 767px) {
  .codum-visual-scene {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 12px;
    align-items: stretch;
  }

  .codum-orbit-ring,
  .codum-visual-svg,
  .codum-floating-chip {
    display: none !important;
  }

  .codum-node-hub,
  .codum-node-satellite {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 4px 0;
  }

  .codum-node-satellite:hover {
    transform: none !important;
  }
}


/* ==========================================================================
   DESKTOP VS MOBILE NAVIGATION & DRAWER ISOLATION (ROOT CAUSE RESOLUTION)
   ========================================================================== */
@media (min-width: 768px) {
  html body .codum-mobile-drawer,
  html body .codum-drawer-backdrop,
  html body .codum-menu-toggle,
  html body .codum-mobile-toggle,
  html body aside.codum-mobile-drawer,
  html body div.codum-drawer-backdrop,
  html body button.codum-menu-toggle {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: fixed !important;
    top: -9999px !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 0 !important;
    z-index: -9999 !important;
    overflow: hidden !important;
  }

  .codum-nav-menu {
    display: flex !important;
  }
}

@media (max-width: 767px) {
  .codum-nav-menu {
    display: none !important;
  }

  .codum-menu-toggle {
    display: flex !important;
  }

  .codum-mobile-drawer {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    right: -320px !important;
    left: auto !important;
    width: 300px !important;
    max-width: 320px !important;
    height: 100vh !important;
    background: #0d131f !important;
    border-left: 1px solid var(--codum-border) !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8) !important;
    z-index: 9999 !important;
    flex-direction: column !important;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow-y: auto !important;
  }

  .codum-mobile-drawer.open {
    right: 0 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .codum-drawer-backdrop {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 9998 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease !important;
  }

  .codum-drawer-backdrop.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

.codum-auth-ecosystem-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.codum-auth-pill {
  font-family: var(--codum-font-mono);
  font-size: 0.72rem;
  color: var(--codum-green);
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.2);
  padding: 3px 8px;
  border-radius: var(--codum-radius-pill);
}
/* CODUM V5 navigation reliability */
.codum-header{position:sticky!important;z-index:100000!important;isolation:isolate!important;overflow:visible!important}
.codum-nav-container,.codum-nav-menu,.codum-nav-item{overflow:visible!important}
.codum-dropdown-menu{z-index:100001!important}
@media(min-width:769px){.codum-dropdown-menu{top:calc(100% + 8px)!important;min-height:0!important;visibility:hidden;opacity:0;pointer-events:none;display:flex!important;transform:translateY(-5px);transition:opacity .16s ease,transform .16s ease,visibility .16s ease}.codum-nav-item:hover .codum-dropdown-menu,.codum-nav-item:focus-within .codum-dropdown-menu,.codum-has-dropdown.is-open .codum-dropdown-menu{visibility:visible;opacity:1;pointer-events:auto;transform:translateY(0)}}
