/*
 * Lumis AI Design System & Styling
 * Custom Stylesheet for OmniAI Prototype
 */

:root {
  /* Colors */
  --bg-main: #0A0A0C;
  --bg-card: rgba(18, 18, 21, 0.7);
  --bg-card-hover: rgba(26, 26, 30, 0.8);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(255, 255, 255, 0.16);
  --text-main: #FFFFFF;
  --text-muted: #A1A1AA;
  --text-dark: #71717A;
  
  /* Primary & Accent Gradients */
  --primary: #FFA500;
  --primary-glow: rgba(255, 102, 0, 0.15);
  --primary-orange: #FF4500;
  --primary-yellow: #FFA500;
  --brand-gradient: linear-gradient(135deg, #FF4500 0%, #FFA500 100%);
  --title-gradient: linear-gradient(135deg, #FFFFFF 30%, #FFA500 100%);
  --shadow-glow: 0 0 20px rgba(255, 69, 0, 0.25);
  --shadow-large: 0 20px 40px rgba(0, 0, 0, 0.5);
  
  /* Indicators & Accent Colors */
  --green: #10B981;
  --green-glow: rgba(16, 185, 129, 0.15);
  --red: #EF4444;
  --red-glow: rgba(239, 68, 68, 0.15);
  --blue: #3B82F6;
  --primary-blue: #3B82F6;
  --primary-blue-hover: #2563EB;
  --primary-blue-glow: rgba(59, 130, 246, 0.15);
  
  /* Scenario visual aura colors */
  --chat-glow: rgba(16, 185, 129, 0.04);
  --chat-border: #10B981;
  --chat-text: #FFFFFF;
  --code-glow: rgba(139, 92, 246, 0.04);
  --code-border: #8B5CF6;
  --code-text: #FFFFFF;
  --image-glow: rgba(244, 63, 94, 0.04);
  --image-border: #F43F5E;
  --image-text: #FFFFFF;
  --video-glow: rgba(6, 182, 212, 0.04);
  --video-border: #06B6D4;
  --video-text: #FFFFFF;
  
  /* Calculator & Inputs Specific */
  --calc-right-bg: rgba(255, 255, 255, 0.015);
  --calc-right-border: rgba(255, 255, 255, 0.08);
  --input-bg: rgba(255, 255, 255, 0.04);
  --input-border: rgba(255, 255, 255, 0.08);
  
  /* Typography & Layout */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --glass-bg: rgba(10, 10, 12, 0.75);
  
  /* Button specific */
  --btn-primary-bg: linear-gradient(135deg, #FF4500 0%, #FFA500 100%);
  --btn-primary-text: #FFFFFF;
  --btn-primary-hover: linear-gradient(135deg, #FFA500 0%, #FF4500 100%);
  --btn-secondary-bg: rgba(255, 255, 255, 0.05);
  --btn-secondary-border: rgba(255, 255, 255, 0.1);
  --btn-secondary-text: #FFFFFF;
  --btn-secondary-hover: rgba(255, 255, 255, 0.1);
  --btn-secondary-hover-border: rgba(255, 255, 255, 0.25);
  --btn-theme-hover-shadow: 0 0 15px rgba(255, 165, 0, 0.2);
  --btn-secondary-hover-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
/* Light Theme Variables Overrides */
body.theme-light {
  --bg-main: #fbfbfd;
  --bg-card: rgba(255, 255, 255, 0.75);
  --bg-card-hover: rgba(245, 245, 247, 0.85);
  --border-card: rgba(0, 0, 0, 0.08);
  --border-card-hover: rgba(0, 0, 0, 0.16);
  --text-main: #1d1d1f;
  --text-muted: #86868b;
  --text-dark: #b0b0b5;

  /* Primary & Accent Gradients (Apple Blue theme) */
  --primary: #0066cc;
  --primary-glow: rgba(0, 102, 204, 0.08);
  --primary-orange: #0066cc;
  --primary-yellow: #0077ed;
  --brand-gradient: linear-gradient(135deg, #0066cc 0%, #00c6ff 100%);
  --title-gradient: linear-gradient(135deg, #1d1d1f 30%, #434345 100%);
  --shadow-glow: 0 4px 20px rgba(0, 102, 204, 0.15);
  --shadow-large: 0 20px 40px rgba(0, 0, 0, 0.06);

  /* Indicators & Accent Colors */
  --green: #34c759;
  --green-glow: rgba(52, 199, 89, 0.1);
  --red: #ff3b30;
  --red-glow: rgba(255, 59, 48, 0.1);
  --blue: #0066cc;
  --primary-blue: #0066cc;
  --primary-blue-hover: #0077ed;
  --primary-blue-glow: rgba(0, 102, 204, 0.08);

  /* Scenario visual aura colors */
  --chat-glow: rgba(0, 102, 204, 0.03);
  --chat-border: var(--primary-blue);
  --chat-text: var(--text-main);
  --code-glow: rgba(0, 102, 204, 0.03);
  --code-border: var(--primary-blue);
  --code-text: var(--text-main);
  --image-glow: rgba(0, 102, 204, 0.03);
  --image-border: var(--primary-blue);
  --image-text: var(--text-main);
  --video-glow: rgba(0, 102, 204, 0.03);
  --video-border: var(--primary-blue);
  --video-text: var(--text-main);

  /* Calculator & Inputs Specific */
  --calc-right-bg: #ffffff;
  --calc-right-border: rgba(0, 0, 0, 0.08);
  --input-bg: #f5f5f7;
  --input-border: rgba(0, 0, 0, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.85);

  /* Button specific */
  --btn-primary-bg: #1d1d1f;
  --btn-primary-text: #ffffff;
  --btn-primary-hover: #000000;
  --btn-secondary-bg: #ffffff;
  --btn-secondary-border: rgba(0, 0, 0, 0.15);
  --btn-secondary-text: #1d1d1f;
  --btn-secondary-hover: #f5f5f7;
  --btn-secondary-hover-border: #1d1d1f;
  --btn-theme-hover-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
  --btn-secondary-hover-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

body.theme-light::before {
  background: radial-gradient(circle, rgba(0, 102, 204, 0.06) 0%, rgba(52, 199, 89, 0.02) 50%, rgba(0, 0, 0, 0) 70%) !important;
}

body.theme-light::after {
  background: radial-gradient(circle, rgba(0, 102, 204, 0.04) 0%, rgba(0, 0, 0, 0) 70%) !important;
}

body.theme-light .links a:hover {
  text-shadow: 0 0 8px rgba(0, 102, 204, 0.2) !important;
}

body.theme-light .dot-grid-bg {
  background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px) !important;
}


/* Global Reset & Base Styling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Global Background Diffuse Glows */
body::before {
  content: "";
  position: absolute;
  top: 10%;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 69, 0, 0.12) 0%, rgba(255, 165, 0, 0.03) 50%, rgba(0, 0, 0, 0) 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: "";
  position: absolute;
  top: 60%;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 165, 0, 0.1) 0%, rgba(255, 69, 0, 0.02) 50%, rgba(0, 0, 0, 0) 70%);
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button, input, textarea {
  font-family: inherit;
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.shell {
  width: min(1200px, calc(100vw - 48px));
  margin: 0 auto;
}

/* Navigation Header */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--glass-bg);
  border-bottom: 1px solid var(--border-card);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  text-decoration: none;
}

.brand-logo {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand:hover .brand-logo {
  transform: scale(1.08) rotate(-5deg);
}

.links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.links a {
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.links a:hover {
  color: var(--text-main);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  transform: translateY(-1.5px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-theme-toggle {
  border: 1px solid var(--btn-secondary-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--btn-secondary-bg);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.btn-theme-toggle .sun-icon,
.btn-theme-toggle .moon-icon {
  position: absolute;
  width: 20px;
  height: 20px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  transform-origin: center center;
}

/* Light Theme (body.theme-light) Sun & Moon transition rules */
body.theme-light .btn-theme-toggle .sun-icon {
  opacity: 0;
  transform: scale(0.6) rotate(90deg);
  pointer-events: none;
}
body.theme-light .btn-theme-toggle .moon-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Dark Theme (body:not(.theme-light)) Sun & Moon transition rules */
body:not(.theme-light) .btn-theme-toggle .sun-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
body:not(.theme-light) .btn-theme-toggle .moon-icon {
  opacity: 0;
  transform: scale(0.6) rotate(-90deg);
  pointer-events: none;
}

.btn-theme-toggle:hover {
  background: var(--btn-secondary-hover);
  border-color: var(--btn-secondary-hover-border);
  transform: translateY(-1.5px);
  box-shadow: var(--btn-theme-hover-shadow);
}

body:not(.theme-light) .btn-theme-toggle:hover .sun-icon {
  transform: scale(1.1) rotate(30deg);
}

body.theme-light .btn-theme-toggle:hover .moon-icon {
  transform: scale(1.1) rotate(-15deg);
}

.btn-theme-toggle:active {
  transform: scale(0.92) translateY(0);
}

/* Button UI */
.btn {
  border: 1px solid var(--btn-secondary-border);
  border-radius: 99px;
  padding: 10px 22px;
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}

.btn:hover {
  background: var(--btn-secondary-hover);
  border-color: var(--btn-secondary-hover-border);
  transform: translateY(-1.5px) scale(1.01);
  box-shadow: var(--btn-secondary-hover-shadow);
}

.btn:active {
  transform: scale(0.96) translateY(0);
  transition: transform 0.1s ease;
}

.btn.primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: none;
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}

.btn.primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--btn-primary-hover);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn.primary:hover {
  background: var(--btn-primary-bg);
  box-shadow: 0 0 25px rgba(255, 69, 0, 0.45);
  transform: translateY(-1.5px) scale(1.01);
}

/* Light theme overrides for primary hover shadow */
body.theme-light .btn.primary:hover {
  background: var(--btn-primary-bg);
  box-shadow: 0 4px 20px rgba(0, 102, 204, 0.25);
}

.btn.primary:hover::before {
  opacity: 1;
}

/* Hero Section */
.hero-section {
  padding: 80px 0 60px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 48px;
  align-items: center;
  text-align: left;
  position: relative;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 5;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  color: var(--text-main);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.eyebrow i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary-yellow);
  box-shadow: 0 0 8px var(--primary-yellow);
}

h1 {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  color: var(--text-main);
}

.gradient-title {
  background: var(--title-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-sub {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--text-muted);
  max-width: 100%;
  margin-bottom: 32px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-actions .btn {
  padding: 12px 24px;
  font-size: 14px;
}

.quick-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 0;
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.stat-badge svg {
  stroke: var(--primary-yellow);
  filter: drop-shadow(0 0 4px var(--primary-yellow));
}

.stat-badge strong {
  color: var(--text-main);
  font-weight: 600;
}

/* Glass Panels (Glassmorphism Core) */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-large);
}

/* visualizer-container in hero section */
.visualizer-container {
  width: 100%;
  max-width: 720px;
  background: transparent;
  border: none;
  box-shadow: none;
  position: relative;
  overflow: visible;
  text-align: left;
  z-index: 2;
}

/* ThreeJS Container for rotating prism */
#threejs-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.dot-grid-bg {
  position: absolute;
  top: -40px; left: -40px; right: -40px; bottom: -40px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 70%);
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 70%);
}

.visualizer-content {
  min-height: 580px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.opt1-floating-wrapper {
  position: relative;
  width: 600px;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transition: transform 0.1s ease-out;
  perspective: 1200px;
  transform: scale(1.2); /* Scale up by 20% on desktop */
}

/* Responsive scaling for visualizer on smaller viewports */
@media (max-width: 992px) {
  .opt1-floating-wrapper {
    transform: scale(0.9);
  }
}
@media (max-width: 640px) {
  .opt1-floating-wrapper {
    transform: scale(0.7);
  }
}
@media (max-width: 480px) {
  .opt1-floating-wrapper {
    transform: scale(0.55);
  }
}

.opt1-float-item {
  position: absolute;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: none;
  animation: opt1FloatIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.opt1-float-item.active {
  display: block;
}

.z-chat {
  transform: translate3d(var(--px-chat-x, 0px), var(--px-chat-y, 0px), 10px);
  z-index: 5;
  width: 520px;
}
.z-code-ide {
  transform: translate3d(calc(-60px + var(--px-ide-x, 0px)), calc(-30px + var(--px-ide-y, 0px)), 20px);
  z-index: 4;
  width: 390px;
}
.z-code-sim {
  transform: translate3d(calc(180px + var(--px-sim-x, 0px)), calc(100px + var(--px-sim-y, 0px)), 40px);
  z-index: 10;
  width: 230px;
}
.z-image {
  transform: translate3d(var(--px-image-x, 0px), var(--px-image-y, 0px), 15px);
  z-index: 5;
  width: 520px;
}
.z-video {
  transform: translate3d(var(--px-video-x, 0px), var(--px-video-y, 0px), 15px);
  z-index: 5;
  width: 520px;
}

@keyframes opt1FloatIn {
  0% { opacity: 0; transform: translateY(20px) scale(0.96); }
  100% { opacity: 1; }
}

/* Mock Chat Bubble in visualizer */
.mock-chat-bubble {
  padding: 12px 16px;
  border-radius: 18px !important;
  font-size: 13px;
  line-height: 1.5;
  max-width: 85%;
}

.mock-chat-bubble.user {
  background: #27272a !important;
  color: #FFFFFF !important;
  align-self: flex-end;
  margin-left: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35) !important;
}

.mock-chat-bubble.bot.chat-themed {
  background: rgba(24, 24, 27, 0.85) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  color: #f4f4f5 !important;
  align-self: flex-start;
  width: 100%;
  max-width: 90%;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35), 0 5px 15px rgba(16, 185, 129, 0.1) !important;
}

.chat-header-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #34d399 !important;
  margin-bottom: 8px;
  border-bottom: 1px dashed rgba(16, 185, 129, 0.15) !important;
  padding-bottom: 6px;
  font-weight: 700;
}

.chat-bullet-list {
  margin: 8px 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chat-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
}

.chat-bullet-icon {
  color: #10b981;
  font-weight: bold;
}

.chat-inline-code {
  font-family: monospace;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #34d399 !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 12px;
}

/* VS Code IDE Panel */
.vibe-ide-window {
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  font-family: Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  color: #e4e4e7;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  position: relative;
}

.ide-tab-bar {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 6px;
  margin-bottom: 4px;
  font-size: 9px;
  color: #71717a;
}

.ide-tab {
  background: #18181b;
  color: #e4e4e7;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Simulator Widget Card */
.vibe-simulator-window {
  background: rgba(24, 24, 27, 0.85) !important;
  border: 1px solid rgba(139, 92, 246, 0.25) !important;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 8px 20px rgba(139, 92, 246, 0.15) !important;
  position: relative;
  justify-content: space-between;
}

.vibe-sim-header {
  font-size: 9px;
  font-weight: 700;
  color: #a78bfa !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2) !important;
  padding-bottom: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vibe-sim-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.vibe-sim-widget {
  background: rgba(39, 39, 42, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 8px;
  padding: 8px 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.vibe-sim-task-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: #f4f4f5 !important;
}

/* Photo studio image preview in visualizer */
.image-studio-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  background: rgba(20, 20, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 10px 20px rgba(244, 63, 94, 0.08);
}

.image-studio-prompt {
  background: rgba(24, 24, 27, 0.75) !important;
  border: 1px solid rgba(129, 140, 248, 0.2) !important;
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 12px;
  color: #d1d5db !important;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.image-studio-prompt strong {
  color: #f4f4f5 !important;
  font-weight: 600;
}

.image-studio-canvas {
  width: 100%;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 36px rgba(0,0,0,0.15);
}

.image-studio-canvas::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.03) 100%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.06) 0px, rgba(0, 0, 0, 0.06) 1px, transparent 1px, transparent 2px);
  background-size: 100% 100%, 100% 2px;
  pointer-events: none;
  z-index: 2;
}

.image-studio-canvas img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: contrast(1.05) brightness(1.02) saturate(1.05);
  transform: scale(1.08);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-studio-box:hover .image-studio-canvas img {
  transform: scale(1.12);
}

/* Video simulation in visualizer */
.video-cinema-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  background: rgba(20, 20, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 10px 20px rgba(244, 63, 94, 0.08);
}

.video-cinema-player {
  width: 100%;
  height: 270px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-cinema-player::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.03) 100%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.06) 0px, rgba(0, 0, 0, 0.06) 1px, transparent 1px, transparent 2px);
  background-size: 100% 100%, 100% 2px;
  pointer-events: none;
  z-index: 2;
}

