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

/* ==========================================================================
   Signature Obsidian Glass & Sunset Orange 3D Design System (#FF5A00)
   ========================================================================== */
:root {
  /* Dynamic 3D Glass Surfaces */
  --bg-canvas: #070709;
  --bg-surface: rgba(13, 13, 19, 0.78);
  --bg-surface-elevated: rgba(19, 19, 28, 0.82);
  --bg-surface-glass: rgba(14, 14, 22, 0.82);

  /* Hairline Borders */
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(255, 90, 0, 0.45);
  --border-active: #FF5A00;

  /* Signature Vibrant Sunset Orange Palette */
  --accent-primary: #FF5A00;
  --accent-hover: #FF7020;
  --accent-gradient: linear-gradient(135deg, #FF5A00 0%, #FF7A00 100%);
  --accent-dim: rgba(255, 90, 0, 0.14);
  --accent-border: rgba(255, 90, 0, 0.38);

  /* Text Hierarchy */
  --text-primary: #FFFFFF;
  --text-secondary: #9FA2B4;
  --text-muted: #64677A;

  /* Elevation Shadows & Glows */
  --shadow-card: 0 20px 40px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px var(--border-subtle);
  --shadow-elevated: 0 28px 56px -14px rgba(0, 0, 0, 0.85), 0 0 0 1px var(--border-subtle);
  --shadow-glow: 0 10px 28px -4px rgba(255, 90, 0, 0.45);

  /* Typography */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Fira Code', monospace;

  /* Strict Geometric Math */
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --radius-pill: 999px;

  /* Animation Timings */
  --ease-out-fast: cubic-bezier(0.23, 1, 0.32, 1);
  --duration-snappy: 140ms;
}

/* ==========================================================================
   Base Reset & Typography
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Tabular Numbers & Monospace Utilities */
.tabular-nums,
[data-mono],
.btn-size-tag,
.chip-badge,
.format-badge-pill,
.history-file-size,
.window-title-text,
.window-status-tag,
.footer-badge-online,
.spec-pill,
.dom-stat-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* Dotted Grid Background Overlay */
.bg-grid-overlay {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

/* 3D Background Canvas */
#canvas-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

/* Main Layout Wrapper */
.app-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 32px 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ==========================================================================
   1. Brand Header
   ========================================================================== */
.brand-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-card);
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-sm);
  transition: opacity var(--duration-snappy) var(--ease-out-fast);
}

.brand-link:hover {
  opacity: 0.9;
}

.brand-link:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.brand-logo-img {
  width: 28px;
  height: 28px;
  transition: transform var(--duration-snappy) var(--ease-out-fast);
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.08) rotate(-5deg);
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-dot {
  color: var(--accent-primary);
  text-shadow: 0 0 12px var(--accent-primary);
}

.brand-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--accent-dim);
  color: var(--accent-primary);
  border: 1px solid var(--accent-border);
}

.header-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration-snappy) var(--ease-out-fast);
}

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

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent-gradient);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-glow);
  transition: filter var(--duration-snappy) var(--ease-out-fast), transform 60ms ease-out;
}

.btn-header-cta:hover {
  filter: brightness(1.12);
}

.btn-action-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background-color var(--duration-snappy) var(--ease-out-fast), color var(--duration-snappy) var(--ease-out-fast);
}

.btn-action-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

/* ==========================================================================
   2. Hero Section
   ========================================================================== */
.hero-center-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-elevated);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.hero-center-box:hover {
  border-color: rgba(255, 90, 0, 0.25);
}

.hero-text-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 18px;
  font-family: var(--font-mono);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
}

.hero-title {
  font-size: clamp(2.3rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 68ch;
}

.hero-quick-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* Button Standard Primitives & Size Badges */
.btn-size-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
}

.btn-size-tag-dark {
  background: rgba(0, 0, 0, 0.25);
  color: #070709;
  border-color: rgba(0, 0, 0, 0.2);
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gradient);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  box-shadow: var(--shadow-glow);
  transition: filter var(--duration-snappy) var(--ease-out-fast), transform 60ms ease-out;
}

.hero-btn-primary:hover {
  filter: brightness(1.12);
}

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

.hero-btn-android {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2EAF66 0%, #3DDC84 100%);
  color: #070709;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 8px 24px -4px rgba(61, 220, 132, 0.35);
  transition: filter var(--duration-snappy) var(--ease-out-fast), transform 60ms ease-out;
}

.hero-btn-android:hover {
  filter: brightness(1.12);
}

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

.hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--duration-snappy) var(--ease-out-fast), border-color var(--duration-snappy) var(--ease-out-fast);
}

.hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-hover);
}

