/* ==========================================================================
   Luminai & SimeMan Design System & Stylesheet
   Pure Modern CSS - Responsive, Accessible, Light & Dark Theme Support
   ========================================================================== */

/* Import Official IRANSans Font */
@import url('../fonts/iransans/css/fontiran.css');

/* Alpine.js cloak directive to prevent FOUC */
[x-cloak] {
  display: none !important;
}

/* Design Tokens & Theme Variables */
:root {
  /* Color Palette - Light Default */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-border: rgba(226, 232, 240, 0.8);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: rgba(255, 255, 255, 0.78);
  
  --brand-blue: #2563eb;
  --brand-blue-hover: #1d4ed8;
  --brand-blue-light: #eff6ff;
  --brand-blue-glow: rgba(37, 99, 235, 0.35);
  
  --accent-cyan: #38bdf8;
  --accent-indigo: #6366f1;
  --accent-purple: #8b5cf6;
  
  /* Cosmic Hero Gradients - Light Mode Refined */
  --hero-deep-space: #07173e;
  --hero-navy: #0b255e;
  --hero-royal: #1449b8;
  --hero-glow-blue: #256bf5;
  --hero-glow-sky: #60a5fa;
  --hero-glow-cyan: #38bdf8;
  --hero-light-mist: #e8f2fe;

  /* Prompt Bar Variables */
  --prompt-bg: rgba(255, 255, 255, 0.88);
  --prompt-border: rgba(255, 255, 255, 0.75);
  --prompt-shadow: 0 24px 48px -12px rgba(12, 38, 105, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.6);
  --prompt-pill-bg: rgba(241, 245, 249, 0.85);
  --prompt-pill-border: rgba(203, 213, 225, 0.6);
  --prompt-pill-text: #334155;
  --prompt-pill-active-bg: #eff6ff;
  --prompt-pill-active-border: #93c5fd;
  --prompt-pill-active-text: #1d4ed8;

  /* Typography - IRANSans Persian Font */
  --font-sans: 'IRANSans', system-ui, -apple-system, sans-serif;
  --font-serif: 'IRANSans', system-ui, -apple-system, sans-serif;
  
  /* Spacing & Layout */
  --container-max: 1200px;
  --nav-height: 72px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Transitions */
  --trans-fast: 0.18s ease;
  --trans-base: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Theme Overrides */
[data-theme="dark"] {
  --bg-primary: #070b14;
  --bg-secondary: #0d1424;
  --bg-card: rgba(15, 23, 42, 0.85);
  --bg-card-border: rgba(255, 255, 255, 0.1);
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  
  --brand-blue-light: rgba(37, 99, 235, 0.15);

  --prompt-bg: rgba(15, 23, 42, 0.88);
  --prompt-border: rgba(255, 255, 255, 0.14);
  --prompt-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
  --prompt-pill-bg: rgba(30, 41, 59, 0.8);
  --prompt-pill-border: rgba(51, 65, 85, 0.7);
  --prompt-pill-text: #e2e8f0;
  --prompt-pill-active-bg: rgba(37, 99, 235, 0.25);
  --prompt-pill-active-border: #3b82f6;
  --prompt-pill-active-text: #93c5fd;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  direction: rtl;
  text-align: right;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: clip;
  transition: background-color var(--trans-smooth), color var(--trans-smooth);
}

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

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

button, input {
  font-family: inherit;
  font-size: inherit;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Cosmic Hero Glow & Background FX
   ========================================================================== */
.cosmic-glow-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 760px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Luminous cosmic gradient with vibrant royal blue core */
.cosmic-glow-core {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    /* Radiant center-top celestial blue */
    radial-gradient(ellipse 95% 75% at 50% 12%, 
      #1e62f2 0%, 
      #154cb8 30%, 
      #0d307d 58%, 
      #081d4a 85%,
      #06153a 100%
    );
}

/* Radiant electric cyan-blue horizon arc curving across the lower-mid hero */
.cosmic-glow-core::before {
  content: "";
  position: absolute;
  top: 140px;
  left: -20%;
  right: -20%;
  height: 520px;
  background: radial-gradient(ellipse 80% 55% at 50% 60%, 
    rgba(56, 189, 248, 0.45) 0%, 
    rgba(37, 99, 235, 0.45) 28%, 
    rgba(29, 78, 216, 0.25) 52%, 
    transparent 76%
  );
  filter: blur(35px);
}

/* Atmospheric right-side bloom with subtle celestial light rays */
.cosmic-glow-core::after {
  content: "";
  position: absolute;
  top: 30px;
  right: -8%;
  width: 55%;
  height: 560px;
  background: 
    /* Electric cyan-blue flare */
    radial-gradient(ellipse 65% 55% at 80% 40%, rgba(56, 189, 248, 0.45) 0%, rgba(37, 99, 235, 0.3) 40%, transparent 75%),
    /* Soft vertical celestial beams */
    linear-gradient(90deg, 
      transparent 0%, 
      transparent 42%, 
      rgba(255, 255, 255, 0.12) 48%, 
      rgba(96, 165, 250, 0.16) 51%, 
      transparent 58%, 
      rgba(255, 255, 255, 0.08) 68%, 
      transparent 78%
    );
  filter: blur(25px);
}

/* Ambient Star Specks (confined strictly to the upper deep-sky region) */
.stars-specks {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 480px;
  background-image: 
    radial-gradient(1.5px 1.5px at 14% 18%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 32% 12%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(2px 2px at 48% 24%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1.2px 1.2px at 66% 16%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 84% 22%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.8px 1.8px at 22% 36%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1px 1px at 72% 34%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 90% 28%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1.2px 1.2px at 54% 40%, rgba(255, 255, 255, 0.55), transparent);
  opacity: 0.9;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
}

/* Seamless, clean transition into pure white body surface (zero dark borders or smudges) */
.cosmic-glow-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 380px;
  background: linear-gradient(to bottom, 
    transparent 0%, 
    rgba(224, 242, 254, 0.2) 20%, 
    rgba(240, 249, 255, 0.6) 45%, 
    rgba(255, 255, 255, 0.9) 75%, 
    #ffffff 100%
  );
}

/* Dark theme background adjustment */
[data-theme="dark"] .cosmic-glow-core {
  background: 
    radial-gradient(ellipse 95% 75% at 50% 12%, 
      #154cb8 0%, 
      #0d307d 35%, 
      #071d4a 65%, 
      #040e24 95%
    );
}

[data-theme="dark"] .cosmic-glow-wrapper::after {
  background: linear-gradient(to bottom, 
    transparent 0%, 
    rgba(7, 11, 20, 0.25) 30%, 
    rgba(7, 11, 20, 0.75) 65%, 
    #070b14 100%
  );
}

/* ==========================================================================
   Header & Navigation (Sticky Floating Capsule)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0.85rem 0;
  transition: padding var(--trans-base);
  pointer-events: none;
}

.site-header > .container,
.site-header .nav-container {
  pointer-events: auto;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid transparent;
  transition: max-width var(--trans-base), padding var(--trans-base), background var(--trans-base), border-color var(--trans-base), box-shadow var(--trans-base);
}

/* Sticky Floating Capsule Mode */
.site-header.is-sticky {
  padding: 0.65rem 1rem;
}

.site-header.is-sticky .nav-container {
  max-width: 1060px;
  padding: 0.42rem 1.25rem;
  background: rgba(10, 15, 30, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .site-header.is-sticky .nav-container {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(226, 232, 240, 0.95);
  box-shadow: 0 14px 34px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .site-header.is-sticky .brand-logo {
  color: var(--text-primary);
}

[data-theme="light"] .site-header.is-sticky .nav-link {
  color: var(--text-secondary);
}

[data-theme="light"] .site-header.is-sticky .nav-link:hover {
  color: var(--brand-blue);
  background: rgba(37, 99, 235, 0.08);
}

[data-theme="light"] .site-header.is-sticky .nav-search-box {
  background: rgba(241, 245, 249, 0.9);
  border-color: rgba(203, 213, 225, 0.9);
}

[data-theme="light"] .site-header.is-sticky .nav-search-input {
  color: var(--text-primary);
}

[data-theme="light"] .site-header.is-sticky .nav-search-input::placeholder {
  color: var(--text-muted);
}

[data-theme="light"] .site-header.is-sticky .nav-search-icon {
  color: var(--brand-blue);
}

.site-header.is-sticky .theme-toggle-btn {
  display: none !important;
}

[data-theme="light"] .site-header.is-sticky .hamburger-bar {
  background: var(--text-primary);
}

[data-theme="light"] .site-header.is-sticky .btn-primary-nav {
  background: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

[data-theme="light"] .site-header.is-sticky .btn-primary-nav:hover {
  background: var(--brand-blue-hover);
  color: #ffffff;
}

[data-theme="light"] .site-header.is-sticky .btn-outline-nav {
  color: var(--text-primary);
  background: rgba(241, 245, 249, 0.85);
  border-color: rgba(203, 213, 225, 0.9);
}

[data-theme="light"] .site-header.is-sticky .btn-outline-nav:hover {
  background: rgba(226, 232, 240, 0.95);
  border-color: rgba(148, 163, 184, 0.9);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-on-dark);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  transition: opacity var(--trans-fast), color var(--trans-fast);
}

.brand-logo:hover {
  opacity: 0.92;
}

.brand-icon {
  flex-shrink: 0;
  transition: transform var(--trans-fast);
}

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

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--trans-fast), background var(--trans-fast);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}

/* Header Search Field */
.nav-search-item {
  display: flex;
  align-items: center;
}

.nav-search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--trans-base);
}

.nav-search-box:focus-within {
  background: rgba(255, 255, 255, 0.2);
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.25);
}