.video-cinema-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: contrast(1.05) brightness(1.02) saturate(1.05);
  transform: scale(1.08);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-cinema-box:hover .video-cinema-player img {
  transform: scale(1.12);
}

.cinema-play-overlay {
  position: absolute;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #06b6d4;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  z-index: 3;
  transition: transform 0.3s ease;
}

.cinema-play-overlay:hover {
  transform: scale(1.08);
}

.video-cinema-timeline {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 8px;
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.timeline-track-title {
  font-size: 10px;
  font-weight: 700;
  color: #22d3ee !important;
  display: flex;
  justify-content: space-between;
}

.timeline-progress-bar {
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  position: relative;
  margin-top: 4px;
}

.timeline-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, #06b6d4, #22d3ee);
  border-radius: 99px;
}
.timeline-progress-fill::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 11px;
  background: #ffffff;
  border: 2px solid #06b6d4;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}

/* Visualizer Bottom Navigation */
.visualizer-nav {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.vis-nav-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 10px 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.vis-nav-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.vis-nav-btn.active {
  background: var(--brand-gradient);
  border-color: transparent;
  color: white;
  box-shadow: var(--shadow-glow);
}

.visualizer-container.active-chat .vis-nav-btn[data-target="chat"] {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}
.visualizer-container.active-code .vis-nav-btn[data-target="code"] {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3) !important;
}
.visualizer-container.active-image .vis-nav-btn[data-target="image"] {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%) !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3) !important;
}
.visualizer-container.active-video .vis-nav-btn[data-target="video"] {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3) !important;
}