/* Hero Spec Pills */
.hero-spec-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.spec-dot-win { background: #00ADEF; box-shadow: 0 0 6px #00ADEF; }
.spec-dot-android { background: #3DDC84; box-shadow: 0 0 6px #3DDC84; }
.spec-dot-amber { background: #FF5A00; box-shadow: 0 0 6px #FF5A00; }
.spec-dot-neutral { background: #FFFFFF; box-shadow: 0 0 6px #FFFFFF; }

/* ==========================================================================
   3. Interactive App Showcase Studio
   ========================================================================== */
.showcase-studio-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-header-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-primary);
  font-family: var(--font-mono);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 60ch;
}

.showcase-tabs-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  background: rgba(15, 15, 22, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  width: fit-content;
}

.showcase-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-snappy) var(--ease-out-fast);
}

.showcase-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.showcase-tab-btn.active {
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent-primary);
}

.showcase-window-container {
  width: 100%;
}

.showcase-window-mockup {
  background: #09090E;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.window-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(18, 18, 26, 0.95);
  border-bottom: 1px solid var(--border-subtle);
}

.window-traffic-lights {
  display: flex;
  align-items: center;
  gap: 7px;
}

.light-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.light-red { background: #FF5F56; }
.light-yellow { background: #FFBD2E; }
.light-green { background: #27C93F; }

.window-title-text {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.window-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #3DDC84;
  background: rgba(61, 220, 132, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(61, 220, 132, 0.25);
}

.status-dot-active {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3DDC84;
  box-shadow: 0 0 6px #3DDC84;
}

.showcase-stage {
  padding: 24px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-canvas);
}

.showcase-view-panel {
  display: none;
  width: 100%;
}

.showcase-view-panel.active {
  display: flex;
  justify-content: center;
}

/* Interactive Stream Execution Deck */
.deck-container {
  width: 100%;
  max-width: 840px;
  background: rgba(15, 15, 23, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-card);
}

.deck-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.deck-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.deck-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-primary);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.deck-input-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
}

.deck-input-field {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 13px;
  outline: none;
}

.btn-deck-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent-gradient);
  color: #FFFFFF;
  border: none;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.btn-deck-trigger:hover {
  filter: brightness(1.15);
}

.dom-mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dom-stat-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  padding: 14px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dom-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dom-stat-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.dom-stat-value.highlight {
  color: var(--accent-primary);
}

.deck-format-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.deck-format-chip {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-snappy) var(--ease-out-fast);
}

.deck-format-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.deck-format-chip.active {
  background: var(--accent-dim);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.deck-progress-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.deck-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.dom-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.dom-progress-fill {
  height: 100%;
  width: 78%;
  background: var(--accent-gradient);
  box-shadow: 0 0 10px var(--accent-primary);
  transition: width 0.3s ease;
}

.mobile-chassis {
  width: 320px;
  background: #000000;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 36px;
  padding: 16px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-notch {
  width: 80px;
  height: 14px;
  background: #121216;
  border-radius: 999px;
  margin: 0 auto;
}

.mobile-card-ui {
  background: #14141c;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   4. Direct Client Downloads Section
   ========================================================================== */
.download-showcase-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.download-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.download-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: border-color var(--duration-snappy) var(--ease-out-fast), transform var(--duration-snappy) var(--ease-out-fast);
}

.download-card:hover {
  border-color: rgba(255, 90, 0, 0.4);
  transform: translateY(-2px);
}

.download-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.platform-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
}

.windows-icon-box {
  color: #00ADEF;
  border-color: rgba(0, 173, 239, 0.25);
  background: rgba(0, 173, 239, 0.08);
}

.android-icon-box {
  color: #3DDC84;
  border-color: rgba(61, 220, 132, 0.25);
  background: rgba(61, 220, 132, 0.08);
}

.platform-meta {
  flex: 1;
}

.platform-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.platform-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-top: 2px;
}

.version-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-primary);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
}

.version-pill-android {
  color: #3DDC84;
  background: rgba(61, 220, 132, 0.12);
  border-color: rgba(61, 220, 132, 0.25);
}

.platform-features-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 16px;
}

.p-feature-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.p-feature-item svg {
  color: var(--accent-primary);
  flex-shrink: 0;
}

.download-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-download-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--accent-gradient);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-glow);
  transition: filter var(--duration-snappy) var(--ease-out-fast), transform 60ms ease-out;
}

.btn-download-primary:hover {
  filter: brightness(1.12);
}

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

.btn-download-android {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #2EAF66 0%, #3DDC84 100%);
  color: #070709;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 24px -4px rgba(61, 220, 132, 0.35);
  transition: filter var(--duration-snappy) var(--ease-out-fast), transform 60ms ease-out;
}

.btn-download-android:hover {
  filter: brightness(1.12);
}

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

.btn-download-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: background-color var(--duration-snappy) var(--ease-out-fast), color var(--duration-snappy) var(--ease-out-fast), border-color var(--duration-snappy) var(--ease-out-fast);
}

.btn-download-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

/* ==========================================================================
   5. Architectural Features Grid
   ========================================================================== */
.features-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.features-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-bento-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--duration-snappy) var(--ease-out-fast), transform var(--duration-snappy) var(--ease-out-fast);
}

.feature-bento-item:hover {
  border-color: rgba(255, 90, 0, 0.35);
  transform: translateY(-2px);
}

