/* ============================================================
   RUMOUR — Marketing Website Design System
   Swahira © 2025
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Source+Code+Pro:wght@400;500;600&display=swap');

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --blue-darker: #1d4ed8;
  --orange: #f59e0b;
  --yellow: #fbbf24;
  --ink: #020617;
  --ink-soft: #1e293b;
  --slate: #64748b;
  --border: #e2e8f0;
  --surface: #f8fafc;
  --white: #ffffff;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .10);
  --shadow-blue: 0 10px 30px rgba(59, 130, 246, .18);

  --nav-h: 64px;
  --max-w: 1180px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Utilities ────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow .3s;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.3px;
  color: var(--ink);
  flex-shrink: 0;
}

.navbar__brand img {
  height: 30px;
  width: auto;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}

.navbar__links a {
  padding: .45rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--slate);
  transition: color .2s, background .2s;
}

.navbar__links a:hover {
  color: var(--ink);
  background: var(--surface);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all .22s ease;
  text-decoration: none;
}

.btn-sm {
  padding: .45rem 1.1rem;
  font-size: .85rem;
}

.btn-md {
  padding: .7rem 1.6rem;
  font-size: .95rem;
}

.btn-lg {
  padding: .95rem 2.4rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1.1rem 3rem;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(59, 130, 246, .28);
}

.btn-orange {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 24px rgba(245, 158, 11, .22);
}

.btn-orange:hover {
  background: #e08b00;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--surface);
  transform: translateY(-2px);
}

/* hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}

.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .3s;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 5rem) 1.5rem 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

/* subtle grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 158, 11, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, .07) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 40%, transparent 100%);
  pointer-events: none;
}

/* radial blue glow */
.hero::after {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, .07) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .35rem 1.2rem;
  border: 1.5px solid rgba(245, 158, 11, .25);
  border-radius: 50px;
  background: rgba(245, 158, 11, .05);
  margin-bottom: 2.5rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--orange);
  text-transform: uppercase;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s infinite;
}

.hero__logo {
  height: 120px;
  width: auto;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 8px 24px rgba(59, 130, 246, .12));
  animation: float 5s ease-in-out infinite;
}

.hero__title {
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 400;
  color: var(--slate);
  max-width: 660px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.hero__sub strong {
  color: var(--orange);
  font-weight: 700;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero__attribution {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--slate);
  opacity: .45;
  text-transform: uppercase;
}

.hero__attribution span {
  color: var(--yellow);
}

/* ── Section shared ───────────────────────────────────────── */
.section {
  padding: 7rem 1.5rem;
}

.section--alt {
  background: var(--surface);
}

.section--dark {
  background: var(--ink);
  color: var(--white);
}

.section__head {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section__eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 52px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
}

.section__head.centered .section__title::after {
  left: 50%;
  transform: translateX(-50%);
}

.section__sub {
  font-size: 1.1rem;
  color: var(--slate);
  max-width: 600px;
  margin: 1.5rem auto 0;
  line-height: 1.7;
}

/* ── Bento Grid Section (Why Rumour) ───────────────────────── */
.features-section {
  position: relative;
  background-color: var(--ink) !important;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.06) 0%, transparent 40%);
  overflow: hidden;
}

.features-section .section__title {
  color: var(--white);
}

.features-section .section__sub {
  color: #94a3b8;
  /* Lighter slate for proper contrast on dark background */
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.75rem;
  margin-top: 4rem;
}

/* Bento Card Base */
.bento-card {
  background: rgba(30, 41, 59, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Glowing card effect on hover */
.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(59, 130, 246, 0.15);
}

/* Make second and fifth cards hover with orange glow for brand harmony */
.bento-card--parallel:hover,
.bento-card--git:hover {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(245, 158, 11, 0.12);
}

/* Column spans */
.bento-card--col4 {
  grid-column: span 4;
  flex-direction: column;
  align-items: stretch;
  gap: 1.75rem;
}

.bento-card--col2 {
  grid-column: span 2;
  flex-direction: column;
}

.bento-card--col3 {
  grid-column: span 3;
  flex-direction: column;
}

/* Content Area */
.bento-card__content {
  flex: none;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.bento-card--col4 .bento-card__content {
  max-width: 100%;
}

.bento-card__icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.bento-card:hover .bento-card__icon-wrapper {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
  transform: scale(1.05);
}

.bento-card--parallel:hover .bento-card__icon-wrapper,
.bento-card--git:hover .bento-card__icon-wrapper {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
}

.bento-card__icon {
  font-size: 1.3rem;
}

.bento-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--white);
  letter-spacing: -0.4px;
  line-height: 1.3;
}