/* Ambient glow nodes linked to visualizer pane selection */
.visualizer-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 0;
}

.visualizer-glow.glow-chat { background: radial-gradient(circle, rgba(255, 69, 0, 0.25) 0%, transparent 70%); top: 10%; left: 10%; }
.visualizer-glow.glow-code { background: radial-gradient(circle, rgba(255, 165, 0, 0.22) 0%, transparent 70%); bottom: 10%; right: 10%; }
.visualizer-glow.glow-image { background: radial-gradient(circle, rgba(255, 69, 0, 0.25) 0%, transparent 70%); top: 20%; right: 5%; }
.visualizer-glow.glow-video { background: radial-gradient(circle, rgba(255, 165, 0, 0.22) 0%, transparent 70%); bottom: 20%; left: 5%; }

.active-chat .glow-chat { opacity: 1; }
.active-code .glow-code { opacity: 1; }
.active-image .glow-image { opacity: 1; }
.active-video .glow-video { opacity: 1; }

/* Section Title Block */
.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #FFFFFF 50%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--text-muted);
  font-size: 16px;
}

/* Cost ROI Calculator Section */
.calculator-section {
  padding: 80px 0;
  position: relative;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-large);
  position: relative;
  z-index: 5;
}

.calc-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.calc-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
}

.calc-title svg {
  stroke: var(--primary-yellow);
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.calc-val-bubble {
  background: var(--brand-gradient);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3);
}