.nav-search-icon {
  color: #93c5fd;
  flex-shrink: 0;
  transition: color var(--trans-fast);
}

.nav-search-box:focus-within .nav-search-icon {
  color: #ffffff;
}

.nav-search-input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 500;
  width: 125px;
  transition: width var(--trans-base);
}

.nav-search-input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.nav-search-input:focus {
  width: 165px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.25rem;
  cursor: pointer;
  transition: all var(--trans-fast);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.96);
}

.btn-outline-nav {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.btn-outline-nav:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-primary-nav {
  color: #0f172a;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-primary-nav:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.btn-primary-nav:active {
  transform: scale(0.96);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--trans-fast), transform var(--trans-fast), border-color var(--trans-fast), color var(--trans-fast);
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.theme-toggle-btn:active {
  transform: scale(0.96);
}

.theme-icon.sun-icon {
  color: #fbbf24;
}

[data-theme="light"] .moon-icon {
  display: block;
}
[data-theme="light"] .sun-icon {
  display: none;
}

[data-theme="dark"] .moon-icon {
  display: none;
}
[data-theme="dark"] .sun-icon {
  display: block;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform var(--trans-fast), opacity var(--trans-fast);
}

.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  z-index: 10;
  padding: 3.5rem 0 3.5rem;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Announcement Pill */
.announcement-wrapper {
  margin-bottom: 2rem;
}

.announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.95rem 0.35rem 0.45rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all var(--trans-base);
}

