/* ==========================================================================
   CYPHRA™ Web Browser Official Website
   Light Design System with Signature Blue Header & Footer
   ========================================================================== */

:root {
  --bg-main: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-elevated: #ffffff;
  
  --border-subtle: #e2e8f0;
  --border-card: #e2e8f0;
  --border-active: #0066ff;
  
  --text-bright: #0f172a;
  --text-main: #334155;
  --text-muted: #64748b;
  --text-faint: #94a3b8;
  
  --brand-blue: #0066ff;
  --brand-blue-dark: #0b4fc7;
  --brand-blue-deep: #072d73;
  --accent-cyan: #0284c7;
  --accent-emerald: #059669;
  --accent-indigo: #4f46e5;
  --accent-rose: #e11d48;
  --accent-amber: #d97706;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 15px 35px rgba(0, 102, 255, 0.12);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1240px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-main);
  color-scheme: light;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-bright);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

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

a:hover {
  color: var(--brand-blue-dark);
}

code, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875rem;
}

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

/* Section Header */
.section {
  padding: 70px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--brand-blue);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  color: var(--text-bright);
}

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

.gradient-text {
  background: linear-gradient(135deg, #0b4fc7 0%, #0066ff 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
/* ==========================================================================
   SIGNATURE BLUE HEADER - PRECISION SAAS LAYOUT
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0052cc;
  background: linear-gradient(90deg, #0747a6 0%, #0052cc 50%, #0065ff 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 4px 14px rgba(0, 82, 204, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  user-select: none;
  flex-shrink: 0;
}

.brand-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff;
}

.brand-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 6px;
  transition: all 0.15s ease-in-out;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.nav-link.active {
  color: #ffffff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.18);
}

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

.btn-header-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0 14px;
  height: 36px;
  border-radius: 8px;
  font-size: 0.825rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
  white-space: nowrap;
}

.btn-header-donate svg {
  vertical-align: middle;
}

.btn-header-donate:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid transparent;
  padding: 0 12px;
  height: 36px;
  border-radius: 8px;
  font-size: 0.825rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
  white-space: nowrap;
}

.btn-header-contact svg {
  vertical-align: middle;
}

.btn-header-contact:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.btn-header-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  color: #0747a6;
  border: 1px solid #ffffff;
  padding: 0 16px;
  height: 36px;
  border-radius: 8px;
  font-size: 0.825rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
}

.btn-header-download svg {
  stroke: #0747a6;
  vertical-align: middle;
}

.btn-header-download:hover {
  background: #f8fafc;
  color: #0052cc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  z-index: 101;
  transition: all 0.15s ease-in-out;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER (LIGHT BODY WITH BLUE HEADER)
   ========================================================================== */

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  border-left: 1px solid #cbd5e1;
  padding: 24px 20px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: linear-gradient(135deg, #0b4fc7, #0066ff);
  border-radius: 12px;
  margin-bottom: 20px;
  color: #ffffff;
}

.mobile-drawer-close {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-drawer-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.mobile-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  color: #334155;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
}

.mobile-link:hover, .mobile-link.active {
  background: #eff6ff;
  color: #0066ff;
  border: 1px solid #bfdbfe;
}

.mobile-drawer-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}

/* ==========================================================================
   HERO SECTION (LIGHT THEME WITH BLUE ACCENTS)
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 70px 0 60px 0;
  text-align: center;
  background: radial-gradient(circle at 50% 10%, rgba(11, 79, 199, 0.06) 0%, transparent 60%), #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e40af;
  box-shadow: 0 2px 10px rgba(11, 79, 199, 0.08);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.hero-title {
  font-size: 3.85rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 20px;
  color: #0f172a;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #475569;
  max-width: 800px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

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

.btn-primary {
  background: linear-gradient(135deg, #0b4fc7 0%, #0066ff 100%);
  color: #ffffff;
  border: 1px solid #0052cc;
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0066ff 0%, #0284c7 100%);
  box-shadow: 0 10px 28px rgba(0, 102, 255, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background: #f1f5f9;
  border-color: #0066ff;
  color: #0066ff;
  transform: translateY(-2px);
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 45px;
}

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

/* Browser Mockup Frame */
.showcase-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  perspective: 1200px;
}

.browser-mockup-frame {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12), 0 0 30px rgba(0, 102, 255, 0.08);
}