/* Range Slider Styling */
.slider-container {
  position: relative;
  padding: 10px 0;
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.range-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  border-radius: 99px;
  background: transparent;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: #FFFFFF;
  cursor: pointer;
  margin-top: -8px;
  box-shadow: 0 0 10px var(--primary-yellow);
  border: 2px solid var(--primary-orange);
  transition: transform 0.15s;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Checkbox Cards for Model Selection */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.checkbox-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: all 0.25s ease;
}

.checkbox-card:hover {
  border-color: var(--border-card-hover);
  background: rgba(255, 255, 255, 0.04);
}

.checkbox-card.active {
  border-color: var(--primary-yellow);
  background: rgba(255, 69, 0, 0.05);
  box-shadow: 0 0 15px rgba(255, 69, 0, 0.1);
}

.checkbox-card input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.chk-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.chk-desc {
  font-size: 11px;
  color: var(--text-muted);
}

.chk-price {
  font-size: 12px;
  color: var(--primary-yellow);
  font-weight: 600;
  margin-top: auto;
}

/* Right Result Box of Calculator */
.calc-right {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.result-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.result-comparison {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.comp-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comp-header {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.comp-price-large {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 4px 0;
}

.comp-price-large.saving-color {
  color: var(--primary-yellow);
  text-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
}

.comp-price-large.official-color {
  color: var(--text-dark);
}

.progress-bar-wrap {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-bar-fill.official {
  background: var(--text-dark);
  width: 100%;
}

.progress-bar-fill.omniai {
  background: var(--brand-gradient);
}

.savings-card {
  background: rgba(255, 69, 0, 0.06);
  border: 1px solid rgba(255, 69, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.savings-card-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.savings-card-left span {
  font-size: 13px;
  color: var(--text-muted);
}

.savings-card-left strong {
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
}

.percent-pill {
  background: var(--brand-gradient);
  color: white;
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: var(--shadow-glow);
}

/* Capabilities Playground Section */
.playground-section {
  padding: 80px 0;
}

.scenario-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.scen-tab-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.scen-tab-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-card-hover);
  transform: translateY(-2px);
}

.scen-tab-card.active {
  background: rgba(255, 69, 0, 0.04);
  border-color: var(--primary-yellow);
  box-shadow: 0 0 20px rgba(255, 69, 0, 0.15);
}

.scen-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.scen-tab-card.active .scen-icon-wrap {
  background: var(--brand-gradient);
  color: white;
}

.scen-tab-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.scen-tab-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Playground Panel container */
.scen-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-large);
}

/* Chat Tab Dashboard */
.play-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.play-title {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.play-title svg {
  color: var(--primary-yellow);
}

.play-models {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.play-model-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
  width: 100%;
}

.play-model-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-card-hover);
}

.play-model-btn.active {
  background: rgba(255, 69, 0, 0.04);
  border-color: var(--primary-yellow);
  box-shadow: 0 0 10px rgba(255, 69, 0, 0.1);
}

.model-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.model-badge-dot.openai { background-color: #10B981; }
.model-badge-dot.claude { background-color: #EA580C; }
.model-badge-dot.deepseek { background-color: #3B82F6; }
.model-badge-dot.gemini { background-color: #8B5CF6; }

.play-model-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.play-model-info strong {
  font-size: 14px;
  color: var(--text-main);
}

.play-model-info span {
  font-size: 11px;
  color: var(--text-muted);
}

.play-presets-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.play-presets-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
}

.play-presets {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preset-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
  width: 100%;
}

.preset-btn:hover, .preset-btn.active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border-color: var(--border-card-hover);
}

/* Chat Simulator Viewport */
.play-right {
  background: rgba(10, 10, 12, 0.5);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  height: 440px;
  overflow: hidden;
}

.chat-header {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-card);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.pulsing {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.5; }
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-input-area {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border-card);
  display: flex;
  gap: 12px;
  align-items: center;
}

.chat-input-area textarea {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 14px;
  resize: none;
  outline: none;
  height: 40px;
}

.chat-send-btn {
  background: var(--brand-gradient);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-glow);
}

.chat-send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 69, 0, 0.5);
}