.announcement-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.36);
  transform: translateY(-1px);
}

.badge-tag {
  background: #ffffff;
  color: #1e3a8a;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.badge-text {
  color: rgba(255, 255, 255, 0.92);
}

.badge-arrow {
  color: rgba(255, 255, 255, 0.7);
  transition: transform var(--trans-fast);
}

.announcement-pill:hover .badge-arrow {
  transform: translateX(3px);
  color: #ffffff;
}

/* Hero Headline & Subtitle */
.hero-headline-wrap {
  position: relative;
  max-width: 820px;
  margin: 0 auto 2.8rem;
}

.hero-title {
  font-size: clamp(1.75rem, 5.2vw, 4rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: normal;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-title-accent {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: normal;
  color: #93c5fd;
  text-shadow: 0 0 35px rgba(147, 197, 253, 0.6);
}

.hero-subtitle {
  margin: 1.5rem auto 0;
  max-width: 650px;
  font-size: clamp(0.95rem, 1.7vw, 1.15rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
}

/* Collaborative Cursors - RTL adapted */
.collab-cursor {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem 0.2rem 0.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  user-select: none;
  z-index: 15;
}

.cursor-left {
  top: 18%;
  right: 2%;
  left: auto;
  background: rgba(30, 58, 138, 0.75);
  border: 1px solid rgba(96, 165, 250, 0.5);
  backdrop-filter: blur(8px);
  animation: floatLeft 4s ease-in-out infinite alternate;
}

.cursor-right {
  bottom: 22%;
  left: 2%;
  right: auto;
  background: rgba(55, 48, 163, 0.75);
  border: 1px solid rgba(165, 180, 252, 0.5);
  backdrop-filter: blur(8px);
  animation: floatRight 4.5s ease-in-out infinite alternate 0.5s;
}

@keyframes floatLeft {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes floatRight {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(8px) rotate(1deg); }
}

/* ==========================================================================
   Prompt Studio Capsule (Faithful Replication of Screenshot)
   ========================================================================== */
.prompt-studio-wrapper {
  width: 100%;
  max-width: 660px;
  margin: 0 auto 4rem;
  position: relative;
  z-index: 20;
}

.prompt-studio-card {
  background: var(--prompt-bg);
  border: 1px solid var(--prompt-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--prompt-shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.55rem 0.65rem 0.55rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: right;
  transition: all var(--trans-base);
}

.prompt-studio-card:focus-within {
  border-color: #60a5fa;
  box-shadow: 0 24px 56px -10px rgba(37, 99, 235, 0.28), 0 0 0 2px rgba(96, 165, 250, 0.4);
}

.prompt-input-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.15rem 0.2rem;
  width: 100%;
}

.prompt-caret {
  width: 2px;
  height: 22px;
  background-color: var(--brand-blue);
  border-radius: 2px;
  animation: caretBlink 1.1s infinite;
}

@keyframes caretBlink {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0; }
  100% { opacity: 1; }
}

.prompt-input-field {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 1.02rem;
  color: var(--text-primary);
  font-weight: 500;
}

.prompt-input-field::placeholder {
  color: var(--text-muted);
  opacity: 0.85;
}

.prompt-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
}

[data-theme="dark"] .prompt-controls-row {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.controls-left, .controls-right {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

/* Control Pills */
.btn-ctrl-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--prompt-pill-bg);
  border: 1px solid var(--prompt-pill-border);
  color: var(--prompt-pill-text);
  border-radius: var(--radius-pill);
  padding: 0.38rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--trans-fast);
  user-select: none;
}

