/* ==========================================================================
   ANDROMEDA WRITER — HIGH-DENSITY MODERN DARK DESIGN SYSTEM
   ========================================================================== */

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

:root {
  /* High-Tech Obsidian / Slate Theme */
  --bg-primary: #090d16;
  --bg-secondary: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-card-hover: rgba(30, 41, 59, 0.9);
  --bg-glass: rgba(15, 23, 42, 0.88);
  --bg-input: #1e293b;
  --bg-surface: #141e33;
  
  /* Precise Subtle Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(139, 92, 246, 0.45);
  --border-cyan: rgba(56, 189, 248, 0.4);

  /* Modern Cyber Purple & Cyan Palette */
  --accent-purple: #8b5cf6;
  --accent-purple-light: #a78bfa;
  --accent-purple-dark: #6d28d9;
  --accent-cyan: #38bdf8;
  --accent-cyan-glow: #0ea5e9;
  --accent-magenta: #e879f9;
  --accent-indigo: #6366f1;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  /* Sleek Gradients */
  --gradient-cosmic: linear-gradient(135deg, #8b5cf6 0%, #38bdf8 100%);
  --gradient-purple-magenta: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
  --gradient-card: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%);
  --gradient-accent: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(56, 189, 248, 0.1) 100%);

  /* High-Contrast Readable Typography */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #38bdf8;

  /* Typography Scales */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Compact Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(139, 92, 246, 0.25);
  --shadow-glow-cyan: 0 0 25px rgba(56, 189, 248, 0.2);

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* Compact Radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 9999px;
}

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

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

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

/* Subtle Ambient Glows */
.ambient-glow-1 {
  position: fixed;
  top: -120px;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.ambient-glow-2 {
  position: fixed;
  top: 350px;
  right: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1), transparent 70%);
  filter: blur(90px);
  z-index: -1;
  pointer-events: none;
}

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

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

a:hover {
  color: #7dd3fc;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   NAVIGATION BAR (Compact 60px)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(9, 13, 22, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
  background: rgba(9, 13, 22, 0.96);
  border-bottom: 1px solid var(--border-medium);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

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

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

.brand-logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
}

.brand-logo .brand-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple-light);
  border: 1px solid rgba(139, 92, 246, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-purple);
  border-radius: 2px;
}

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.3rem;
  cursor: pointer;
}

/* ==========================================================================
   BUTTONS & CTAs (Refined & Compact)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  border: 1px solid transparent;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-cosmic);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.55);
  color: #ffffff;
}

.btn-windows {
  background: linear-gradient(135deg, #0078d4 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 120, 212, 0.3);
}

.btn-windows:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 120, 212, 0.5);
  color: #ffffff;
}

.btn-linux {
  background: linear-gradient(135deg, #7c3aed 0%, #e11d48 100%);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
}

.btn-linux:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.5);
  color: #ffffff;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 12px 24px;
  font-size: 0.95rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* ==========================================================================
   HERO SECTION (High-Density 2-Column Layout)
   ========================================================================== */
.hero {
  padding-top: 84px;
  padding-bottom: 36px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.hero-left {
  text-align: left;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-purple-light);
  margin-bottom: 14px;
}

.hero-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  line-height: 1.16;
  color: #ffffff;
}

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

.hero-subtitle {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
  max-width: 530px;
}

/* Direct Action Download Buttons */
.hero-cta-box {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-download-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  text-align: left;
  transition: all var(--transition-normal);
  color: #ffffff;
  min-width: 220px;
}

.hero-download-btn:hover {
  border-color: var(--accent-cyan);
  background: rgba(30, 41, 59, 0.95);
  box-shadow: var(--shadow-glow-cyan);
  transform: translateY(-2px);
  color: #ffffff;
}

.hero-download-btn.linux-btn:hover {
  border-color: var(--accent-purple-light);
  box-shadow: var(--shadow-glow);
}

