/* ==========================================================================
   MEADOW UI - OFFICIAL PRODUCT DESIGN SYSTEM & WEB PORTAL
   Linear / Raycast / Apple Style Clean Modern Aesthetic
   ========================================================================== */

:root {
  --bg-page: #080b0f;
  --bg-card: #0e131b;
  --bg-card-hover: #131924;
  --bg-surface: #171e2c;
  
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --border-focus: #10b981;
  
  --primary: #10b981;
  --primary-hover: #059669;
  --primary-light: #34d399;
  --primary-subtle: rgba(16, 185, 129, 0.1);
  --primary-glow: rgba(16, 185, 129, 0.25);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 9999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 11, 15, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
}

.nav-wrapper {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-img-sm {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-item:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

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

.btn-ghost {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.15s ease;
}

.btn-ghost:hover {
  color: var(--text-primary);
}

.btn-primary-sm {
  background: var(--text-primary);
  color: #080b0f;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.btn-primary-sm:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* User Menu */
.user-profile-menu {
  display: flex;
  align-items: center;
}

.user-profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 12px 4px 5px;
  color: var(--text-primary);
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.user-profile-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
}

.avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #041c10;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.username {
  font-size: 13px;
  font-weight: 600;
}

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

/* ==========================================================================
   HERO SECTION
   ========================================================================= */
.hero-section {
  position: relative;
  padding: 100px 0 70px 0;
  text-align: center;
}

.hero-bg-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 380px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, rgba(8, 11, 15, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
}

.announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  color: var(--primary-light);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  margin-bottom: 24px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.announcement-pill:hover {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.4);
}

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

.pill-arrow {
  opacity: 0.7;
  font-size: 11px;
}

.hero-headline {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #ffffff;
  max-width: 860px;
  margin: 0 auto 20px auto;
}

.hero-headline-highlight {
  color: var(--primary-light);
}

.hero-subline {
  font-size: 17.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 680px;
  margin: 0 auto 36px auto;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

/* Linear-style Action Buttons */
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #041c10;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 20px var(--primary-glow);
  transition: all 0.15s ease;
}

.btn-cta-primary:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
}

.btn-cta-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.trust-dot {
  opacity: 0.4;
}

/* ==========================================================================
   OVERVIEW SECTION
   ========================================================================== */
.overview-section {
  padding: 20px 0 60px 0;
}

.overview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}

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

.col-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-light);
  display: block;
  margin-bottom: 8px;
}

