/**
 * Untrivo Visual Identity System & Tech Minimalist Styling
 * Brand Colors: Mint Teal (#27D5AC), Deep Navy Charcoal (#0B0F14 / #12171E), High Contrast Clean
 */

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

  /* Untrivo Brand Identity Colors */
  --brand: #27D5AC;
  --brand-hover: #22BE9A;
  --brand-active: #1CA484;
  --brand-light: #E6F9F4;
  --brand-glow: rgba(39, 213, 172, 0.28);
  --brand-glow-strong: rgba(39, 213, 172, 0.5);

  /* Dark Theme (Default) */
  --bg-body: #0B0F14;
  --bg-surface: #12171E;
  --bg-card: rgba(18, 23, 30, 0.75);
  --bg-card-hover: rgba(24, 32, 42, 0.9);
  --bg-card-solid: #151C25;
  --border-subtle: #1F2A37;
  --border-card: rgba(255, 255, 255, 0.08);
  --border-active: rgba(39, 213, 172, 0.45);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #0B0F14;

  --accent-amber: #FBBF24;
  --accent-red: #EF4444;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --shadow-glow: 0 0 25px var(--brand-glow);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 1px 1px var(--border-card);
}

/* Light Mode Overrides */
body.theme-light {
  --bg-body: #F4F6F8;
  --bg-surface: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #FFFFFF;
  --bg-card-solid: #FFFFFF;
  --border-subtle: #E2E8F0;
  --border-card: rgba(0, 0, 0, 0.08);
  --border-active: rgba(39, 213, 172, 0.6);

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-inverse: #FFFFFF;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.06), 0 0 1px 1px var(--border-card);
}

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

/* Custom Brand Selection (Mint Teal #27D5AC) */
::selection {
  background-color: #27D5AC !important;
  color: #0B0F14 !important;
}

::-moz-selection {
  background-color: #27D5AC !important;
  color: #0B0F14 !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
}

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

.glow-1 {
  top: -150px;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--brand) 0%, transparent 70%);
}

.glow-2 {
  top: 40%;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #0F766E 0%, transparent 70%);
}

.glow-3 {
  bottom: 10%;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--brand) 0%, transparent 70%);
}

body.theme-light .ambient-glow {
  opacity: 0.07;
  filter: blur(140px);
}

