/* ============================================================
   AutoWealthAI — Dark Glassmorphic HUD Dashboard
   Obsidian background · Frosted glass cards · Sage/Mint glow
   ============================================================ */

/* ---- Custom Properties / Tokens ---- */
:root {
  --bg-deep: #090b0e;
  --bg-card: rgba(255, 255, 255, 0.03);
  --glass-blur: 16px;
  --glass-border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text-color: #f1f5f9;
  --text-muted: #94a3b8;
  --text-faint: #64748b;

  --accent: #4ade80;
  --accent-soft: #34d399;
  --accent-deep: #1f7a5a;
  --glow: rgba(74, 222, 128, 0.35);
  --glow-soft: rgba(52, 211, 153, 0.18);

  --success: #4ade80;
  --warning: #fbbf24;
  --info: #38bdf8;

  --font-sans: 'Inter', 'Outfit', sans-serif;
  --font-ar-sans: 'Cairo', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;

  --container-max-width: 1200px;
  --header-height: 72px;
  --radius: 20px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

[dir="rtl"] {
  --font-sans: var(--font-ar-sans);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-color);
  background-color: var(--bg-deep);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(65, 140, 110, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 12% 88%, rgba(65, 160, 120, 0.16) 0%, transparent 45%),
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 44px 44px, 44px 44px;
  background-attachment: fixed;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0a0c0f;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(#2b3a33, #1d2621);
  border-radius: 10px;
  border: 2px solid #0a0c0f;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-deep);
}
* {
  scrollbar-width: thin;
  scrollbar-color: #2b3a33 #0a0c0f;
}

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

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

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ============================================================
   Floating Pill Navigation
   ============================================================ */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(96%, 1160px);
  z-index: 1000;
  background: var(--bg-card);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  padding: 0 0.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-size: 1.15rem;
  color: var(--text-color);
  white-space: nowrap;
}

.logo-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.88rem;
}

.nav-links a:not(.nav-cta) {
  position: relative;
  color: var(--text-muted);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a:not(.nav-cta):hover {
  color: var(--text-color);
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease-out;
}

.nav-links a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 0.5rem;
}

.lang-toggle {
  background: none;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  white-space: nowrap;
}

.lang-toggle span.active {
  font-weight: 700;
  color: var(--accent);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-color);
  padding: 0.4rem;
}

/* ============================================================
   Bento Dashboard Grid
   ============================================================ */
.bento-dashboard {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4rem);
  max-width: 1240px;
  margin: 0 auto;
  padding: calc(var(--header-height) + 2.5rem) var(--space-md) var(--space-lg);
}

.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.5rem);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bento-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.4), 0 0 24px var(--glow-soft);
}

.bento-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: 1.75rem;
}

.bento-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-color);
}

.bento-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.bento-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.live-tag {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--glow);
  animation: pulse 2s infinite;
}

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

/* ============================================================
   Refined Hero / Dial & Performance Stats
   ============================================================ */
.bento-herorad {
  display: grid;
  grid-template-columns: 270px 1fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(2rem, 3.5vw, 2.75rem);
}

.dial-wrap {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto;
  flex-shrink: 0;
}

.dial {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.dial-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 8;
}

.dial-orbit {
  fill: none;
  stroke: rgba(74, 222, 128, 0.1);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.dial-progress circle {
  fill: none;
  stroke: url(#dialGrad);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 10px rgba(74, 222, 128, 0.4));
  transition: stroke-dashoffset 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.dial-wrap.animate .dial-progress circle {
  stroke-dashoffset: 8;
}

.dial-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
}

.dial-number-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.dial-total {
  font-size: 2.85rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #ffffff;
}

.dial-plus {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-left: 2px;
}

.dial-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: -0.2px;
  margin-bottom: 0.4rem;
  max-width: 180px;
  line-height: 1.25;
}

.dial-badge {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.dial-stats {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  width: 100%;
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
}

.stat-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.stat-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  min-width: 80px;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.stat-value small {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-left: 2px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  text-align: right;
}

.stat-bar {
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.stat-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.45);
  transition: width 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   Enhanced Ecosystem Marquee (Fixed for Mobile GPU Animation)
   ============================================================ */
.tech-marquee-wrapper {
  background: rgba(14, 23, 34, 0.45);
  border: 1px solid var(--glass-border);
  border-radius: 1.25rem;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  overflow: hidden;
  margin: -0.5rem 0 1rem;
  width: 100%;
  box-sizing: border-box;
}

.marquee-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  white-space: nowrap;
  flex-shrink: 0;
}

.tech-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 0.65rem;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  -webkit-animation: marqueeMove 28s linear infinite;
  animation: marqueeMove 28s linear infinite;
}

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

.marquee-track span {
  font-size: 0.8rem;
  font-weight: 500;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
}

.marquee-track span:hover {
  color: var(--accent);
  border-color: rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.08);
}

@-webkit-keyframes marqueeMove {
  0% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  100% { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}

@keyframes marqueeMove {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ============================================================
   Repo & Showcase Cards
   ============================================================ */
.repo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.35rem;
}

.repo-card {
  background: rgba(14, 27, 42, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: 1.15rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: var(--transition);
}

.repo-card:hover {
  border-color: rgba(74, 222, 128, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 20px var(--glow-soft);
}

.repo-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-xs);
}

.repo-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.35;
}