.btn-ctrl-pill:hover {
  background: var(--prompt-pill-active-bg);
  color: var(--prompt-pill-active-text);
  border-color: var(--prompt-pill-active-border);
}

.btn-ctrl-pill.active {
  background: var(--prompt-pill-active-bg);
  border-color: var(--prompt-pill-active-border);
  color: var(--prompt-pill-active-text);
}

.btn-ctrl-pill.icon-only {
  width: 32px;
  height: 32px;
  padding: 0;
  justify-content: center;
}

.ratio-box-icon {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

/* Credits Badge */
.credits-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.65rem;
  background: rgba(241, 245, 249, 0.7);
  border: 1px solid rgba(203, 213, 225, 0.6);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 700;
  user-select: none;
}

[data-theme="dark"] .credits-badge {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(51, 65, 85, 0.7);
  color: var(--text-secondary);
}

/* Send Prompt Button */
.btn-send-prompt {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--brand-blue-glow);
  transition: all var(--trans-fast);
  flex-shrink: 0;
}

.btn-send-prompt:hover {
  background: var(--brand-blue-hover);
  transform: scale(1.06);
}

.btn-send-prompt:active {
  transform: scale(0.96);
}

/* Feedback Toast */
.prompt-feedback-toast {
  display: none;
  font-size: 0.8rem;
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  margin-top: 0.2rem;
  animation: fadeIn 0.3s ease;
}

.prompt-feedback-toast.show {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Brand Logos Strip / Social Proof
   ========================================================================== */
.brand-strip-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 1.5rem auto 0;
  text-align: center;
}

.brand-strip-heading {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  opacity: 0.8;
}

.brand-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  opacity: 0.55;
  transition: opacity var(--trans-fast), color var(--trans-fast), transform var(--trans-fast);
  cursor: default;
}

.logo-item:hover {
  opacity: 0.95;
  color: var(--text-primary);
  transform: translateY(-2px);
}