.mockup-header {
  background: #f1f5f9;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #e2e8f0;
}

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

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

.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #eab308; }
.mockup-dot.green { background: #22c55e; }

.mockup-address {
  flex: 1;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-container {
  background: #05080e;
}

.tab-nav {
  display: flex;
  align-items: center;
  background: #080d15;
  border-bottom: 1px solid #1e293b;
  padding: 0 12px;
  overflow-x: auto;
}

.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #94a3b8;
  padding: 12px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn:hover {
  color: #ffffff;
}

.tab-btn.active {
  color: #38bdf8;
  border-bottom-color: #38bdf8;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ==========================================================================
   CARDS & GRIDS (LIGHT THEME)
   ========================================================================== */

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

.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: 28px;
}

.card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.card:hover {
  background: #ffffff;
  border-color: #0066ff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #0066ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.card-desc {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Stats Counter Strip */
.download-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  margin-top: 50px;
  box-shadow: var(--shadow-card);
}

@media (max-width: 900px) {
  .download-stats-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .download-stats-strip { grid-template-columns: 1fr; }
}

.stat-strip-item {
  text-align: center;
}

.stat-strip-num {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #0b4fc7 0%, #0066ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-strip-label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

/* Options Grid / Download Cards */
.edge-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.edge-option-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-card);
}

.edge-option-card:hover {
  border-color: #0066ff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.edge-option-card.compatible-target {
  border-color: #0066ff;
  box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.2), var(--shadow-hover);
}

.compatible-badge {
  position: absolute;
  top: -12px;
  background: linear-gradient(135deg, #0b4fc7, #0066ff);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.35);
}

.card-device-preview {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  width: 100%;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 8px;
  gap: 8px;
}

.edge-option-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}

.card-dl-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #0066ff;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.edge-option-desc {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 24px;
  line-height: 1.5;
  min-height: 42px;
}

.edge-option-action {
  width: 100%;
  margin-bottom: 12px;
}

.btn-edge-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-edge-card:hover {
  background: linear-gradient(135deg, #0b4fc7, #0066ff);
  border-color: #0052cc;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.35);
  transform: translateY(-2px);
}

/* ==========================================================================
   SIGNATURE BLUE FOOTER
   ========================================================================== */

.site-footer {
  background: linear-gradient(135deg, #072d73 0%, #0b4fc7 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 60px 0 36px 0;
  text-align: center;
  margin-top: auto;
  color: #ffffff;
}

.footer-row-1 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-row-2 {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.footer-row-3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transition: var(--transition);
}

.footer-icon-btn:hover {
  background: #ffffff;
  color: #0b4fc7;
  transform: translateY(-2px);
}

.make-in-india-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-row-4 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.footer-link-pill {
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  transition: var(--transition);
}

.footer-link-pill:hover {
  background: #ffffff;
  color: #0b4fc7 !important;
}

/* ==========================================================================
   TABLES & INNER PAGES (LIGHT THEME)
   ========================================================================== */

.comparison-table-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-card);
}

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

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.comparison-table th.highlight {
  background: #eff6ff;
  border-left: 1px solid #bfdbfe;
  border-right: 1px solid #bfdbfe;
}

.comparison-table td.highlight {
  background: #f8fafc;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  font-weight: 700;
  color: #0066ff;
}