.repo-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.roi-highlight {
  font-size: 0.82rem;
  color: #cbd5e1;
  background: rgba(74, 222, 128, 0.05);
  border-left: 3px solid var(--accent);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  line-height: 1.45;
}

.roi-highlight strong {
  color: var(--accent);
}

.repo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.repo-tags span {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--success);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.28);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.status-live .pulse-dot {
  width: 7px;
  height: 7px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.4rem;
}

.repo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.repo-btn .gh-ico {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'><path d='M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'><path d='M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8z'/></svg>") center / contain no-repeat;
}

.repo-btn.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-color);
}

.repo-btn.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 14px var(--glow-soft);
  transform: translateY(-1px);
}

.repo-btn.btn-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  border-color: transparent;
  color: #0b0d0e;
}

.repo-btn.btn-cta:hover {
  box-shadow: 0 0 20px var(--glow);
  transform: translateY(-1px);
}

/* ============================================================
   3-Step Method Section
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.step-card:hover {
  border-color: rgba(74, 222, 128, 0.3);
  background: rgba(255, 255, 255, 0.035);
}

.step-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================================
   Fondateurs — Expanded & Balanced Glassmorphic Cards (#about)
   ============================================================ */
.bento-about {
  display: flex;
  flex-direction: column;
}

.founders-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 100%;
  margin-top: 0.5rem;
}

.founder-profile-card {
  background: rgba(14, 23, 34, 0.45);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.founder-profile-card:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 222, 128, 0.4);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 30px var(--glow-soft);
  background: rgba(16, 28, 42, 0.55);
}

.founder-profile-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: radial-gradient(circle at 50% 0%, rgba(74, 222, 128, 0.08), transparent 70%);
  pointer-events: none;
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}

.avatar-ring {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 50%, rgba(255, 255, 255, 0.15) 100%);
  flex-shrink: 0;
  box-shadow: 0 0 24px var(--glow-soft);
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #0d1117;
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.avatar-img:hover {
  transform: scale(1.06);
}

.profile-meta {
  display: flex;
  flex-direction: column;
}

.role-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 0.2rem 0.7rem;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 0.45rem;
}

.founder-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin: 0;
}

.founder-title {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.founder-bio {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  min-height: 52px;
}

.profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.profile-chips span {
  font-size: 0.76rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
}

.profile-cta {
  margin-top: auto;
}

.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.founder-link:hover {
  background: rgba(74, 222, 128, 0.12);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 18px var(--glow-soft);
  transform: translateY(-2px);
}

/* ============================================================
   Contact Form Glass Bento
   ============================================================ */
.form-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border-radius: 12px;
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-faint);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px var(--glow-soft);
  background: rgba(255, 255, 255, 0.05);
}

.form-disclaimer {
  font-size: 0.76rem;
  color: var(--text-faint);
  text-align: center;
  margin-top: 0.3rem;
}

.error-msg {
  font-size: 0.78rem;
  color: #f87171;
  margin-top: 0.15rem;
  display: block;
  min-height: 16px;
  font-family: var(--font-sans);
  transition: opacity 0.2s ease;
  opacity: 0;
}

.error-msg.visible {
  opacity: 1;
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #f87171 !important;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.form-group input.valid,
.form-group textarea.valid {
  border-color: var(--success) !important;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: #ffffff;
  color: #0b0d0e;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  box-shadow: 0 0 26px var(--glow), 0 6px 24px rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.btn-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #0b0d0e;
}

.btn-cta:hover {
  box-shadow: 0 0 24px var(--glow);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-color);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 14px var(--glow-soft);
}

.btn-full {
  width: 100%;
  min-height: 48px;
}

.btn:active {
  transform: scale(0.97);
}

/* ============================================================
   Footer & Contact Details
   ============================================================ */
.footer {
  padding: var(--space-lg) 0 1rem;
  border-top: 1px solid var(--glass-border);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.footer-container {
  text-align: center;
  padding-bottom: var(--space-sm);
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-sm);
}

.contact-item {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-item strong {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  margin-right: 0.4rem;
  color: var(--text-faint);
}

.contact-item a {
  color: var(--text-color);
}

.contact-item a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* ============================================================
   WhatsApp Floating Button
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-sm);
  right: var(--space-sm);
  background: #25D366;
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  z-index: 100;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 0 24px rgba(37, 211, 102, 0.5);
}

/* ============================================================
   Custom Popup Modal
   ============================================================ */
.modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(4, 6, 8, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999 !important;
  display: none !important;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex !important;
  opacity: 1 !important;
}

.modal-card {
  background: #0f1317;
  border: 1px solid var(--glass-border);
  padding: var(--space-md);
  max-width: 400px;
  width: 90%;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.modal-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
}

.modal-icon-wrapper.success {
  background-color: rgba(37, 211, 102, 0.12);
  color: #4ade80;
  box-shadow: 0 0 20px var(--glow-soft);
}

