/* ==============================================================================
   LumozAI - Clean, Professional & Grounded Design System
   Palette: Matte Charcoal (#0A0A0B), Deep Slate (#141416), Subtle Indigo (#4F46E5)
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Space+Grotesk:wght@500;600;700;800&display=swap');

:root {
  --bg-primary: #0A0A0B;
  --bg-card: #141416;
  --bg-card-hover: #19191D;
  --bg-card-subtle: #111114;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --border-focus: #4F46E5;

  --accent-primary: #4F46E5;
  --accent-hover: #4338CA;
  --accent-subtle: rgba(79, 70, 229, 0.12);

  --text-primary: #F4F4F6;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;

  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
  --shadow-btn: 0 2px 8px rgba(79, 70, 229, 0.25);
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ==============================================================================
   Layout & Container
   ============================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-tight {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==============================================================================
   Typography & Links
   ============================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* ==============================================================================
   Buttons & Interactive Elements
   ============================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

/* ==============================================================================
   Navigation Header
   ============================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.navbar-logo {
  height: 32px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
}

.navbar-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

@media (min-width: 900px) {
  .navbar-nav {
    display: flex;
  }
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

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

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

@media (min-width: 900px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 4.25rem;
  left: 0;
  width: 100%;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem;
  z-index: 99;
}

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

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
  margin-bottom: 1.5rem;
}

/* ==============================================================================
   Hero Section
   ============================================================================== */
.hero {
  padding: 6rem 0 5rem 0;
  position: relative;
  text-align: center;
  background-image: 
    linear-gradient(to bottom, rgba(10, 10, 11, 0.25) 0%, transparent 45%, rgba(10, 10, 11, 0.85) 90%, var(--bg-primary) 100%),
    url('/img/lumoz_bg.png');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding: 7.5rem 0 6rem 0;
  }
}

.hero-headline {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #FFFFFF;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  max-width: 820px;
  margin: 0 auto 1.25rem auto;
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: 3.75rem;
  }
}

.hero-subhead {
  font-size: 1.125rem;
  color: #CBD5E1;
  max-width: 640px;
  margin: 0 auto 2.25rem auto;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .hero-subhead {
    font-size: 1.25rem;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* ==============================================================================
   Unified Showcase Frame (Developer API & Creator Studio)
   ============================================================================== */
.showcase-frame {
  max-width: 900px;
  margin: 0 auto;
  background-color: rgba(18, 19, 22, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.08) inset, 0 24px 48px -12px rgba(0, 0, 0, 0.7);
  text-align: left;
  transition: var(--transition);
}

.showcase-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background-color: #0E0F12;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.showcase-mode-tabs {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px;
  border-radius: 9999px;
}

.showcase-mode-btn {
  all: unset;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.15rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #9CA3AF;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
  box-sizing: border-box;
}

.showcase-mode-btn:hover {
  color: #F4F4F6;
}

.showcase-mode-btn.active {
  color: #0A0A0C !important;
  background: #FFFFFF !important;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.showcase-nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.creator-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #10B981;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
}

.creator-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10B981;
}

/* Developer View Content */
.showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: #0E0F12;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.showcase-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.meta-label {
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  font-size: 0.6875rem;
}

.showcase-meta-item code {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.meta-val {
  color: #10B981;
  font-weight: 600;
  font-family: var(--font-mono);
}

.meta-link {
  color: var(--accent-primary);
  font-weight: 500;
}

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

/* ==============================================================================
   Creator Studio Canvas (Interactive Playground Experience)
   ============================================================================== */
.studio-canvas {
  padding: 1.25rem 1.5rem 1.5rem;
  background: #121316;
}

/* Workflow Selector Pills */
.studio-workflow-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.studio-wf-chip {
  all: unset;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #9CA3AF;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.studio-wf-chip:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.studio-wf-chip.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.studio-wf-chip .wf-icon {
  font-size: 0.875rem;
}

/* Studio Stage (Live Generation Viewport) */
.studio-stage {
  position: relative;
  width: 100%;
  height: 380px;
  background: #0A0A0C;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.7);
}

.studio-stage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.studio-stage-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.6) 0%, rgba(10, 10, 12, 0) 35%, rgba(10, 10, 12, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
  pointer-events: none;
}