.col-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.col-text {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   SANDBOX SECTION
   ========================================================================= */
.sandbox-section {
  padding: 40px 0 80px 0;
}

.window-frame {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.window-header {
  height: 44px;
  background: rgba(10, 14, 20, 0.95);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.window-controls {
  display: flex;
  gap: 7px;
}

.wc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.wc-red { background: #ef4444; }
.wc-yellow { background: #f59e0b; }
.wc-green { background: #10b981; }

.window-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.wc-logo {
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

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

.btn-wc {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

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

.btn-wc.primary {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--primary-light);
  font-weight: 600;
}

.window-body {
  width: 100%;
  height: 640px;
  background: #000;
}

.window-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   FEATURES BENTO GRID
   ========================================================================= */
.features-section {
  padding: 60px 0 100px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-badge {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-light);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 15.5px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

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

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.bento-wide {
  grid-column: span 3;
}

@media (min-width: 800px) {
  .bento-card.bento-wide:first-child { grid-column: span 2; }
  .bento-card.bento-wide:nth-child(2) { grid-column: span 1; }
}

.bento-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  margin-bottom: 12px;
}

.bento-icon-box {
  color: var(--primary-light);
  margin-bottom: 14px;
}

.bento-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.bento-text {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Demos inside Bento */
.bento-demo {
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
}

.search-bar-mock {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.search-text {
  color: var(--text-primary);
  flex: 1;
}

.search-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--primary-subtle);
  color: var(--primary-light);
}

.search-result-mock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
}

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

.red-sq {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #e11d48;
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sr-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.sr-desc {
  font-size: 11px;
  color: var(--text-muted);
}

.sr-kbd {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
}

.ws-demo {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ws-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  font-size: 12.5px;
}

.ws-item.active {
  background: var(--primary-subtle);
  border-color: rgba(16, 185, 129, 0.3);
}

.ws-item-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  margin-right: 6px;
}

.ws-item-dot.gray {
  background: var(--text-muted);
}

.ws-item-name {
  color: var(--text-primary);
  font-weight: 500;
  flex: 1;
}

.ws-item-tag {
  font-size: 10.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   ARCHITECTURE SECTION
   ========================================================================= */
.architecture-section {
  padding: 60px 0;
}

.arch-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.arch-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.arch-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.arch-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.arch-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-primary);
}

.ab-check {
  color: var(--primary-light);
  font-weight: 700;
}

.arch-code-view {
  background: #05070a;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.code-top {
  height: 32px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-size: 11px;
  color: var(--text-muted);
}

.code-block {
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: auto;
}

/* ==========================================================================
   DOWNLOAD SECTION
   ========================================================================= */
.download-section {
  padding: 80px 0 120px 0;
}

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

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.download-card.featured {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 12px 36px rgba(16, 185, 129, 0.08);
}

.dc-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #041c10;
}

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

.dc-ver {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.dc-text {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
  flex: 1;
}

.btn-download {
  display: block;
  text-align: center;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-download.primary {
  background: var(--primary);
  color: #041c10;
}

.btn-download.primary:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-download.secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

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

.dc-footer {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

/* ==========================================================================
   MODALS & ACCOUNT DRAWER
   ========================================================================= */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  width: 100%;
  max-width: 400px;
  background: #0f1520;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-logo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.modal-brand h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

.modal-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.input-group {
  margin-bottom: 14px;
}

.input-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.label-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-link {
  color: var(--primary-light);
  font-size: 11.5px;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.text-input {
  width: 100%;
  padding: 10px 12px;
  background: #06090e;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.15s ease;
}

.text-input:focus {
  border-color: var(--primary);
}

.code-input {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 20px;
  letter-spacing: 6px;
  font-weight: 700;
  color: var(--primary-light);
}

.btn-submit {
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #041c10;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  margin-top: 6px;
  transition: opacity 0.15s ease;
}

.btn-submit:hover {
  opacity: 0.9;
}

.modal-footer-switch {
  margin-top: 16px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
}

.modal-footer-switch a {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 500;
}

.alert-error {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  font-size: 12px;
  margin-bottom: 12px;
}

.alert-success {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--primary-light);
  font-size: 12px;
  margin-bottom: 12px;
}

/* Account Drawer */
.account-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: #0c1017;
  border-left: 1px solid var(--border-hover);
  z-index: 210;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.8);
}

.drawer-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #041c10;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.drawer-email {
  font-size: 12px;
  color: var(--text-muted);
}

.drawer-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
}

.drawer-content {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}

.drawer-card {
  background: #070a0e;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

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

.dc-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.dc-val, .dc-sub {
  font-size: 11.5px;
  color: var(--text-muted);
}

.tag-badge {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}
.tag-badge.green { background: rgba(16, 185, 129, 0.15); color: var(--primary-light); }

.drawer-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 20px 0 8px 0;
}

.btn-ghost-sm {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-danger-sm {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
  font-family: inherit;
  font-size: 12px;
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.full-width {
  width: 100%;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.web-toast {
  background: #0f1520;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px 0;
  background: #05070a;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin: 10px 0 16px 0;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-nav-cluster {
  display: flex;
  gap: 60px;
}

.f-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.f-col h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.f-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s ease;
}

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

/* Responsive */
@media (max-width: 800px) {
  .hero-headline { font-size: 38px; }
  .bento-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .arch-card { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .footer-container { flex-direction: column; }
}