.feature-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   6. Benchmarks & Comparison Matrix
   ========================================================================== */
.specs-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.specs-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.specs-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.specs-table th {
  padding: 14px 18px;
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.specs-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.specs-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.015);
}

.specs-table .col-rpull {
  color: var(--accent-primary);
  font-weight: 700;
  background: rgba(255, 90, 0, 0.04);
}

/* ==========================================================================
   7. Footer (Rayane.top Design Signature)
   ========================================================================== */
.app-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 26px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-card);
  font-size: 13.5px;
  color: var(--text-secondary);
}

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

.footer-brand {
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.footer-sep {
  color: var(--text-muted);
}

.footer-author-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  transition: opacity var(--duration-snappy) var(--ease-out-fast);
}

.footer-author-link:hover {
  opacity: 0.85;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color var(--duration-snappy) var(--ease-out-fast);
}

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

.footer-badge-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(61, 220, 132, 0.12);
  border: 1px solid rgba(61, 220, 132, 0.28);
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  color: #3DDC84;
}

.dot-online {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3DDC84;
  box-shadow: 0 0 8px #3DDC84;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 960px) {
  .features-bento-grid {
    grid-template-columns: 1fr;
  }
  .header-nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .app-wrapper {
    padding: 16px;
    gap: 20px;
  }

  .brand-header {
    padding: 12px 16px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-tag {
    display: none;
  }

  .hero-center-box {
    padding: 28px 20px;
    gap: 16px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 14.5px;
  }

  .download-cards-grid {
    grid-template-columns: 1fr;
  }

  .dom-mockup-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Interactive 1-Screen Animated Architecture & Workflow Pipeline
   ========================================================================== */
.workflow-showcase-section {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.workflow-pipeline-container {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.workflow-pipeline-container::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 90, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.workflow-tabs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.workflow-tabs-group {
  display: inline-flex;
  background: rgba(8, 8, 12, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 4px;
}

.workflow-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.workflow-tab-btn:hover {
  color: #FFF;
}

.workflow-tab-btn.active {
  background: var(--accent-gradient);
  color: #FFF;
  box-shadow: 0 4px 16px rgba(255, 90, 0, 0.4);
}

.workflow-status-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #3DDC84;
  background: rgba(61, 220, 132, 0.1);
  border: 1px solid rgba(61, 220, 132, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background: #3DDC84;
  border-radius: 50%;
  box-shadow: 0 0 10px #3DDC84;
  animation: live-pulse-anim 1.8s infinite;
}

@keyframes live-pulse-anim {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* 4-Stage Animated Flow Track */
.pipeline-stages-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.pipeline-stage-card {
  background: rgba(10, 10, 15, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

.pipeline-stage-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(255, 90, 0, 0.25);
}

.pipeline-stage-card.stage-active {
  border-color: var(--accent-primary);
  background: linear-gradient(180deg, rgba(255, 90, 0, 0.08) 0%, rgba(10, 10, 15, 0.95) 100%);
  box-shadow: 0 0 0 1px var(--accent-primary), 0 12px 32px rgba(255, 90, 0, 0.2);
}

.stage-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-primary);
  background: rgba(255, 90, 0, 0.12);
  border: 1px solid rgba(255, 90, 0, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
}

.step-timing {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.stage-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  transition: all 0.25s ease;
}

.pipeline-stage-card:hover .stage-icon-circle {
  background: var(--accent-gradient);
  color: #FFF;
  border-color: transparent;
  transform: scale(1.08);
}

.stage-title {
  font-size: 16px;
  font-weight: 700;
  color: #FFF;
  letter-spacing: -0.01em;
}

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

.stage-metrics-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.stage-metric-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
}

.stage-metric-item strong {
  color: #E2E8F0;
}

/* Animated Connecting Beam */
.pipeline-connector-svg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  pointer-events: none;
  z-index: 1;
  transform: translateY(-50%);
}

.energy-beam-line {
  stroke: rgba(255, 90, 0, 0.2);
  stroke-width: 2;
  stroke-dasharray: 6 6;
  animation: energy-beam-anim 25s linear infinite;
}

@keyframes energy-beam-anim {
  from { stroke-dashoffset: 400; }
  to { stroke-dashoffset: 0; }
}

/* Live Terminal Output Console inside Pipeline */
.pipeline-inspector-box {
  margin-top: 24px;
  background: #050508;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.inspector-stage-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.inspector-pulse-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FF5A00;
  box-shadow: 0 0 14px #FF5A00;
  animation: live-pulse-anim 1.5s infinite;
}

.inspector-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #FFF;
}

.inspector-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.inspector-action-btn {
  background: rgba(255, 90, 0, 0.15);
  border: 1px solid var(--accent-primary);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.inspector-action-btn:hover {
  background: var(--accent-primary);
  box-shadow: 0 4px 14px rgba(255, 90, 0, 0.4);
}

@media (max-width: 992px) {
  .pipeline-stages-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pipeline-stages-track {
    grid-template-columns: 1fr;
  }
  .workflow-tabs-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

