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

/* --- Core Design System Tokens --- */
:root {
  --bg-main: #020205;
  --bg-card: rgba(8, 7, 18, 0.7);
  --bg-card-hover: rgba(14, 12, 28, 0.85);
  --border-color: rgba(168, 85, 247, 0.15);
  --border-color-glow: rgba(168, 85, 247, 0.35);
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;

  /* Accent Colors */
  --accent-purple: #a855f7;
  --accent-magenta: #d946ef;
  --accent-cyan: #06b6d4;
  --accent-orange: #ff4500;
  --accent-gold: #f59e0b;
  --accent-green: #22c55e;
  --accent-red: #ef4444;
  
  /* Fonts */
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Inter', sans-serif;

  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background overlays */
.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background-color: var(--bg-main);
  overflow: hidden;
  pointer-events: none;
}

.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(168, 85, 247, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center;
  mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 80%);
}

.bg-nebula {
  position: absolute;
  top: -15%;
  left: 5%;
  width: 90%;
  height: 80%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.05) 0%, rgba(99, 102, 241, 0.02) 40%, transparent 70%);
  filter: blur(120px);
  animation: float-nebula-slow 25s ease-in-out infinite alternate;
}

.bg-nebula-cyan {
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.04) 0%, rgba(59, 130, 246, 0.02) 50%, transparent 75%);
  filter: blur(140px);
  animation: float-nebula-mid 20s ease-in-out infinite alternate;
}

.bg-nebula-magma {
  position: absolute;
  top: 40%;
  left: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 69, 0, 0.02) 0%, transparent 70%);
  filter: blur(100px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.15);
  border: 2px solid var(--bg-main);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.35);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
}

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

/* Glassmorphism Panel with Scanlines */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.glass-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 32, 0.15), rgba(8, 6, 16, 0.35)),
              repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.003) 2px, rgba(255,255,255,0.003) 4px);
  pointer-events: none;
  z-index: 2;
}

.glass-panel:hover {
  border-color: var(--border-color-glow);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.05);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-magenta) 50%, var(--accent-orange) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg);
  transition: 0.75s;
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.55), 0 0 15px rgba(255, 69, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover::after {
  left: 120%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.2);
  color: #d8b4fe;
}

.badge-glow {
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.2);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 100;
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(2, 2, 5, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  height: 70px;
}

header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: #fff;
}

.logo svg {
  width: 32px;
  height: 32px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 36px;
}

nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

nav a:hover {
  color: #fff;
}

nav a.active {
  color: #fff;
  position: relative;
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-orange));
  box-shadow: 0 0 8px var(--accent-orange);
  border-radius: 2px;
}

.btn-header-cta {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* Section styling */
section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-purple);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.section-description {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.05;
  margin-bottom: 20px;
  background: linear-gradient(130deg, #ffffff 40%, #e2e8f0 70%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span.highlight {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-magenta) 50%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 36px;
  color: var(--text-secondary);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Naming input teaser */
.name-teaser {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.name-teaser .label {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.name-teaser input {
  padding: 10px 16px;
  background: rgba(2, 2, 5, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  width: 150px;
  text-transform: lowercase;
  transition: var(--transition-fast);
}

.name-teaser input:focus {
  outline: none;
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.25);
}

.name-teaser .sub-readout {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.name-teaser .sub-readout b {
  color: var(--accent-cyan);
}

/* Persona core visualizer */
.hero-visualizer-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.persona-hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 520px;
  border-radius: 24px;
  border: 1px solid rgba(168, 85, 247, 0.25);
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.08) 0%, rgba(2, 2, 5, 0.95) 75%);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.8), 
    0 0 50px rgba(168, 85, 247, 0.1), 
    inset 0 0 40px rgba(0, 0, 0, 0.9);
}

.persona-hero-visual svg {
  width: 100%;
  height: 100%;
}

.agent-node-group {
  cursor: pointer;
}

.agent-node-group:hover .agent-core {
  filter: url(#pg-glow-strong);
  transform: scale(1.25);
}

.agent-node-ring {
  transform-origin: 300px 300px;
  animation: rotate-ring 30s linear infinite;
}

.agent-node-ring-reverse {
  transform-origin: 300px 300px;
  animation: rotate-ring-reverse 40s linear infinite;
}

.agent-core {
  transform-origin: center;
  transform-box: fill-box;
  transition: var(--transition-smooth);
}

/* Central glowing core pulse */
.master-pulse {
  transform-origin: 300px 300px;
  animation: core-pulse-scale 3s ease-in-out infinite alternate;
}

.laser-line {
  stroke-dasharray: 6 12;
  animation: laser-flow 3s linear infinite;
}

@keyframes laser-flow {
  from { stroke-dashoffset: 18; }
  to { stroke-dashoffset: 0; }
}

/* --- Section: Comparison (Miért Más) --- */
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.pillar-card {
  padding: 48px 40px;
  border-radius: 20px;
}

.pillar-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-purple);
  display: block;
  margin-bottom: 16px;
}