.modal-icon-wrapper.error {
  background-color: rgba(239, 68, 68, 0.12);
  color: #f87171;
}

.modal-icon-wrapper svg {
  width: 32px;
  height: 32px;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff !important;
}

.modal-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
}

#modalCloseBtn {
  width: 100%;
}

/* ============================================================
   Clickable Image Lightbox (Compact Zoom Pop-up)
   ============================================================ */
.avatar-img,
.profile-img,
.founder-avatar {
  cursor: zoom-in;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.avatar-img:hover,
.profile-img:hover,
.founder-avatar:hover {
  transform: scale(1.05);
  filter: brightness(1.08);
}

.lightbox-overlay {
  position: fixed !important;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 6, 8, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  width: 240px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(74, 222, 128, 0.3);
  background: rgba(14, 23, 34, 0.85);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(74, 222, 128, 0.2);
  transform: scale(0.8);
  transition: transform 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-overlay.active .lightbox-content {
  transform: scale(1.05);
}

#lightboxImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(10, 14, 20, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(74, 222, 128, 0.25);
  border-color: #4ade80;
  color: #4ade80;
  transform: scale(1.1);
}

/* ============================================================
   Responsive Adaptations
   ============================================================ */
@media (max-width: 992px) {
  .navbar {
    top: 10px;
    width: 96%;
  }
  .nav-links a:not(.nav-cta) {
    font-size: 0.85rem;
    padding: 0.5rem 0.6rem;
  }
  .nav-cta {
    padding: 0.5rem 0.9rem;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .bento-herorad {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }

  .dial-stats {
    width: 100%;
  }

  .stat-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.2rem;
  }

  .stat-label {
    text-align: center;
    font-size: 0.82rem;
  }

  .stat-value {
    min-width: auto;
    font-size: 1.4rem;
  }

  .tech-marquee-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 0.75rem;
  }

  .marquee-title {
    text-align: center;
  }

  .founders-showcase {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .founder-profile-card {
    min-height: auto;
    padding: 1.75rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .bento-dashboard {
    padding: calc(var(--header-height) + 2rem) var(--space-sm) var(--space-lg);
  }

  .navbar {
    width: 96%;
    border-radius: 24px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: rgba(12, 15, 18, 0.95);
    backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-sm);
    gap: 0.4rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a:not(.nav-cta) {
    padding: 0.65rem 1rem;
    border-radius: 12px;
  }

  .nav-links a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta,
  .lang-toggle {
    margin: 0.2rem 0;
    width: 100%;
    justify-content: center;
  }

  .mobile-menu-btn {
    display: block;
  }

  .footer-bottom {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
}

@media (max-width: 480px) {
  .dial-wrap {
    width: 220px;
    height: 220px;
  }

  .dial-total {
    font-size: 2.35rem;
  }

  .dial-plus {
    font-size: 1.3rem;
  }

  .dial-label {
    font-size: 0.74rem;
    margin-bottom: 0.3rem;
    max-width: 140px;
  }

  .dial-badge {
    font-size: 0.52rem;
    padding: 0.15rem 0.45rem;
  }

  .bento-card {
    padding: 1.5rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .stat-fill { transition: none; }
  * { animation-duration: 0.001ms !important; }
}

/* ============================================================
   Digital QR Business Card Pop-up Modal
   ============================================================ */
   .nav-qr-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 999px;
    cursor: pointer;
  }
  
  .qr-modal-card {
    position: relative;
    background: rgba(14, 23, 34, 0.95);
    border: 1px solid rgba(74, 222, 128, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem 1.75rem;
    width: 90%;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(74, 222, 128, 0.15);
    transform: scale(0.92);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .qr-modal-overlay.active .qr-modal-card {
    transform: scale(1);
  }
  
  .qr-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .qr-modal-close:hover {
    background: rgba(74, 222, 128, 0.2);
    border-color: #4ade80;
    color: #4ade80;
  }
  
  .brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.25);
    color: #4ade80;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
  }
  
  .brand-pill .pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
  }
  
  .qr-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
  }
  
  .qr-card-subtitle {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.4;
    margin-bottom: 1.25rem;
  }
  
  .qr-code-frame {
    background: #ffffff;
    padding: 12px;
    border-radius: 16px;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(74, 222, 128, 0.2);
    margin-bottom: 1rem;
  }
  
  .qr-code-frame img {
    display: block;
    width: 170px;
    height: 170px;
    border-radius: 6px;
  }
  
  .qr-scan-hint {
    font-size: 0.76rem;
    color: #cbd5e1;
    margin-bottom: 1.25rem;
  }
  
  .qr-actions-stack {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .qr-code-frame img {
    pointer-events: none;
    user-select: none;
    cursor: default;
  }
  .qr-code-frame {
    background: #ffffff;
    padding: 16px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(74, 222, 128, 0.2);
    margin-bottom: 1.1rem;
  }
  
  #qrcodeCanvas canvas,
  #qrcodeCanvas img {
    display: block;
    width: 210px !important;
    height: 210px !important;
    pointer-events: none;
    user-select: none;
  }