.logo-label {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   SIM Cards Catalog Table Section
   ========================================================================== */
.sim-table-section {
  position: relative;
  z-index: 10;
  padding: 4.5rem 0 5rem;
  background-color: var(--bg-primary);
  border-top: 1px solid rgba(226, 232, 240, 0.6);
}

[data-theme="dark"] .sim-table-section {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.catalog-filters-toolbar {
  margin-bottom: 2.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.catalog-filters-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.catalog-advanced-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding: 0.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.filter-select-wrapper {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.filter-select-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.catalog-select-filter {
  background: var(--bg-secondary);
  border: 1px solid var(--bg-card-border);
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: all var(--trans-fast);
}

.catalog-select-filter:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 2px var(--brand-blue-glow);
}

.btn-reset-filters {
  background: transparent;
  border: 1px dashed var(--bg-card-border);
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.95rem;
  font-size: 0.8rem;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.btn-reset-filters:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}

.catalog-filter-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.2rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.catalog-filter-btn:hover {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.catalog-filter-btn.active {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 4px 14px var(--brand-blue-glow);
}

.sim-table-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition: all var(--trans-base);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sim-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  min-width: 680px;
}

.sim-data-table thead th {
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--bg-card-border);
  white-space: nowrap;
}

.sim-data-table tbody tr {
  border-bottom: 1px solid var(--bg-card-border);
  transition: background var(--trans-fast);
}

.sim-data-table tbody tr:hover {
  background: rgba(37, 99, 235, 0.04);
}

[data-theme="dark"] .sim-data-table tbody tr:hover {
  background: rgba(37, 99, 235, 0.12);
}

.sim-data-table tbody td {
  padding: 1.2rem 1.5rem;
  vertical-align: middle;
}

.phone-number-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sim-num-primary {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  direction: ltr;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}

.badge-operator {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.op-mci {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.op-irancell {
  background: #fefce8;
  color: #a16207;
  border: 1px solid #fef08a;
}

.op-rightel {
  background: #faf5ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}

[data-theme="dark"] .op-mci {
  background: rgba(29, 78, 216, 0.25);
  color: #93c5fd;
  border-color: rgba(147, 197, 253, 0.3);
}

[data-theme="dark"] .op-irancell {
  background: rgba(161, 98, 7, 0.25);
  color: #fde047;
  border-color: rgba(254, 240, 138, 0.3);
}

[data-theme="dark"] .op-rightel {
  background: rgba(126, 34, 206, 0.25);
  color: #d8b4fe;
  border-color: rgba(233, 213, 255, 0.3);
}

.sim-type-text {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.sim-condition-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(100, 116, 139, 0.1);
  color: var(--text-secondary);
}

.sim-condition-tag.tag-new {
  background: #dcfce7;
  color: #15803d;
}

[data-theme="dark"] .sim-condition-tag.tag-new {
  background: rgba(21, 128, 61, 0.25);
  color: #86efac;
}

.round-type-badge {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  padding: 0.28rem 0.68rem;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.price-cell {
  display: flex;
  flex-direction: column;
}

.price-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: normal;
}

.price-unit {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-right: 3px;
}

.installment-hint {
  display: block;
  font-size: 0.74rem;
  color: #16a34a;
  font-weight: 600;
  margin-top: 2px;
}

[data-theme="dark"] .installment-hint {
  color: #4ade80;
}

.btn-buy-sim {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--brand-blue);
  color: #ffffff;
  border: none;
  padding: 0.55rem 1.15rem;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--trans-fast);
  box-shadow: 0 4px 12px var(--brand-blue-glow);
  white-space: nowrap;
}

.btn-buy-sim:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-1px);
}

.btn-buy-sim:active {
  transform: translateY(0);
}

.sim-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--bg-card-border);
  flex-wrap: wrap;
  gap: 1rem;
}

.table-info-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.btn-outline-table {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-blue);
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--brand-blue);
  border-radius: var(--radius-pill);
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.btn-outline-table:hover {
  background: var(--brand-blue);
  color: #ffffff;
}

/* ==========================================================================
   Overview & Key Stats Section (Faithfully matching bottom of screenshot)
   ========================================================================== */
.overview-section {
  position: relative;
  z-index: 10;
  padding: 7rem 0 5rem;
  background-color: var(--bg-primary);
  border-top: 1px solid rgba(226, 232, 240, 0.4);
}

[data-theme="dark"] .overview-section {
  border-top-color: rgba(255, 255, 255, 0.06);
}

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

.overview-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: normal;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.overview-title-accent {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: normal;
}

.overview-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 520px;
}

.overview-stats-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2.2rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}