.pillar-card h3 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.2;
}

.pillar-card p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--accent-purple);
  margin-bottom: 28px;
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
}

/* --- Section: Capabilities (Mit tud) --- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cap-card {
  padding: 32px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cap-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: var(--accent-purple);
  margin-bottom: 20px;
}

.cap-icon svg {
  width: 20px;
  height: 20px;
}

.cap-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.cap-card > p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.cap-eg {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #7dd3fc;
  line-height: 1.5;
  border-left: 2px solid rgba(6, 182, 212, 0.4);
  padding-left: 12px;
  background: rgba(6, 182, 212, 0.02);
  padding-top: 6px;
  padding-bottom: 6px;
  border-radius: 0 6px 6px 0;
}

.cap-card-wide {
  grid-column: span 3;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}

.cap-wide-details {
  flex: 1;
}

.cap-wide-details h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.cap-wide-details p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 1024px) {
  .cap-card-wide {
    grid-column: span 2;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .cap-card-wide {
    grid-column: span 1;
  }
}

/* --- Section: Hogyan Születik --- */
.process-circuit-wrapper {
  position: relative;
  padding: 20px 0;
}

.process-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  z-index: 10;
}

.process-card {
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.process-card-glow-overlay {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid transparent;
  box-shadow: 0 0 30px rgba(0,0,0,0);
  transition: var(--transition-smooth);
  pointer-events: none;
}

.process-card.active .process-card-glow-overlay {
  border-color: rgba(var(--card-rgb), 0.35);
  background: rgba(var(--card-rgb), 0.04);
  box-shadow: 0 0 25px rgba(var(--card-rgb), 0.12);
}

.process-step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.03);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.process-card.active .process-step-num {
  color: rgb(var(--card-rgb));
  background: rgba(var(--card-rgb), 0.15);
  border-color: rgba(var(--card-rgb), 0.4);
}

.process-card-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.process-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  transition: var(--transition-smooth);
}

.process-card.active .process-card-desc {
  color: var(--text-secondary);
}

.process-connector-line {
  position: absolute;
  top: 68px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: rgba(168, 85, 247, 0.05);
  z-index: 1;
}

.process-connector-progress {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, 
    var(--accent-gold) 0%, 
    var(--accent-purple) 33%, 
    var(--accent-cyan) 66%, 
    var(--accent-magenta) 100%);
  box-shadow: 0 0 10px var(--accent-purple);
}

/* --- Section: Adatvédelem --- */
.clr-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.clr-demo {
  padding: 40px;
  border-radius: 20px;
  background: rgba(6, 4, 15, 0.8);
}

.clr-slider-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

input[type=range].clr-range {
  width: 100%;
  accent-color: var(--accent-purple);
  margin: 10px 0;
  background: rgba(255, 255, 255, 0.05);
  height: 6px;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.clr-circle {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: #fff;
  margin: 20px 0 10px;
  transition: color 0.3s ease;
}

.clr-shares {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  min-height: 52px;
}

/* Red-bordered Locked safety hard-floor banner */
.clr-lock {
  margin-top: 30px;
  padding: 16px 20px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fecaca;
  font-size: 0.88rem;
  line-height: 1.5;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.05);
}

.clr-lock svg {
  flex-shrink: 0;
  color: var(--accent-red);
  margin-top: 2px;
}

.clr-lock b {
  color: #fff;
}

.clr-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.clr-points li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.clr-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.clr-points strong {
  color: #fff;
  font-size: 1.05rem;
  display: block;
  margin-bottom: 2px;
}

.clr-points p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- Section: Integrációk --- */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.integration-card {
  padding: 32px 28px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
}

.int-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.integration-card:hover .int-icon-box {
  background: rgba(var(--accent-rgb), 0.15);
  border-color: rgba(var(--accent-rgb), 0.4);
  color: rgb(var(--accent-rgb));
  box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.2);
}

.int-icon-box svg {
  width: 22px;
  height: 22px;
}

.integration-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.integration-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
  flex-grow: 1;
}