.chat-footer-bar {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-card);
  padding: 8px 16px;
  font-size: 11px;
  color: var(--text-muted);
}

/* Vibe Coding Simulator Specifics */
.vibe-coding-dashboard {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
}

.vibe-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vibe-run-btn {
  background: var(--brand-gradient);
  border: none;
  color: white;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 99px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: var(--shadow-glow);
}

.vibe-run-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(255, 69, 0, 0.45);
}

.vibe-phone-screen {
  background: rgba(10, 10, 12, 0.85);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  height: 340px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.visualizer-dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-left: 4px;
}

.vibe-loading-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--primary-yellow);
  padding: 20px;
  overflow: auto;
}

.sim-todo-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
}

.sim-todo-header {
  font-size: 14px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.sim-todo-input-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.sim-todo-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: white;
  font-size: 12px;
}

.sim-todo-add {
  background: white;
  color: black;
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
}

.sim-todo-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  flex: 1;
}

/* Presets style selection grid for Image Creator */
.style-presets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.style-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
}

.style-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-card-hover);
}

.style-card.active {
  background: rgba(255, 69, 0, 0.04);
  border-color: var(--primary-yellow);
}

.style-card-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
}

.image-frame {
  background: rgba(0, 0, 0, 0.5) !important;
  border: 1px solid var(--border-card) !important;
}

/* Shimmer skeleton for image generator loader */
.shimmer-skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.08) 37%, rgba(255, 255, 255, 0.03) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

@keyframes shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

