/* ==========================================================================
   TITOSLABS - Enterprise AI & Software Web Platform Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- Root CSS Theme Variables --- */
:root {
  /* Default: Cyber Obsidian Theme */
  --bg-primary: #07090e;
  --bg-secondary: #0d111a;
  --bg-tertiary: #141b27;
  --bg-card: rgba(16, 23, 37, 0.65);
  --bg-card-hover: rgba(24, 35, 56, 0.85);
  --bg-glass: rgba(13, 17, 26, 0.75);

  --border-color: rgba(0, 242, 254, 0.15);
  --border-glow: rgba(0, 242, 254, 0.35);

  --text-primary: #f0f6fc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-cyan: #00f2fe;
  --accent-purple: #9d4edd;
  --accent-magenta: #ff007f;
  --accent-blue: #3a86ff;
  --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #7f00ff 50%, #ff007f 100%);
  --accent-gradient-glow: linear-gradient(135deg, rgba(0, 242, 254, 0.4) 0%, rgba(127, 0, 255, 0.4) 100%);
  --btn-primary-bg: linear-gradient(135deg, #00f2fe 0%, #7f00ff 100%);
  --btn-primary-text: #ffffff;

  --badge-bg: rgba(0, 242, 254, 0.12);
  --badge-border: rgba(0, 242, 254, 0.3);
  --badge-text: #00f2fe;

  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 254, 0.1);
  --terminal-bg: #090c13;
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-code: 'Fira Code', monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Theme 2: Quantum Light --- */
[data-theme="quantum"] {
  --bg-primary: #f4f7fc;
  --bg-secondary: #eaeff8;
  --bg-tertiary: #dce4f3;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(244, 247, 252, 0.85);

  --border-color: rgba(79, 70, 229, 0.15);
  --border-glow: rgba(79, 70, 229, 0.35);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --accent-cyan: #0284c7;
  --accent-purple: #6366f1;
  --accent-magenta: #d946ef;
  --accent-blue: #2563eb;
  --accent-gradient: linear-gradient(135deg, #0284c7 0%, #6366f1 50%, #d946ef 100%);
  --accent-gradient-glow: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(99, 102, 241, 0.25) 100%);
  --btn-primary-bg: linear-gradient(135deg, #0284c7 0%, #6366f1 100%);
  --btn-primary-text: #ffffff;

  --badge-bg: rgba(99, 102, 241, 0.1);
  --badge-border: rgba(99, 102, 241, 0.3);
  --badge-text: #4f46e5;

  --card-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08), 0 0 20px rgba(99, 102, 241, 0.08);
  --terminal-bg: #1e293b;
}

/* --- Theme 3: Matrix Emerald --- */
[data-theme="emerald"] {
  --bg-primary: #050e09;
  --bg-secondary: #0a1811;
  --bg-tertiary: #102419;
  --bg-card: rgba(10, 26, 17, 0.7);
  --bg-card-hover: rgba(16, 38, 25, 0.9);
  --bg-glass: rgba(5, 14, 9, 0.8);

  --border-color: rgba(0, 255, 136, 0.18);
  --border-glow: rgba(0, 255, 136, 0.4);

  --text-primary: #e6fff2;
  --text-secondary: #85b89c;
  --text-muted: #527a64;

  --accent-cyan: #00ff88;
  --accent-purple: #10b981;
  --accent-magenta: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-gradient: linear-gradient(135deg, #00ff88 0%, #00d2d3 50%, #10b981 100%);
  --accent-gradient-glow: linear-gradient(135deg, rgba(0, 255, 136, 0.35) 0%, rgba(0, 210, 211, 0.35) 100%);
  --btn-primary-bg: linear-gradient(135deg, #00ff88 0%, #00b894 100%);
  --btn-primary-text: #050e09;

  --badge-bg: rgba(0, 255, 136, 0.12);
  --badge-border: rgba(0, 255, 136, 0.3);
  --badge-text: #00ff88;

  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 255, 136, 0.12);
  --terminal-bg: #030a06;
}

/* --- Theme 4: Solar Gold --- */
[data-theme="solar"] {
  --bg-primary: #0f0a05;
  --bg-secondary: #191209;
  --bg-tertiary: #241b0e;
  --bg-card: rgba(25, 18, 9, 0.7);
  --bg-card-hover: rgba(38, 27, 14, 0.9);
  --bg-glass: rgba(15, 10, 5, 0.8);

  --border-color: rgba(255, 184, 0, 0.18);
  --border-glow: rgba(255, 184, 0, 0.4);

  --text-primary: #fff8eb;
  --text-secondary: #d4b896;
  --text-muted: #8c7354;

  --accent-cyan: #ffb800;
  --accent-purple: #ff7675;
  --accent-magenta: #e17055;
  --accent-blue: #fdcb6e;
  --accent-gradient: linear-gradient(135deg, #ffd700 0%, #ff7675 50%, #e17055 100%);
  --accent-gradient-glow: linear-gradient(135deg, rgba(255, 215, 0, 0.35) 0%, rgba(255, 118, 117, 0.35) 100%);
  --btn-primary-bg: linear-gradient(135deg, #ffd700 0%, #e17055 100%);
  --btn-primary-text: #0f0a05;

  --badge-bg: rgba(255, 215, 0, 0.12);
  --badge-border: rgba(255, 215, 0, 0.3);
  --badge-text: #ffd700;

  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.12);
  --terminal-bg: #090603;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Background Ambient Glow FX */
.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
  transition: all var(--transition-slow);
}

.glow-top-left {
  top: -200px;
  left: -200px;
  background: var(--accent-gradient);
}

.glow-bottom-right {
  bottom: -200px;
  right: -200px;
  background: var(--accent-gradient);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

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

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  opacity: 0.85;
}

/* --- Containers & Layout --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--badge-text);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* --- Navigation Bar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition-normal), border var(--transition-normal);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.brand-logo img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 0 15px var(--border-glow);
}

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

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

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

/* --- Theme Selector Dropdown --- */
.theme-selector {
  position: relative;
}

.theme-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.theme-btn:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 12px var(--border-color);
}

.theme-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 210px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--card-shadow);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 105;
}

