/* ==========================================================================
   TALIYO DESIGNOS — MINIMALIST CREATIVE INTELLIGENCE DESIGN SYSTEM
   Clean Visual Hierarchy, Pure SVG Icons, Zero Clutter, Dark Obsidian Theme
   ========================================================================== */

:root {
  --bg-core: #07080c;
  --bg-darker: #040507;
  --bg-card: rgba(13, 16, 23, 0.7);
  --bg-card-hover: rgba(18, 22, 33, 0.9);
  --bg-surface: #0a0c12;
  --bg-input: #030406;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --border-cyan: rgba(0, 245, 255, 0.35);
  --border-indigo: rgba(99, 102, 241, 0.35);

  --accent-cyan: #00f5ff;
  --accent-indigo: #6366f1;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  --text-pure: #ffffff;
  --text-primary: #f1f5f9;
  --text-muted: #94a3b8;
  --text-faint: #475569;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-core);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-core);
  position: relative;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Ambient Radial Glows */
.ambient-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}

.glow-top {
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--accent-indigo) 0%, var(--accent-cyan) 80%, transparent 100%);
}

.glow-bottom {
  bottom: 200px;
  right: 10%;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
}

.canvas-grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

.site-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section-block {
  padding: 100px 0;
  position: relative;
}

.bg-darker {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.text-accent {
  color: var(--accent-cyan);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 10%, #00f5ff 55%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 54px auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  display: inline-block;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-heading {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-pure);
  line-height: 1.22;
  margin-bottom: 14px;
}

.section-subheading {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(7, 8, 12, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-glyph {
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-pure);
}

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

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s var(--ease-smooth);
}

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

.nav-btn-telegram {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  background: rgba(36, 161, 222, 0.12);
  color: #24a1de;
  border: 1px solid rgba(36, 161, 222, 0.3);
  transition: all 0.2s var(--ease-smooth);
}

.nav-btn-telegram:hover {
  background: rgba(36, 161, 222, 0.22);
  border-color: #24a1de;
  transform: translateY(-1px);
}

/* ==========================================================================
   HERO & LIVE FORGE STUDIO (FOCAL POINT)
   ========================================================================== */
.hero-studio-section {
  padding: 130px 0 80px 0;
  position: relative;
}

.hero-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 44px auto;
}

.hero-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 245, 255, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 245, 255, 0.25);
  margin-bottom: 20px;
}

.pulse-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-pure);
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

/* Forge Container */
.forge-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

/* Prompt Bar */
.forge-prompt-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(4, 5, 7, 0.85);
  border-bottom: 1px solid var(--border-subtle);
}

.fpb-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.icon-sparkle {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.forge-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-pure);
}

.forge-input::placeholder {
  color: var(--text-faint);
}

.btn-forge-action {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-cyan) 100%);
  color: #000;
  white-space: nowrap;
  transition: all 0.2s var(--ease-smooth);
}

.btn-forge-action:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 245, 255, 0.25);
}

/* Presets Row */
.forge-presets-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(10, 12, 18, 0.6);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.presets-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
}

.presets-pills-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.preset-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s var(--ease-smooth);
}

.preset-chip svg {
  color: var(--text-faint);
  transition: color 0.2s var(--ease-smooth);
}

.preset-chip:hover, .preset-chip.active {
  background: rgba(0, 245, 255, 0.1);
  color: var(--text-pure);
  border-color: var(--border-cyan);
}

.preset-chip:hover svg, .preset-chip.active svg {
  color: var(--accent-cyan);
}

/* Two-Column Clean Workspace */
.forge-workspace {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 440px;
}

.forge-specs-panel {
  padding: 24px;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fsp-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.fsp-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 4px;
}

.fsp-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-pure);
}

.fsp-score-badge {
  text-align: right;
}

.score-val {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-emerald);
  display: block;
}

.score-lbl {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 0.05em;
}

.fsp-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Swatches Row */
.fsp-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fsp-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-faint);
}

.meta-pass {
  color: var(--accent-emerald);
  font-weight: 700;
}

.swatches-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.swatch-item {
  background: #030406;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
}

.swatch-item:hover {
  border-color: var(--text-pure);
  transform: translateY(-2px);
}

.swatch-color {
  width: 100%;
  height: 20px;
  border-radius: 3px;
  margin-bottom: 4px;
}

.swatch-role {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--text-faint);
  display: block;
  text-transform: uppercase;
}

.swatch-hex {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-pure);
}

