/* ==========================================================================
   TabWeaver Official Landing Page Stylesheet
   Modern Cyber-Aurora Glassmorphism Dark Theme
   ========================================================================== */

:root {
  --bg-dark: #070a13;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: #38bdf8;
  
  --primary-blue: #3b82f6;
  --primary-cyan: #38bdf8;
  --primary-emerald: #10b981;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #64748b;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Ambient Lighting */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.glow-1 {
  width: 650px;
  height: 650px;
  top: -150px;
  left: 20%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(59, 130, 246, 0.15) 70%, transparent 100%);
}

.glow-2 {
  width: 550px;
  height: 550px;
  top: 40%;
  right: -100px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(59, 130, 246, 0.1) 70%, transparent 100%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   Header & Nav
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(7, 10, 19, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: var(--transition-smooth);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.version-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary-cyan);
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 7px;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

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

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

/* Language Dropdown */
.lang-dropdown-wrapper {
  position: relative;
}

.lang-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-toggle-btn:hover {
  border-color: var(--primary-cyan);
  background: rgba(30, 41, 59, 0.95);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #0f172a;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  list-style: none;
  min-width: 130px;
  overflow: hidden;
  z-index: 150;
}

.lang-menu li {
  padding: 9px 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-menu li:hover {
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary-cyan);
}

.btn-github {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-github:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-muted);
}

.btn-install {
  background: linear-gradient(135deg, #2563eb, #0284c7);
  color: #fff;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: var(--transition-smooth);
}

.btn-install:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.55);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
}

.mobile-menu-drawer {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 160px 0 90px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  font-size: 0.86rem;
  color: var(--primary-cyan);
  font-weight: 500;
  margin-bottom: 28px;
}

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

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  max-width: 760px;
  margin: 0 auto 36px;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
  transition: var(--transition-smooth);
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.65);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.btn-cta-secondary:hover {
  background: rgba(51, 65, 85, 0.85);
  border-color: var(--primary-cyan);
}

.hero-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.tag-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.tag-item svg {
  color: var(--primary-emerald);
}

/* ==========================================================================
   Interactive Showcase Section
   ========================================================================== */
.demo-section {
  padding: 70px 0 100px;
}

.section-header {
  margin-bottom: 40px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}

.showcase-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.showcase-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.showcase-tab-btn:hover {
  color: var(--text-main);
  background: rgba(30, 41, 59, 0.9);
}

.showcase-tab-btn.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

.showcase-panel {
  display: none;
}

.showcase-panel.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

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

.video-card-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
}

.video-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(30, 41, 59, 0.85);
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #eab308; }
.window-dots span:nth-child(3) { background: #22c55e; }

.window-title {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: monospace;
}

.window-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.18);
  color: var(--primary-cyan);
}

.video-player-wrapper {
  position: relative;
  background: #000;
  width: 100%;
}

.showcase-video {
  width: 100%;
  max-height: 640px;
  display: block;
  object-fit: contain;
}

.video-card-footer {
  padding: 28px 32px;
}

.video-heading {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.video-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 24px;
}

.video-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.v-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(30, 41, 59, 0.5);
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  color: #cbd5e1;
}

.step-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-cyan);
  background: rgba(56, 189, 248, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Gallery Panel */
.gallery-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 32px;
}

.gallery-header {
  margin-bottom: 24px;
}

.gallery-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.gallery-header p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.gallery-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-cyan);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}

.thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-card:hover .thumb-wrap img {
  transform: scale(1.04);
}

.card-caption {
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
}

/* ==========================================================================
   Platforms Section
   ========================================================================== */
.platforms-section {
  padding: 60px 0 90px;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.platform-badge:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: var(--primary-cyan);
  transform: translateY(-2px);
}

.platform-name {
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
  padding: 70px 0 100px;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 32px 28px;
  border-radius: 18px;
  transition: var(--transition-smooth);
  backdrop-filter: blur(12px);
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-cyan { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.icon-blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.icon-teal { background: rgba(45, 212, 191, 0.15); color: #2dd4bf; }
.icon-purple { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.icon-emerald { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.icon-amber { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.how-section {
  padding: 70px 0 100px;
}

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

.step-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 28px 22px;
  border-radius: 16px;
  min-height: 220px;
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.step-card:hover {
  border-color: var(--primary-cyan);
  transform: translateY(-3px);
}

.step-badge {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-cyan);
  background: rgba(56, 189, 248, 0.12);
  padding: 4px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.step-arrow {
  color: var(--text-dark);
  font-size: 1.5rem;
  font-weight: 800;
}

/* ==========================================================================
   Security Section
   ========================================================================== */
.security-section {
  padding: 80px 0 100px;
}

.sec-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--primary-emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.sec-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 32px;
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.sec-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-3px);
}

.sec-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.sec-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 60px 0 100px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

.faq-icon {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 250px;
  padding-bottom: 20px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--primary-cyan);
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   Bottom CTA Banner
   ========================================================================== */
.cta-banner-section {
  padding: 60px 0 90px;
}

.cta-banner-box {
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.2) 0%, rgba(15, 23, 42, 0.9) 70%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 24px;
  padding: 60px 32px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.cta-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(7, 10, 19, 0.95);
  padding: 60px 0 30px;
}

.footer-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 320px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition-smooth);
}

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

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  color: var(--text-dark);
  font-size: 0.82rem;
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.lightbox-modal[hidden] {
  display: none !important;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  z-index: 210;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border-subtle);
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .platforms-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-container { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); margin: 6px 0; }
  .security-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .nav-links, .btn-github, .btn-install { display: none; }
  .mobile-toggle { display: flex; }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .footer-container { flex-direction: column; }

  .mobile-menu-drawer.open {
    display: block;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #070a13;
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px 24px;
    z-index: 99;
  }
  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .mobile-nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.05rem;
  }
}
