/* ==========================================================================
   SOF-XI & RIZVIS GLOBAL · YEAR 2050 CYBERNETIC UI SYSTEM
   ========================================================================== */

:root {
  --neon-cyan: #00f0ff;
  --neon-blue: #0284c7;
  --neon-emerald: #10b981;
  --neon-amber: #f59e0b;
  --neon-purple: #a855f7;
  --dark-obsidian: #070b14;
  --card-glass: rgba(11, 20, 38, 0.85);
  --border-cyan: rgba(0, 240, 255, 0.35);
}

/* CYBER SCANLINE & GRID OVERLAY */
.cyber-grid-bg {
  background-image: 
    linear-gradient(to right, rgba(0, 240, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* 2050 GLASSMORPHIC HEADER */
.glass-header-2050 {
  background: rgba(7, 11, 20, 0.88) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(0, 240, 255, 0.25) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.1) !important;
}

/* CYBER DIVISION SWITCHER */
.rge-division-switcher {
  display: inline-flex !important;
  align-items: center !important;
  background: rgba(11, 20, 38, 0.92) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  padding: 4px !important;
  border-radius: 9999px !important;
  border: 1.5px solid rgba(0, 240, 255, 0.45) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 0 16px rgba(0, 240, 255, 0.2) !important;
  gap: 4px !important;
  user-select: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.rge-division-switcher:hover {
  border-color: rgba(0, 240, 255, 0.8) !important;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.4) !important;
}

.rge-div-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 6px 14px !important;
  border-radius: 9999px !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  font-family: 'Space Grotesk', 'Inter', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  white-space: nowrap !important;
}

.rge-div-btn.active-mep {
  background: linear-gradient(135deg, #1e3a8a 0%, #0284c7 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(56, 189, 248, 0.7) !important;
  box-shadow: 0 0 15px rgba(2, 132, 199, 0.5) !important;
}

.rge-div-btn.it-btn {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08) 0%, rgba(168, 85, 247, 0.15) 100%) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(0, 240, 255, 0.3) !important;
  position: relative !important;
  overflow: hidden !important;
}

.rge-div-btn.it-btn:hover {
  background: linear-gradient(135deg, #00f0ff 0%, #0284c7 100%) !important;
  color: #070b14 !important;
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.75) !important;
  transform: scale(1.04) !important;
}

/* 2050 CYBER BUTTONS */
.btn-cyber-quote {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1.5px solid rgba(0, 240, 255, 0.6);
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  border-radius: 9999px;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.btn-cyber-quote::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.3), transparent);
  transition: 0.5s;
}

.btn-cyber-quote:hover::before {
  left: 100%;
}

.btn-cyber-quote:hover {
  background: linear-gradient(135deg, #0284c7 0%, #00f0ff 100%);
  color: #070b14;
  border-color: #00f0ff;
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.75);
  transform: translateY(-2px) scale(1.03);
}