.theme-dropdown.show {
  display: flex;
  animation: fadeInDown 0.25s ease-out forwards;
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all var(--transition-fast);
}

.theme-option:hover, .theme-option.active {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.theme-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-obsidian { background: linear-gradient(135deg, #00f2fe, #ff007f); }
.dot-quantum { background: linear-gradient(135deg, #0284c7, #6366f1); }
.dot-emerald { background: linear-gradient(135deg, #00ff88, #00d2d3); }
.dot-solar { background: linear-gradient(135deg, #ffd700, #ff7675); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(0, 242, 254, 0.4);
  opacity: 0.95;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--border-glow);
  background: var(--bg-tertiary);
  box-shadow: 0 0 15px var(--border-color);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

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

/* --- Hero Section --- */
.hero-section {
  padding-top: 170px;
  padding-bottom: 90px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--badge-text);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--badge-text);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

.hero-title {
  font-size: 3.6rem;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.stat-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-graphic-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(12px);
}

.hero-graphic-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-graphic-card:hover img {
  transform: scale(1.03);
}

.hero-badge-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.overlay-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.overlay-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* --- Live AI Sandbox & Terminal --- */
.sandbox-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.terminal-window {
  background: var(--terminal-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  font-family: var(--font-code);
}

.terminal-header {
  background: rgba(0, 0, 0, 0.4);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

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

.terminal-title {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.terminal-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 20px 0;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border-color);
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-main);
  cursor: pointer;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  transition: all var(--transition-fast);
}

.tab-btn.active {
  background: var(--terminal-bg);
  color: var(--accent-cyan);
  border: 1px solid var(--border-color);
  border-bottom: 1px solid var(--terminal-bg);
}

.terminal-body {
  padding: 24px;
  min-height: 280px;
  color: #a9b7c6;
  font-size: 0.9rem;
  line-height: 1.7;
}

.terminal-line {
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
}

.prompt-symbol {
  color: var(--accent-cyan);
  user-select: none;
}

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

.output-line {
  color: var(--text-secondary);
  padding-left: 20px;
}

.success-line {
  color: #00ff88;
}

.terminal-input-bar {
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 12px;
}

.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-code);
  font-size: 0.9rem;
  outline: none;
}

/* --- Solutions Grid --- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--card-shadow);
  background: var(--bg-card-hover);
}

.solution-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}

.solution-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.solution-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex: 1;
}

.solution-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.solution-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.solution-features li svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* --- Interactive Solution Order Builder / Configurator --- */
.configurator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(16px);
  box-shadow: var(--card-shadow);
}

.configurator-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}

.form-group {
  margin-bottom: 28px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.option-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.selectable-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.selectable-card:hover {
  border-color: var(--border-glow);
}

.selectable-card.selected {
  background: var(--badge-bg);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px var(--border-glow);
}

.selectable-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.selectable-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.checkbox-label:hover {
  border-color: var(--border-glow);
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--accent-cyan);
  width: 18px;
  height: 18px;
}

/* Order Summary Box */
.order-summary-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.summary-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.summary-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

.summary-total {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-amount {
  font-size: 2.2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--accent-cyan);
}

/* --- Modal & Order Receipt --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.show {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

.modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 36px;
  box-shadow: var(--card-shadow);
  position: relative;
}

.close-modal-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.receipt-header {
  text-align: center;
  margin-bottom: 24px;
}

.receipt-icon {
  width: 60px;
  height: 60px;
  background: var(--badge-bg);
  color: var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 2rem;
}

.receipt-details {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  font-family: var(--font-code);
  font-size: 0.85rem;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-color);
}

.receipt-row:last-child {
  border-bottom: none;
}

/* --- Tech Stack Filter --- */
.tech-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.filter-chip:hover, .filter-chip.active {
  background: var(--badge-bg);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: all var(--transition-fast);
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 4px 20px var(--border-color);
}

.tech-card i {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

.tech-card span {
  font-size: 0.85rem;
  font-weight: 600;
}

/* --- Floating AI Chat Widget --- */
.chat-widget-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--btn-primary-bg);
  color: white;
  border: none;
  box-shadow: 0 6px 25px rgba(0, 242, 254, 0.4);
  cursor: pointer;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform var(--transition-fast);
}

.chat-widget-btn:hover {
  transform: scale(1.1);
}

.chat-window {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 360px;
  height: 480px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  z-index: 150;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-window.show {
  display: flex;
  animation: fadeInUp 0.3s ease-out;
}

.chat-header {
  background: var(--bg-tertiary);
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.message-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.4;
}

.bot-msg {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.user-msg {
  background: var(--btn-primary-bg);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-input-area {
  padding: 12px;
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 8px;
}

.chat-input-area input {
  flex: 1;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: var(--text-primary);
  outline: none;
  font-size: 0.875rem;
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 20px;
}

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

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

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Keyframe Animations --- */
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 242, 254, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive Styles --- */
@media (max-width: 992px) {
  .hero-grid, .configurator-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