.stage-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.stage-model-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  background: rgba(10, 10, 12, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #FFFFFF;
}

.stage-stats-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  background: rgba(10, 10, 12, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  font-size: 0.75rem;
  color: #9CA3AF;
  font-family: var(--font-mono);
}

.stage-stats-val {
  color: #10B981;
  font-weight: 600;
}

.stage-bottom-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stage-prompt-quote {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #F4F4F6;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  line-height: 1.45;
  margin: 0;
  max-width: 90%;
}

.stage-param-tags {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  flex-wrap: wrap;
}

/* Studio Bottom Controls */
.studio-command-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  background: #0E0F12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  flex-wrap: wrap;
}

.studio-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  min-width: 240px;
}

.studio-wand {
  color: #A855F7;
  font-size: 1rem;
}

.studio-input-text {
  font-size: 0.875rem;
  color: #D1D5DB;
  font-family: var(--font-sans);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.studio-action-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.studio-aspect-pills {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 2px;
}

.aspect-pill {
  all: unset;
  padding: 0.25rem 0.55rem;
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  color: #9CA3AF;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.aspect-pill.active {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-weight: 600;
}

.studio-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #FFFFFF;
  background: #4F46E5;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
  white-space: nowrap;
}

.studio-cta-btn:hover {
  background: #4338CA;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .studio-stage {
    height: 280px;
  }
  .stage-prompt-quote {
    font-size: 0.8125rem;
  }
  .studio-command-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .studio-action-group {
    justify-content: space-between;
  }
}

/* ==============================================================================
   Developer Code Box (Endpoint Showcase)
   ============================================================================== */
.code-preview-card {
  max-width: 860px;
  margin: 0 auto;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-align: left;
}

.code-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background-color: var(--bg-card-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.code-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.code-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.code-tab-btn.active, .code-tab-btn:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.06);
}

.code-endpoint-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.code-body {
  padding: 1.5rem;
  position: relative;
  overflow-x: auto;
}

.code-content {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.65;
  color: #E2E8F0;
  margin: 0;
  white-space: pre;
}

.code-copy-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.code-copy-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

/* ==============================================================================
   Stats Bar
   ============================================================================== */
.stats-bar {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
  background: var(--bg-card-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

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

/* ==============================================================================
   Three Pillars Section
   ============================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.pillar-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.pillar-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.pillar-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

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

/* ==============================================================================
   Model Catalog Grid
   ============================================================================== */
.model-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-chip:hover, .filter-chip.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.models-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .models-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.model-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.model-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.model-thumbnail-wrap {
  width: 100%;
  height: 180px;
  background-color: #1A1A1E;
  position: relative;
  overflow: hidden;
}

.model-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.model-card:hover .model-thumbnail {
  transform: scale(1.03);
}

.model-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.model-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.model-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
}

.model-type-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.model-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

/* ==============================================================================
   Pricing & Direct Value
   ============================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: rgba(79, 70, 229, 0.4);
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.06) 0%, var(--bg-card) 100%);
}

.pricing-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

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

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.check-icon {
  color: #10B981;
  font-size: 0.875rem;
}

.pricing-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-primary);
  background: var(--accent-subtle);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  letter-spacing: 0.03em;
}

.pricing-badge.emerald {
  color: #34D399;
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.25);
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: -0.75rem;
  margin-bottom: 1.5rem;
}

.pricing-subnote {
  font-size: 0.785rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.75rem;
}

.pricing-steps-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 900px;
  margin: 2.75rem auto 0 auto;
  padding: 1.5rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
  .pricing-steps-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.pricing-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.pricing-step-item .step-badge {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #818CF8;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-step-item h4 {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.pricing-step-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ==============================================================================
   Footer
   ============================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-primary);
  padding: 5rem 0 2.5rem 0;
}

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

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

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

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 320px;
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-column-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.footer-link:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==============================================================================
   Pagination (partials/pagination.blade.php)
   ============================================================================== */
.models-pagination {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}
.lumoz-pagination-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lumoz-pagination-info {
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.lumoz-pagination-info .highlight {
  color: var(--text-primary);
  font-weight: 600;
}
.lumoz-pagination-links {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
}
.pagination-btn,
.pagination-dots {
  min-width: 38px;
  height: 38px;
  padding: 0 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  text-decoration: none;
  transition: var(--transition);
  user-select: none;
}
a.pagination-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-hover);
}
.pagination-btn.active {
  color: #fff;
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}
.pagination-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.pagination-dots {
  color: var(--text-muted);
  min-width: 24px;
  padding: 0;
}
@media (max-width: 520px) {
  .pagination-btn, .pagination-dots { min-width: 34px; height: 34px; padding: 0 0.5rem; }
}