.btn-cyber-login {
  background: linear-gradient(135deg, #0284c7 0%, #00f0ff 100%);
  border: 1.5px solid rgba(0, 240, 255, 0.6);
  color: #070b14;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 8px 18px;
  border-radius: 9999px;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-cyber-login:hover {
  background: linear-gradient(135deg, #00f0ff 0%, #0284c7 100%);
  color: #070b14;
  border-color: #00f0ff;
  box-shadow: 0 0 26px rgba(0, 240, 255, 0.8);
  transform: translateY(-2px) scale(1.03);
}

/* HERO ACTION BUTTONS */
.btn-hero-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.8);
  color: #0f172a;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 9999px;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.45);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.75);
  transform: translateY(-3px) scale(1.04);
}

.btn-hero-explore {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 9999px;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-hero-explore:hover {
  border-color: rgba(0, 240, 255, 0.8);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
  color: #00f0ff;
  transform: translateY(-3px) scale(1.03);
}

.btn-hero-it {
  background: linear-gradient(135deg, #0284c7 0%, #00f0ff 100%);
  border: 1.5px solid rgba(0, 240, 255, 0.9);
  color: #070b14;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 9999px;
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.55);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-hero-it:hover {
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.9);
  transform: translateY(-3px) scale(1.04);
}

/* 2050 HOLOGRAPHIC STORY RINGS */
.cyber-story-ring {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  padding: 2.5px;
  background: conic-gradient(from 0deg, #00f0ff, #3b82f6, #a855f7, #00f0ff);
  animation: cyber-spin 6s linear infinite;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.35);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cyber-story-ring:hover {
  transform: scale(1.1);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.7);
}

.cyber-story-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #070b14;
}

@keyframes cyber-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 3D TILT CARDS */
.card-3d-tilt {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.card-3d-tilt:hover {
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 240, 255, 0.25);
  border-color: rgba(0, 240, 255, 0.5) !important;
}

/* 2050 HUD TELEMETRY BAR */
.hud-telemetry-bar {
  background: rgba(7, 11, 20, 0.95);
  border-bottom: 1px solid rgba(0, 240, 255, 0.25);
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
  color: #94a3b8;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hud-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: hud-blink 1.5s infinite;
}

@keyframes hud-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* CORNER ACCENT BRACKETS */
.cyber-corner-box {
  position: relative;
}
.cyber-corner-box::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px;
  width: 10px; height: 10px;
  border-top: 2px solid #00f0ff;
  border-left: 2px solid #00f0ff;
  pointer-events: none;
}
.cyber-corner-box::after {
  content: '';
  position: absolute;
  bottom: -2px; right: -2px;
  width: 10px; height: 10px;
  border-bottom: 2px solid #00f0ff;
  border-right: 2px solid #00f0ff;
  pointer-events: none;
}

/* ==========================================================================
   THEME TOGGLE BUTTON (LIGHT / DARK 2050 ENGINE)
   ========================================================================== */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #38bdf8;
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
  text-decoration: none;
  white-space: nowrap;
}

.theme-toggle-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: #00f0ff;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  transform: translateY(-1px) scale(1.03);
}

.theme-toggle-btn .theme-icon {
  font-size: 13px;
  line-height: 1;
}

/* ==========================================================================
   LIGHT MODE STYLES (.theme-light)
   ========================================================================== */
html.theme-light, body.theme-light {
  --dark-obsidian: #f8fafc;
  --card-glass: rgba(255, 255, 255, 0.94);
  --border-cyan: rgba(2, 132, 199, 0.35);
  --bg-dark: #f8fafc !important;
  --bg-card: rgba(255, 255, 255, 0.94) !important;
  --bg-card-hover: rgba(241, 245, 249, 0.98) !important;
  --border-subtle: rgba(203, 213, 225, 0.8) !important;
  --border-glow: rgba(2, 132, 199, 0.6) !important;
  --cyan: #0284c7 !important;
  --blue: #0369a1 !important;
  --text: #0f172a !important;
  --muted: #475569 !important;
  color-scheme: light;
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

.theme-light .cyber-grid-bg {
  background-image: 
    linear-gradient(to right, rgba(2, 132, 199, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(2, 132, 199, 0.05) 1px, transparent 1px) !important;
}

.theme-light .glass-header-2050,
.theme-light header {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(203, 213, 225, 0.9) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 0 15px rgba(2, 132, 199, 0.05) !important;
}
.theme-light .it-header-brand {
  color: #0f172a !important;
  text-shadow: none !important;
}
.theme-light .it-header-sub {
  color: #0284c7 !important;
}
.theme-light .nav-link {
  color: #1e293b !important;
  font-weight: 600 !important;
}
.theme-light .nav-link:hover,
.theme-light .nav-link.active {
  color: #0284c7 !important;
  font-weight: 700 !important;
}
.theme-light .control-select {
  background: #ffffff !important;
  border: 1.5px solid #94a3b8 !important;
  color: #0f172a !important;
}
.theme-light .control-select option {
  background: #ffffff !important;
  color: #0f172a !important;
}

.theme-light .theme-toggle-btn {
  background: #f8fafc !important;
  color: #0f172a !important;
  border: 1.5px solid #94a3b8 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}
.theme-light .theme-toggle-btn:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 18px rgba(2, 132, 199, 0.35) !important;
}

.theme-light .hud-telemetry-bar {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.theme-light .rge-division-switcher {
  background: rgba(241, 245, 249, 0.95) !important;
  border-color: rgba(2, 132, 199, 0.4) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
}

.theme-light .glass-panel {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05) !important;
}

.theme-light .nav-link {
  color: #475569 !important;
}
.theme-light .nav-link:hover,
.theme-light .nav-link.active {
  color: #0284c7 !important;
}

.theme-light .control-select {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}
.theme-light .control-select option {
  background: #ffffff !important;
  color: #0f172a !important;
}

.theme-light #headingTitle,
.theme-light .text-white,
.theme-light h1, .theme-light h2, .theme-light h3, .theme-light h4 {
  color: #0f172a !important;
}

.theme-light .text-slate-300,
.theme-light .text-slate-400 {
  color: #475569 !important;
}

.theme-light .bg-slate-950,
.theme-light .bg-slate-900,
.theme-light .bg-slate-900\/80,
.theme-light .bg-slate-900\/90 {
  background-color: #ffffff !important;
}

.theme-light .border-slate-800,
.theme-light .border-slate-700 {
  border-color: #e2e8f0 !important;
}

.theme-light .card-3d-tilt {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06), 0 0 15px rgba(2, 132, 199, 0.06) !important;
}

.theme-light .card-3d-tilt:hover {
  border-color: rgba(2, 132, 199, 0.5) !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1), 0 0 25px rgba(2, 132, 199, 0.2) !important;
}