.integration-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 8px;
  display: block;
}

/* --- Section: Mire Számíts (Credit) --- */
.credit-box {
  max-width: 700px;
  margin: 0 auto;
  padding: 36px 40px;
}

.credit-rows {
  display: flex;
  flex-direction: column;
}

.credit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--border-color);
}

.credit-row:first-child {
  border-top: none;
  padding-top: 0;
}

.credit-row:last-child {
  padding-bottom: 0;
}

.cr-label b {
  color: #fff;
  font-weight: 600;
  display: block;
  font-size: 1rem;
  margin-bottom: 2px;
}

.cr-label span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cr-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 4px 14px;
  border-radius: 9999px;
  white-space:nowrap;
  font-weight: 600;
}

.cr-pill.cheap {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.cr-pill.base {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.cr-pill.warn {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.cr-pill.info {
  background: rgba(6, 182, 212, 0.12);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.25);
}

/* --- Section: Árazás --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.pricing-card {
  padding: 36px 28px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pc-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(168, 85, 247, 0.18);
  color: #e9d5ff;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.pc-header {
  margin-bottom: 24px;
}

.pc-header h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.pc-price {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  font-family: var(--font-display);
  margin-bottom: 4px;
}

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

.pc-slogan {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pc-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
}

.pc-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.pc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.85rem;
}

.pc-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}

.pc-features li::before {
  content: '✓';
  color: rgb(var(--accent-rgb));
  font-weight: 800;
  font-size: 0.8rem;
}

.pricing-card.featured {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 15px 40px rgba(168, 85, 247, 0.08);
}

/* Trial badge strip */
.trial-strip {
  margin-top: 40px;
  text-align: center;
}

/* --- Section: CTA (Kapcsolat) --- */
.section-cta {
  padding: 100px 0;
  background: radial-gradient(circle at 50% 100%, rgba(168, 85, 247, 0.08) 0%, transparent 60%);
}

.cta-box {
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 48px;
  border-radius: 24px;
  text-align: center;
  position: relative;
}

.cta-box h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.glass-input {
  padding: 14px 18px;
  background: rgba(2, 2, 5, 0.7);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.glass-input:focus {
  outline: none;
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.15);
}

.form-feedback {
  font-size: 0.85rem;
  margin-top: 8px;
  min-height: 20px;
  display: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
}

.form-feedback.error {
  display: block;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

.form-feedback.success {
  display: block;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #86efac;
}

/* --- Footer --- */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  background: #020205;
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 24px;
}

.footer-links a:hover {
  color: #fff;
}

/* --- Scroll Reveal Effects --- */
.reveal-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Animations --- */
@keyframes float-nebula-slow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-3%, 5%) scale(1.05); }
}

@keyframes float-nebula-mid {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(4%, -4%) scale(1.08); }
}

@keyframes rotate-ring {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes rotate-ring-reverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes core-pulse-scale {
  0% { transform: scale(0.96) translate(0, 0); opacity: 0.95; }
  100% { transform: scale(1.04) translate(0, 0); opacity: 1; filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.45)); }
}

/* Respect user preference */
@media (prefers-reduced-motion: reduce) {
  .bg-nebula, .bg-nebula-cyan, .agent-node-ring, .agent-node-ring-reverse, .master-pulse {
    animation: none !important;
  }
  .reveal-fade {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --- Responsive Layouts --- */
@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero {
    text-align: center;
    padding-top: 140px;
  }
  .hero-ctas, .name-teaser {
    justify-content: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .clr-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .process-connector-line {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .pillar-grid {
    grid-template-columns: 1fr;
  }
  .cap-grid {
    grid-template-columns: 1fr;
  }
  .integrations-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  nav {
    display: none; /* simple hidden nav for mobile */
  }
  header .btn {
    display: none;
  }
  .cta-box {
    padding: 40px 24px;
  }
}

/* --- Mobile Showcase Section --- */
.section-mobile-showcase {
  background: radial-gradient(circle at 100% 50%, rgba(6, 182, 212, 0.04) 0%, transparent 60%);
}

.mobile-showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.mobile-showcase-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-container {
  position: relative;
  perspective: 1200px;
}

.phone-glow-back {
  position: absolute;
  inset: -25px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
  filter: blur(35px);
  z-index: 1;
  border-radius: 40px;
}

.phone-frame {
  width: 280px;
  height: 570px;
  border-radius: 40px;
  border: 12px solid #11101e;
  overflow: hidden;
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.9), 
    0 0 0 2px rgba(168, 85, 247, 0.15);
  z-index: 5;
  transform: rotateY(-18deg) rotateX(12deg) rotateZ(5deg);
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  background: #020205;
}

.phone-frame:hover {
  transform: rotateY(-6deg) rotateX(6deg) rotateZ(2deg) translateY(-12px);
  box-shadow: 
    0 40px 100px rgba(0, 0, 0, 0.95), 
    0 0 25px rgba(168, 85, 247, 0.3);
}

.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Media Query overrides for Mobile Showcase */
@media (max-width: 1024px) {
  .mobile-showcase-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .mobile-showcase-content {
    order: 1;
  }
  .mobile-showcase-visual {
    order: 2;
  }
  .phone-frame {
    transform: rotateY(0deg) rotateX(0deg) rotateZ(0deg);
  }
  .phone-frame:hover {
    transform: translateY(-8px);
  }
  .product-features-list {
    align-items: center;
  }
}

/* --- Floating Live Chat Simulator --- */
.chat-widget-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-body);
}

