/* ==========================================================================
   VINX - Official Website Stylesheet
   Supports Light & Dark Modes with Geist/Mono Minimalist Aesthetic
   Inspired by dora-omega-two.vercel.app
   ========================================================================== */

@font-face {
  font-family: 'Nokia Pure';
  src: url('assets/fonts/nokiapure.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nokia Pure';
  src: url('assets/fonts/nokiapure.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Light Mode (Porcelain Aesthetic) */
  --background: #fafafc;
  --foreground: #09090b;
  --card: #ffffff;
  --card-hover: #f5f5f7;
  --card-border: #e4e4e9;
  --card-border-hover: #d0d0d8;
  --border: #e5e5ec;
  --border-subtle: #ebebef;
  --muted: #f0f0f4;
  --muted-foreground: #6b6b7b;
  --primary: #09090b;
  --primary-foreground: #fafafc;
  --secondary: #f2f2f6;
  --secondary-foreground: #18181b;
  --accent: #16a34a;
  --accent-cyan: #0284c7;
  --header-bg: rgba(250, 250, 252, 0.85);
  --marquee-bg: rgba(240, 240, 244, 0.45);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Geist", "Inter", "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", "SF Mono", Menlo, Monaco, Consolas, monospace;
}

[data-theme="dark"],
.dark {
  /* Dark Mode (Stealth Onyx Aesthetic) */
  --background: #070709;
  --foreground: #f4f4f6;
  --card: #0c0c10;
  --card-hover: #111116;
  --card-border: #1a1a22;
  --card-border-hover: #2a2a36;
  --border: #18181f;
  --border-subtle: #121217;
  --muted: #131317;
  --muted-foreground: #82828e;
  --primary: #f4f4f6;
  --primary-foreground: #070709;
  --secondary: #16161c;
  --secondary-foreground: #e4e4e7;
  --accent: #22c55e;
  --accent-cyan: #06b6d4;
  --header-bg: rgba(7, 7, 9, 0.85);
  --marquee-bg: rgba(19, 19, 23, 0.35);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  letter-spacing: -0.015em;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

::selection {
  background-color: var(--foreground);
  color: var(--background);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #272730;
  border-radius: 9999px;
}
[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: #c8c8d0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.15s ease, color 0.15s ease;
}

/* Container */
.container {
  max-width: 48rem; /* 768px - exact Dora width */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  width: 100%;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 900px) {
  .container {
    max-width: 56rem; /* 896px for spacious 2-column hero */
  }
}

/* Typography Utilities */
.font-mono {
  font-family: var(--font-mono);
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

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

.uppercase-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background-color: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
}

@media (min-width: 640px) {
  .header-inner {
    height: 4rem;
  }
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.logo-icon {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.theme-toggle-btn:hover {
  color: var(--foreground);
  border-color: var(--card-border-hover);
  background-color: var(--muted);
}

.theme-toggle-btn svg {
  width: 1rem;
  height: 1rem;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-link:hover {
  color: var(--foreground);
  background-color: var(--muted);
}

/* Mobile navigation toggle + dropdown */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.nav-toggle:hover {
  color: var(--foreground);
  border-color: var(--card-border-hover);
  background-color: var(--muted);
}

.nav-toggle svg {
  width: 1rem;
  height: 1rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 639px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    display: none;
    padding: 0.5rem;
    background-color: var(--header-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
  }

  .header-nav.open {
    display: flex;
  }

  .header-nav .nav-link {
    width: 100%;
    padding: 0.65rem 0.75rem;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.main-content {
  flex: 1 0 auto;
  padding-top: 2rem;
  padding-bottom: 5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 640px) {
  .main-content {
    padding-top: 3.5rem;
    padding-bottom: 7rem;
    gap: 4rem;
  }
}

.hero-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* 2-Column Responsive Hero Layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 2.25rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

/* Status Pill with Pulsing Dot */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.32rem 0.8rem;
  border-radius: var(--radius-full);
  background-color: var(--muted);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
  box-shadow: var(--shadow-sm);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseDotAnim 2.2s infinite ease-out;
  flex-shrink: 0;
}

@keyframes pulseDotAnim {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.badge-separator {
  opacity: 0.4;
}

.badge-amharic {
  color: var(--foreground);
  font-weight: 700;
}

.hero-heading {
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--foreground);
  text-wrap: balance;
}

@media (min-width: 640px) {
  .hero-heading {
    font-size: 2.5rem;
  }
}

@media (min-width: 860px) {
  .hero-heading {
    font-size: 2.85rem;
  }
}

.hero-gradient-text {
  background: linear-gradient(135deg, var(--foreground) 20%, var(--muted-foreground) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .hero-gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #9ca3af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted-foreground);
  max-width: 32rem;
  font-weight: 400;
}

@media (min-width: 640px) {
  .hero-subtext {
    font-size: 1.025rem;
  }
}

/* Hero CTA Area */
.cta-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  padding-top: 0.35rem;
}

@media (min-width: 520px) {
  .cta-group {
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 2.85rem;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: opacity 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .btn-primary {
    height: 3rem;
    font-size: 0.875rem;
  }
}

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

.btn-primary:active {
  transform: translateY(1px);
}

.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.85rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  border-radius: var(--radius-full);
  background-color: var(--secondary);
  border: 1px solid var(--border);
  color: var(--secondary-foreground);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all 0.15s ease;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .btn-secondary-hero {
    height: 3rem;
    font-size: 0.875rem;
  }
}

.btn-secondary-hero:hover {
  border-color: var(--card-border-hover);
  background-color: var(--card-hover);
  color: var(--foreground);
}

.os-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.meta-caption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: left;
}

/* Anonymous download counter shown beside the download CTAs */
.download-counter strong {
  color: var(--foreground);
  font-weight: 600;
}

.cta-group .download-counter {
  flex-basis: 100%;
}

/* Feature Trust Chips */
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding-top: 0.25rem;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}

.hero-trust-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Right Column: Interactive Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem 0.5rem;
}

.hero-phone-wrap {
  position: relative;
  width: 250px;
  max-width: 100%;
}

@media (min-width: 640px) {
  .hero-phone-wrap {
    width: 265px;
  }
}

.hero-phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 460px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.18) 0%, rgba(6, 182, 212, 0.08) 45%, transparent 70%);
  filter: blur(45px);
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
}

[data-theme="light"] .hero-phone-glow {
  background: radial-gradient(circle, rgba(22, 163, 74, 0.12) 0%, rgba(2, 132, 199, 0.06) 50%, transparent 70%);
}

.hero-phone-frame {
  position: relative;
  z-index: 2;
  border-radius: 38px;
  background: #0d0d12;
  padding: 8px;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 22px 50px -12px rgba(0, 0, 0, 0.7),
    0 0 40px -10px rgba(34, 197, 94, 0.18);
  border: 3px solid #23232c;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-phone-frame:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 28px 60px -12px rgba(0, 0, 0, 0.8),
    0 0 45px -8px rgba(34, 197, 94, 0.25);
}

[data-theme="light"] .hero-phone-frame {
  background: #18181f;
  border-color: #d1d1dc;
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.1),
    0 20px 40px -10px rgba(0, 0, 0, 0.22),
    0 0 35px -10px rgba(22, 163, 74, 0.12);
}