/* ==========================================================================
   2050 CYBER SUBSCRIPTION PRICING SUITE (STANDALONE ROBUST STYLES)
   ========================================================================== */
.cyber-sub-matrix-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.cyber-sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.cyber-sub-card {
  background: rgba(11, 20, 38, 0.88);
  border: 1.5px solid rgba(56, 189, 248, 0.25);
  border-radius: 24px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.theme-light .cyber-sub-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cyber-sub-card.featured-duo {
  border: 2px solid #00f0ff;
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.25);
  background: linear-gradient(180deg, rgba(7, 16, 34, 0.95) 0%, rgba(11, 20, 38, 0.9) 100%);
}

.theme-light .cyber-sub-card.featured-duo {
  border: 2px solid #0284c7;
  box-shadow: 0 0 30px rgba(2, 132, 199, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.cyber-sub-card.featured-quad {
  border: 2px solid #a855f7;
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.25);
}

.theme-light .cyber-sub-card.featured-quad {
  border: 2px solid #9333ea;
  box-shadow: 0 0 28px rgba(147, 51, 234, 0.2);
}

.cyber-sub-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.cyber-sub-badge.badge-cyan {
  background: linear-gradient(90deg, #00f0ff, #0284c7);
  color: #070b14;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.6);
}

.cyber-sub-badge.badge-purple {
  background: linear-gradient(90deg, #a855f7, #ec4899);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
}

.cyber-sub-title {
  font-family: 'Space Grotesk', 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-top: 4px;
}

.cyber-sub-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.1;
  margin-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-light .cyber-sub-price {
  border-bottom: 1px solid #e2e8f0;
}

.cyber-sub-features {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  font-size: 12.5px;
  line-height: 1.8;
}

.cyber-sub-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.cyber-sub-features li .check-icon {
  color: #10b981;
  font-weight: bold;
}

.cyber-sub-action-btn {
  width: 100%;
  padding: 12px 18px;
  border-radius: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

/* ==========================================================================
   SMOOTH THEME TRANSITION
   ========================================================================== */
*, *::before, *::after {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: 0.22s;
  transition-timing-function: ease;
}

/* ==========================================================================
   LIGHT MODE — SOF-XI SOFTWARE SUITE SECTION
   ========================================================================== */

/* Main section background */
.theme-light #sof-xi-suite,
html.theme-light #sof-xi-suite {
  background: #f8fafc !important;
  border-top-color: #e2e8f0 !important;
}

/* Section headings */
html.theme-light #sof-xi-suite h2,
html.theme-light #sof-xi-suite h3 {
  color: #0f172a !important;
}
html.theme-light #sof-xi-suite p {
  color: #475569 !important;
}

/* Tab buttons - inactive */
html.theme-light .sof-tab-btn {
  background: #ffffff !important;
  color: #475569 !important;
  border-color: #e2e8f0 !important;
}
html.theme-light .sof-tab-btn:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}
html.theme-light .sof-tab-btn.active {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 16px rgba(2,132,199,0.4) !important;
}