.mock-image-tag {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

/* Video cinema timeline styles */
.video-preview-window {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: black;
}

.video-preview-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Service Advantages (Bento Grid) */
.features-section {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  border-color: var(--border-card-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-large);
}

.feat-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 69, 0, 0.06);
  border: 1px solid rgba(255, 69, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feat-icon-box svg {
  stroke: var(--primary-yellow);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Supported Models Section */
.models-section {
  padding: 80px 0;
}

.models-filter-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.model-filter-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.model-filter-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
}

.model-filter-btn.active {
  background: var(--brand-gradient);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.model-showcard {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.model-showcard:hover {
  border-color: var(--border-card-hover);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.model-showcard-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.model-brand-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.model-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.model-brand-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.model-brand-name h4 {
  font-size: 14px;
  font-weight: 700;
  color: white;
}

.model-brand-name span {
  font-size: 11px;
  color: var(--text-muted);
}

.model-status-badge {
  font-size: 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--green);
  padding: 4px 8px;
  border-radius: 99px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.model-showcard-body {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.model-pricing-compare {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 10px;
}

.model-pricing-compare strong {
  color: var(--primary-yellow);
}

.model-pricing-compare span.strike {
  text-decoration: line-through;
  color: var(--text-dark);
}

.model-latency-chart {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.model-latency-chart .bar {
  width: 2px;
  height: 100%;
  background: var(--green);
  border-radius: 1px;
  display: inline-block;
}

.model-showcard-footer {
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  gap: 8px;
}

.model-btn {
  flex: 1;
  border: 1px solid var(--border-card);
  background: rgba(255, 255, 255, 0.02);
  color: white;
  padding: 8px 16px;
  border-radius: 99px !important;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.model-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-card-hover);
}

.model-btn.primary-action {
  background: var(--brand-gradient);
  border: none;
  color: white;
  box-shadow: var(--shadow-glow);
}

.model-btn.primary-action:hover {
  box-shadow: 0 0 15px rgba(255, 69, 0, 0.4);
}

/* 1-Minute Quick Start Section */
.tutorial-section {
  padding: 80px 0;
}

.tut-switcher {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.tut-tab {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.tut-tab.active {
  background: var(--brand-gradient);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.tut-pane {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-large);
  display: none;
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tut-pane.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}


.tut-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tut-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
  box-shadow: var(--shadow-glow);
}

.tut-step-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.tut-step-content p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.tut-right {
  width: 100%;
}

.code-block-container {
  background: rgba(10, 10, 12, 0.8);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-large);
  position: relative;
}

.code-block-container pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.6;
  color: var(--primary-yellow);
  overflow-x: auto;
}

/* Pricing Packages Section */
.pricing-section {
  padding: 80px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
  border-color: var(--border-card-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-large);
}

.pricing-card.popular {
  border-color: var(--primary-yellow);
  background: rgba(255, 69, 0, 0.03);
  box-shadow: 0 0 30px rgba(255, 69, 0, 0.1);
}

.pricing-card.popular::before {
  content: "最受欢迎";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: white;
  padding: 4px 14px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: var(--shadow-glow);
}

.plan-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.plan-price {
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price .price-value {
  font-size: 40px;
  font-weight: 800;
  color: white;
}

.plan-price .price-label {
  font-size: 14px;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.plan-features li::before {
  content: "✓";
  color: var(--primary-yellow);
  font-weight: bold;
}

/* FAQ Accordion Section */
.faq-section {
  padding: 80px 0;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: var(--border-card-hover);
  background: var(--bg-card-hover);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  color: white;
  padding: 24px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  font-size: 18px;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary-yellow);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.faq-item.active .faq-content {
  max-height: 200px;
  padding-bottom: 24px;
}

/* Footer Section */
.footer {
  background: rgba(10, 10, 12, 0.95);
  border-top: 1px solid var(--border-card);
  padding: 60px 0 40px;
  margin-top: 80px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 24px;
}

.footer-links a:hover {
  color: white;
}

.footer-copyright {
  text-align: center;
  margin-bottom: 12px;
}

.footer-disclaimer {
  text-align: center;
  color: var(--text-dark);
  max-width: 800px;
  margin: 0 auto;
  font-size: 12px;
}

/* Modals System (Key Modal, Integration Code Modal) */
.key-modal-overlay, .code-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.key-modal-overlay.active, .code-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.key-modal, .code-modal {
  background: rgba(18, 18, 21, 0.9);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 32px;
  width: min(500px, calc(100vw - 32px));
  box-shadow: var(--shadow-large);
  transform: translateY(-20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.key-modal-overlay.active .key-modal, .code-modal-overlay.active .code-modal {
  transform: translateY(0) scale(1);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.config-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: white;
  font-size: 14px;
}

.config-input:focus {
  border-color: var(--primary-yellow);
}

/* Tab controls inside integration code modal */
.code-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.code-tab-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.code-tab-btn.active {
  background: var(--brand-gradient);
  color: white;
  border-color: transparent;
}

/* Copied tooltip state */
.btn-copy-code, .btn-copy-prompt {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-copy-code:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile Responsiveness Rules */
@media (max-width: 992px) {
  .hero-section, .calculator-grid, .vibe-coding-dashboard, .tut-pane, .playground-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  .features-grid, .pricing-grid {
    grid-template-columns: 1fr !important;
  }
  .scenario-tabs {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .models-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  .hero-right {
    height: 480px;
  }
}

@media (max-width: 640px) {
  .models-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

@media (max-width: 576px) {
  .scenario-tabs {
    grid-template-columns: 1fr !important;
  }
  .links {
    display: none; /* Hide header links on tiny viewport */
  }
}

/* Model Card Banners and Gradients */
.model-showcard {
  padding: 24px;
  gap: 20px;
}

.model-card-banner-wrapper {
  position: relative;
  width: calc(100% + 48px);
  height: 140px;
  margin: -24px -24px 0 -24px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-card-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.model-showcard:hover .model-card-banner {
  transform: scale(1.05);
}

.model-card-banner-text {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.openai-gradient {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.claude-gradient {
  background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.deepseek-gradient {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.gemini-gradient {
  background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.discount-tag {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.price-item .price-value.special {
  color: #10B981;
  font-size: 16px;
}

/* ==========================================================================
   LUMIS PROTOTYPE ADDITIONS: Missing Styles & Dark Mode Glassmorphism Tweaks
   ========================================================================== */

/* 1. Play Panel Scenario Tab Visuals */
.scen-chat {
  --scen-glow: var(--chat-glow);
  --scen-border: var(--chat-border);
  --scen-text: var(--chat-text);
  --scen-grad: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.scen-code {
  --scen-glow: var(--code-glow);
  --scen-border: var(--code-border);
  --scen-text: var(--code-text);
  --scen-grad: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}
.scen-image {
  --scen-glow: var(--image-glow);
  --scen-border: var(--image-border);
  --scen-text: var(--image-text);
  --scen-grad: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
}
.scen-video {
  --scen-glow: var(--video-glow);
  --scen-border: var(--video-border);
  --scen-text: var(--video-text);
  --scen-grad: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.scen-tab-card {
  position: relative;
  overflow: hidden;
}
.scen-tab-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: background-color 0.3s;
}

.scen-tab-card.active {
  background: var(--scen-glow) !important;
  border-color: var(--scen-border) !important;
  box-shadow: 0 0 20px var(--scen-glow) !important;
}
.scen-tab-card.active::before {
  background-color: var(--scen-border) !important;
}
.scen-tab-card.active .scen-icon-wrap {
  background: var(--scen-grad) !important;
  border-color: var(--scen-border) !important;
  color: #ffffff !important;
}
.scen-tab-card.active h3 {
  color: var(--scen-border) !important;
}

/* 2. Simulated Todo App (Vibe Coding) */
.sim-todo-container {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-glow);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: scaleUp 0.3s ease-out;
}
.sim-todo-header {
  font-size: 14px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 8px;
  color: var(--text-main);
}
.sim-todo-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 180px;
  overflow-y: auto;
}
.sim-todo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-card);
  border-radius: 6px;
  font-size: 12px;
  transition: all 0.2s;
  color: var(--text-main);
}
.sim-todo-item.completed span {
  text-decoration: line-through;
  color: var(--text-muted);
}
.sim-todo-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sim-todo-checkbox {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid var(--border-card);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}
.sim-todo-item.completed .sim-todo-checkbox {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
}
.sim-todo-del {
  background: none;
  border: none;
  color: var(--red);
  cursor: pointer;
  padding: 2px;
}
.sim-todo-input-wrap {
  display: flex;
  gap: 8px;
}
.sim-todo-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border-card);
  border-radius: 6px;
  font-size: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}
.sim-todo-input::placeholder {
  color: var(--text-muted);
}
.sim-todo-add {
  background: var(--brand-gradient);
  color: #ffffff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  font-size: 12px;
  box-shadow: var(--shadow-glow);
}

/* 3. Preset Gallery (Creative Image Preset Panel) */
.gallery-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-large);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary-yellow);
}
.gallery-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}
.gallery-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-card:hover .gallery-image-wrapper img {
  transform: scale(1.05);
}
.gallery-info {
  padding: 16px;
  border-top: 1px solid var(--border-card);
  background: rgba(0, 0, 0, 0.2);
}
.gallery-info-model {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}
.gallery-info-desc {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 12, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.gallery-card:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gallery-overlay-badge {
  align-self: flex-start;
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  background: var(--brand-gradient);
  color: #ffffff;
  border-radius: 999px;
  box-shadow: var(--shadow-glow);
}
.gallery-overlay-prompt {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-main);
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gallery-overlay-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-card);
  padding-top: 12px;
}
.gallery-overlay-cost {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-yellow);
}

/* 4. Service Advantages / Use Cases Section */
.use-cases-section {
  padding: 80px 0;
}
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
}
.use-case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.use-case-card:hover {
  border-color: var(--primary-yellow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.use-case-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}
.use-case-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.use-case-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-glow);
  color: var(--primary-yellow);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.use-case-icon svg {
  width: 24px;
  height: 24px;
}

/* 5. Developer API / Credentials Section & Modals */
.dev-credentials-section {
  margin: 40px auto 0;
  max-width: 800px;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
}
.dev-credentials-header {
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--bg-card-hover);
  font-weight: 700;
  font-size: 14px;
  transition: background-color 0.2s;
  user-select: none;
}
.dev-credentials-header:hover {
  background: rgba(255, 255, 255, 0.08);
}
.dev-credentials-body {
  display: none;
  padding: 24px;
  border-top: 1px solid var(--border-card);
  text-align: left;
  animation: slideDown 0.3s ease-out;
}
.dev-credentials-body.active {
  display: block;
}
.console-key-section {
  background: var(--bg-main);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.console-key-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.console-key-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
}
.console-key-input-wrap {
  display: flex;
  position: relative;
  align-items: center;
}
.console-key-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 6px 40px 6px 8px;
  font-family: monospace;
  font-size: 11px;
  color: var(--text-main);
  outline: none;
}
.console-key-copy {
  position: absolute;
  right: 6px;
  background: none;
  border: none;
  color: var(--primary-yellow);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s;
}
.console-key-copy:hover {
  background: var(--primary-glow);
}
.copy-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--primary-yellow);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.copy-btn:hover {
  background: var(--primary-glow);
}
.input-copy-wrap {
  display: flex;
  position: relative;
}
.config-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 6. Phone Simulator & Video Badging Styles */
.playground-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 32px;
  width: 100%;
}
.vibe-right {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}
.video-badge-watermark {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
}
.video-badge-watermark span {
  width: 6px;
  height: 6px;
  background: var(--primary-yellow);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-yellow);
}
.video-prompt-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
  color: #ffffff;
  text-align: left;
  z-index: 10;
}
.video-prompt-overlay h4 {
  color: var(--primary-yellow);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.video-prompt-overlay p {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.9;
  margin: 0;
}
.window-dots {
  display: flex;
  gap: 6px;
}
.window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-card);
}
.window-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-card);
  margin-bottom: 20px;
}
.window-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* 7. Miscellaneous Tweaks */
.model-status-badge.slow {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
}
.model-latency-chart.slow .bar {
  background: #f59e0b;
}
.model-showcard.flux .model-brand-logo {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
}
.model-showcard.midjourney .model-brand-logo {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

@keyframes scaleUp {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes slideDown {
  from { max-height: 0; opacity: 0; }
  to { max-height: 500px; opacity: 1; }
}

/* Pricing Footer Layout */
.pricing-footer-info {
  text-align: center;
  margin-top: 36px;
  color: var(--text-muted);
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.pricing-footer-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Playgrounds responsive layout override */
.chat-dashboard,
.image-generator-dashboard,
.video-generator-dashboard {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 32px;
  width: 100%;
}
@media (max-width: 980px) {
  .chat-dashboard,
  .image-generator-dashboard,
  .video-generator-dashboard {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

/* ==========================================================================
   DE-CLUTTERING & CLEAN VISUAL REDESIGN
   ========================================================================== */

/* 1. Pill-shaped dynamically generated recommended prompt chips */
.play-presets {
  display: flex;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.preset-chip {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--border-card) !important;
  border-radius: 99px !important;
  padding: 6px 14px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  color: var(--text-muted) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.preset-chip:hover {
  background: rgba(255, 165, 0, 0.08) !important;
  border-color: var(--primary-yellow) !important;
  color: var(--text-main) !important;
  box-shadow: 0 0 10px rgba(255, 165, 0, 0.15) !important;
}

/* 2. Cohesive dark glass chat simulator message bubbles */
.chat-msg {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 85%;
  margin-bottom: 14px;
  animation: scaleUp 0.25s ease-out;
}

.chat-msg.user {
  align-self: flex-end;
}

.chat-msg.assistant {
  align-self: flex-start;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.chat-msg.user .chat-bubble {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md) var(--radius-md) 0 var(--radius-md);
}

.chat-msg.assistant .chat-bubble {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-main);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.chat-bubble code {
  font-family: monospace;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--primary-yellow);
}

/* 3. Simplify active model selection visual noise */
.play-model-btn.active {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.02) !important;
}

/* 4. De-clutter active tab switcher text color */
.scen-tab-card.active h3 {
  color: var(--text-main) !important;
}

/* 5. Theme switch widget styles */
.theme-switcher-widget .switcher-btn.active {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--text-main) !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

/* Direction A Override (Unified Amber Glow theme) */
.unified-glow-theme .scen-chat,
.unified-glow-theme .scen-code,
.unified-glow-theme .scen-image,
.unified-glow-theme .scen-video {
  --scen-glow: var(--primary-glow) !important;
  --scen-border: var(--primary-yellow) !important;
  --scen-text: #ffffff !important;
  --scen-grad: var(--brand-gradient) !important;
}

/* Bouncing Typing Indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
}
.typing-indicator span {
  width: 6px;
  height: 6px;
  background-color: var(--text-muted);
  border-radius: 50%;
  display: inline-block;
  animation: typing-bounce 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) {
  animation-delay: -0.32s;
}
.typing-indicator span:nth-child(2) {
  animation-delay: -0.16s;
}
@keyframes typing-bounce {
  0%, 80%, 100% { 
    transform: scale(0.3);
    opacity: 0.4;
  } 40% { 
    transform: scale(1.0);
    opacity: 1;
  }
}





