/* ==========================================================================
   TeXNote (by IRSpace) — Official Showcase Stylesheet
   Designed for Sovereign, Distraction-Free Offline LaTeX Studio
   Author: Rijwan Ansari (IRSpace)
   ========================================================================== */

:root {
  /* Obsidian Dark Palette */
  --bg-primary: #080c14;
  --bg-secondary: #0d1322;
  --bg-tertiary: #111a2e;
  --bg-card: rgba(17, 26, 46, 0.72);
  --bg-card-hover: rgba(26, 39, 68, 0.85);
  
  /* Borders & Glows */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(56, 189, 248, 0.35);
  --border-glow: rgba(56, 189, 248, 0.25);
  
  /* Typography */
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* Brand Accents */
  --accent-cyan: #38bdf8;
  --accent-blue: #3b82f6;
  --accent-mint: #34d399;
  --accent-teal: #14b8a6;
  --accent-amber: #fbbf24;
  
  /* Luminous Gradients */
  --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #38bdf8 50%, #34d399 100%);
  --accent-gradient-hover: linear-gradient(135deg, #38bdf8 0%, #00f2fe 50%, #10b981 100%);
  --card-gradient: linear-gradient(180deg, rgba(30, 41, 59, 0.3) 0%, rgba(15, 23, 42, 0.4) 100%);
  --hero-glow: radial-gradient(circle at 50% 20%, rgba(56, 189, 248, 0.14) 0%, rgba(15, 23, 42, 0) 70%);

  /* Font Stacks */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  /* Transitions & Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 9999px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 100% 40%, rgba(52, 211, 153, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

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

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
header.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 12, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.9rem 0;
  transition: var(--transition);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.brand:hover {
  opacity: 0.9;
}

.brand img {
  height: 34px;
  width: auto;
  display: block;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-github-link {
  color: var(--text-secondary) !important;
}

.nav-github-link svg {
  transition: transform 0.2s ease;
}

.nav-github-link:hover svg {
  transform: rotate(8deg);
  color: #ffffff;
}

.btn-nav {
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--accent-cyan) !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}

.btn-nav:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
section.hero {
  padding: 5rem 0 3.5rem;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent-cyan);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.08);
  max-width: 95%;
  flex-wrap: wrap;
}

.badge-dot {
  color: rgba(56, 189, 248, 0.4);
  font-size: 0.9rem;
}

.hero h1.hero-title {
  font-size: clamp(1.7rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 1.35rem;
  letter-spacing: -0.03em;
  color: #ffffff;
  overflow-wrap: break-word;
  hyphens: none;
}

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

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent-gradient);
  color: #080c14;
  border: none;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.35);
}

.btn-primary:hover {
  background: var(--accent-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(56, 189, 248, 0.55);
}

.btn-secondary {
  background: var(--bg-card);
  color: #ffffff;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Showcase Preview Frame (Window Mockup)
   ========================================================================== */
.preview-container {
  max-width: 1080px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 25px 75px rgba(0, 0, 0, 0.8), 0 0 45px rgba(56, 189, 248, 0.15);
  background: #0f172a;
}

.preview-bar {
  background: #0d1424;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

.preview-url-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.preview-url-bar svg {
  color: var(--accent-mint);
}

.preview-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-mint);
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

.pulse-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 8px var(--accent-mint);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px var(--accent-mint); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.preview-media img {
  width: 100%;
  display: block;
  height: auto;
}

/* ==========================================================================
   Stats Ribbon
   ========================================================================== */
section.stats {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border-color);
  background: rgba(13, 19, 34, 0.45);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item .stat-number {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

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

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  color: var(--accent-cyan);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.65rem;
  background: rgba(56, 189, 248, 0.08);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: #ffffff;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ==========================================================================
   Features Grid
   ========================================================================== */
section.features {
  padding: 6rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.85rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(56, 189, 248, 0.1);
  background: var(--bg-card-hover);
}

.feature-card:hover::before {
  background: var(--accent-gradient);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.35rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.feature-card code {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: var(--accent-cyan);
  font-size: 0.85em;
}

/* ==========================================================================
   Download & Setup Section (Unified & Non-Repeating)
   ========================================================================== */
section.download {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.tab-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
  background: var(--accent-gradient);
  color: #080c14;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.35);
}

.tab-content {
  display: none;
  max-width: 960px;
  margin: 0 auto;
  animation: fadeIn 0.25s ease-in-out;
}

.tab-content.active {
  display: block;
}

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

/* Unified Card */
.unified-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  text-align: center;
  position: relative;
}

.unified-badge {
  display: inline-block;
  background: var(--accent-gradient);
  color: #080c14;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.35);
}

.dl-platform-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.unified-hero-action h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.unified-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
}

.dl-meta {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 0 auto 2rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  display: inline-block;
}

.dl-meta strong {
  color: var(--text-secondary);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 auto;
}

/* Steps Flow */
.unified-steps-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.steps-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.steps-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

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

.step-flow-item {
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem 1.25rem;
  border-radius: var(--radius-md);
  align-items: flex-start;
}

.step-flow-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #080c14;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-flow-item strong {
  color: #ffffff;
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}

.step-flow-item p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

.step-flow-item code {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  color: var(--accent-cyan);
  font-size: 0.82rem;
}

.unified-card-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  color: var(--text-dim);
}

.unified-card-footer a {
  color: var(--accent-cyan);
  text-decoration: underline;
}

/* Linux-specific terminal */
.terminal-wide {
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.code-terminal {
  background: #060911;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  text-align: left;
}

.terminal-header {
  background: #0c121e;
  padding: 0.65rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

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

.code-terminal pre {
  padding: 1rem 1.25rem;
  margin: 0;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.6;
  color: #e2e8f0;
}

.code-cmd {
  color: #38bdf8;
  font-weight: 600;
}

.or-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0;
  position: relative;
}

.or-divider span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  background: var(--bg-card);
  padding: 0 1rem;
}

/* Offline & Source Grid */
.offline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

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

.offline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
}

.offline-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.offline-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.offline-card .btn {
  margin-top: auto;
  width: 100%;
}

/* ==========================================================================
   Creator Spotlight
   ========================================================================== */
section.creator {
  padding: 5rem 0;
  background: rgba(13, 19, 34, 0.5);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.creator-card {
  max-width: 660px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.creator-badge {
  color: var(--accent-mint);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.65rem;
}

.creator-name {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.creator-name a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.creator-name a:hover {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.creator-company {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

.creator-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.85rem;
}

.creator-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  padding: 4.5rem 0 2.5rem;
  background: #05080e;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand img {
  height: 32px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.92rem;
  max-width: 380px;
  line-height: 1.65;
}

.footer-links-group h5 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-group a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.9rem;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-bottom a {
  color: var(--accent-cyan);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-legal {
  font-size: 0.8rem;
  color: #475569;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  section.hero {
    padding: 3.5rem 0 2rem;
  }

  .preview-bar {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .preview-url-bar {
    order: 3;
    width: 100%;
    margin-top: 0.4rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: span 1;
  }
}

.nowrap {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .hero-desktop-br {
    display: block;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .preview-status span:last-child {
    display: none;
  }

  .preview-status {
    padding: 0.3rem 0.5rem;
  }
}
