/* ==========================================
   L'AMIGO - PREMIUM SLEEK THEME
   Minimal • Glassmorphism • Elegant
   ========================================== */

:root {
  --primary: #FFA116;
  --primary-glow: rgba(255, 161, 22, 0.4);
  --white: #ffffff;
  --text-main: #f5f5f7;
  --text-muted: #a1a1a6;

  --bg-overlay: rgba(0, 0, 0, 0.6);
  --glass-surface: rgba(22, 22, 23, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);

  --easy: #00b8a3;
  --medium: #ffc01e;
  --hard: #ff375f;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-pill: 9999px;
  --radius-card: 24px;
  --radius-sm: 12px;

  --container-width: 1100px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.premium-card.link-card {
  text-decoration: none;
  text-align: left;
}

.footer-desc {
  color: #666;
  font-size: 13px;
  max-width: 300px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #000;
  background-image: url('bg3.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Dark overlay to ensure text readability on background image */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-overlay);
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

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

a:hover {
  color: var(--primary);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  background: var(--glass-surface);
  padding: 8px 32px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--white);
}

.btn-cta {
  background: var(--white);
  color: #000;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  color: #000;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  cursor: pointer;
}

/* Responsive Utilities */
.mobile-only {
  display: none !important;
}

.desktop-only {
  display: inline-flex !important;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero.main-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('bg1.jpg');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-layout {
  display: block;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-box {
  display: inline-block;
  background: rgba(255, 161, 22, 0.15);
  color: var(--primary);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  margin-bottom: 32px;
  border: 1px solid rgba(255, 161, 22, 0.3);
}

.hero-title {
  font-size: 72px;
  margin-bottom: 24px;
  /* Premium gradient text */
  background: linear-gradient(135deg, #ffffff 0%, #a1a1a6 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  /* Keep LeetCode Sync yellow */
  background: none;
  -webkit-text-fill-color: var(--primary);
  color: var(--primary);
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 480px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn-hero {
  height: 56px;
  padding: 0 36px;
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-hero.primary {
  background: var(--primary);
  color: #000;
  border: none;
  box-shadow: 0 8px 30px rgba(255, 161, 22, 0.3);
}

.btn-hero.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 161, 22, 0.5);
}

.btn-hero.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-hero.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-stats {
  margin-top: 64px;
  display: flex;
  gap: 64px;
  justify-content: center;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
}

.stat-item h4 {
  font-size: 32px;
  color: var(--white);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Flat / Sleek Mockup */
.mockup-window {
  background: #1c1c1e;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

/* Glass shine effect on the card */
.mockup-window::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.window-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  padding-left: 4px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: #FF5F56;
}

.dot.yellow {
  background: #FFBD2E;
}

.dot.green {
  background: #27C93F;
}

.mock-content {
  background: #000;
  border-radius: 16px;
  padding: 24px;
}

.profile-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.profile-info {
  display: flex;
  gap: 16px;
  align-items: center;
}

.avatar-box {
  width: 56px;
  height: 56px;
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 16px;
  /* Squircle */
  font-size: 18px;
}

.user-details h5 {
  font-size: 18px;
  color: var(--white);
}

.user-details span {
  font-size: 14px;
  color: var(--text-muted);
}

.streak-box {
  background: rgba(255, 161, 22, 0.1);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
}

.stats-row {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.stat-tag {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 8px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
}

.stat-tag.easy {
  color: var(--easy);
  background: rgba(0, 184, 163, 0.1);
}

.stat-tag.medium {
  color: var(--medium);
  background: rgba(255, 192, 30, 0.1);
}

.stat-tag.hard {
  color: var(--hard);
  background: rgba(255, 55, 95, 0.1);
}

.graph-vis {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}

.bar {
  flex: 1;
  background: var(--primary);
  border-radius: 4px;
  opacity: 0.8;
  transition: var(--transition);
}

.bar:hover {
  opacity: 1;
  transform: scaleY(1.05);
}

/* ==========================================
   FEATURES GRID (Glassmorphism Cards)
   ========================================== */
.features {
  padding: 140px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.features-bg-1 {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('bg2.jpg');
  background-size: cover;
  background-position: center;
}

.features-bg-2 {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('bg3.jpg');
  background-size: cover;
  background-position: center;
}

.section-head {
  margin-bottom: 80px;
  max-width: 600px;
  text-align: left;
}

.section-head h2 {
  font-size: 48px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, #ccc 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================
   FAQ SECTION (Interactive Accordion)
   ========================================== */
.faq-section {
  background: #ffffff;
  color: #000;
  padding: 120px 0;
}

.faq-section .section-head h2 {
  background: none;
  -webkit-text-fill-color: initial;
  color: #000;
}

.faq-section .section-head p {
  color: #666;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.faq-item:first-child {
  border-top: 1px solid #e5e5e5;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 0;
  transition: color 0.2s ease;
}

.faq-question:hover h3 {
  color: var(--primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: #111;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: background-color 0.2s ease;
}

.faq-icon::before {
  width: 14px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 14px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after {
  background-color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding-bottom: 24px;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  /* Arbitrary large height */
}

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

.feat-card {
  background: var(--glass-surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 40px 32px;
  border-radius: var(--radius-card);
  transition: var(--transition);
}

.feat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.icon-box {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 32px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feat-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--white);
}

.feat-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 100px 0 40px;
  background: #000;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 80px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  display: block;
  letter-spacing: -0.02em;
}

.footer-col h4 {
  font-size: 14px;
  margin-bottom: 24px;
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

.footer-col a {
  font-size: 15px;
  color: var(--text-muted);
}

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

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 32px;
}

.social-links a {
  color: var(--text-muted);
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.footer-btm {
  border-top: 1px solid var(--glass-border);
  padding-top: 40px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================
   DOCS STYLES (Clean / Single Column)
   ========================================== */
.docs-page {
  padding-top: 100px;
  min-height: 100vh;
  background: #000;
}

.docs-sidebar {
  display: none;
  /* Hidden as per request */
}

.docs-content {
  margin: 0 auto;
  padding: 40px 24px;
  max-width: 900px;
}

.docs-section {
  margin-bottom: 80px;
}

.docs-section h1 {
  font-size: 56px;
  margin-bottom: 32px;
  text-align: center;
}

.docs-section h2 {
  font-size: 36px;
  margin-bottom: 24px;
  color: var(--white);
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 16px;
}

.docs-section h3 {
  font-size: 24px;
  margin: 32px 0 16px;
  color: var(--primary);
}

.docs-section p,
.docs-section li {
  color: #ccc;
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.info-box,
.warning-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px;
  margin: 40px 0;
}

.info-box {
  border-left: 4px solid var(--primary);
}

.warning-box {
  border-left: 4px solid var(--hard);
}

.doc-img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  margin: 32px 0;
  transition: transform 0.3s;
}

.doc-img:hover {
  transform: scale(1.01);
}

.docs-title {
  margin-bottom: 24px;
}

.docs-hero-desc {
  font-size: 20px;
  max-width: 600px;
  margin: 0 auto 48px;
  color: var(--text-muted);
}

.section-title-wrap {
  margin-bottom: 40px;
}

.section-accent {
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 16px 0 24px;
  border-radius: 2px;
}

.section-desc {
  max-width: 700px;
}

/* Enhanced docs formatting utilities */
.docs-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 28px;
  margin: 24px 0;
  transition: all 0.3s ease;
}

.docs-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 161, 22, 0.3);
}

.docs-card h4 {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-card ul,
.docs-card ol {
  margin: 12px 0 0 20px;
}

.docs-card li {
  margin-bottom: 8px;
}

.code-inline {
  background: rgba(255, 161, 22, 0.1);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  border: 1px solid rgba(255, 161, 22, 0.2);
}

.kbd {
  background: linear-gradient(180deg, #3b3b3b 0%, #2a2a2a 100%);
  border: 1px solid #555;
  border-radius: 6px;
  box-shadow: 0 2px 0 #1a1a1a, 0 2px 4px rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 4px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
  min-width: 28px;
  text-align: center;
}

.faq-grid {
  margin: 32px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.step-box {
  background: linear-gradient(135deg, rgba(255, 161, 22, 0.05) 0%, rgba(255, 161, 22, 0.02) 100%);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--primary);
  border-radius: 12px;
  padding: 24px;
  margin: 20px 0;
}

.step-box h4 {
  color: var(--primary);
  margin-top: 0;
  font-size: 17px;
}

.metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  margin: 4px;
}

.premium-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(255, 161, 22, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.premium-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 161, 22, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 161, 22, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}

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

.premium-card h4 {
  color: var(--white);
  font-size: 20px;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.premium-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.premium-card .card-icon {
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--primary);
  display: block;
  transition: transform 0.3s ease;
}

.premium-card:hover .card-icon {
  transform: scale(1.2) rotate(5deg);
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--glass-border) 50%, transparent 100%);
  margin: 64px 0;
}

/* Better h3 styling in sections */
.docs-section h3 {
  font-size: 24px;
  margin: 48px 0 24px;
  color: var(--white);
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
}

.docs-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.docs-section h4 {
  font-size: 19px;
  margin: 32px 0 16px;
  color: var(--primary);
  font-weight: 600;
}

/* List improvements */
.docs-section ul li::marker {
  color: var(--primary);
}

/* Disabled fancy numbered lists - using simple default
.docs-section ol {
  counter-reset: item;
  list-style-type: none;
  padding-left: 0;
}

.docs-section ol li {
  counter-increment: item;
  padding-left: 32px;
  position: relative;
}

.docs-section ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 2px;
  background: var(--primary);
  color: #000;
  font-weight: 700;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
*/
.gallery-item {
  margin-bottom: 80px;
  background: transparent;
  /* Clean look */
  padding: 0;
  border: none;
}


/* Mobile */
@media (max-width: 768px) {

  /* Show/hide responsive utilities */
  .mobile-only {
    display: list-item !important;
  }

  .desktop-only {
    display: none !important;
  }

  /* Overlay when menu is open */
  body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 99;
  }

  body.menu-open::after {
    opacity: 1;
    visibility: visible;
  }

  /* Navigation Mobile */
  .nav {
    padding: 16px 0;
  }

  .nav-toggle {
    display: block;
    z-index: 102;
    padding: 8px;
    position: relative;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 8px;
    border-radius: 0;
    border: none;
    border-right: 1px solid var(--glass-border);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.8);
    z-index: 101;
    overflow-y: auto;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    width: 100%;
    margin-bottom: 0;
  }

  .nav-links a {
    display: block;
    padding: 14px 16px;
    font-size: 15px;
    border-radius: 8px;
    color: var(--text-main);
    background: transparent;
    transition: all 0.2s ease;
  }

  .nav-links a:hover,
  .nav-links a:active {
    background: rgba(255, 161, 22, 0.1);
    color: var(--primary);
  }

  /* Navigation section titles */
  .nav-section-title {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 16px 16px 8px;
    margin-top: 8px;
  }

  /* Navigation dividers */
  .nav-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 12px 0;
    list-style: none;
  }

  /* Divider in mobile menu */
  .nav-links::after {
    content: '';
    display: block;
    height: 1px;
    background: var(--glass-border);
    margin: 16px 0;
  }

  .btn-cta {
    position: static;
    width: 100%;
    justify-content: center;
    margin-top: 16px;
  }

  .nav-container {
    position: relative;
  }

  .container {
    padding: 0 20px;
  }

  .hero-layout,
  .grid-3,
  .footer-content,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .hero-desc {
    font-size: 17px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 32px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero {
    width: 100%;
    justify-content: center;
  }

  .docs-page {
    flex-direction: column;
  }

  .docs-sidebar {
    width: 100%;
    height: auto;
    position: static;
    border-right: none;
    margin-bottom: 40px;
  }

  .docs-content {
    padding: 0 20px;
  }

  .docs-section h1 {
    font-size: 40px;
  }

  .docs-section h2 {
    font-size: 28px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feat-card {
    padding: 32px 24px;
  }

  .mockup-window {
    padding: 16px;
  }

  .mock-content {
    padding: 16px;
  }
}

/* ==========================================
   LEGAL PAGES (Privacy / Terms)
   ========================================== */
.legal-page {
  padding: 160px 0 100px;
  position: relative;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(22, 22, 23, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 60px;
}

.legal-content h1 {
  font-size: 42px;
  margin-bottom: 24px;
  text-align: center;
  color: var(--white);
}

.legal-content h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--white);
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 8px;
}

.legal-content h3 {
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--primary);
}

.legal-content p,
.legal-content li {
  color: #ccc;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  margin-left: 20px;
  margin-bottom: 24px;
}

.legal-content strong {
  color: var(--white);
}

.legal-content code {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--primary);
}

/* Legal Page Responsiveness */
@media (max-width: 768px) {
  .legal-page {
    padding: 120px 20px 60px;
  }

  .legal-content {
    padding: 32px 24px;
    border-radius: 16px;
  }

  .legal-content h1 {
    font-size: 32px;
  }

  .legal-content h2 {
    font-size: 20px;
    margin-top: 32px;
  }
}