/* Pagination SVG Safety Constraints */
.pagination svg,
.history-pagination-wrap svg,
.dash-pagination-wrap svg,
nav[role="navigation"] svg,
.lumoz-pagination-nav svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  display: inline-block;
  vertical-align: middle;
}

/* ==============================================================================
   Pay-As-You-Go Topup & Steps Component
   ============================================================================== */
.topup-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
  align-items: stretch;
}
@media (min-width: 900px) {
  .topup-wrap { grid-template-columns: 1.15fr 1fr; }
}

.topup-card {
  background: #111114;
  background-image: radial-gradient(circle at top right, rgba(99, 102, 241, 0.12), transparent 60%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}
.topup-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  color: #34D399;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
  align-self: flex-start;
}
.topup-pill .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #34D399; box-shadow: 0 0 8px #34D399;
}
.topup-head h2,
.topup-head h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
}
.topup-head p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.amount-presets {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.amount-pill {
  flex: 1;
  min-width: 64px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 0.5rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-sans);
}
.amount-pill:hover {
  border-color: rgba(99, 102, 241, 0.4);
  color: #fff;
}
.amount-pill.active {
  background: #4F46E5;
  border-color: #4F46E5;
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.amount-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}
.amount-input-wrap {
  position: relative;
  margin-bottom: 1.25rem;
}
.amount-prefix {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #818CF8;
  font-weight: 700;
  font-size: 1.1rem;
}
.amount-input-wrap input {
  width: 100%;
  background: #09090B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.85rem 1rem 0.85rem 2.1rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-heading);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.amount-input-wrap input:focus {
  border-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}
.btn-block {
  width: 100%;
  padding: 0.8rem 1.25rem;
  font-weight: 600;
  text-align: center;
  display: inline-flex;
  justify-content: center;
}
.topup-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
}
.topup-note a { color: #818CF8; text-decoration: underline; }

.topup-points {
  list-style: none;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  gap: 0.7rem;
}
.topup-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.steps-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.step-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.4rem;
  transition: border-color 0.2s, transform 0.2s;
}
.step-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #818CF8;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-heading);
}
.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
.step-card p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-detail-link {
  display: block;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-top: 0.5rem;
  padding: 0.4rem;
  transition: var(--transition);
}
.pricing-detail-link:hover {
  color: #818cf8;
  text-decoration: underline;
}

/* ==============================================================================
   Quick View Modal
   ============================================================================== */
.btn-quick-view {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: inherit;
}
.btn-quick-view:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}
.quickview-modal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 680px) {
  .quickview-modal-grid {
    grid-template-columns: 240px 1fr;
    align-items: start;
  }
}
.quickview-visual {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}
.quickview-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 14px 14px 0 0;
  background: #111114;
}
.quickview-tags {
  padding: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.quickview-badge-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #818CF8;
  background: rgba(99, 102, 241, 0.12);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}
.quickview-badge-price {
  font-size: 0.75rem;
  font-weight: 700;
  color: #34D399;
  background: rgba(52, 211, 153, 0.12);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}
.quickview-badge-pill {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.12);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}
.quickview-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.quickview-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem 0;
  line-height: 1.25;
}
.quickview-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.quickview-meta-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}
.quickview-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.quickview-details-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.quickview-details-box h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 0.65rem 0;
}
.quickview-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.quickview-param-chip {
  font-size: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #A5B4FC;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}
.quickview-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}