.bento-card__desc {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.65;
}

/* Visual Container */
.bento-card__visual {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(11, 17, 29, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 10px 25px rgba(0, 0, 0, 0.3);
}

.bento-card--col4 .bento-card__visual {
  width: 100%;
  height: 200px;
}

.bento-card--col2 .bento-card__visual,
.bento-card--col3 .bento-card__visual {
  width: 100%;
  height: 180px;
  margin-top: auto;
}

/* ───────────────────────────────────────────────────────────
   BENTO VISUALS & ANIMATIONS
   ─────────────────────────────────────────────────────────── */

/* 1. Intelligent Discovery Visual */
.bento-visual--discovery {
  padding: 1.5rem 2rem;
  background: radial-gradient(ellipse at center, rgba(30, 41, 59, 0.9) 0%, rgba(11, 17, 29, 0.95) 100%);
}

.discovery-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}

.discovery-node {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  flex: 1;
  max-width: 240px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: border-color 0.3s ease;
}

.discovery-node:hover {
  border-color: rgba(59, 130, 246, 0.4);
}

.node-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.4rem;
}

.node-method {
  font-weight: 800;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.node-method--post {
  background: rgba(245, 158, 11, 0.2);
  color: var(--orange);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.node-method--get {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.node-path {
  color: #e2e8f0;
  font-family: 'Source Code Pro', monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.75rem;
  font-weight: 600;
}

.node-body {
  font-family: 'Source Code Pro', monospace;
  color: #94a3b8;
}

.code-glow {
  font-size: 0.7rem;
  line-height: 1.45;
  margin: 0;
  white-space: pre-wrap;
}

.highlight-val {
  color: #fbbf24;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
  animation: glow-pulse-orange 2s infinite alternate;
}

.highlight-inject {
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
  border: 1px dashed rgba(59, 130, 246, 0.6);
  border-radius: 4px;
  padding: 1px 4px;
  font-weight: 700;
  animation: glow-pulse-blue 2s infinite alternate;
}

.discovery-arrow {
  flex: 1;
  height: 2px;
  position: relative;
  min-width: 40px;
}

.arrow-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--blue) 100%);
  opacity: 0.4;
}