/* Tab panel cards */
html.theme-light .sof-tab-panel > div {
  background: #ffffff !important;
  border-color: rgba(2,132,199,0.2) !important;
}

/* Feature sub-cards inside tab panels */
html.theme-light .sof-tab-panel .bg-slate-950\/60,
html.theme-light .sof-tab-panel [class*="bg-slate-950"],
html.theme-light .sof-tab-panel [class*="bg-slate-900"] {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}
html.theme-light .sof-tab-panel .text-slate-400 {
  color: #64748b !important;
}

/* ERP mockup terminal window */
html.theme-light .bg-slate-950.rounded-2xl {
  background: #f1f5f9 !important;
  border-color: rgba(2,132,199,0.3) !important;
}
html.theme-light .bg-slate-900\/90.rounded-xl {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}

/* Subscription section heading */
html.theme-light .cyber-sub-matrix-wrapper h3 {
  color: #0f172a !important;
}
html.theme-light .cyber-sub-matrix-wrapper p {
  color: #64748b !important;
}

/* Currency & billing toggles */
html.theme-light .bg-slate-900.border.border-slate-800.gap-1 {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}
html.theme-light #billingMonthlyBtn,
html.theme-light #billingAnnualBtn {
  color: #475569;
}

/* Enterprise CTA bar */
html.theme-light .mt-12.p-6.rounded-2xl {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}
html.theme-light .mt-12.p-6.rounded-2xl .text-white {
  color: #0f172a !important;
}
html.theme-light .mt-12.p-6.rounded-2xl .text-slate-400 {
  color: #64748b !important;
}

/* Demo modal in light mode */
html.theme-light #sofDemoModal .bg-slate-900 {
  background: #ffffff !important;
  border-color: rgba(2,132,199,0.4) !important;
}
html.theme-light #sofDemoModal .bg-slate-950\/90 {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}
html.theme-light #sofDemoModal .text-slate-400 {
  color: #64748b !important;
}
html.theme-light #sofDemoModal p.text-xs.text-slate-400 {
  color: #64748b !important;
}

/* Ambient glow reduction in light mode */
html.theme-light .absolute.top-1\/4.left-1\/2,
html.theme-light .absolute.bottom-10.right-10 {
  opacity: 0.3 !important;
}

/* ==========================================================================
   RECTANGULAR FRAMED HERO SHOWCASE STYLES
   ========================================================================== */
.it-hero-frame-wrapper {
  max-width: 1360px;
  margin: 28px auto 20px;
  padding: 0 20px;
  position: relative;
  z-index: 20;
}
.it-hero-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(10, 18, 38, 0.94) 0%, rgba(6, 11, 24, 0.98) 100%);
  border: 2px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(0, 240, 255, 0.18);
  padding: 44px 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.it-frame-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: #00f0ff;
  border-style: solid;
  pointer-events: none;
  z-index: 5;
}
.it-corner-tl { top: 12px; left: 12px; border-width: 3px 0 0 3px; border-top-left-radius: 6px; }
.it-corner-tr { top: 12px; right: 12px; border-width: 3px 3px 0 0; border-top-right-radius: 6px; }
.it-corner-bl { bottom: 12px; left: 12px; border-width: 0 0 3px 3px; border-bottom-left-radius: 6px; }
.it-corner-br { bottom: 12px; right: 12px; border-width: 0 3px 3px 0; border-bottom-right-radius: 6px; }