.hero-download-btn .btn-icon-box {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-download-btn .btn-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-download-btn .btn-subtext {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero-download-btn:hover .btn-subtext {
  color: var(--accent-cyan);
}

.hero-download-btn.linux-btn:hover .btn-subtext {
  color: var(--accent-purple-light);
}

/* Quick Feature Badges Row */
.hero-badges-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.hero-badge-item svg, .hero-badge-item span.icon {
  color: var(--accent-cyan);
}

/* ==========================================================================
   APP SHOWCASE MOCKUP (Compact Dark Theme)
   ========================================================================== */
.hero-right {
  position: relative;
}

.showcase-window {
  background: #0d1322;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(139, 92, 246, 0.15);
  overflow: hidden;
  text-align: left;
}

.window-header {
  background: #090d18;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.win-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.win-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.win-dot.red { background: #ef4444; }
.win-dot.yellow { background: #f59e0b; }
.win-dot.green { background: #10b981; }

.window-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 290px;
  max-height: 330px;
  background: #0d1322;
  position: relative;
}

.pane-editor {
  padding: 12px 14px;
  border-right: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.45;
  color: #e2e8f0;
  overflow-x: hidden;
  background: #0a0f1d;
  position: relative;
}

.code-line {
  display: flex;
  gap: 10px;
  white-space: nowrap;
}

.line-num {
  color: #475569;
  user-select: none;
  min-width: 18px;
  text-align: right;
  font-size: 0.72rem;
}

.tex-cmd { color: #c084fc; font-weight: 600; }
.tex-brace { color: #f472b6; }
.tex-arg { color: #38bdf8; }
.tex-math { color: #34d399; }
.tex-comment { color: #64748b; font-style: italic; }

/* Interactive Simulation Hover Tooltip */
.code-tooltip-demo {
  position: absolute;
  top: 145px;
  left: 30px;
  background: #1e293b;
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), var(--shadow-glow-cyan);
  font-family: var(--font-sans);
  z-index: 10;
  animation: floatTooltip 4s ease-in-out infinite;
}

@keyframes floatTooltip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.tooltip-header {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tooltip-rendered {
  font-family: 'Times New Roman', serif;
  font-size: 0.95rem;
  color: #f8fafc;
  font-style: italic;
  font-weight: 600;
}

.pane-preview {
  padding: 14px;
  background: #0f172a;
  overflow-y: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-paper {
  width: 100%;
  max-width: 280px;
  background: #ffffff;
  color: #0f172a;
  padding: 16px 14px;
  border-radius: 4px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.5);
  font-family: 'Times New Roman', serif;
  transform: scale(0.96);
}

.paper-title {
  font-size: 0.92rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2px;
  color: #0f172a;
  line-height: 1.2;
}

.paper-author {
  font-size: 0.65rem;
  text-align: center;
  color: #475569;
  margin-bottom: 8px;
}

.paper-abstract {
  font-size: 0.62rem;
  text-align: justify;
  margin-bottom: 8px;
  padding: 0 4px;
  font-style: italic;
  line-height: 1.35;
  color: #334155;
}

.paper-section {
  font-size: 0.68rem;
  font-weight: bold;
  margin: 6px 0 3px;
  border-bottom: 1px solid #cbd5e1;
  padding-bottom: 1px;
  color: #0f172a;
}

.paper-math-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px 6px;
  border-radius: 3px;
  text-align: center;
  font-size: 0.75rem;
  margin: 6px 0;
  color: #4338ca;
  font-weight: bold;
}

/* ==========================================================================
   SPECS & ENGINE STRIP (Below Hero)
   ========================================================================== */
.specs-strip {
  background: rgba(15, 23, 42, 0.6);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
  margin-top: 10px;
}

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

.specs-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.specs-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.spec-chip {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}

.spec-chip.active {
  color: var(--accent-cyan);
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.08);
}

/* ==========================================================================
   FEATURES SECTION (Compact High-Density Grid)
   ========================================================================== */
.section {
  padding: 50px 0;
  position: relative;
}

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

.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  display: block;
}

.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  margin-bottom: 10px;
  color: #ffffff;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

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

@media (max-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-cosmic);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-3px);
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}

.feature-title {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #ffffff;
  font-weight: 700;
}

.feature-text {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ==========================================================================
   COMPARISON & BENEFIT STRIP
   ========================================================================== */
.comparison-wrapper {
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 32px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

.comparison-col {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.comparison-col.highlight {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.04);
  box-shadow: var(--shadow-glow-cyan);
}

.comparison-header {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comparison-list {
  list-style: none;
  font-size: 0.85rem;
}

.comparison-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.comparison-list li strong {
  color: #ffffff;
}

.comparison-list li .check-icon {
  color: #10b981;
  font-weight: bold;
}

.comparison-list li .cross-icon {
  color: #ef4444;
}

/* ==========================================================================
   DOWNLOAD HUB & DISTRO GRID (Compact)
   ========================================================================== */
.distro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.distro-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.distro-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.distro-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.distro-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.distro-meta .distro-name {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.distro-meta .distro-badge {
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple-light);
  font-weight: 600;
}

.terminal-box {
  background: #090d18;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0;
  gap: 10px;
}

.terminal-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #7dd3fc;
  white-space: nowrap;
  overflow-x: auto;
}

.btn-copy {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #e2e8f0;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.btn-copy.copied {
  background: rgba(16, 185, 129, 0.25);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.5);
}

/* ==========================================================================
   CALL TO ACTION & FOOTER (Compact)
   ========================================================================== */
.cta-section {
  background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.08) 100%);
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  text-align: center;
}

.footer {
  background: #060911;
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 20px;
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 30px;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  margin-top: 10px;
  max-width: 300px;
  color: var(--text-muted);
  line-height: 1.45;
}

.footer-col h4 {
  font-size: 0.82rem;
  color: #ffffff;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 7px;
}

.footer-col a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

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

/* Responsive Adjustments */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-left {
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-box {
    justify-content: center;
  }
  .hero-badges-strip {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #0d1322;
    flex-direction: column;
    padding: 18px;
    border-bottom: 1px solid var(--border-medium);
    box-shadow: var(--shadow-md);
    gap: 14px;
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
}