[data-theme="light"] .hero-phone-frame:hover {
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.14),
    0 26px 50px -10px rgba(0, 0, 0, 0.28),
    0 0 40px -8px rgba(22, 163, 74, 0.18);
}

/* Phone Island / Pill Notch */
.hero-phone-island {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 16px;
  background-color: #050508;
  border-radius: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 7px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.island-cam {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #161a22;
  border: 1px solid #232733;
}

.hero-phone-screen {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: #000000;
  aspect-ratio: 574 / 1250;
  display: flex;
}

.hero-phone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating Glassmorphic Badges */
.hero-float-card {
  position: absolute;
  z-index: 5;
  background: rgba(14, 14, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.8rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  pointer-events: none;
  transition: transform 0.2s ease;
}

[data-theme="light"] .hero-float-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.hero-float-top {
  top: 14%;
  left: -24px;
  animation: floatTopAnim 6s ease-in-out infinite;
}

.hero-float-bottom {
  bottom: 11%;
  right: -20px;
  animation: floatBottomAnim 6.5s ease-in-out infinite 2s;
}

@media (max-width: 540px) {
  .hero-float-top {
    left: -10px;
  }
  .hero-float-bottom {
    right: -10px;
  }
}

@keyframes floatTopAnim {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatBottomAnim {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

.float-icon-box {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.float-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.float-icon-box.vault-icon {
  background: var(--muted);
  border: 1px solid var(--border);
  color: var(--accent);
}

.float-text-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.float-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.float-val {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--foreground);
  white-space: nowrap;
}

.float-val.text-credit {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: -0.02em;
}

.float-sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--muted-foreground);
  white-space: nowrap;
}

/* Format Switcher Pills */
.format-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 0.25rem;
}

.pill-link {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  background-color: var(--muted);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
}

.pill-link:hover {
  color: var(--foreground);
  border-color: var(--card-border-hover);
  background-color: var(--secondary);
}

.pill-link.active-pill {
  color: var(--foreground);
  border-color: var(--card-border-hover);
  background-color: var(--card-hover);
  box-shadow: 0 0 0 1px var(--card-border-hover);
}

/* ==========================================================================
   Supported Ethiopian Banks Marquee
   ========================================================================== */
.marquee-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  margin-left: -1.25rem;
  margin-right: -1.25rem;
  border-top: none;
  border-bottom: none;
  background: transparent;
  overflow: hidden;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

@media (min-width: 640px) {
  .marquee-section {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
    gap: 1.75rem;
  }
}

.marquee-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

@media (min-width: 640px) {
  .marquee-header {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    font-size: 1rem;
  }
}

.marquee-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--foreground);
  font-size: 1rem;
}