.stat-icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: normal;
  margin-bottom: 0.6rem;
}

.stat-value {
  font-variant-numeric: tabular-nums;
}

.stat-suffix {
  color: var(--brand-blue);
  font-size: 1.6rem;
  font-weight: 700;
  margin-right: 6px;
  margin-left: 0;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.4;
}

/* ==========================================================================
   Bento Features Section
   ========================================================================== */
.features-section {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
}

.section-header {
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-header.text-center {
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

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

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  transition: transform var(--trans-base), box-shadow var(--trans-base);
}

.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.08);
}

.bento-span-2 {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

.bento-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.bento-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.bento-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.bento-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.token-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-primary);
  border: 1px solid var(--bg-card-border);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
}

.color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-blue { background: #1d4ed8; }
.dot-cyan { background: #38bdf8; }

/* Bento Preview Mocks */
.bento-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.memory-card-mock {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--bg-card-border);
  margin-bottom: 0.8rem;
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.mock-dot.red { background: #f87171; }
.mock-dot.yellow { background: #fbbf24; }
.mock-dot.green { background: #34d399; }

.mock-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 0.4rem;
  margin-left: 0;
}

.compliance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  font-size: 0.78rem;
}

.rule-name {
  color: var(--text-secondary);
  font-weight: 500;
}

.rule-status {
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
}

.status-pass {
  background: #dcfce7;
  color: #15803d;
}

[data-theme="dark"] .status-pass {
  background: rgba(21, 128, 61, 0.25);
  color: #86efac;
}

.variant-chips-stack {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-top: 1rem;
}

.aspect-chip {
  padding: 0.6rem 0.9rem;
  background: var(--brand-blue-light);
  border: 1px dashed var(--brand-blue);
  color: var(--brand-blue);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.approval-card-mock {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--bg-primary);
  border: 1px solid var(--bg-card-border);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.approver-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #6366f1;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.approver-info {
  display: flex;
  flex-direction: column;
}

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

.approver-time {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.badge-approved {
  margin-right: auto;
  margin-left: 0;
  font-size: 0.72rem;
  font-weight: 700;
  background: #dcfce7;
  color: #16a34a;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
}

.provenance-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding-right: 0;
}

.provenance-checklist li {
  position: relative;
  padding-right: 1.4rem;
  padding-left: 0;
}

.provenance-checklist li::before {
  content: "\2713";
  position: absolute;
  right: 0;
  left: auto;
  color: var(--brand-blue);
  font-weight: bold;
}

.c2pa-shield-mock {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
}

.shield-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.shield-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Workflow Section
   ========================================================================== */
.workflow-section {
  padding: 6rem 0;
  background-color: var(--bg-primary);
}

.workflow-tabs-container {
  max-width: 960px;
  margin: 0 auto;
}

.workflow-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.workflow-tab-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--bg-card-border);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--trans-fast);
}

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

.workflow-tab-btn.active {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 4px 14px var(--brand-blue-glow);
}

.workflow-tab-content {
  display: none;
}

.workflow-tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.step-card {
  background: var(--bg-secondary);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
}

.step-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.step-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.step-legacy .step-num {
  color: #94a3b8;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-stars {
  color: #eab308;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.author-meta {
  display: flex;
  flex-direction: column;
}

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

.author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  padding: 6rem 0;
  background-color: var(--bg-primary);
}

.cta-card {
  background: linear-gradient(135deg, #0f2b6e 0%, #1d4ed8 50%, #2563eb 100%);
  border-radius: 28px;
  padding: 4.5rem 2rem;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 24px 50px -10px rgba(37, 99, 235, 0.4);
}

.cta-inner {
  max-width: 680px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.2rem;
  line-height: 1.6;
}

.cta-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto 1.2rem;
}

.cta-input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #ffffff;
  outline: none;
  font-size: 0.95rem;
}

.cta-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.cta-input:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
}

.cta-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #ffffff;
  color: #1e3a8a;
  border: none;
  font-weight: 700;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all var(--trans-fast);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-cta:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta:active {
  transform: scale(0.97);
}

.cta-footnote {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}

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

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

