/* ─────────────────────────────────────────────────────────────────────────────
   GetDORO — Premium Modern Light-Theme Design System & 3D Web Stylesheet
   Strictly Light Theme • 3D Perspective • High-Information Aesthetics
   ───────────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-subtle: #f1f5f9;
  
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border: #e2e8f0;
  --border-light: rgba(226, 232, 240, 0.7);
  --border-hover: #cbd5e1;
  
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #eef2ff;
  --secondary: #06b6d4;
  --secondary-light: #ecfeff;
  
  --accent-grad: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  --accent-grad-warm: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --card-grad: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  
  --success: #10b981;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -5px rgba(15, 23, 42, 0.08), 0 8px 16px -3px rgba(15, 23, 42, 0.04);
  --shadow-3d: 0 30px 60px -12px rgba(79, 70, 229, 0.18), 0 12px 24px -6px rgba(15, 23, 42, 0.06);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --max-w: 1240px;
  --header-h: 74px;
}

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

html {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #f1f5f9 0%, #ffffff 70%);
}

/* ───────────────────────────────────────────────────────────── Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); letter-spacing: -0.01em; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; color: var(--text-body); }
p.lead { font-size: 1.18rem; color: var(--text-muted); font-weight: 400; line-height: 1.7; }
a { color: var(--primary); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--primary-hover); }

code, pre {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 0.9em;
}

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

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

/* ───────────────────────────────────────────────────────────── 3D Background Canvas */
#three-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

/* ───────────────────────────────────────────────────────────── Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
  transition: transform 0.25s ease;
}

.brand-logo:hover img {
  transform: rotate(-6deg) scale(1.08);
}

.brand-logo span b {
  color: var(--primary);
}

.brand-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(99, 102, 241, 0.2);
  margin-left: 2px;
  white-space: nowrap;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap; /* CRITICAL: Never break navigation labels into 2 lines */
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

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

.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 700;
}

.crypto-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b, #ec4899);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  margin-left: 2px;
}

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

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

.nav-btn-download {
  display: inline-flex;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.94rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-grad);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.28);
}

.btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
  background: #ffffff;
  border-color: var(--border);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-alt);
  border-color: var(--border-hover);
  color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-crypto {
  background: linear-gradient(135deg, #f59e0b, #ec4899);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
}

.btn-crypto:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.38);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* ───────────────────────────────────────────────────────────── Animated Modern Hamburger Button */
.menu-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.22s ease;
  outline: none;
  z-index: 1002;
  flex-shrink: 0;
}

.menu-toggle:hover {
  background: var(--bg-alt);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.menu-toggle:active {
  transform: scale(0.94);
}

.hamburger-box {
  width: 20px;
  height: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2.2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.2s ease;
  transform-origin: center;
}

/* Morph Hamburger to Close X */
.menu-toggle.active {
  background: var(--primary-light);
  border-color: rgba(99, 102, 241, 0.35);
}

.menu-toggle.active .hamburger-bar {
  background-color: var(--primary);
}

.menu-toggle.active .hamburger-bar.top {
  transform: translateY(6.4px) rotate(45deg);
}

.menu-toggle.active .hamburger-bar.mid {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active .hamburger-bar.bot {
  transform: translateY(-6.4px) rotate(-45deg);
}

/* Mobile Navigation Backdrop Overlay */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ───────────────────────────────────────────────────────────── Hero Section */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 80px 0 60px;
  text-align: center;
  overflow: visible;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  border: 1px solid rgba(79, 70, 229, 0.2);
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.08);
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.hero-title {
  max-width: 900px;
  margin: 0 auto 20px;
  font-weight: 800;
}

.hero-desc {
  max-width: 740px;
  margin: 0 auto 36px;
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.65;
}

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

.hero-subtext {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

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

/* ───────────────────────────────────────────────────────────── 3D Perspective App Showcase */
.showcase-container {
  margin: 60px auto 30px;
  max-width: 1040px;
  perspective: 1400px;
  position: relative;
}

.showcase-3d-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 10px;
  box-shadow: var(--shadow-3d);
  border: 1px solid var(--border);
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  will-change: transform;
}

.showcase-3d-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Floating 3D Badges around Showcase */
.badge-3d {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
  z-index: 10;
  animation: float 4s ease-in-out infinite alternate;
}

.badge-3d.b1 {
  top: 15%;
  left: -28px;
  animation-delay: 0s;
}

.badge-3d.b2 {
  bottom: 20%;
  right: -28px;
  animation-delay: 1.5s;
}

.badge-3d.b3 {
  top: -24px;
  right: 12%;
  animation-delay: 0.8s;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(1deg); }
}

.badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: #fff;
  flex: none;
}