@media (min-width: 640px) {
  .marquee-badge {
    font-size: 1.125rem;
  }
}

.marquee-sub {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  letter-spacing: 0.1em;
}

@media (min-width: 640px) {
  .marquee-sub {
    font-size: 0.875rem;
  }
}

.marquee-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

.marquee-track-wrapper {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 3rem;
  width: 100%;
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  justify-content: space-around;
  gap: 3rem;
  animation: marquee 34s linear infinite;
  align-items: center;
}

.marquee-track-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 3rem));
  }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  opacity: 0.9;
  cursor: default;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.marquee-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Bank Logos: Transparent background & Larger size */
.marquee-icon-box {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  background-color: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .marquee-icon-box {
    width: 5rem;
    height: 5rem;
  }
}

.marquee-icon-box svg {
  width: 2rem;
  height: 2rem;
}

.marquee-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.22));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.marquee-item:hover .marquee-icon-box img {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.marquee-label {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .marquee-label {
    font-size: 1.125rem;
  }
}

.marquee-note {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  line-height: 1.45;
  text-align: center;
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .marquee-note {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Gradient side masks (Exact Dora technique) */
.marquee-mask-left {
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 16.666%;
  background: linear-gradient(to right, var(--background), transparent);
  z-index: 10;
}

.marquee-mask-right {
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 16.666%;
  background: linear-gradient(to left, var(--background), transparent);
  z-index: 10;
}

/* ==========================================================================
   Architecture & Philosophy (3-Column Grid)
   ========================================================================== */
.section-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .section-block {
    gap: 1.25rem;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.card-arch {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background-color: var(--card);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
}

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

.card-arch-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.15rem;
}

.card-arch-top .num {
  font-weight: 700;
  color: var(--muted-foreground);
}

.card-arch-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
  letter-spacing: -0.01em;
}

.card-arch-desc {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.55;
}

/* ==========================================================================
   Security & Core Tooling (Stacked Bento Cards)
   ========================================================================== */
.bento-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bento-card {
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background-color: var(--card);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
}

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

.bento-icon-container {
  padding: 0.5rem;
  border-radius: var(--radius-md);
  background-color: var(--muted);
  border: 1px solid var(--border);
  flex-shrink: 0;
  margin-top: 0.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-icon-container svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--foreground);
}

.bento-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.bento-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
  letter-spacing: -0.01em;
}