body.theme-light .glow-2 {
  background: radial-gradient(circle, #27D5AC 0%, transparent 70%);
}

/* Tech Grid Pattern */
.tech-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1100px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

body.theme-light .tech-grid-bg {
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

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

/* Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(11, 15, 20, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
  width: 100%;
}

body.theme-light .site-header {
  background: rgba(244, 246, 248, 0.9);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
  position: relative;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  white-space: nowrap;
  padding: 6px 4px;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Theme Toggle Button - Modern Icon Button */
.btn-theme-toggle {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-theme-toggle .theme-label {
  display: none;
}

.btn-theme-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.btn-primary {
  background: var(--brand);
  color: #0E161D;
  box-shadow: 0 4px 20px var(--brand-glow);
}

.btn-primary:hover {
  background: var(--brand-hover);
  box-shadow: 0 6px 26px var(--brand-glow-strong);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  background: var(--brand-active);
}

.btn-secondary {
  background: var(--bg-card-solid);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

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

.btn-outline-mint {
  background: rgba(39, 213, 172, 0.08);
  color: var(--brand);
  border: 1px solid var(--border-active);
}

.btn-outline-mint:hover {
  background: var(--brand);
  color: #0E161D;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Hero Section */
.hero-section {
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(39, 213, 172, 0.1);
  border: 1px solid rgba(39, 213, 172, 0.35);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 rgba(39, 213, 172, 0); }
  100% { box-shadow: 0 0 20px rgba(39, 213, 172, 0.25); }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.gradient-text, .hero-title .gradient-text {
  background: linear-gradient(135deg, #FFFFFF 30%, var(--brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.theme-light .gradient-text, body.theme-light .hero-title .gradient-text {
  background: linear-gradient(135deg, #0F172A 20%, #0D9488 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 740px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

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

.hero-primary-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 24px);
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Interactive App Mockup Showcase */
.app-mockup-wrapper {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}

.app-mockup-card {
  background: #12171E;
  border: 1px solid rgba(39, 213, 172, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 50px rgba(39, 213, 172, 0.12);
  overflow: hidden;
  text-align: left;
}

body.theme-light .app-mockup-card {
  background: #FFFFFF;
  border-color: rgba(39, 213, 172, 0.45);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.15), 0 0 50px rgba(39, 213, 172, 0.08);
}

/* Mockup Titlebar */
.mockup-header {
  background: #182029;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #202B37;
}

body.theme-light .mockup-header {
  background: #F1F5F9;
  border-color: #E2E8F0;
}

.mockup-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mockup-brand-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.mockup-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup-pill-btn {
  background: rgba(39, 213, 172, 0.12);
  color: var(--brand);
  border: 1px solid rgba(39, 213, 172, 0.4);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Mockup Section Tabs */
.mockup-tabs-bar {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #141A22;
  border-bottom: 1px solid #1F2A37;
  gap: 12px;
  flex-wrap: wrap;
}

body.theme-light .mockup-tabs-bar {
  background: #F8FAFC;
  border-color: #E2E8F0;
}

.mockup-tabs {
  display: flex;
  gap: 10px;
}

.mockup-tab-btn {
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.mockup-tab-btn.active {
  background: rgba(39, 213, 172, 0.15);
  color: var(--brand);
  border-color: var(--brand);
}

.mockup-search {
  background: #182029;
  border: 1px solid #2B3847;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: var(--text-primary);
  width: 280px;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.theme-light .mockup-search {
  background: #FFFFFF;
  border-color: #CBD5E1;
}

/* Mockup Table */
.mockup-table-container {
  overflow-x: auto;
}

.mockup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.mockup-table th {
  text-align: left;
  padding: 10px 18px;
  background: #161D26;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.78rem;
  border-bottom: 1px solid #202B37;
}

body.theme-light .mockup-table th {
  background: #F1F5F9;
  border-color: #E2E8F0;
}

.mockup-table td {
  padding: 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

body.theme-light .mockup-table td {
  border-bottom: 1px solid #F1F5F9;
}

.mockup-table tr.selected {
  background: rgba(39, 213, 172, 0.1);
}

.mockup-app-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.mockup-app-icon {
  width: 22px;
  height: 22px;
  border-radius: 4px;
}

/* Interactive Floating HUD Gadget (Inside Mockup) */
.mockup-floating-hud {
  position: absolute;
  top: -24px;
  right: 40px;
  background: rgba(18, 23, 30, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px var(--brand-glow);
  z-index: 10;
  cursor: grab;
  user-select: none;
}

.hud-pill-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.5px;
}

.hud-pct-text {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--brand);
}

.hud-mini-bar {
  width: 44px;
  height: 5px;
  background: #1E2833;
  border-radius: 3px;
  overflow: hidden;
}

body.theme-light .mockup-floating-hud {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 0 20px rgba(39, 213, 172, 0.2);
}

body.theme-light .hud-mini-bar {
  background: #E2E8F0;
}

.hud-mini-fill {
  width: 38%;
  height: 100%;
  background: var(--brand);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.hud-clean-btn {
  background: var(--brand);
  color: #0E161D;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.hud-clean-btn:hover {
  transform: scale(1.1);
}

/* Section Headings */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 55px;
}

.section-tag {
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

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

/* Bento Grid Features */
.features-section {
  padding: 100px 0;
  position: relative;
}

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

.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 30px rgba(39, 213, 172, 0.08);
}

.bento-card.col-8 { grid-column: span 8; }
.bento-card.col-4 { grid-column: span 4; }
.bento-card.col-6 { grid-column: span 6; }
.bento-card.col-12 { grid-column: span 12; }

.bento-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: rgba(39, 213, 172, 0.1);
  border: 1px solid rgba(39, 213, 172, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-bottom: 22px;
}

.bento-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.bento-desc {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.bento-highlight {
  font-size: 0.85rem;
  color: var(--brand);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

/* Feature Interactive Visual Elements */
.visual-residual-scan {
  background: #0E131A;
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #94A3B8;
  border: 1px solid #1E2833;
  margin-top: 15px;
}

.visual-residual-scan .found {
  color: var(--brand);
  font-weight: 700;
}

.visual-residual-scan .clean {
  color: #38BDF8;
}

body.theme-light .visual-residual-scan {
  background: #F8FAFC;
  border-color: #E2E8F0;
  color: #334155;
}

/* Comparison Table Section */
.comparison-section {
  padding: 90px 0;
  background: rgba(18, 23, 30, 0.4);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

body.theme-light .comparison-section {
  background: rgba(241, 245, 249, 0.6);
  border-color: #E2E8F0;
}

.comparison-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  background: #141A22;
}

body.theme-light .comparison-table th {
  background: #F1F5F9;
}

.comparison-table th.col-untrivo {
  color: var(--brand);
  background: rgba(39, 213, 172, 0.1);
  border-bottom: 2px solid var(--brand);
}

.comparison-table td.col-untrivo {
  background: rgba(39, 213, 172, 0.03);
  font-weight: 600;
}

.check-icon {
  color: var(--brand);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cross-icon {
  color: #64748B;
}

/* SEO Optimization Hub / Tips Section */
.tips-preview-section {
  padding: 100px 0;
}

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

.tip-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.tip-card:hover {
  border-color: var(--border-active);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), 0 0 25px rgba(39, 213, 172, 0.12);
}

.tip-category {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.tip-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
}

.tip-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.tip-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.tip-read-more {
  color: var(--brand);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* CTA Download Banner */
.cta-banner {
  margin: 60px 0 100px;
  background: radial-gradient(ellipse at 50% 0%, rgba(39, 213, 172, 0.22) 0%, rgba(18, 23, 30, 0.95) 75%);
  border: 1.5px solid var(--border-active);
  border-radius: var(--radius-xl);
  padding: 70px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

body.theme-light .cta-banner {
  background: radial-gradient(ellipse at 50% 0%, rgba(39, 213, 172, 0.16) 0%, #FFFFFF 85%);
  border-color: rgba(39, 213, 172, 0.45);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.07), 0 0 30px rgba(39, 213, 172, 0.12);
}

.cta-banner-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-banner-desc {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 36px;
}

/* Footer */
.site-footer {
  background: #080B0F;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 35px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

body.theme-light .site-footer {
  background: #ECEFF2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 320px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-col-title {
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--brand);
}

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

/* Responsive adjustments */
@media (max-width: 1080px) {
  .nav-links {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  .bento-card.col-8, .bento-card.col-4, .bento-card.col-6 {
    grid-column: span 12;
  }
  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mockup-floating-hud {
    position: static;
    margin: 15px auto;
    width: fit-content;
  }
}

@media (max-width: 900px) {
  .site-header .btn-primary {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .tips-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-section {
    padding: clamp(50px, 8vw, 70px) 0 35px;
  }
  .cta-banner {
    padding: 40px 20px;
  }
  .mockup-tagline {
    display: none;
  }
}

@media (max-width: 600px) {
  .nav-wrap {
    min-height: 60px;
    gap: 8px;
  }
  .brand-logo {
    height: 26px;
  }
  .lang-btn {
    padding: 3px 6px;
    font-size: 0.7rem;
  }
  .btn-theme-toggle, .mobile-menu-toggle {
    width: 32px;
    height: 32px;
  }
}

/* ==========================================================================
   FAQ Section Styles
   ========================================================================== */
.faq-section {
  padding: 90px 0;
  position: relative;
}

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

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
  border-color: rgba(39, 213, 172, 0.35);
}

.faq-item.active {
  border-color: var(--border-active);
  background: var(--bg-card-hover);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.4), 0 0 20px rgba(39, 213, 172, 0.08);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(39, 213, 172, 0.1);
  border: 1px solid rgba(39, 213, 172, 0.3);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  background: var(--brand);
  color: #0E161D;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 26px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding: 0 26px 24px;
}

/* ==========================================================================
   SEO Hub & Article / Guide Styles
   ========================================================================== */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--brand);
}

.breadcrumbs .separator {
  color: var(--text-muted);
  display: inline-flex;
}

.breadcrumbs .current {
  color: var(--brand);
  font-weight: 600;
}

/* Tips Filter Tabs in Hub */
.tips-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.tips-filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tips-filter-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.tips-filter-btn.active {
  background: rgba(39, 213, 172, 0.15);
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 0 15px rgba(39, 213, 172, 0.2);
}

/* Article Layout */
.article-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

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

.article-content {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 45px 50px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 600px) {
  .article-content {
    padding: 28px 20px;
  }
}

.article-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-header h1 {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.86rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-body h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 40px 0 18px;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-body h2::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 24px;
  background: var(--brand);
  border-radius: 4px;
}

.article-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 28px 0 14px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-body strong {
  color: var(--text-primary);
}

/* Callouts & Tech Panels in Articles */
.callout-box {
  background: rgba(18, 23, 30, 0.85);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 0.96rem;
}

body.theme-light .callout-box {
  background: #F1F5F9;
}

.callout-box.danger {
  border-left-color: var(--accent-red);
}

.callout-box.warning {
  border-left-color: var(--accent-amber);
}

.callout-title {
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.terminal-box {
  background: #090D12;
  border: 1px solid #1E2833;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: #38BDF8;
  margin: 24px 0;
  overflow-x: auto;
}

.terminal-box .prompt {
  color: var(--brand);
  user-select: none;
  margin-right: 8px;
}

/* Article Sidebar */
.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 26px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sidebar-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toc-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.4;
  display: block;
  transition: all 0.2s;
  padding-left: 12px;
  border-left: 2px solid transparent;
}

.toc-list a:hover, .toc-list a.active {
  color: var(--brand);
  border-left-color: var(--brand);
  padding-left: 16px;
  font-weight: 600;
}

.sidebar-cta {
  background: radial-gradient(circle at 50% 0%, rgba(39, 213, 172, 0.18) 0%, rgba(18, 23, 30, 0.9) 70%);
  border: 1px solid var(--border-active);
  text-align: center;
}

body.theme-light .sidebar-cta {
  background: radial-gradient(circle at 50% 0%, rgba(39, 213, 172, 0.15) 0%, #FFFFFF 85%);
  border-color: rgba(39, 213, 172, 0.45);
}

.sidebar-cta img {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
}

.sidebar-cta h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.sidebar-cta p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Mobile Nav Drawer */
.mobile-menu-toggle {
  display: none;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  width: 36px;
  height: 36px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-body);
  z-index: 99;
  padding: 24px;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid var(--border-subtle);
  backdrop-filter: blur(20px);
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-drawer a {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-card);
}

.mobile-nav-drawer a:hover {
  color: var(--brand);
}

/* Mockup Helpers & Gadget Toast */
.mockup-app-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(39, 213, 172, 0.12);
  border: 1px solid rgba(39, 213, 172, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-status-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  font-family: var(--font-mono);
}

body.theme-light .badge-status-tag {
  background: #F1F5F9;
  border-color: #E2E8F0;
}

.mockup-action-btn {
  background: rgba(239, 68, 68, 0.1);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}

.mockup-action-btn:hover {
  background: #EF4444;
  color: #FFFFFF;
  border-color: #EF4444;
}

body.theme-light .mockup-action-btn {
  background: rgba(239, 68, 68, 0.08);
  color: #DC2626;
  border-color: rgba(239, 68, 68, 0.2);
}

body.theme-light .mockup-action-btn:hover {
  background: #DC2626;
  color: #FFFFFF;
  border-color: #DC2626;
}

.gadget-toast {
  position: absolute;
  top: 36px;
  right: 40px;
  background: rgba(18, 23, 30, 0.95);
  border: 1px solid var(--border-active);
  backdrop-filter: blur(12px);
  color: var(--brand);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 20;
}

body.theme-light .gadget-toast {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-color: var(--brand);
}

.gadget-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Live Social Proof & Credibility Counters
   ========================================================================== */
.live-stats-bar {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  max-width: 1080px !important;
  margin: 0 auto 55px auto !important;
  text-align: left !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 992px) {
  .live-stats-bar {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 580px) {
  .live-stats-bar {
    grid-template-columns: 1fr !important;
    margin-bottom: 40px !important;
  }
}

.stat-card {
  background: #12171E !important;
  background: var(--bg-card) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 22px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  text-align: left !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.stat-card:hover {
  border-color: var(--border-active) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(39, 213, 172, 0.1) !important;
}

.stat-card.live-highlight {
  border-color: rgba(39, 213, 172, 0.4) !important;
  background: radial-gradient(ellipse at 50% 0%, rgba(39, 213, 172, 0.12) 0%, rgba(18, 23, 30, 0.95) 75%) !important;
}

body.theme-light .stat-card {
  background: #FFFFFF !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

body.theme-light .stat-card:hover {
  border-color: var(--border-active) !important;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.08), 0 0 20px rgba(39, 213, 172, 0.1) !important;
}

body.theme-light .stat-card.live-highlight {
  border-color: rgba(39, 213, 172, 0.45) !important;
  background: radial-gradient(ellipse at 50% 0%, rgba(39, 213, 172, 0.15) 0%, #FFFFFF 85%) !important;
}

.stat-header {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}

.stat-icon-wrap {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: rgba(39, 213, 172, 0.1) !important;
  border: 1px solid rgba(39, 213, 172, 0.25) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--brand) !important;
  flex-shrink: 0 !important;
}

.stat-icon-wrap.pulse-green {
  background: rgba(39, 213, 172, 0.18) !important;
  border-color: var(--brand) !important;
  position: relative !important;
}

.live-radar-dot {
  width: 10px !important;
  height: 10px !important;
  background: var(--brand) !important;
  border-radius: 50% !important;
  display: inline-block !important;
  box-shadow: 0 0 10px var(--brand) !important;
  animation: radar-pulse 1.8s infinite ease-out !important;
}

@keyframes radar-pulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(39, 213, 172, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(39, 213, 172, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(39, 213, 172, 0); }
}

.stat-label {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: var(--text-secondary) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.live-tag {
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  color: #0E161D !important;
  background: var(--brand) !important;
  padding: 2px 7px !important;
  border-radius: var(--radius-pill) !important;
  letter-spacing: 0.5px !important;
  margin-left: auto !important;
}

.stat-value-wrap {
  display: flex !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  width: 100% !important;
  gap: 8px !important;
  margin-bottom: 6px !important;
  position: relative !important;
}

.stat-number {
  font-family: var(--font-mono) !important;
  font-size: 2.1rem !important;
  font-weight: 900 !important;
  color: var(--text-primary) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  transition: color 0.3s ease, transform 0.2s ease !important;
}

.stat-number.active-users {
  color: var(--brand) !important;
}

.stat-number.flash {
  color: #5EEAD4 !important;
  transform: scale(1.05) !important;
}

.stat-suffix {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--text-muted) !important;
}

.stat-badge-increment {
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  color: var(--brand) !important;
  background: rgba(39, 213, 172, 0.15) !important;
  border: 1px solid var(--border-active) !important;
  padding: 2px 8px !important;
  border-radius: var(--radius-pill) !important;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.stat-badge-increment.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-subtext {
  font-size: 0.76rem !important;
  color: var(--text-muted) !important;
  display: block !important;
  text-align: left !important;
}

/* ==========================================================================
   Legal Pages (Privacy & Terms)
   ========================================================================== */
.legal-guarantee-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0 36px 0;
}

@media (max-width: 680px) {
  .legal-guarantee-grid {
    grid-template-columns: 1fr;
  }
}

.legal-guarantee-card {
  background: rgba(18, 23, 30, 0.6);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

body.theme-light .legal-guarantee-card {
  background: #F8FAFC;
  border-color: #E2E8F0;
}

.legal-guarantee-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(39, 213, 172, 0.12);
  border: 1px solid rgba(39, 213, 172, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}

.legal-guarantee-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.legal-guarantee-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0;
}

.legal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(39, 213, 172, 0.12);
  border: 1px solid rgba(39, 213, 172, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   Language Switcher & Bilingual CTAs
   ========================================================================== */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}

body.theme-light .lang-switcher {
  background: #EDF2F7;
  border-color: #CBD5E1;
}

.lang-btn {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

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

.lang-btn.active {
  background: var(--brand);
  color: #0B0F14 !important;
  box-shadow: 0 2px 8px rgba(39, 213, 172, 0.35);
}

.download-subtext-alt {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.download-subtext-alt a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s;
}

.download-subtext-alt a:hover {
  color: var(--brand);
}

/* Download Safety Modal */
.download-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 20, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.download-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.download-modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), var(--shadow-glow);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.download-modal-overlay.active .download-modal-card {
  transform: translateY(0) scale(1);
}

.download-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.download-modal-close:hover {
  background: var(--brand);
  color: #0B0F14;
  border-color: var(--brand);
}

.download-modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.download-modal-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(39, 213, 172, 0.12);
  border: 1px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}

.download-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.download-modal-subtitle {
  font-size: 0.82rem;
  color: var(--brand);
  font-weight: 600;
}

.download-modal-body {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 22px;
}

.download-step-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 12px;
}

body.theme-light .download-step-box {
  background: rgba(0, 0, 0, 0.02);
}

.download-step-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-size: 0.88rem;
}

.download-step-tag {
  background: rgba(39, 213, 172, 0.15);
  color: var(--brand);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.download-step-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
}

.download-step-desc strong {
  color: var(--text-primary);
}

.download-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.download-modal-actions .btn {
  flex: 1;
  min-width: 180px;
  justify-content: center;
  font-size: 0.88rem;
}