html.theme-light .it-hero-frame {
  background: #ffffff !important;
  border: 2px solid #cbd5e1 !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07), 0 0 25px rgba(2, 132, 199, 0.1) !important;
}
html.theme-light .it-frame-corner {
  border-color: #0284c7 !important;
}
html.theme-light .control-select {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
}
html.theme-light .control-select option {
  background: #ffffff !important;
  color: #0f172a !important;
}
html.theme-light .theme-toggle-btn {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   STREAMING & SOFTWARE 3-CARD PRICING FRAME (MEDIA REFERENCE: media_1789593715019)
   ========================================================================== */
.pricing-frame-container {
  max-width: 1200px;
  margin: 40px auto 20px;
  padding: 0 20px;
}

.pricing-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .pricing-grid-3 {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
}

.pricing-card-stream {
  position: relative;
  background: #090e1a;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 36px 30px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card-stream:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

/* Middle Featured Card (Most Popular - Red Glowing Border) */
.pricing-card-stream.featured-popular {
  border: 2px solid #ff1744;
  box-shadow: 0 0 35px rgba(255, 23, 68, 0.3), 0 20px 50px rgba(0, 0, 0, 0.5);
  background: linear-gradient(180deg, #0d1424 0%, #080c18 100%);
  transform: scale(1.02);
  z-index: 5;
}

.pricing-card-stream.featured-popular:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 0 50px rgba(255, 23, 68, 0.45), 0 30px 60px rgba(0, 0, 0, 0.7);
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff1744;
  color: #ffffff;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 18px;
  border-radius: 9999px;
  box-shadow: 0 4px 15px rgba(255, 23, 68, 0.5);
  white-space: nowrap;
}

.pricing-tag-sub {
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 6px;
}

.pricing-tag-sub.tag-red {
  color: #ff5252;
}

.pricing-title-stream {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.pricing-amount-stream {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.pricing-amount-stream .amount-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
}

.pricing-amount-stream .amount-number.number-red {
  color: #ff1744;
}

.pricing-amount-stream .amount-cycle {
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
}

.pricing-subnote {
  font-size: 11.5px;
  color: #94a3b8;
  font-family: 'Space Grotesk', monospace;
  margin-bottom: 24px;
}

.pricing-features-stream {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features-stream li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.5;
}

.pricing-features-stream li .check-tick {
  color: #38bdf8;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.pricing-card-stream.featured-popular .pricing-features-stream li .check-tick {
  color: #ff5252;
}

/* Button variants */
.pricing-btn-pill {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 20px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.pricing-btn-dark {
  background: #1e293b;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pricing-btn-dark:hover {
  background: #334155;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.pricing-btn-red {
  background: linear-gradient(135deg, #ff1744 0%, #d50000 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 25px rgba(255, 23, 68, 0.5);
}

.pricing-btn-red:hover {
  background: linear-gradient(135deg, #ff5252 0%, #ff1744 100%);
  color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 23, 68, 0.65);
}

/* Light Mode Overrides for 3-Card Stream Layout */
html.theme-light .pricing-card-stream {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

html.theme-light .pricing-card-stream:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
  border-color: #94a3b8 !important;
}

html.theme-light .pricing-card-stream.featured-popular {
  border: 2px solid #ff1744 !important;
  background: #ffffff !important;
  box-shadow: 0 0 35px rgba(255, 23, 68, 0.2), 0 15px 35px rgba(0, 0, 0, 0.07) !important;
}

html.theme-light .pricing-title-stream {
  color: #0f172a !important;
}

html.theme-light .pricing-amount-stream .amount-number {
  color: #0f172a !important;
}

html.theme-light .pricing-amount-stream .amount-number.number-red {
  color: #ff1744 !important;
}

html.theme-light .pricing-amount-stream .amount-cycle {
  color: #64748b !important;
}

html.theme-light .pricing-subnote {
  color: #64748b !important;
}

html.theme-light .pricing-features-stream li {
  color: #334155 !important;
}

html.theme-light .pricing-btn-dark {
  background: #0f172a !important;
  color: #ffffff !important;
  border: none !important;
}

html.theme-light .pricing-btn-dark:hover {
  background: #1e293b !important;
}

/* Light Mode Overrides for Software Showcase Cards */
html.theme-light .software-suite-card {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

html.theme-light .software-suite-card h3 {
  color: #0f172a !important;
}

html.theme-light .software-suite-card p {
  color: #475569 !important;
}

html.theme-light .software-suite-card li {
  color: #334155 !important;
}