.chat-trigger-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-magenta));
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  transition: var(--transition-smooth);
}

.chat-trigger-btn:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 12px 30px rgba(168, 85, 247, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.chat-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--accent-red);
  color: white;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-main);
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.chat-tooltip {
  position: absolute;
  right: 72px;
  background: rgba(8, 7, 18, 0.95);
  border: 1px solid var(--border-color);
  color: white;
  font-size: 0.8rem;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  opacity: 1;
  pointer-events: none;
  transition: var(--transition-smooth);
  animation: tooltip-pulse-movement 2s infinite alternate;
}

.chat-trigger-btn:hover .chat-tooltip {
  opacity: 0;
  transform: translateX(-10px);
}

.chat-window {
  width: 360px;
  height: 480px;
  border-radius: 20px;
  display: none; /* Controlled by JS class active */
  flex-direction: column;
  position: absolute;
  bottom: 72px;
  right: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95);
  border: 1px solid var(--border-color-glow);
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  background: rgba(8, 7, 18, 0.96);
  z-index: 1005;
}

.chat-window.active {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.chat-header {
  padding: 16px 20px;
  background: rgba(14, 12, 28, 0.95);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-user-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: dot-pulse-anim 1.5s infinite alternate;
}

.chat-header-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.chat-header-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.chat-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-fast);
}

.chat-close-btn:hover {
  color: white;
}

.chat-messages {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(3, 2, 8, 0.45);
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.15) transparent;
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}
.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}
.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.15);
  border-radius: 2px;
}

.chat-msg {
  display: flex;
  width: 100%;
}

.msg-received {
  justify-content: flex-start;
}

.msg-sent {
  justify-content: flex-end;
}

.msg-bubble {
  max-width: 85%;
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.msg-received .msg-bubble {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  border-bottom-left-radius: 3px;
}

.msg-sent .msg-bubble {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(168, 85, 247, 0.25));
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: white;
  border-bottom-right-radius: 3px;
}

.chat-suggestions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  width: 100%;
}

.chat-suggest-chip {
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: #d8b4fe;
  font-family: var(--font-body);
  font-size: 0.78rem;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: left;
  width: 100%;
  outline: none;
}

.chat-suggest-chip:hover {
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(168, 85, 247, 0.5);
  color: white;
  transform: translateY(-1px);
}

.chat-input-bar {
  padding: 12px 16px;
  background: rgba(14, 12, 28, 0.98);
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 12px;
  align-items: center;
}

.chat-text-input {
  flex-grow: 1;
  padding: 10px 14px;
  background: rgba(2, 2, 5, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: white;
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition-fast);
}

.chat-text-input:focus {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.1);
}

.chat-send-btn {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-magenta));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.chat-send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.typing-indicator {
  font-style: italic;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 4px 0;
}