.arrow-pulse {
  position: absolute;
  top: -4px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
  animation: slide-arrow 3s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slide-arrow {
  0% {
    left: 0;
    background-color: var(--orange);
    box-shadow: 0 0 10px var(--orange);
  }

  100% {
    left: calc(100% - 10px);
    background-color: var(--blue);
    box-shadow: 0 0 10px var(--blue);
  }
}

/* 2. Parallel Scheduler Visual */
.bento-visual--parallel {
  padding: 1.25rem 1.5rem;
}

.parallel-scheduler {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.scheduler-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.scheduler-label {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.72rem;
  color: #cbd5e1;
  width: 65px;
  text-align: right;
  flex-shrink: 0;
}

.scheduler-bar {
  height: 8px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.scheduler-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-size: 20px 20px;
  animation: move-stripes 1.5s linear infinite;
}

.scheduler-bar--auth {
  width: 25%;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
  animation: load-auth 3s infinite alternate ease-in-out;
}

.scheduler-bar--users {
  width: 0%;
  margin-left: 25%;
  background: var(--blue);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
  animation: load-users 3s infinite alternate ease-in-out;
}

.scheduler-bar--config {
  width: 0%;
  margin-left: 25%;
  background: #a855f7;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
  animation: load-config 3s infinite alternate ease-in-out;
}

@keyframes load-auth {

  0%,
  15% {
    width: 0%;
  }

  35%,
  100% {
    width: 25%;
  }
}

@keyframes load-users {

  0%,
  35% {
    width: 0%;
  }

  65%,
  100% {
    width: 55%;
  }
}

@keyframes load-config {

  0%,
  35% {
    width: 0%;
  }

  75%,
  100% {
    width: 68%;
  }
}

@keyframes move-stripes {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 20px 0;
  }
}

/* 3. Privacy Shield Visual */
.bento-visual--privacy {
  display: flex;
  justify-content: center;
  align-items: center;
}

.privacy-shield {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(59, 130, 246, 0.2);
}

.shield-ring--outer {
  width: 110px;
  height: 110px;
  animation: spin-clockwise 20s linear infinite;
  border-color: rgba(59, 130, 246, 0.15);
}

.shield-ring--middle {
  width: 85px;
  height: 85px;
  animation: spin-counter-clockwise 15s linear infinite;
  border-color: rgba(245, 158, 11, 0.15);
  border-style: dotted;
}

.shield-ring--inner {
  width: 60px;
  height: 60px;
  background: rgba(30, 41, 59, 0.5);
  border: 1.5px solid rgba(59, 130, 246, 0.3);
  box-shadow: inset 0 0 15px rgba(59, 130, 246, 0.1);
}

.shield-icon {
  position: relative;
  z-index: 2;
  color: var(--blue);
  width: 24px;
  height: 24px;
  animation: float 4s ease-in-out infinite;
}

.shield-badge {
  position: absolute;
  bottom: -5px;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-family: 'Inter', sans-serif;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 2px 6px;
  border-radius: 20px;
  white-space: nowrap;
}

@keyframes spin-clockwise {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-counter-clockwise {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

/* 4. Self-Healing Terminal Visual */
.bento-visual--healing {
  background: #090d16 !important;
  padding: 0 !important;
}

.healing-terminal {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: 'Source Code Pro', monospace;
}

.terminal-bar {
  background: #0f172a;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.terminal-dot--red {
  background: #ef4444;
}

.terminal-dot--yellow {
  background: #eab308;
}

.terminal-dot--green {
  background: #22c55e;
}

.terminal-title {
  color: #64748b;
  font-size: 0.65rem;
  margin-left: 0.5rem;
  letter-spacing: 0.5px;
}

.terminal-body {
  padding: 1rem 1.25rem;
  font-size: 0.68rem;
  line-height: 1.5;
  color: #e2e8f0;
}

.terminal-line {
  opacity: 0;
  transform: translateY(4px);
  margin-bottom: 0.35rem;
}

.terminal-line span {
  font-weight: 700;
}

.terminal-line.line-1 {
  animation: type-in 10s infinite step-end;
  color: #cbd5e1;
}

.terminal-line.line-2 {
  animation: type-in-2 10s infinite step-end;
  color: #cbd5e1;
}

.terminal-line.line-3 {
  animation: type-in-3 10s infinite step-end;
  color: #f87171;
}

.terminal-line.line-4 {
  animation: type-in-4 10s infinite step-end;
  color: #facc15;
}

.terminal-line.line-5 {
  animation: type-in-5 10s infinite step-end;
  color: #60a5fa;
}

.terminal-line.line-6 {
  animation: type-in-6 10s infinite step-end;
  color: #4ade80;
}

@keyframes type-in {

  0%,
  100% {
    opacity: 0;
    transform: translateY(4px);
  }

  2%,
  95% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes type-in-2 {

  0%,
  12%,
  100% {
    opacity: 0;
    transform: translateY(4px);
  }

  14%,
  95% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes type-in-3 {

  0%,
  25%,
  100% {
    opacity: 0;
    transform: translateY(4px);
  }

  27%,
  95% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes type-in-4 {

  0%,
  42%,
  100% {
    opacity: 0;
    transform: translateY(4px);
  }

  44%,
  95% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes type-in-5 {

  0%,
  60%,
  100% {
    opacity: 0;
    transform: translateY(4px);
  }

  62%,
  95% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes type-in-6 {

  0%,
  78%,
  100% {
    opacity: 0;
    transform: translateY(4px);
  }

  80%,
  95% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 5. Git Diff Visual */
.bento-visual--git {
  padding: 0 !important;
}

.git-diff {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: 'Source Code Pro', monospace;
  font-size: 0.72rem;
}

.git-diff__header {
  background: rgba(30, 41, 59, 0.4);
  padding: 0.45rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.65rem;
  color: #94a3b8;
}

.git-diff__body {
  padding: 0.75rem 0;
  display: flex;
  flex-direction: column;
}

.git-diff__line {
  padding: 0.15rem 1rem;
  color: #cbd5e1;
  white-space: pre;
}

.git-diff__line--info {
  color: #63b3ed;
  background: rgba(99, 179, 237, 0.05);
}

.git-diff__line--added {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border-left: 2px solid #22c55e;
}

/* 6. Rhai Editor Visual */
.bento-visual--rhai {
  padding: 0 !important;
}

.rhai-editor {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: 'Source Code Pro', monospace;
  font-size: 0.7rem;
}

.rhai-editor__tabs {
  background: rgba(30, 41, 59, 0.4);
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rhai-editor__tab {
  padding: 0.45rem 1rem;
  color: #64748b;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.65rem;
}

.rhai-editor__tab.active {
  color: var(--white);
  background: rgba(15, 23, 42, 0.3);
  border-bottom: 1.5px solid var(--blue);
}

.rhai-editor__body {
  padding: 0.75rem 1rem;
  line-height: 1.55;
  color: #cbd5e1;
  position: relative;
}

.rhai-editor__body::after {
  content: '|';
  position: absolute;
  animation: cursor-blink 1s infinite step-end;
  color: var(--blue);
  font-weight: bold;
}

@keyframes cursor-blink {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

.code-comment {
  color: #64748b;
  display: block;
}

.code-keyword {
  color: #f43f5e;
  font-weight: 600;
}

.code-string {
  color: #eab308;
}

.code-number {
  color: #a855f7;
}

/* ── Glow animations ── */
@keyframes glow-pulse-orange {
  from {
    text-shadow: 0 0 4px rgba(245, 158, 11, 0.2);
  }

  to {
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.8);
  }
}

@keyframes glow-pulse-blue {
  from {
    box-shadow: 0 0 4px rgba(59, 130, 246, 0.2);
  }

  to {
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.8);
  }
}

/* ───────────────────────────────────────────────────────────
   RESPONSIVE DESIGN FOR BENTO GRID
   ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .bento-card--col4 {
    grid-column: span 2;
  }

  .bento-card--col3 {
    grid-column: span 1;
  }
}

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

  .bento-card--col4,
  .bento-card--col2,
  .bento-card--col3 {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .bento-card--col4 .bento-card__visual {
    width: 100%;
    height: 180px;
  }

  .bento-card--col4 .bento-card__content {
    max-width: 100%;
  }
}

/* ── Swahira split section ────────────────────────────────── */
.swahira-section {
  background: var(--surface);
}

.swahira-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.swahira-split__img {
  max-width: 320px;
  margin: 0 auto;
  filter: drop-shadow(0 0 32px rgba(245, 158, 11, .18));
}

.swahira-split__eyebrow {
  color: var(--orange);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.swahira-split__title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.swahira-split__text {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* ── Steps / CTA ──────────────────────────────────────────── */

/* Stepper Showcase Layout */
.stepper-showcase {
  display: flex;
  gap: 3.5rem;
  margin-top: 4rem;
  align-items: stretch;
}

.stepper-left {
  flex: 1 1 42%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

/* Single continuous vertical track running through all steps */
.stepper-timeline-track {
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 2.35rem;
  width: 2px;
  background: #e2e8f0;
  z-index: 1;
  border-radius: 2px;
}

.stepper-right {
  flex: 1 1 58%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  cursor: pointer;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  position: relative;
  z-index: 2;
}

.step-item:hover {
  background: rgba(15, 23, 42, 0.02);
}

.step-item.active {
  background: var(--white);
  border-color: rgba(59, 130, 246, 0.15);
  box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.08),
    0 8px 16px -12px rgba(0, 0, 0, 0.03);
}

.step-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-top: 4px;
}

.step-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  z-index: 3;
}

.step-item:hover .step-dot {
  border-color: #94a3b8;
}

.step-item.active .step-dot {
  background: #ffffff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2), 0 2px 8px rgba(59, 130, 246, 0.3);
}

.step-item__num {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.step-item.active .step-item__num {
  color: var(--blue);
}

.step-item__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.step-item__desc {
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.6;
}

.step-item__action {
  margin-top: 0.85rem;
}

.step-cmd-copy {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.72rem;
  padding: 0.4rem 0.8rem;
  background: rgba(15, 23, 42, 0.03);
  border: 1px dashed rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-sm);
  color: var(--ink);
  cursor: copy;
  display: inline-flex;
  align-items: center;
  transition: all 0.22s ease;
}

.step-cmd-copy:hover {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--blue);
}

/* Installation Options (Desktop + CLI) */
.install-options {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.install-opt-btn {
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  transition: all 0.22s ease;
}

.opt-btn--primary {
  background: var(--blue);
  color: var(--white);
  border: 1px solid var(--blue);
}

.opt-btn--primary:hover {
  opacity: 0.9;
  color: var(--white);
}

.opt-btn--secondary {
  background: rgba(15, 23, 42, 0.03);
  color: var(--slate);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.opt-btn--secondary:hover {
  background: rgba(15, 23, 42, 0.06);
  color: var(--ink);
}

/* Welcome Screen Mockup */
.welcome-screen {
  display: flex;
  flex-direction: column;
  color: #e2e8f0;
  font-family: system-ui, -apple-system, sans-serif;
  padding: 0.6rem 0.8rem;
  height: 100%;
  overflow-y: hidden;
  gap: 0.6rem;
  box-sizing: border-box;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.welcome-screen::-webkit-scrollbar {
  display: none;
}

.welcome-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 0.15rem;
}

.welcome-logo {
  width: 32px;
  height: 32px;
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 0 10px rgba(129, 140, 248, 0.25));
}

.welcome-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.15rem 0;
  background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
}

.welcome-desc {
  font-size: 0.6rem;
  color: #94a3b8;
  max-width: 380px;
  line-height: 1.3;
  margin: 0;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  width: 100%;
}

.welcome-card {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.welcome-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #818cf8, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.welcome-card:hover::before {
  opacity: 1;
}

.card-title {
  font-size: 0.65rem;
  font-weight: 600;
  margin: 0 0 0.35rem 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #fff;
}

.card-icon {
  font-size: 0.75rem;
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  gap: 0.15rem;
  font-size: 0.58rem;
  font-weight: 500;
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #818cf8;
  color: #fff;
  transform: translateY(-1px);
}

.action-icon {
  font-size: 0.7rem;
}

.tip-container {
  background: rgba(129, 140, 248, 0.04);
  border: 1px dashed rgba(129, 140, 248, 0.15);
  border-radius: 4px;
  padding: 0.35rem;
  margin-top: 0.35rem;
  font-size: 0.58rem;
  color: #94a3b8;
  line-height: 1.25;
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
}

.tip-icon {
  font-size: 0.7rem;
  flex-shrink: 0;
}

.tip-content {
  text-align: left;
}

.accent-text {
  color: #818cf8;
}

.tip-text {
  margin: 0.05rem 0 0 0;
  opacity: 0.85;
}

.recents-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.recent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.35rem;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 0.3rem;
}

.recent-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: #818cf8;
}

.recent-left {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  flex: 1;
}

.recent-icon {
  font-size: 0.65rem;
  flex-shrink: 0;
  opacity: 0.6;
}

.recent-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
}

.recent-name {
  font-size: 0.58rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-path {
  font-size: 0.5rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.recent-meta {
  font-size: 0.5rem;
  color: #64748b;
  white-space: nowrap;
}

.shortcut-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.shortcut-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.shortcut-row:last-child {
  border-bottom: none;
}

.shortcut-label {
  font-size: 0.58rem;
  color: #94a3b8;
}

.shortcut-key {
  font-family: monospace;
  font-size: 0.5rem;
  padding: 1px 3px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  color: #fff;
}

/* Diagnostics Monitor Mockup */
.diagnostics-monitor {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: #e2e8f0;
  font-family: system-ui, -apple-system, sans-serif;
  text-align: left;
}

.monitor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.75rem;
}

.monitor-title-text {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #94a3b8;
}

.monitor-status {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.monitor-status--healing {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.25);
  animation: pulseHealing 2s infinite;
}

@keyframes pulseHealing {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.pipeline-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.pipeline-node {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 140px;
}

.node--success {
  border-color: rgba(34, 197, 94, 0.25);
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.05);
}

.node--success .node-icon {
  color: #22c55e;
  font-weight: bold;
}

.node--healing {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.05);
  animation: glowNode 2s infinite ease-in-out;
}

@keyframes glowNode {
  0%, 100% { border-color: rgba(245, 158, 11, 0.25); }
  50% { border-color: rgba(245, 158, 11, 0.5); }
}

.node--healing .node-icon {
  color: #f59e0b;
}

.node-content {
  display: flex;
  flex-direction: column;
}

.node-method {
  font-weight: 800;
  font-size: 0.65rem;
}

.node--success .node-method {
  color: #4ade80;
}

.node--healing .node-method {
  color: #fbbf24;
}

.node-path {
  font-family: monospace;
  color: #cbd5e1;
  font-size: 0.72rem;
}

.node-meta {
  margin-left: auto;
  font-size: 0.68rem;
  color: #94a3b8;
}

.pipeline-connector {
  height: 2px;
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
}

.connector--active::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to right, #4ade80, #facc15);
  animation: flowLight 2.5s infinite linear;
  background-size: 200% 100%;
}

@keyframes flowLight {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.heal-diagnostics {
  background: rgba(245, 158, 11, 0.04);
  border: 1px solid rgba(245, 158, 11, 0.12);
  padding: 1rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.heal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fbbf24;
}

.heal-desc {
  font-size: 0.75rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.heal-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
  margin: 0.25rem 0;
}

.heal-progress-bar {
  height: 100%;
  width: 100%;
  background: #fbbf24;
  animation: healLoading 3s infinite linear;
}

@keyframes healLoading {
  0% { width: 0%; }
  70% { width: 100%; opacity: 1; }
  90%, 100% { width: 100%; opacity: 0; }
}

.heal-footer-success {
  font-size: 0.74rem;
  color: #4ade80;
  animation: fadeInHealed 3s infinite step-end;
}

@keyframes fadeInHealed {
  0%, 69% { opacity: 0; }
  70%, 100% { opacity: 1; }
}

/* MacOS Showcase Window */
.showcase-window {
  width: 100%;
  min-height: 380px;
  background: #090d16;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.window-header {
  height: 42px;
  background: #0f172a;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dot--red {
  background: #ef4444;
}

.window-dot--yellow {
  background: #eab308;
}

.window-dot--green {
  background: #22c55e;
}

.window-title {
  color: #475569;
  font-size: 0.72rem;
  font-family: 'Source Code Pro', monospace;
  margin-right: 32px;
}

.window-body {
  flex: 1;
  position: relative;
  padding: 1.5rem;
  background: #090d16;
}

.showcase-panel {
  position: absolute;
  inset: 1.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.showcase-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Simulated terminal shell */
.terminal-shell {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.shell-line {
  margin-bottom: 0.5rem;
}

.shell-prompt {
  color: #60a5fa;
  font-weight: bold;
}

.shell-output {
  color: #64748b;
  margin-bottom: 0.5rem;
}

.shell-output--success {
  color: #4ade80;
}

.shell-output--run {
  color: #e2e8f0;
}

.shell-output--heal {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
}

/* Syntax highlighted editor mockup */
.editor-workspace {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.editor-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 1rem;
}

.editor-tab {
  color: #cbd5e1;
  font-size: 0.72rem;
  font-family: 'Source Code Pro', monospace;
  padding: 0.25rem 0.75rem 0.5rem;
  border-bottom: 2px solid var(--blue);
}

.editor-code {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #94a3b8;
}

.code-line {
  margin-bottom: 0.2rem;
}

.c-comment {
  color: #475569;
}

.c-section {
  color: #f43f5e;
  font-weight: 600;
}

.c-string {
  color: #fbbf24;
}

.c-keyword {
  color: #a855f7;
}

.c-variable {
  color: #38bdf8;
}

/* Responsive styles for Stepper */
@media (max-width: 900px) {
  .stepper-showcase {
    flex-direction: column;
    gap: 2rem;
  }

  .stepper-left {
    flex: 1;
    gap: 1rem;
  }

  .stepper-right {
    flex: 1;
  }

  .step-line {
    display: none;
  }

  .showcase-window {
    min-height: 300px;
  }

  .showcase-panel {
    inset: 1.25rem;
  }

  .window-body {
    padding: 1.25rem;
  }
}


.cta-center {
  text-align: center;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .65);
  padding: 5rem 1.5rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
}

.footer__brand img {
  height: 28px;
}

.footer__brand span {
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}

.footer__tagline {
  font-size: .88rem;
  line-height: 1.65;
  max-width: 240px;
}

.footer__col h4 {
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer__col a {
  font-size: .9rem;
  transition: color .2s;
}

.footer__col a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .82rem;
  opacity: .5;
}

/* ── Download page ────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) 1.5rem 5rem;
  text-align: center;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, .05) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero__title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
}

.page-hero__sub {
  font-size: 1.1rem;
  color: var(--slate);
  line-height: 1.7;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 5rem;
}

.platform-col {
  padding: 3rem 2.5rem;
  border-right: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: background .2s;
}

.platform-col:last-child {
  border-right: none;
}

.platform-col:hover {
  background: var(--surface);
}

.platform-col__icon {
  font-size: 2.5rem;
  line-height: 1;
}

.platform-col__name {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.5px;
  margin-top: .25rem;
}

.download-btn {
  display: block;
  padding: .75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
  transition: all .22s;
  border: 1.5px solid transparent;
}

.download-btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.download-btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.download-btn--outline {
  border-color: var(--border);
  color: var(--ink);
}

.download-btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(59, 130, 246, .04);
}

.sysreq {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 3.5rem;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.sysreq__item {
  text-align: center;
}

.sysreq__label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .5rem;
}

.sysreq__val {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(.8);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  opacity: 0;
}

.animate.visible {
  animation: fadeUp .6s ease forwards;
}

.animate[data-delay="1"] {
  animation-delay: .1s;
}

.animate[data-delay="2"] {
  animation-delay: .2s;
}

.animate[data-delay="3"] {
  animation-delay: .3s;
}

.animate[data-delay="4"] {
  animation-delay: .4s;
}

.animate[data-delay="5"] {
  animation-delay: .5s;
}

.animate[data-delay="6"] {
  animation-delay: .6s;
}

/* ── Mobile responsive ────────────────────────────────────── */
@media (max-width: 900px) {

  .navbar__links,
  .navbar__actions .btn-ghost {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .navbar__mobile {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    transform: translateY(-110%);
    transition: transform .3s ease;
    z-index: 999;
  }

  .navbar__mobile.open {
    transform: translateY(0);
  }

  .navbar__mobile a {
    padding: .75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
  }

  .navbar__mobile a:hover {
    background: var(--surface);
  }

  .swahira-split {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .swahira-split__img {
    margin: 2rem auto 0;
  }


  .platforms-grid {
    grid-template-columns: 1fr;
    border-radius: var(--radius-md);
  }

  .platform-col {
    border-right: none;
    border-bottom: 1.5px solid var(--border);
  }

  .platform-col:last-child {
    border-bottom: none;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }
}

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

  .sysreq {
    padding: 2rem;
    gap: 2rem;
  }
}