.footer-logo {
  color: var(--text-primary);
  margin-bottom: 1.2rem;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

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

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--trans-fast);
}

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

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

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

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

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-span-2 {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0.65rem 0.5rem;
  }
  .site-header.is-sticky {
    padding: 0.5rem 0.65rem;
  }
  .site-header.is-sticky .nav-container {
    padding: 0.35rem 0.85rem;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-card-border);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  }

  .nav-menu.open {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

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

  .nav-search-item {
    width: 100%;
  }

  .nav-search-box {
    width: 100%;
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.25);
  }

  .nav-search-input {
    width: 100%;
    color: var(--text-primary);
  }

  .nav-search-input::placeholder {
    color: var(--text-muted);
  }

  .nav-search-input:focus {
    width: 100%;
  }

  .mobile-toggle {
    display: flex;
  }

  .btn-outline-nav {
    display: none;
  }

  .hero-section {
    padding: 6.5rem 0 3.5rem;
  }

  .hero-headline-wrap {
    margin-bottom: 2rem;
  }

  .brand-logos-row {
    gap: 1.8rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .overview-section,
  .features-section,
  .workflow-section,
  .testimonials-section,
  .cta-section {
    padding: 4rem 0;
  }

  .overview-stats-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .catalog-advanced-filters {
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
  }

  .filter-select-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
  }

  .catalog-select-filter {
    width: 100%;
  }

  .btn-reset-filters {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .workflow-steps-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-form,
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .collab-cursor {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }

  .prompt-studio-card {
    padding: 0.45rem 0.55rem 0.45rem 1.1rem;
    border-radius: var(--radius-pill);
  }

  .sim-data-table thead th,
  .sim-data-table tbody td {
    padding: 0.85rem 0.75rem;
  }

  .sim-table-footer {
    flex-direction: column;
    gap: 0.85rem;
    text-align: center;
    align-items: center;
    padding: 1rem;
  }

  .workflow-tabs {
    display: flex;
    width: 100%;
    gap: 0.35rem;
    padding: 0.35rem;
  }

  .workflow-tab-btn {
    flex: 1;
    text-align: center;
    justify-content: center;
    font-size: 0.82rem;
    padding: 0.55rem 0.75rem;
  }

  .cta-card {
    padding: 2.5rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .btn-cta {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0.5rem 0.4rem;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .nav-actions {
    gap: 0.45rem;
  }

  .btn-primary-nav {
    padding: 0.38rem 0.72rem;
    font-size: 0.78rem;
  }

  .theme-toggle-btn {
    width: 32px;
    height: 32px;
  }

  .hero-section {
    padding: 5.5rem 0 2rem;
  }

  .btn-ctrl-pill {
    padding: 0.3rem 0.52rem;
    font-size: 0.72rem;
  }

  .credits-badge {
    font-size: 0.7rem;
    padding: 0.28rem 0.5rem;
  }

  .catalog-advanced-filters {
    grid-template-columns: 1fr;
  }

  .overview-stats-col {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .stat-card {
    align-items: center;
    text-align: center;
  }

  .bento-card {
    padding: 1.4rem 1.1rem;
  }

  .testimonial-card {
    padding: 1.4rem 1.1rem;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-brand-col {
    text-align: center;
    align-items: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-status {
    justify-content: center;
  }
}

/* ==========================================================================
   Skeleton Loading System (Shimmer Animations for AJAX Requests)
   ========================================================================== */
@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-shimmer {
  background: linear-gradient(
    90deg,
    rgba(226, 232, 240, 0.5) 25%,
    rgba(241, 245, 249, 0.9) 50%,
    rgba(226, 232, 240, 0.5) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.6s ease-in-out infinite;
  border-radius: var(--radius-sm, 6px);
  display: inline-block;
}

[data-theme="dark"] .skeleton-shimmer {
  background: linear-gradient(
    90deg,
    rgba(30, 41, 59, 0.6) 25%,
    rgba(51, 65, 85, 0.8) 50%,
    rgba(30, 41, 59, 0.6) 75%
  );
  background-size: 200% 100%;
}

.skeleton-line {
  height: 14px;
  width: 100%;
  border-radius: 4px;
}

.skeleton-badge {
  height: 22px;
  width: 70px;
  border-radius: 12px;
}

.skeleton-btn {
  height: 38px;
  width: 130px;
  border-radius: 8px;
}

.skeleton-table-row td {
  padding: 18px 16px;
  vertical-align: middle;
}