/* Grid Meta */
.fsp-grid-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.meta-item {
  background: rgba(4, 5, 7, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.meta-lbl {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  color: var(--text-faint);
  display: block;
  margin-bottom: 2px;
}

.meta-val {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Rationale Card */
.fsp-rationale-card {
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.frc-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-indigo);
  margin-bottom: 4px;
}

.frc-body {
  font-size: 12px;
  font-style: italic;
  color: #cbd5e1;
  line-height: 1.4;
}

.fsp-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.btn-copy-w3c {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-pure);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s var(--ease-smooth);
}

.btn-copy-w3c:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--text-pure);
}

.btn-open-telegram {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  background: rgba(36, 161, 222, 0.12);
  color: #24a1de;
  border: 1px solid rgba(36, 161, 222, 0.25);
  transition: all 0.2s var(--ease-smooth);
}

.btn-open-telegram:hover {
  background: rgba(36, 161, 222, 0.22);
  border-color: #24a1de;
}

/* Right Viewport Panel */
.forge-viewport-panel {
  padding: 24px;
  display: flex;
}

.viewport-box {
  flex: 1;
  background: #030406;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.vp-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(10, 12, 18, 0.9);
  border-bottom: 1px solid var(--border-subtle);
}

.vp-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

.vp-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
}

.vp-tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(0, 245, 255, 0.1);
  color: var(--accent-cyan);
}

.vp-image-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  padding: 16px;
}

.vp-image-wrap img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-smooth);
}

.vp-prompt-box {
  padding: 12px 14px;
  background: rgba(6, 8, 12, 0.95);
  border-top: 1px solid var(--border-subtle);
}

.vpb-label {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 2px;
}

.vpb-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   SECTION 02: 3D RENDERS GALLERY (CLEAN 4-CARD GRID)
   ========================================================================== */
.gallery-clean-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.clean-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease-smooth);
}

.clean-card:hover {
  border-color: var(--border-cyan);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 245, 255, 0.08);
}

.cc-media {
  aspect-ratio: 1 / 1;
  background: #000;
  overflow: hidden;
}

.cc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-smooth);
}

.clean-card:hover .cc-media img {
  transform: scale(1.04);
}

.cc-body {
  padding: 16px;
}

.cc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.cc-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--accent-cyan);
}

.cc-score {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--accent-amber);
}

.cc-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 6px;
  line-height: 1.3;
}

.cc-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   SECTION 03: CAPABILITIES (4 PILLARS)
   ========================================================================== */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s var(--ease-smooth);
}

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

.cap-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.cap-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 8px;
}

.cap-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   SECTION 04: WORKFLOW DELTA BENCHMARK
   ========================================================================== */
.delta-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.delta-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.delta-table th {
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(4, 5, 7, 0.9);
  border-bottom: 1px solid var(--border-subtle);
}

.delta-table td {
  padding: 16px 20px;
  font-size: 13px;
  border-bottom: 1px solid var(--border-subtle);
}

.dt-phase {
  font-weight: 700;
  color: var(--text-pure);
  width: 25%;
}

.dt-old {
  color: var(--text-muted);
  width: 38%;
}

.dt-new {
  color: var(--text-pure);
  background: rgba(0, 245, 255, 0.03);
  width: 37%;
}

.dt-check {
  color: var(--accent-emerald);
  font-weight: 800;
  margin-right: 6px;
}

/* ==========================================================================
   SECTION 05: CTA BANNER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(0, 245, 255, 0.05) 100%);
  border: 1px solid rgba(0, 245, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 64px 32px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 245, 255, 0.06);
}

.cta-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 28px auto;
  line-height: 1.5;
}

.btn-cta-launch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  background: #24a1de;
  color: #fff;
  box-shadow: 0 12px 28px rgba(36, 161, 222, 0.35);
  transition: all 0.2s var(--ease-smooth);
}

.btn-cta-launch:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(36, 161, 222, 0.5);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
#footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-darker);
}

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

.footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-pure);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-faint);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-link {
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.2s var(--ease-smooth);
}

.footer-link:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 38px; }
  .forge-workspace { grid-template-columns: 1fr; }
  .forge-specs-panel { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .gallery-clean-grid { grid-template-columns: repeat(2, 1fr); }
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hero-title { font-size: 30px; }
  .forge-prompt-bar { flex-direction: column; align-items: stretch; }
  .gallery-clean-grid { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .footer-flex { flex-direction: column; text-align: center; }
}