.bento-desc {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.55;
}

/* ==========================================================================
   Interactive Desktop Deck Mockup
   ========================================================================== */
.preview-deck {
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background-color: var(--card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background-color: var(--muted);
  border-bottom: 1px solid var(--border-subtle);
}

.traffic-dots {
  display: flex;
  gap: 0.4rem;
}

.dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 9999px;
  background-color: var(--border-subtle);
  border: 1px solid var(--border);
}

.preview-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pulse-indicator {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.preview-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sim-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  background-color: var(--background);
  border: 1px solid var(--border);
}

.sim-input-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.sim-fetch-btn {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
}

.sim-media-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background-color: var(--secondary);
  border: 1px solid var(--border);
}

@media (min-width: 640px) {
  .sim-media-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.sim-media-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sim-media-thumb {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background-color: var(--muted);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sim-media-details {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sim-media-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--foreground);
}

.sim-media-meta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  display: flex;
  gap: 0.5rem;
}

.sim-progress-box {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 11rem;
}

.sim-progress-bar-track {
  width: 100%;
  height: 4px;
  background-color: var(--muted);
  border-radius: 9999px;
  overflow: hidden;
}

.sim-progress-bar-fill {
  height: 100%;
  width: 78%;
  background: linear-gradient(to right, #06b6d4, #22c55e);
  border-radius: 9999px;
  animation: pulse-width 3s ease-in-out infinite alternate;
}

@keyframes pulse-width {
  0% { width: 45%; }
  100% { width: 92%; }
}

.sim-progress-stats {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  display: flex;
  justify-content: space-between;
}

/* ==========================================================================
   Bottom CTA Section
   ========================================================================== */
.bottom-cta-section {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .bottom-cta-section {
    padding-top: 2.75rem;
    gap: 1.25rem;
  }
}

.bottom-cta-heading {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .bottom-cta-heading {
    font-size: 1.85rem;
  }
}

/* Screenshots Grid */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
}

@media (min-width: 640px) {
  .screenshots-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.screenshot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.2s ease;
}

.screenshot-card:hover {
  transform: translateY(-4px);
}

.screenshot-card img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.2s ease;
}

.screenshot-card:hover img {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.screenshot-label {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 60px 80px 40px 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--background);
  font-family: var(--font-mono);
  color: var(--foreground);
}

@media (max-width: 768px) {
  .site-footer {
    padding: 40px 24px 24px 24px;
  }
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
}

.footer-tagline {
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .footer-tagline {
    font-size: 1.75rem;
  }
}

.footer-nav-columns {
  display: flex;
  gap: 100px;
}

@media (max-width: 768px) {
  .footer-nav-columns {
    gap: 40px;
    width: 100%;
  }
}

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

.footer-column a {
  text-decoration: none;
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 400;
  transition: opacity 0.2s ease;
}

.footer-column a:hover {
  opacity: 0.7;
}

.footer-brand-display {
  text-align: center;
  margin: 40px 0;
}

.footer-brand-amharic {
  font-family: 'Nokia Pure', 'Nokia Pure Headline', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14vw;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--foreground);
}

@media (max-width: 768px) {
  .footer-brand-amharic {
    font-size: 20vw;
  }
}

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

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 20px;
  }
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  text-decoration: none;
  color: var(--muted-foreground);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

/* Installation Guide */
.install-guide-content {
  max-width: 640px;
  margin: 0 auto;
}

.install-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 12px;
  margin-bottom: 32px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--foreground);
}

.install-alert svg {
  flex-shrink: 0;
  color: #fbbf24;
  margin-top: 2px;
}

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

.install-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.step-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--foreground);
}

.step-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  color: var(--muted-foreground);
}

.sub-steps {
  margin: 10px 0 0;
  padding-left: 20px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.sub-steps li {
  margin-bottom: 4px;
}

.sub-steps strong {
  color: var(--foreground);
}

@media (max-width: 768px) {
  .install-alert {
    padding: 14px 16px;
    font-size: 0.85rem;
  }

  .step-number {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .step-content h3 {
    font-size: 0.95rem;
  }

  .step-content p {
    font-size: 0.85rem;
  }
}