.badge-icon.speed { background: var(--accent-grad); }
.badge-icon.stream { background: linear-gradient(135deg, #10b981, #06b6d4); }
.badge-icon.shield { background: linear-gradient(135deg, #f59e0b, #ef4444); }

/* ───────────────────────────────────────────────────────────── Cards & Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 54px;
}

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

.section-title {
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* Feature Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.28rem;
  margin-bottom: 12px;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ───────────────────────────────────────────────────────────── Comparison Table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.comp-table th, .comp-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}

.comp-table th {
  background: var(--bg-alt);
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.comp-table th.col-doro, .comp-table td.col-doro {
  background: rgba(99, 102, 241, 0.04);
  font-weight: 600;
  color: var(--text-main);
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}

.comp-table th.col-doro {
  color: var(--primary);
  font-size: 1.05rem;
  background: var(--primary-light);
}

.comp-table tr:last-child td {
  border-bottom: none;
}

.tag-yes { color: var(--success); font-weight: 700; }
.tag-no { color: #94a3b8; font-weight: 500; }

/* ───────────────────────────────────────────────────────────── Crypto Donation Page */
.crypto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.crypto-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.28s ease;
  position: relative;
}

.crypto-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.crypto-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.crypto-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.crypto-qr-wrap {
  width: 170px;
  height: 170px;
  margin: 0 auto 18px;
  padding: 10px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.crypto-qr-wrap img {
  width: 100%;
  height: 100%;
}

.crypto-network {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.crypto-address-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-main);
  word-break: break-all;
  user-select: all;
  margin-bottom: 14px;
  line-height: 1.4;
}

/* ───────────────────────────────────────────────────────────── Documentation & Steps */
.doc-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.doc-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.code-block {
  background: #0f172a;
  color: #e2e8f0;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  margin: 14px 0;
  border: 1px solid #1e293b;
}

.step-card {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
}

.step-body h4 { margin-bottom: 6px; }
.step-body p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0; }

/* ───────────────────────────────────────────────────────────── Footer */
.site-footer {
  margin-top: auto;
  background: #f8fafc;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

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

.footer-col h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

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

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

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 0.86rem;
  flex-wrap: wrap;
  gap: 14px;
}

/* ───────────────────────────────────────────────────────────── Toast Notification */
#web-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

#web-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ───────────────────────────────────────────────────────────── Responsive Navigation & Layouts */
body.menu-open {
  overflow: hidden !important;
  touch-action: none;
}

/* Tablet & Smaller Laptops: Switch to Mobile Drawer Navigation at 1024px */
@media (max-width: 1024px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    height: var(--header-h);
  }

  /* Show Hamburger Button */
  .menu-toggle {
    display: flex;
  }

  /* Mobile Drawer Navigation */
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.15);
    z-index: 999;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.24s ease, visibility 0.32s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 6px;
    width: 100%;
  }

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

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    font-size: 1.02rem;
    font-weight: 600;
    border-radius: 12px;
    color: var(--text-main);
    background: transparent;
    transition: all 0.2s ease;
    border: 1px solid transparent;
  }

  .nav-links a:hover {
    background: var(--bg-alt);
    border-color: var(--border-light);
  }

  .nav-links a.active {
    background: var(--primary-light);
    color: var(--primary);
    border-color: rgba(99, 102, 241, 0.25);
    font-weight: 700;
  }

  /* Reveal Mobile Drawer Footer CTA */
  .mobile-drawer-footer {
    display: block;
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
  }

  .nav-links li.mobile-drawer-footer a.btn-primary,
  .mobile-drawer-footer .btn-primary {
    background: var(--accent-grad) !important;
    color: #ffffff !important;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.28);
  }

  .nav-links li.mobile-drawer-footer a.btn-primary:hover,
  .mobile-drawer-footer .btn-primary:hover {
    background: var(--accent-grad) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
  }

  .mobile-drawer-footer .btn-block {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.98rem;
    font-weight: 700;
    border-radius: 12px;
  }

  .mobile-sys-badge {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
    font-weight: 500;
  }

  /* Badge 3D adjusted */
  .badge-3d.b1 { left: -10px; }
  .badge-3d.b2 { right: -10px; }

  /* Grid adjustments */
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

/* Tablet & Mobile Phones (768px & below) */
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 50px 0;
  }

  .hero-section {
    padding: 42px 0 30px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6.8vw, 2.5rem);
    margin-bottom: 16px;
  }

  .hero-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

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

  .hero-subtext {
    flex-direction: column;
    gap: 8px;
  }

  .showcase-container {
    margin: 32px auto 20px;
    perspective: none;
  }

  .showcase-3d-card {
    transform: none !important;
    padding: 6px;
  }

  /* Hide overlapping floating badges on mobile to prevent clutter and screen overflow */
  .badge-3d {
    display: none !important;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    padding: 22px 18px;
  }

  .card-icon {
    width: 46px;
    height: 46px;
    font-size: 1.4rem;
    margin-bottom: 14px;
  }

  .card-title {
    font-size: 1.18rem;
  }

  .table-wrap {
    margin: 0 -4px;
    border-radius: var(--radius-md);
    -webkit-overflow-scrolling: touch;
  }

  .comp-table th, .comp-table td {
    padding: 12px 14px;
    font-size: 0.88rem;
  }

  .crypto-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .crypto-card {
    padding: 22px 18px;
  }

  .doc-card {
    padding: 18px;
  }

  .code-block {
    padding: 12px 14px;
    font-size: 0.8rem;
  }

  .step-card {
    flex-direction: column;
    gap: 12px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* Compact Smartphones (480px & below) */
@media (max-width: 480px) {
  .nav-actions .nav-btn-download {
    display: none; /* Hide top CTA to maximize clean spacing for logo and hamburger */
  }

  .brand-logo {
    gap: 8px;
  }

  .brand-logo img {
    width: 30px;
    height: 30px;
  }

  .brand-logo span {
    font-size: 1.18rem;
  }

  .brand-badge {
    font-size: 9.5px;
    padding: 2px 5px;
  }

  .hero-pill {
    font-size: 0.78rem;
    padding: 5px 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
}