.table-check { color: #059669 !important; }
.table-cross { color: #ef4444 !important; }

.download-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.download-card:hover {
  border-color: #0066ff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.download-card.highlight {
  border-color: #0066ff;
  box-shadow: 0 0 0 1px #0066ff, var(--shadow-card);
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.platform-icon { font-size: 2rem; line-height: 1; }
.platform-name { font-size: 1.25rem; font-weight: 800; color: #0f172a; }

.platform-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.775rem;
  color: #64748b;
  margin-bottom: 16px;
}

.checksum-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.725rem;
  font-family: monospace;
  color: #475569;
  margin-bottom: 20px;
}

.copy-btn {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #0066ff;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.copy-btn:hover {
  background: #0066ff;
  color: #ffffff;
}

.btn-disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* Donation Portal */
.donate-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
}

@media (max-width: 860px) {
  .donate-container { grid-template-columns: 1fr; gap: 24px; }
}

.donate-controls-card, .donate-qr-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.amount-display-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.amount-val-large {
  font-size: 3rem;
  font-weight: 900;
  color: #0066ff;
  line-height: 1.1;
  margin: 6px 0 10px 0;
}

.tier-pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.tier-supporter { background: #eff6ff; color: #0066ff; border: 1px solid #bfdbfe; }
.tier-champion { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.tier-sponsor { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }
.tier-patron { background: #faf5ff; color: #9333ea; border: 1px solid #e9d5ff; }

.preset-chips-grid { display: flex; flex-wrap: wrap; gap: 8px; }

.preset-chip {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.preset-chip:hover, .preset-chip.active {
  background: #eff6ff;
  border-color: #0066ff;
  color: #0066ff;
}

.custom-slider { width: 100%; accent-color: #0066ff; cursor: pointer; }

.qr-wrapper {
  background: #ffffff;
  padding: 16px;
  border-radius: 16px;
  max-width: 240px;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

/* Contact Page Form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
}

.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 700; color: #0f172a; margin-bottom: 8px; }

.form-control {
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: #0066ff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

/* Releases Changelog */
.changelog-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.changelog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

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

.changelog-list li {
  position: relative;
  padding-left: 24px;
  color: #475569;
  font-size: 0.925rem;
  line-height: 1.5;
}

.changelog-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 700;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 992px) {
  .site-nav { display: none !important; }
  .nav-links { display: none !important; }
  .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 42px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 8px !important;
    padding: 10px 9px !important;
    cursor: pointer !important;
    margin-left: auto !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
  }
  .mobile-menu-toggle span {
    display: block !important;
    width: 100% !important;
    height: 2.5px !important;
    background: #ffffff !important;
    border-radius: 2px !important;
  }
  .btn-header-donate, .btn-header-contact { display: none !important; }
  .section-title { font-size: 2.25rem; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .site-nav { display: none !important; }
  .nav-links { display: none !important; }
  .btn-header-donate, .btn-header-contact, .btn-header-download { display: none !important; }
  .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 42px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 8px !important;
    padding: 10px 9px !important;
    cursor: pointer !important;
    margin-left: auto !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
  }
  .mobile-menu-toggle span {
    display: block !important;
    width: 100% !important;
    height: 2.5px !important;
    background: #ffffff !important;
    border-radius: 2px !important;
  }
  
  .hero-section { padding: 45px 0 35px 0; }
  .hero-badge { font-size: 0.775rem; padding: 5px 14px; margin-bottom: 18px; }
  .hero-title { font-size: clamp(2rem, 7.5vw, 2.75rem); line-height: 1.15; margin-bottom: 16px; }
  .hero-subtitle { font-size: 1.05rem; line-height: 1.5; margin-bottom: 24px; padding: 0 4px; }
  
  .hero-cta-group { flex-direction: column; gap: 12px; width: 100%; margin-bottom: 24px; }
  .hero-cta-group .btn { width: 100%; min-height: 48px; }
  
  .hero-meta { flex-direction: column; gap: 6px; font-size: 0.8rem; margin-bottom: 35px; }
  .hero-meta span:nth-child(even) { display: none; }
  
  .mockup-header { padding: 8px 12px; }
  .mockup-address { font-size: 0.7rem; padding: 4px 8px; }
  .tab-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tab-btn { padding: 10px 14px; font-size: 0.775rem; }
  
  .section { padding: 50px 0; }
  .section-title { font-size: 1.85rem; }
  .section-desc { font-size: 0.95rem; }
  
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 18px; }
  .card, .download-card { padding: 22px 18px; }
  
  .platform-meta { grid-template-columns: 1fr; gap: 6px; }
  .checksum-box { flex-direction: column; align-items: flex-start; gap: 8px; word-break: break-all; }
  .checksum-box .copy-btn { width: 100%; text-align: center; padding: 6px; }
  
  .download-stats-strip { grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px 16px; }
  .stat-strip-num { font-size: 1.75rem; }
  
  .site-footer { padding: 40px 0 24px 0; }
  .footer-row-4 { flex-direction: column; gap: 8px; }
  .footer-row-4 span { display: none; }
}

@media (max-width: 420px) {
  .download-stats-strip { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.15rem; }
}

/* ==========================================================================
   INSTALLATION GUIDES & PORTFOLIO SHOWCASE
   ========================================================================== */

.code-block {
  background: #0f172a;
  color: #38bdf8;
  padding: 14px 18px;
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  overflow-x: auto;
  border: 1px solid #1e293b;
}

.portfolio-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.portfolio-card:hover {
  border-color: #0066ff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.portfolio-tag {
  background: #eff6ff;
  color: #0066ff;
  border: 1px solid #bfdbfe;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

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

/* ==========================================================================
   MENISCUS SLIDING PILL NAVIGATION ANIMATIONS
   ========================================================================== */

.site-nav {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px;
  border-radius: 9999px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.12);
}

.nav-sliding-pill {
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  background: #ffffff;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18), 0 0 16px rgba(255, 255, 255, 0.5);
  transition: all 0.32s cubic-bezier(0.34, 1.45, 0.64, 1);
  pointer-events: none;
  opacity: 0;
  z-index: 1;
}

.nav-links {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
  transition: color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  user-select: none;
}

.nav-link:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-link.active-pill {
  color: #0747a6 !important;
  font-weight: 700;
}

/* Micro-interaction on header action buttons */
.btn-header-donate, .btn-header-contact, .btn-header-download {
  position: relative;
  overflow: hidden;
}

.btn-header-donate:active, .btn-header-contact:active, .btn-header-download:active {
  transform: scale(0.96);
}

/* ==========================================================================
   HIGH-CONTRAST INSTALLATION INSTRUCTIONS SYSTEM (LIGHT THEME)
   ========================================================================== */

.installation-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}

.install-tab-nav {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 12px;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.install-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #475569;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.install-tab-btn:hover {
  background: #eff6ff;
  color: #0066ff;
}

.install-tab-btn.active {
  background: #ffffff;
  color: #0066ff;
  border-color: #bfdbfe;
  box-shadow: 0 2px 10px rgba(0, 102, 255, 0.12);
  font-weight: 700;
}

.install-tab-content {
  display: none;
  padding: 36px 32px;
  background: #ffffff;
  color: #0f172a;
}

.install-tab-content.active {
  display: block;
}

.install-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.install-content-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
}

.install-badge-stable {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 0.775rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
}

.install-badge-review {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
  font-size: 0.775rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
}

.install-steps-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 22px;
  transition: all 0.2s ease;
}

.step-card:hover {
  border-color: #bfdbfe;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.08);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eff6ff;
  border: 2px solid #0066ff;
  color: #0066ff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-body {
  flex: 1;
}

.step-body strong {
  display: block;
  font-size: 1.05rem;
  color: #0f172a;
  margin-bottom: 4px;
}

.step-body p {
  font-size: 0.925rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

.step-body a {
  color: #0066ff;
  font-weight: 700;
  text-decoration: underline;
}

.step-body code {
  background: #0f172a;
  color: #38bdf8;
  padding: 2px 6px;
  border-radius: 4px;
}

/* ==========================================================================
   INTERACTIVE SHOWCASE SLIDER, HOVER CONTROLS & ARROWS
   ========================================================================== */

.showcase-slider-wrapper {
  position: relative;
  width: 100%;
}

.showcase-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  opacity: 0.7;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.browser-mockup-frame:hover .showcase-nav-arrow {
  opacity: 1;
}

.showcase-nav-arrow.prev {
  left: 14px;
}

.showcase-nav-arrow.next {
  right: 14px;
}

.showcase-nav-arrow:hover {
  background: #0066ff;
  border-color: #38bdf8;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.6);
}

.showcase-dots-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background: #080d15;
  border-top: 1px solid #1e293b;
}

.showcase-dot-btn {
  background: #334155;
  border: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.showcase-dot-btn:hover {
  background: #94a3b8;
  transform: scale(1.25);
}

.showcase-dot-btn.active {
  background: #0066ff;
  width: 28px;
  border-radius: 9999px;
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.8);
}

/* ==========================================================================
   DONATION PORTAL LIGHT THEME CARDS & IMPACT BOX
   ========================================================================== */

.impact-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 16px 20px;
  color: #1e293b;
}

.impact-box strong {
  color: #0066ff !important;
}

.impact-box p {
  color: #334155 !important;
}

.contribution-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.2s ease;
}

.contribution-card:hover {
  background: #ffffff;
  border-color: #bfdbfe;
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.08);
}

.contribution-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