@keyframes dot-pulse-anim {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

@keyframes tooltip-pulse-movement {
  0% { transform: translateY(0); }
  100% { transform: translateY(-3px); }
}

/* Responsive adjustments for chat window */
@media (max-width: 480px) {
  .chat-window {
    width: calc(100vw - 40px);
    height: 420px;
  }
}

/* --- Interactive Obsidian Sandbox --- */
.obsidian-sandbox {
  width: 100%;
  border-radius: 16px;
  background: rgba(4, 3, 10, 0.85);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.sandbox-header {
  padding: 12px 20px;
  background: rgba(10, 8, 22, 0.95);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 16px;
}

.sandbox-dots {
  display: flex;
  gap: 6px;
}

.sandbox-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: var(--accent-red); }
.dot-yellow { background: var(--accent-gold); }
.dot-green { background: var(--accent-green); }

.sandbox-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.sandbox-layout {
  display: grid;
  grid-template-columns: 180px 1fr 240px;
  height: 320px;
}

.sandbox-sidebar {
  background: rgba(14, 12, 28, 0.4);
  border-right: 1px solid var(--border-color);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sb-folder {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  margin-top: 4px;
}

.sb-file {
  background: none;
  border: none;
  text-align: left;
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 6px 8px 6px 16px;
  cursor: pointer;
  border-radius: 6px;
  transition: var(--transition-fast);
  outline: none;
}

.sb-file:hover, .sb-file-active {
  background: rgba(168, 85, 247, 0.1);
  color: #fff;
}

.sandbox-editor {
  display: flex;
  flex-direction: column;
  background: #020205;
}

.editor-tabs {
  background: rgba(14, 12, 28, 0.6);
  border-bottom: 1px solid var(--border-color);
  display: flex;
}

.editor-tab {
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  border-right: 1px solid var(--border-color);
  color: var(--text-secondary);
  background: rgba(2, 2, 5, 0.8);
}

.editor-content {
  flex-grow: 1;
  padding: 24px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.editor-line {
  margin-bottom: 12px;
}

.fact-highlight {
  background: rgba(6, 182, 212, 0.15);
  border-bottom: 2px dashed var(--accent-cyan);
  padding: 2px 4px;
  border-radius: 4px;
  position: relative;
  cursor: help;
}

.fact-highlight::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--accent-cyan);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}

.fact-highlight:hover::after {
  opacity: 1;
}

.sandbox-readout {
  background: rgba(14, 12, 28, 0.6);
  border-left: 1px solid var(--border-color);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.readout-header {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-magenta);
}

.readout-body {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.readout-alert {
  font-weight: 700;
  color: #fff;
}

.readout-facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.readout-facts li {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 6px 10px;
  border-radius: 6px;
}

.readout-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* --- Blacksmith Forge Compilation Modal --- */
.forge-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 2, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: none; /* Controlled by JS class open */
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.forge-overlay.open {
  display: flex;
}

.forge-modal {
  width: 100%;
  max-width: 800px;
  border-radius: 24px;
  border: 1px solid var(--border-color-glow);
  box-shadow: 0 30px 100px rgba(0,0,0,0.95), 0 0 50px rgba(168, 85, 247, 0.15);
  overflow: hidden;
  background: rgba(8, 7, 18, 0.98);
  position: relative;
}

.forge-header {
  padding: 18px 24px;
  background: rgba(14, 12, 28, 0.95);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.forge-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-orange);
  letter-spacing: 0.08em;
}

.forge-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-fast);
}

.forge-close:hover {
  color: white;
}

.forge-body-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  height: 400px;
}

.forge-console {
  background: #020205;
  border-right: 1px solid var(--border-color);
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-green);
  display: flex;
  flex-direction: column;
}

.console-header {
  color: var(--text-muted);
  font-size: 0.7rem;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  border-bottom: 1px dashed rgba(255,255,255,0.05);
  padding-bottom: 8px;
}

.console-lines {
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.45;
}

.forge-graphics {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.forge-wireframe-container {
  width: 200px;
  height: 200px;
  margin-bottom: 24px;
}

.forge-progress-status {
  width: 100%;
  text-align: center;
}

.status-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: white;
}

.progress-bar-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
  box-shadow: 0 0 10px var(--accent-cyan);
  transition: width 0.1s ease;
}

.progress-percent {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.forge-success {
  padding: 60px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  color: var(--accent-green);
  font-size: 2.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(34, 197, 94, 0.3);
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.15);
}

.forge-success h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 40%, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.success-desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
  max-width: 500px;
  margin-bottom: 36px;
}

.success-slug-name {
  color: var(--accent-cyan);
}

.success-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 540px;
}

.success-metric-card {
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  text-align: center;
}

.metric-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: white;
  margin-bottom: 4px;
}

.metric-lbl {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Response/grid adjustments for Sandbox and Forge */
@media (max-width: 1024px) {
  .sandbox-layout {
    grid-template-columns: 1fr;
    height: auto;
  }
  .sandbox-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sandbox-readout {
    border-left: none;
    border-top: 1px solid var(--border-color);
  }
  .forge-body-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
  .forge-console {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    height: 200px;
  }
}

