/* ═══════════════════════════════════════════════════════════════════════════
   SIKANI TECHNOLOGIES — Landing Page
   Brand: Gold (#D4AF37) on Dark (#0a0a0a)
   Font: Space Grotesk (display) + Inter (body)
   ═══════════════════════════════════════════════════════════════════════════ */

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

:root {
  --gold:       #D4AF37;
  --gold-light: #E8D48B;
  --gold-dark:  #B8960F;
  --bg:         #0a0a0a;
  --bg-card:    #111111;
  --bg-card-hover: #161616;
  --text:       #ffffff;
  --text-muted: rgba(255,255,255,0.5);
  --text-dim:   rgba(255,255,255,0.3);
  --border:     rgba(212,175,55,0.12);
  --border-hover: rgba(212,175,55,0.3);
  --radius:     16px;
  --radius-sm:  10px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --bg-alt:     #0f0d08;
  --bg-warm:    #100d06;
}

html {
  font-size: 16px;
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.25) rgba(10, 10, 10, 0.5);
}

/* ── Custom Scrollbar ──────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 10, 10, 0.5);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.3), rgba(184, 150, 15, 0.15));
  border-radius: 3px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.6), rgba(232, 212, 139, 0.3));
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, var(--gold), rgba(212, 175, 55, 0.5));
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: none; border: none; background: none; font: inherit; color: inherit; }

::selection {
  background: var(--gold);
  color: var(--bg);
}

/* ── Cursor ─────────────────────────────────────────────────────────────── */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  z-index: 100000;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease);
}

.cursor.hover {
  width: 48px;
  height: 48px;
  background: rgba(212,175,55,0.15);
  border: 1px solid var(--gold);
  mix-blend-mode: normal;
}

.cursor-trail {
  position: fixed;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.2);
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out;
}

@media (hover: none) {
  .cursor, .cursor-trail { display: none; }
  body { cursor: auto; }
  a, button { cursor: pointer; }
}

/* ── Loader ─────────────────────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-inner { text-align: center; }

.loader-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin: 24px auto 16px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  border-radius: 2px;
  transition: width 0.3s ease;
}

.loader-text {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.loader-dots::after {
  content: '';
  animation: dots 1.5s steps(3) infinite;
}

@keyframes dots {
  0% { content: ''; }
  33% { content: '.'; }
  66% { content: '..'; }
  100% { content: '...'; }
}

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

/* ── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  padding: 12px 40px;
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(40px) saturate(1.4);
  -webkit-backdrop-filter: blur(40px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.4);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--gold);
  color: var(--bg);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-display);
  transition: all 0.3s var(--ease);
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.nav-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s var(--ease);
}

.nav-menu-btn.open span:first-child { transform: rotate(45deg) translate(3px, 3px); }
.nav-menu-btn.open span:last-child { transform: rotate(-45deg) translate(3px, -3px); }

@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .nav-links, .nav-actions { display: none; }
  .nav-menu-btn { display: flex; }
}

/* ── Mobile Menu ────────────────────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.mobile-menu.open { opacity: 1; pointer-events: all; }

.mobile-link {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--text-muted);
  margin: 16px 0;
  text-align: center;
  transition: color 0.3s;
}

.mobile-link:hover, .mobile-link.cta { color: var(--gold); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 40px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-bg canvas {
  width: 100%;
  height: 100%;
}

/* ── Hero photo background (Pexels CDN, ken-burns) ─────────────────── */
.hero-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.8s ease;
  animation: heroPanZoom 25s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.hero-photo-bg img.loaded {
  opacity: 1;
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,10,10,0.72) 0%,
    rgba(10,10,10,0.55) 40%,
    rgba(10,10,10,0.78) 100%
  );
  z-index: 1;
}

@keyframes heroPanZoom {
  0% { transform: scale(1.1) translate(0, 0); }
  50% { transform: scale(1.18) translate(-1.5%, -1%); }
  100% { transform: scale(1.12) translate(1%, 0.5%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo-bg img { animation: none; transform: scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(212,175,55,0.08);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-display);
  margin-bottom: 32px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 88px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-line { display: block; }

.gradient-text {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-display);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212,175,55,0.3);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover .btn-shine { left: 100%; }

.btn-outline {
  border: 1px solid var(--border-hover);
  color: var(--text-muted);
}

.btn-outline:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ── Stats ──────────────────────────────────────────────────────────────── */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.stat { text-align: center; }

.stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--gold);
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── Scroll Indicator ───────────────────────────────────────────────────── */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

.hero-scroll-indicator span {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── Sections ───────────────────────────────────────────────────────────── */
.section {
  padding: 120px 40px;
  position: relative;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: var(--font-display);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 16px auto 0;
  line-height: 1.7;
}

/* ── Product Cards ──────────────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.product-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212,175,55,0.03) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.product-card:hover .card-glow { opacity: 1; }

.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,175,55,0.08);
  border-radius: 14px;
  color: var(--gold);
  margin-bottom: 24px;
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.product-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.card-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

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

/* ── Features Grid ──────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: all 0.4s var(--ease);
}

.feature:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.feature-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: rgba(212,175,55,0.1);
  line-height: 1;
  margin-bottom: 16px;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

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

/* ── Steps ──────────────────────────────────────────────────────────────── */
.steps {
  max-width: 600px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 32px;
  padding-bottom: 48px;
}

.step-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step-number span {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--gold);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
}

.step-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin-top: 12px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  padding-top: 10px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Security ───────────────────────────────────────────────────────────── */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.security-item {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.security-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.security-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,175,55,0.08);
  border-radius: 50%;
  color: var(--gold);
  margin: 0 auto 16px;
}

.security-item h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.security-item p {
  font-size: 12px;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .security-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Download ───────────────────────────────────────────────────────────── */
.download {
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(212,175,55,0.03) 50%, var(--bg) 100%);
}

.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease);
  color: var(--text);
}

.store-btn:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.store-btn svg { color: var(--gold); flex-shrink: 0; }
.store-label { display: block; font-size: 10px; color: var(--text-dim); }
.store-name { display: block; font-size: 16px; font-weight: 600; font-family: var(--font-display); }

.download-roles {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-dim);
}

.text-link {
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.text-link:hover { border-color: var(--gold); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  padding: 80px 40px 40px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.3);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-display);
}

.footer-tagline {
  font-size: 13px !important;
  color: var(--text-dim) !important;
  font-weight: 400 !important;
  margin-top: 4px;
}

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

.footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-display);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}

.footer-partner {
  margin-top: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.2);
}

.footer-partner a {
  color: rgba(212,175,55,0.35);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-partner a:hover {
  color: var(--gold);
}

/* ── About Section ─────────────────────────────────────────────────────── */
.about {
  position: relative;
  background: linear-gradient(180deg, rgba(212,175,55,0.02) 0%, var(--bg) 100%);
  overflow: hidden;
}

.about .container { position: relative; z-index: 2; }

/* p5.js network canvas */
.about-network-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

.about-network-canvas canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Matter.js security physics canvas */
.security-physics-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.security { position: relative; overflow: hidden; }
.security .container { position: relative; z-index: 2; }

/* Rough.js hand-drawn canvas */
.rough-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}

.how-it-works { position: relative; overflow: hidden; }
.how-it-works .container { position: relative; z-index: 2; }

/* Pts.js flowing field */
.pts-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.pts-canvas canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.text-reveal-container { position: relative; z-index: 2; }

/* GPU.js metaball canvas */
.gpu-metaball-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.features { position: relative; overflow: hidden; }
.features .container { position: relative; z-index: 2; }

@media (max-width: 768px) {
  .about-network-canvas { opacity: 0.25; }
  .security-physics-canvas { display: none; }
  .rough-canvas { display: none; }
  .pts-canvas { opacity: 0.15; }
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.about-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
}

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

.about-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,175,55,0.08);
  border-radius: 50%;
  color: var(--gold);
  margin: 0 auto 20px;
  position: relative;
}

/* Pulse ring around icon */
.about-card-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.2);
  animation: aboutIconPulse 2.5s ease-in-out infinite;
}

.about-card:nth-child(2) .about-card-icon::after { animation-delay: 0.8s; }
.about-card:nth-child(3) .about-card-icon::after { animation-delay: 1.6s; }

/* Second outer ring */
.about-card-icon::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.08);
  animation: aboutIconPulseOuter 3.5s ease-in-out infinite;
}

.about-card:nth-child(2) .about-card-icon::before { animation-delay: 1.2s; }
.about-card:nth-child(3) .about-card-icon::before { animation-delay: 2.4s; }

@keyframes aboutIconPulse {
  0%, 100% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.25); opacity: 0; }
}

@keyframes aboutIconPulseOuter {
  0%, 100% { transform: scale(1); opacity: 0.08; }
  50% { transform: scale(1.35); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .about-card-icon::after,
  .about-card-icon::before { animation: none; }
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--gold);
}

.about-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── 3D Globe ──────────────────────────────────────────────────────────── */
.about-globe-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 48px 0 32px;
  position: relative;
}

.about-globe-canvas {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  cursor: grab;
  pointer-events: auto;
}

.about-globe-canvas:active {
  cursor: grabbing;
}

.about-globe-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 16px;
  text-align: center;
}

@media (max-width: 768px) {
  .about-globe-canvas { width: 240px; height: 240px; }
  .about-globe-wrap { margin: 32px 0 24px; }
}

.about-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-stat { text-align: center; }

.about-stat-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.about-stat-suffix {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
}

.about-stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .about-cards { grid-template-columns: 1fr; }
  .about-stats { flex-direction: column; gap: 32px; }
  .about-stat-number { font-size: 40px; }
}

/* ── Phone Mockup Showcase ─────────────────────────────────────────────── */
.phone-showcase {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(212,175,55,0.03) 0%, var(--bg) 70%);
}

.phone-showcase-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.phone-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  perspective: 1200px;
}

.phone-wrapper {
  flex-shrink: 0;
  will-change: transform;
}

.phone-frame {
  width: 280px;
  height: 570px;
  background: #1a1a1a;
  border-radius: 40px;
  border: 3px solid #333;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 25px 80px rgba(0,0,0,0.5),
    0 0 40px rgba(212,175,55,0.1),
    inset 0 0 30px rgba(0,0,0,0.3);
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #0a0a0a;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

.phone-notch::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #222;
  border-radius: 50%;
}

.phone-screen {
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border-radius: 37px;
  overflow: hidden;
}

.phone-screen-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.seller-screen {
  background: #0d0a04;
}

.buyer-screen {
  background: #040a0d;
}

/* ── Phone Screenshot ─────────────────────────────────────────────────── */

.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* ── Phone screen glow + screenshot animations ─────────────────────── */
.phone-screen-content {
  position: relative;
}

/* Ambient screen glow */
.phone-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(212, 175, 55, 0.08) 0%,
    transparent 30%,
    transparent 70%,
    rgba(212, 175, 55, 0.05) 100%
  );
  animation: screenGlow 4s ease-in-out infinite alternate;
}

@keyframes screenGlow {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* Scan line sweeping down the screen */
.phone-screen::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
  z-index: 3;
  pointer-events: none;
  animation: scanLine 3.5s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}

@keyframes scanLine {
  0% { top: -2px; opacity: 0; }
  5% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Seller screen scan line delayed */
.seller-screen ~ .phone-screen::before,
.phone-left .phone-screen::before {
  animation-delay: 0s;
}

.buyer-screen ~ .phone-screen::before,
.phone-right .phone-screen::before {
  animation-delay: 1.8s;
}

/* Continuous subtle pan on the screenshot images */
.phone-left .phone-screenshot {
  animation: screenshotPanSeller 12s ease-in-out infinite alternate;
}

.phone-right .phone-screenshot {
  animation: screenshotPanBuyer 14s ease-in-out infinite alternate;
}

@keyframes screenshotPanSeller {
  0% { object-position: top center; transform: scale(1.05); }
  50% { object-position: center center; transform: scale(1.1); }
  100% { object-position: top center; transform: scale(1.05); }
}

@keyframes screenshotPanBuyer {
  0% { object-position: top center; transform: scale(1.05); }
  40% { object-position: center left; transform: scale(1.08); }
  100% { object-position: top center; transform: scale(1.05); }
}

/* Phone frame border shimmer */
.phone-frame::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 4;
  background: linear-gradient(
    135deg,
    transparent 30%,
    rgba(212, 175, 55, 0.15) 45%,
    rgba(212, 175, 55, 0.25) 50%,
    rgba(212, 175, 55, 0.15) 55%,
    transparent 70%
  );
  background-size: 300% 300%;
  animation: phoneFrameShimmer 5s ease-in-out infinite;
}

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

.phone-right .phone-frame::after {
  animation-delay: 2.5s;
}

@media (prefers-reduced-motion: reduce) {
  .phone-screenshot { animation: none !important; }
  .phone-screen::before,
  .phone-screen::after,
  .phone-frame::after { animation: none; opacity: 0; }
}

.phone-features-text {
  max-width: 300px;
  text-align: center;
  padding: 20px;
  flex-shrink: 1;
}

.phone-features-text h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.phone-features-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.phone-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-feature-list li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.phone-feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .phone-container {
    flex-direction: column;
    gap: 24px;
  }
  .phone-wrapper {
    transform: none !important;
  }
  .phone-frame {
    width: 180px;
    height: 370px;
    border-radius: 28px;
  }
  .phone-notch {
    width: 80px;
    height: 20px;
    border-radius: 0 0 12px 12px;
  }
  .phone-screen { border-radius: 25px; }
  .phone-features-text { order: -1; max-width: 100%; text-align: center; }

  /* Side by side phones on mobile */
  .phone-container {
    flex-direction: row !important;
    gap: 16px;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
  }

  .phone-wrapper { transform: none !important; }

  .phone-left {
    animation: phoneFloatLeft 3s ease-in-out infinite;
  }
  .phone-right {
    animation: phoneFloatRight 3s ease-in-out infinite;
    animation-delay: 0.8s;
  }
}

@keyframes phoneFloatLeft {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-6px) rotate(0.5deg); }
}

@keyframes phoneFloatRight {
  0%, 100% { transform: translateY(0) rotate(0.5deg); }
  50% { transform: translateY(-6px) rotate(-0.5deg); }
}

@media (max-width: 480px) {
  .phone-frame {
    width: 140px;
    height: 280px;
    border-radius: 24px;
  }
  .phone-notch {
    width: 70px;
    height: 18px;
  }
  .phone-screen { border-radius: 21px; }

}

/* ── Horizontal Scroll Showcase ────────────────────────────────────────── */
.horizontal-section {
  padding: 120px 0;
  overflow: hidden;
}

.horizontal-header {
  text-align: center;
  padding: 0 40px;
  margin-bottom: 60px;
}

.horizontal-track {
  display: flex;
  gap: 24px;
  padding: 0 40px;
  width: max-content;
}

.horizontal-card {
  width: 360px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 36px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.horizontal-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}

.horizontal-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
}

.horizontal-card:hover::after {
  transform: scaleX(1);
}

.h-card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,175,55,0.06);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--gold);
  margin-bottom: 24px;
}

.horizontal-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.horizontal-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .horizontal-card { width: 280px; padding: 32px 24px; }
}

/* ── Text Reveal Section ───────────────────────────────────────────────── */
.text-reveal-section {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px;
  overflow: hidden;
}

.text-reveal-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.reveal-text {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -1px;
}

.reveal-word {
  display: inline-block;
  margin: 0 0.15em;
  will-change: transform, opacity, filter;
  transition: color 0.3s;
}

/* ── Responsive Global ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .section { padding: 80px 20px; }
  .hero { padding: 100px 20px 60px; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .stat-divider { display: none; }
  .hero-title { letter-spacing: -1px; }
  .text-reveal-section { padding: 60px 20px; min-height: 50vh; }
  .horizontal-section { padding: 80px 0; }
  .phone-showcase { padding: 40px 16px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PREMIUM SCROLL ANIMATIONS — Additional Styles
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Scroll Progress Indicator ─────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 10001;
  pointer-events: none;
}

/* ── Gradient Mesh Background ──────────────────────────────────────────── */
.gradient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212,175,55,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(212,175,55,0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(184,150,15,0.04) 0%, transparent 50%);
  pointer-events: none;
  will-change: background;
}

/* ── Hero Parallax Shapes ──────────────────────────────────────────────── */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: screen;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.hero-shape.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
  background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
  filter: blur(40px);
}

.hero-shape.shape-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: 15%;
  border: 1px solid rgba(212,175,55,0.06);
  filter: blur(1px);
}

.hero-shape.shape-3 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 25%;
  background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, transparent 60%);
  filter: blur(30px);
}

/* ── SplitType Character Animation Overrides ───────────────────────────── */
.hero-title .char {
  display: inline-block;
  will-change: transform, opacity;
}

.hero-title .word {
  display: inline-block;
  overflow: hidden;
}

/* ── Section Clip-Path & Scale Transitions ─────────────────────────────── */
.section {
  will-change: clip-path;
}

.section > .container {
  will-change: transform, opacity;
}

/* ── Floating Badges ───────────────────────────────────────────────────── */
.floating-badges {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.floating-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(17,17,17,0.85);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-display);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  will-change: transform;
}

.badge-icon {
  font-size: 14px;
  line-height: 1;
}

.floating-badge.badge-1 { top: 15%; left: 5%; }
.floating-badge.badge-2 { top: 20%; right: 5%; }
.floating-badge.badge-3 { bottom: 25%; left: 8%; }
.floating-badge.badge-4 { bottom: 18%; right: 8%; }

@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUYER APP CTA SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.buyer-cta-section {
  position: relative;
  padding: 100px 40px;
  overflow: hidden;
}

.buyer-cta-grain {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  mix-blend-mode: overlay;
  animation: grainDrift 8s steps(10) infinite;
}

.buyer-cta-section .container {
  position: relative;
  z-index: 2;
}

.buyer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
}

/* ── QR Visual ────────────────────────────────────────────────────────── */
.buyer-cta-visual {
  flex-shrink: 0;
  position: relative;
}

.buyer-cta-qr {
  width: 220px;
  height: 220px;
  position: relative;
}

.buyer-qr-svg {
  width: 100%;
  height: 100%;
}

/* Scan line sweeps up/down */
.buyer-scan-line {
  animation: buyerScanSweep 2.5s ease-in-out infinite;
}

@keyframes buyerScanSweep {
  0% { transform: translateY(-50px); opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.7; }
  100% { transform: translateY(50px); opacity: 0; }
}

/* Pulsing glow behind QR */
.buyer-cta-qr::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
  animation: qrGlowPulse 3s ease-in-out infinite alternate;
}

@keyframes qrGlowPulse {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(1.1); opacity: 1; }
}

/* ── Content ──────────────────────────────────────────────────────────── */
.buyer-cta-content {
  flex: 1;
}

.buyer-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin: 12px 0 20px;
  letter-spacing: -0.03em;
}

.buyer-cta-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 480px;
}

.buyer-cta-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.buyer-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.925rem;
  color: rgba(255,255,255,0.75);
}

.buyer-feature svg {
  flex-shrink: 0;
}

.buyer-cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .buyer-cta-section { padding: 70px 20px; }
  .buyer-cta-inner {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  .buyer-cta-qr { width: 160px; height: 160px; margin: 0 auto; }
  .buyer-cta-desc { max-width: 100%; }
  .buyer-cta-features { align-items: center; }
  .buyer-cta-buttons { justify-content: center; }
  .buyer-cta-grain { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .buyer-scan-line { animation: none; }
  .buyer-cta-qr::before { animation: none; }
  .buyer-cta-grain { animation: none; }
}

/* ── Phone Labels ─────────────────────────────────────────────────────── */
.phone-label {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.phone-label.seller-label {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.phone-label.buyer-label {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile: badges as horizontal row above phones */
@media (max-width: 900px) {
  .floating-badges {
    position: relative;
    inset: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
  }
  .floating-badge {
    position: static;
    font-size: 10px;
    padding: 7px 12px;
    animation: badgePulse 3s ease-in-out infinite;
  }
  .floating-badge.badge-1 { animation-delay: 0s; }
  .floating-badge.badge-2 { animation-delay: 0.6s; }
  .floating-badge.badge-3 { animation-delay: 1.2s; }
  .floating-badge.badge-4 { animation-delay: 1.8s; }
}

@keyframes badgePulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.03); }
}

/* ── Feature Card Rotation on Enter ────────────────────────────────────── */
.feature {
  will-change: transform, opacity;
  transform-style: preserve-3d;
  perspective: 800px;
}

/* ── Footer Curtain Reveal ─────────────────────────────────────────────── */
.footer {
  position: relative;
  will-change: transform;
}

/* ── Phone Showcase Relative for Badges ────────────────────────────────── */
.phone-showcase-inner {
  position: relative;
}

@media (max-width: 768px) {
  .hero-shapes { display: none; }
  .scroll-progress { height: 2px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SELLER REGISTRATION FORM
   ═══════════════════════════════════════════════════════════════════════════ */

.register {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(212,175,55,0.03) 50%, var(--bg) 100%);
}

/* ── Mascot ──────────────────────────────────────────────────────────────── */
.mascot-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  margin-top: 16px;
  position: relative;
  z-index: 2;
}

.mascot-svg {
  width: 120px;
  height: 110px;
  filter: drop-shadow(0 4px 20px rgba(212,175,55,0.15));
  transition: transform 0.3s var(--ease);
}

.mascot-eye-l, .mascot-eye-r {
  transition: ry 0.3s var(--ease);
}

.mascot-pupil-l, .mascot-pupil-r {
  transition: cx 0.15s ease-out, cy 0.15s ease-out;
}

.mascot-hand-l ellipse, .mascot-hand-r ellipse {
  transition: opacity 0.4s var(--ease), cx 0.4s var(--ease), cy 0.4s var(--ease);
}

.mascot-mouth {
  transition: d 0.3s var(--ease);
}

/* Mascot states */
.mascot-wrap.password-mode .mascot-hand-l ellipse,
.mascot-wrap.password-mode .mascot-hand-r ellipse {
  opacity: 1 !important;
}

.mascot-wrap.password-mode .mascot-eye-l,
.mascot-wrap.password-mode .mascot-eye-r {
  ry: 3;
}

.mascot-wrap.success-mode .mascot-svg {
  transform: scale(1.1);
}

.mascot-wrap.error-mode .mascot-svg {
  animation: mascot-shake 0.4s ease;
}

@keyframes mascot-shake {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

.reg-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

/* ── Multi-step progress bar ──────────────────────────────────────────── */
.reg-steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}

.reg-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.reg-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  border: 1.5px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.3);
  background: transparent;
  transition: all 0.4s var(--ease);
}

.reg-step-indicator span {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.4s ease;
}

.reg-step-indicator.active .reg-step-num {
  border-color: var(--gold);
  color: var(--bg);
  background: var(--gold);
  box-shadow: 0 0 16px rgba(212,175,55,0.3);
}

.reg-step-indicator.active span {
  color: var(--gold);
}

.reg-step-indicator.done .reg-step-num {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,175,55,0.1);
}

.reg-step-indicator.done span {
  color: rgba(212,175,55,0.5);
}

.reg-step-line {
  flex: 1;
  max-width: 60px;
  height: 2px;
  background: rgba(255,255,255,0.06);
  margin: 0 8px;
  margin-bottom: 20px;
  border-radius: 1px;
  overflow: hidden;
}

.reg-step-line-fill {
  width: 0%;
  height: 100%;
  background: var(--gold);
  border-radius: 1px;
  transition: width 0.5s var(--ease);
}

/* ── Encryption badge ─────────────────────────────────────────────────── */
.reg-encryption-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 11px;
  color: rgba(212,175,55,0.5);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

/* ── Step panels ──────────────────────────────────────────────────────── */
.reg-step-panel {
  display: none;
}

.reg-step-panel.active {
  display: block;
}

.reg-step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.reg-step-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ── Step navigation ──────────────────────────────────────────────────── */
.reg-step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  margin-top: 24px;
}

.reg-prev {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reg-next {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  margin-left: auto;
}

/* ── Encrypted field indicator ────────────────────────────────────────── */
.reg-encrypted-field {
  position: relative;
}

.reg-encrypted-field input {
  padding-right: 36px;
}

.encrypted-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.reg-encrypted-field input:focus ~ .encrypted-icon {
  opacity: 1;
}

/* ── Summary card on step 4 ───────────────────────────────────────────── */
.reg-summary {
  background: rgba(212,175,55,0.04);
  border: 1px solid rgba(212,175,55,0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.reg-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

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

.reg-summary-label {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.reg-summary-value {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  text-align: right;
}

/* ── Select styling ───────────────────────────────────────────────────── */
.reg-form select {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.3s ease;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23D4AF37' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.reg-form select:focus {
  border-color: var(--gold);
  outline: none;
}

.reg-form select option {
  background: #111;
  color: #fff;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .reg-steps-bar { gap: 0; }
  .reg-step-line { max-width: 30px; margin: 0 4px; }
  .reg-step-num { width: 28px; height: 28px; font-size: 11px; }
  .reg-step-indicator span { font-size: 8px; }
  .reg-step-nav { flex-wrap: wrap; }
  .reg-encryption-badge { font-size: 9px; }
}

.reg-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.reg-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.reg-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.reg-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-display);
  letter-spacing: 0.3px;
}

.reg-field .req {
  color: var(--gold);
}

.reg-field .opt {
  color: var(--text-dim);
  font-size: 11px;
}

.reg-field input[type="text"],
.reg-field input[type="email"],
.reg-field input[type="tel"],
.reg-field input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-body);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  outline: none;
}

.reg-field input::placeholder {
  color: var(--text-dim);
}

.reg-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}

.reg-field input.invalid {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.1);
}

.reg-field input.valid {
  border-color: #2ecc71;
}

.field-error {
  font-size: 12px;
  color: #e74c3c;
  min-height: 16px;
  line-height: 16px;
}

/* Password toggle */
.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 44px;
}

.pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  padding: 4px;
  color: var(--text-dim);
  transition: color 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.pw-toggle:hover {
  color: var(--gold);
}

/* Checkbox */
.reg-terms {
  margin-top: 4px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-hover);
  border-radius: 4px;
  background: var(--bg);
  transition: all 0.3s var(--ease);
  position: relative;
  margin-top: 1px;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: var(--gold);
  border-color: var(--gold);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid var(--bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Submit button */
.reg-submit {
  width: 100%;
  justify-content: center;
  padding: 16px 28px;
  font-size: 15px;
  margin-top: 8px;
}

.reg-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Fallback */
.reg-fallback {
  text-align: center;
  padding: 16px;
  margin-top: 8px;
  background: rgba(231,76,60,0.06);
  border: 1px solid rgba(231,76,60,0.2);
  border-radius: var(--radius-sm);
}

.reg-fallback p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.reg-footer {
  text-align: center;
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 24px;
}

/* Shake animation for errors */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
  20%, 40%, 60%, 80% { transform: translateX(4px); }
}

.reg-card.shake {
  animation: shake 0.5s ease-in-out;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SUCCESS MODAL
   ═══════════════════════════════════════════════════════════════════════════ */

.reg-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.reg-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
}

.reg-modal-content {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
}

.reg-modal-check {
  margin-bottom: 24px;
}

.reg-modal-check .check-circle {
  stroke-dasharray: 188.5;
  stroke-dashoffset: 188.5;
  animation: circle-draw 0.6s ease-out 0.2s forwards;
}

.reg-modal-check .check-mark {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: check-draw 0.4s ease-out 0.7s forwards;
}

@keyframes circle-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes check-draw {
  to { stroke-dashoffset: 0; }
}

.reg-modal-content h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--gold);
}

.reg-modal-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.reg-modal-close {
  margin-top: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   REGISTRATION RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .reg-card {
    padding: 32px 20px;
  }

  .reg-row {
    grid-template-columns: 1fr;
  }

  .reg-modal-content {
    padding: 32px 20px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATED SVG CHARACTERS & AWWWARDS-LEVEL POLISH
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hero Shield ──────────────────────────────────────────────────────────── */
.hero-shield-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-shield-svg {
  width: 64px;
  height: 72px;
  filter: drop-shadow(0 0 20px rgba(212,175,55,0.2));
  transform-origin: center top;
  transition: transform 0.3s var(--ease);
}

.shield-body, .shield-check {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}

.shield-pulse {
  animation: shield-pulse-anim 3s ease-in-out infinite;
}

@keyframes shield-pulse-anim {
  0%, 100% { opacity: 0; r: 28; }
  50% { opacity: 0.4; r: 32; }
}

@keyframes pendulum {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}

/* ── Feature Animated Icons ───────────────────────────────────────────────── */
.feature-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(212,175,55,0.06);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: visible;
}

.feature-anim-icon {
  width: 40px;
  height: 40px;
}

.feature-anim-icon path,
.feature-anim-icon rect,
.feature-anim-icon line,
.feature-anim-icon circle {
  transition: all 0.3s ease;
}

/* Clock hand ticking */
@keyframes clock-tick-m {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes clock-tick-h {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(30deg); }
}

.clock-hand-m {
  transform-origin: 20px 20px;
}

.clock-hand-h {
  transform-origin: 20px 20px;
}

/* Bell wobble */
@keyframes bell-ring {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-12deg); }
  30% { transform: rotate(10deg); }
  40% { transform: rotate(-8deg); }
  50% { transform: rotate(6deg); }
  60% { transform: rotate(-4deg); }
  70% { transform: rotate(2deg); }
  80% { transform: rotate(-1deg); }
}

.feature-anim-icon[data-anim="bell"] {
  transform-origin: center 4px;
}

/* Card-phone flip */
@keyframes card-phone-flip {
  0%, 40% { opacity: 1; }
  50%, 90% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes phone-card-flip {
  0%, 40% { opacity: 0; }
  50%, 90% { opacity: 1; }
  100% { opacity: 0; }
}

/* ── Step Animated Icons ──────────────────────────────────────────────────── */
.step-anim-icon {
  width: 24px;
  height: 24px;
}

.step-number span {
  position: relative;
  overflow: visible;
}

/* Scan line sweep */
@keyframes scan-sweep {
  0% { y1: 8; y2: 8; opacity: 0.9; }
  50% { y1: 24; y2: 24; opacity: 0.9; }
  100% { y1: 8; y2: 8; opacity: 0.9; }
}

/* ── Security Lock ────────────────────────────────────────────────────────── */
.security-lock-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.security-lock-svg {
  width: 80px;
  height: 100px;
  filter: drop-shadow(0 0 30px rgba(212,175,55,0.15));
}

.lock-shackle, .lock-body-rect {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}

.lock-glow-circle {
  animation: lock-glow-pulse 3s ease-in-out infinite;
}

@keyframes lock-glow-pulse {
  0%, 100% { opacity: 0; r: 38; }
  50% { opacity: 0.3; r: 42; }
}

/* ── Download Phone SVG ───────────────────────────────────────────────────── */
.download-phone-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.download-phone-svg {
  width: 100px;
  height: 166px;
  filter: drop-shadow(0 0 24px rgba(212,175,55,0.1));
}

.dl-phone-body, .dl-phone-screen {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}

/* Sparkle float */
@keyframes sparkle-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.8; }
  50% { transform: translateY(-8px) scale(1.3); opacity: 1; }
}

/* ── Navigation Enhancements ──────────────────────────────────────────────── */
.nav-logo {
  transition: transform 0.3s var(--ease), filter 0.3s;
}

.nav-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px rgba(212,175,55,0.4));
}

.nav-links {
  position: relative;
}

.nav-active-dot {
  position: absolute;
  bottom: -8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  transition: left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(212,175,55,0.5);
}

.nav-active-dot.visible {
  opacity: 1;
}

.nav-link.active {
  color: var(--gold);
}

/* ── Mobile Menu Enhancements ─────────────────────────────────────────────── */
.mobile-menu {
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}

.mobile-menu.open .mobile-link {
  opacity: 0;
  transform: translateX(40px);
  animation: mobile-link-enter 0.5s var(--ease) forwards;
}

.mobile-menu.open .mobile-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu.open .mobile-link:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu.open .mobile-link:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu.open .mobile-link:nth-child(4) { animation-delay: 0.25s; }
.mobile-menu.open .mobile-link:nth-child(5) { animation-delay: 0.3s; }
.mobile-menu.open .mobile-link:nth-child(6) { animation-delay: 0.35s; }

@keyframes mobile-link-enter {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ── Section Depth Layering (Parallax Separation) ─────────────────────────── */
.section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(10,10,10,0.8), transparent);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.section > .container {
  position: relative;
  z-index: 2;
}

/* Layered card overlap effect */
.about, .product, .features, .how-it-works, .security, .register, .download {
  
  position: relative;
}

.hero + .section {
  margin-top: 0;
}

/* ── Chart bar grow animation helpers ─────────────────────────────────────── */
.chart-bar-1, .chart-bar-2, .chart-bar-3, .chart-bar-4 {
  transform-origin: bottom;
}

/* ── Feature number hidden when icon present ──────────────────────────────── */
.feature .feature-number {
  display: none;
}

.feature .feature-icon-wrap + .feature-number {
  display: none;
}

/* ── Responsive adjustments for new elements ──────────────────────────────── */
@media (max-width: 768px) {
  .hero-shield-svg { width: 48px; height: 54px; }
  .security-lock-svg { width: 60px; height: 75px; }
  .download-phone-svg { width: 80px; height: 133px; }
  .section::before { height: 60px; }
  .section + .section {  }
  .nav-active-dot { display: none; }
}

/* ── NFC Coming Soon Teaser ─────────────────────────────────────────────── */
.nfc-teaser {
  margin-top: 60px;
}

.nfc-teaser-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 32px 40px;
  background: linear-gradient(135deg, rgba(212,175,55,0.06) 0%, rgba(212,175,55,0.02) 100%);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: var(--radius);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.nfc-teaser-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.nfc-teaser-inner:hover::before { opacity: 1; }

.nfc-teaser-inner:hover {
  border-color: rgba(212,175,55,0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(212,175,55,0.08);
}

.nfc-icon-wrap {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,175,55,0.08);
  border-radius: 20px;
  flex-shrink: 0;
}

.nfc-icon {
  animation: nfc-pulse 2s ease-in-out infinite;
}

@keyframes nfc-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.nfc-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-display);
  margin-bottom: 10px;
}

.nfc-text h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.nfc-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .nfc-teaser-inner { flex-direction: column; text-align: center; padding: 24px; }
}

/* ── Mobile Performance Overrides ───────────────────────────────────────── */
@media (max-width: 768px) {
  /* Disable heavy effects on mobile */
  .hero-shapes { display: none; }
  .gradient-bg { display: none; }
  .cursor, .cursor-trail { display: none !important; }
  
  /* Simplify hero */
  .hero { padding: 100px 16px 60px; min-height: auto; }
  .hero-title { font-size: 36px; letter-spacing: -0.5px; }
  .hero-subtitle { font-size: 15px; margin-bottom: 28px; }
  .hero-ctas { gap: 10px; }
  .btn { padding: 12px 20px; font-size: 13px; }
  .hero-stats { gap: 16px; }
  .stat-number { font-size: 28px; }
  .hero-scroll-indicator { display: none; }
  
  /* Stack product cards */
  .product-card { padding: 24px; }
  
  /* Single column features */
  .feature { padding: 20px; }
  .feature-number, .feature-icon-wrap { margin-bottom: 10px; }
  
  /* Simplify phone showcase for mobile */
  .phone-showcase { min-height: auto !important; }
  .phone-frame { width: 160px; height: 330px; border-radius: 24px; }
  
  /* Steps compact */
  .step { gap: 16px; padding-bottom: 32px; }
  .step-number span { width: 36px; height: 36px; font-size: 14px; }
  
  /* Security compact */
  .security-grid { gap: 12px; }
  .security-item { padding: 20px 12px; }
  
  /* Register form */
  .reg-card { padding: 20px !important; }
  .mascot-wrap { margin-bottom: 16px; }
  .mascot-svg { width: 90px; height: 82px; }
  .reg-row { flex-direction: column; gap: 0; }
  
  /* Download */
  .download-buttons { flex-direction: column; align-items: center; }
  .store-btn { width: 100%; max-width: 280px; justify-content: center; }
  
  /* Footer compact */
  .footer { padding: 40px 16px 24px; }
  .footer-top { gap: 24px; }
  .footer-links { gap: 20px; }
  .footer-col { min-width: 0; }
  
  /* NFC teaser */
  .nfc-teaser-inner { padding: 20px; gap: 16px; }
  .nfc-icon-wrap { width: 56px; height: 56px; }
  .nfc-text h3 { font-size: 16px; }
  
  /* Section padding */
  .section { padding: 60px 16px; }
  .section-title { font-size: 28px; }
  .section-header { margin-bottom: 40px; }
  
  /* Reduce animation complexity */
  .section > .container { will-change: auto !important; }
  * { will-change: auto !important; }
}

/* Tablet tweaks */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-title { font-size: 56px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { padding: 16px 24px; }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-bg canvas { display: none; }
  .hero-shapes { display: none; }
}

/* ── Back to Top Button ─────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212,175,55,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16,1,0.3,1),
              transform 0.4s cubic-bezier(0.16,1,0.3,1),
              border-color 0.3s,
              box-shadow 0.3s;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.back-to-top:hover {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212,175,55,0.25), 0 4px 16px rgba(0,0,0,0.4);
  transform: translateY(-4px) scale(1.05);
}

.back-to-top:active {
  transform: translateY(0) scale(0.95);
}

.btt-circle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.btt-track { opacity: 0.3; }

.btt-progress {
  transition: stroke-dashoffset 0.1s linear;
}

.btt-arrow {
  position: relative;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.back-to-top:hover .btt-arrow {
  transform: translateY(-3px);
}

/* Pulse ring on first appearance */
.back-to-top.visible::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  animation: btt-ring 1.5s ease-out forwards;
  pointer-events: none;
}

@keyframes btt-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (max-width: 768px) {
  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

/* ── No App Section ─────────────────────────────────────────────────────── */
.no-app-section {
  margin-top: 48px;
}

.no-app-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.no-app-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.2), transparent);
}

.no-app-divider-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: var(--font-display);
}

.no-app-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.no-app-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(212,175,55,0.06);
}

.no-app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.no-app-card:hover::before { opacity: 1; }

.no-app-icon-wrap {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,175,55,0.06);
  border-radius: 20px;
  margin: 0 auto 20px;
}

.no-app-icon {
  animation: camera-pulse 3s ease-in-out infinite;
}

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

.no-app-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.no-app-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto 28px;
}

.no-app-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.no-app-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.no-app-step-num {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.no-app-arrow {
  flex-shrink: 0;
}

.no-app-note {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .no-app-card { padding: 24px; }
  .no-app-steps { flex-direction: column; gap: 8px; }
  .no-app-arrow { transform: rotate(90deg); }
  .no-app-title { font-size: 18px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   AFRICAN FINTECH SHOWCASE — Awwwards-tier
   ═══════════════════════════════════════════════════════════════════════════ */

.showcase {
  position: relative;
  padding: 140px 0 120px;
  overflow: hidden;
  perspective: 1200px;
}

/* ── Animated film-grain ───────────────────────────────────────────────── */
.showcase-grain {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  z-index: 1;
  mix-blend-mode: overlay;
  animation: grainDrift 8s steps(10) infinite;
}

@keyframes grainDrift {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0); }
  70% { transform: translate(0, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); }
}

/* ── Particle canvas ──────────────────────────────────────────────────── */
.showcase-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ── Ambient glow orbs ────────────────────────────────────────────────── */
.showcase-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.showcase-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0;
  will-change: transform, opacity;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
  top: 10%;
  left: -10%;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232,212,139,0.12) 0%, transparent 70%);
  top: 50%;
  right: -8%;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(184,150,15,0.1) 0%, transparent 70%);
  bottom: 5%;
  left: 30%;
}

/* ── Layout ───────────────────────────────────────────────────────────── */
.showcase .container {
  position: relative;
  z-index: 3;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
  margin-top: 64px;
}

/* ── Showcase item ────────────────────────────────────────────────────── */
.showcase-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  will-change: transform;
  transform-style: preserve-3d;
  /* clip-path reveal — starts hidden, JS animates to full */
  clip-path: inset(100% 0 0 0);
}

.showcase-img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
  filter: brightness(0.7) saturate(0.85) contrast(1.05);
  will-change: transform;
}

.showcase-item:hover img,
.showcase-item.is-active img {
  transform: scale(1);
  filter: brightness(0.95) saturate(1.15) contrast(1);
}

/* ── Gold border reveal on hover ──────────────────────────────────────── */
.showcase-border {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  pointer-events: none;
  z-index: 4;
  transition: border-color 0.5s var(--ease);
}

.showcase-item:hover .showcase-border {
  border-color: rgba(212, 175, 55, 0.4);
}

/* ── Overlay with gradient + line accent ──────────────────────────────── */
.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(0, 0, 0, 0.25) 60%,
    rgba(0, 0, 0, 0.82) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  z-index: 3;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.showcase-item:hover .showcase-overlay {
  opacity: 1;
  transform: translateY(0);
}

.showcase-line {
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 10px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease) 0.1s;
}

.showcase-item:hover .showcase-line {
  transform: scaleX(1);
}

.showcase-caption {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── Span modifiers ───────────────────────────────────────────────────── */
.showcase-tall { grid-row: span 2; }
.showcase-wide { grid-column: span 2; }

/* ── CTA ──────────────────────────────────────────────────────────────── */
.showcase-cta {
  text-align: center;
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  opacity: 0;
}

.showcase-tagline {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

.showcase-tagline strong {
  color: var(--gold);
  font-weight: 700;
}

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 210px;
  }
  .showcase-orb { filter: blur(80px); }
}

@media (max-width: 768px) {
  .showcase {
    padding: 80px 0;
    perspective: none;
  }

  .showcase-particles { display: none; }

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
    gap: 8px;
  }

  .showcase-wide { grid-column: span 2; }
  .showcase-tall { grid-row: span 2; }

  /* Always show overlay on touch */
  .showcase-overlay {
    opacity: 1;
    transform: translateY(0);
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7) 100%);
  }

  .showcase-line { transform: scaleX(1); }
  .showcase-caption { font-size: 11px; letter-spacing: 0.5px; }
  .showcase-orb { display: none; }
  .showcase-grain { animation: none; opacity: 0.02; }
}

@media (max-width: 480px) {
  .showcase-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 155px;
  }
  .showcase-tall { grid-row: span 2; }
  .showcase-wide { grid-column: span 2; }
}

/* ── Continuous ambient shimmer on showcase items ──────────────────────── */
.showcase-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(212,175,55,0.06) 45%,
    rgba(212,175,55,0.12) 50%,
    rgba(212,175,55,0.06) 55%,
    transparent 60%
  );
  background-size: 250% 100%;
  transition: opacity 0.4s ease;
}

.showcase-item.shimmer-active::after {
  opacity: 1;
  animation: shimmerSweep 2s ease-in-out forwards;
}

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

/* Continuous slow image drift when items are revealed */
.showcase-item.revealed img {
  animation: subtleDrift 20s ease-in-out infinite alternate;
}

.showcase-item:nth-child(even).revealed img {
  animation: subtleDriftAlt 24s ease-in-out infinite alternate;
}

@keyframes subtleDrift {
  0% { transform: scale(1.15) translate(0, 0); }
  100% { transform: scale(1.15) translate(-1.5%, -1%); }
}

@keyframes subtleDriftAlt {
  0% { transform: scale(1.15) translate(0, 0); }
  100% { transform: scale(1.15) translate(1%, 1.5%); }
}

.showcase-item:hover img,
.showcase-item.is-active img {
  animation-play-state: paused;
}

/* Floating dot decorations (generated by JS) */
.showcase-float-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  will-change: transform, opacity;
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .showcase-grain { animation: none; }
  .showcase-item { clip-path: none; }
  .showcase-item img { transform: none; animation: none !important; }
  .showcase-item::after { display: none; }
  .showcase-particles { display: none; }
  .showcase-float-dot { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LEGAL MODAL — Awwwards-tier inline Terms / Privacy viewer
   ═══════════════════════════════════════════════════════════════════════════ */

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.legal-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.legal-modal-container {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  background: #0d0d0d;
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow:
    0 0 60px rgba(212, 175, 55, 0.06),
    0 24px 80px rgba(0, 0, 0, 0.6);
}

/* Grain */
.legal-modal-grain {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  z-index: 0;
  mix-blend-mode: overlay;
  animation: grainDrift 8s steps(10) infinite;
}

/* Ambient orbs */
.legal-modal-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.legal-orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
  top: -80px;
  right: -60px;
}

.legal-orb-2 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(184,150,15,0.06) 0%, transparent 70%);
  bottom: -60px;
  left: -40px;
}

/* Header */
.legal-modal-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  flex-shrink: 0;
}

.legal-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.legal-modal-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.15);
  flex-shrink: 0;
}

.legal-modal-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.legal-modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.legal-modal-close:hover {
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.06);
}

/* Reading progress */
.legal-modal-progress {
  height: 2px;
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.legal-modal-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

/* Body */
.legal-modal-body {
  position: relative;
  z-index: 1;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.2) transparent;
}

.legal-modal-body::-webkit-scrollbar {
  width: 5px;
}

.legal-modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.legal-modal-body::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.2);
  border-radius: 3px;
}

.legal-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.4);
}

.legal-modal-content {
  padding: 32px 28px;
}

.legal-modal-content h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin: 40px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  position: relative;
}

.legal-modal-content h2:first-child {
  margin-top: 0;
}

.legal-modal-content h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 28px 0 10px;
}

.legal-modal-content p,
.legal-modal-content li {
  font-family: var(--font-body);
  font-size: 0.925rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 14px;
}

.legal-modal-content ul,
.legal-modal-content ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-modal-content li {
  margin-bottom: 6px;
}

.legal-modal-content strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.legal-modal-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(212, 175, 55, 0.3);
  transition: text-decoration-color 0.3s ease;
}

.legal-modal-content a:hover {
  text-decoration-color: var(--gold);
}

/* Section reveal animation */
.legal-modal-content section {
  opacity: 0;
  transform: translateY(16px);
}

.legal-modal-content section.lm-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Footer */
.legal-modal-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  flex-shrink: 0;
  gap: 16px;
}

.legal-modal-footer-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}

.legal-modal-footer-text a {
  color: rgba(212, 175, 55, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-modal-footer-text a:hover {
  color: var(--gold);
}

.legal-modal-accept {
  flex-shrink: 0;
  padding: 10px 24px;
  font-size: 0.875rem;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .legal-modal { padding: 12px; }
  .legal-modal-container {
    max-height: 92vh;
    border-radius: 16px;
  }
  .legal-modal-header { padding: 18px 20px 16px; }
  .legal-modal-content { padding: 24px 20px; }
  .legal-modal-footer { padding: 14px 20px; flex-wrap: wrap; }
  .legal-modal-footer-text { display: none; }
  .legal-modal-accept { width: 100%; text-align: center; justify-content: center; }
  .legal-modal-orb { display: none; }
  .legal-modal-grain { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .legal-modal-grain { animation: none; }
  .legal-modal-content section { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TESTIMONIALS — Awwwards-tier carousel
   ═══════════════════════════════════════════════════════════════════════════ */

.testimonials {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(212,175,55,0.02) 50%, var(--bg) 100%);
}

.testimonials-grain {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  mix-blend-mode: overlay;
  animation: grainDrift 8s steps(10) infinite;
  z-index: 0;
}

.testimonial-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.testimonials .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Horizontal auto-scroll carousel ──────────────────────────────────── */
.testimonial-carousel {
  margin-top: 56px;
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.testimonial-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: testimonialScroll 40s linear infinite;
  will-change: transform;
}

.testimonial-track:hover,
.testimonial-track.paused {
  animation-play-state: paused;
}

@keyframes testimonialScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card {
  flex: 0 0 420px;
  padding: 40px 36px;
  background: rgba(17, 17, 17, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s ease;
  /* Gold accent line at top */
  border-top: 2px solid rgba(212, 175, 55, 0.25);
}

.testimonial-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  border-top-color: var(--gold);
  transform: translateY(-4px);
}

/* Card texture overlay */
.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  mix-blend-mode: overlay;
}

/* Gold shimmer sweep on hover */
.testimonial-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(212,175,55,0.04) 45%,
    rgba(212,175,55,0.08) 50%,
    rgba(212,175,55,0.04) 55%,
    transparent 60%
  );
  background-size: 250% 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.testimonial-card:hover::after {
  opacity: 1;
  animation: cardShimmer 1.5s ease-in-out forwards;
}

/* Card content above overlays */
.testimonial-stars,
.testimonial-quote,
.testimonial-author {
  position: relative;
  z-index: 2;
}

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

/* Infinite shutter sweep — gold venetian-blind light passes over card */
.testimonial-card .testimonial-shutter {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.testimonial-shutter::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 5px,
    rgba(212, 175, 55, 0.04) 5px,
    rgba(212, 175, 55, 0.04) 7px
  );
  clip-path: inset(100% 0 0 0);
  animation: shutterSweep 6s ease-in-out infinite;
}

.testimonial-card:nth-child(2) .testimonial-shutter::after { animation-delay: 1.2s; }
.testimonial-card:nth-child(3) .testimonial-shutter::after { animation-delay: 2.4s; }
.testimonial-card:nth-child(4) .testimonial-shutter::after { animation-delay: 3.6s; }
.testimonial-card:nth-child(5) .testimonial-shutter::after { animation-delay: 4.8s; }
/* Duplicated set for infinite scroll */
.testimonial-card:nth-child(7) .testimonial-shutter::after { animation-delay: 0.6s; }
.testimonial-card:nth-child(8) .testimonial-shutter::after { animation-delay: 1.8s; }
.testimonial-card:nth-child(9) .testimonial-shutter::after { animation-delay: 3s; }
.testimonial-card:nth-child(10) .testimonial-shutter::after { animation-delay: 4.2s; }

@keyframes shutterSweep {
  0%, 100% { clip-path: inset(100% 0 0 0); opacity: 0; }
  10% { clip-path: inset(80% 0 0 0); opacity: 1; }
  50% { clip-path: inset(0% 0 0 0); opacity: 1; }
  90% { clip-path: inset(0 0 80% 0); opacity: 1; }
  95% { clip-path: inset(0 0 100% 0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-shutter::after { animation: none; }
}

/* Gold accent line at top */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}

/* Subtle glow on hover */
.testimonial-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.5s ease;
}

.testimonial-card:hover::after {
  border-color: rgba(212, 175, 55, 0.2);
}

/* ── Stars ─────────────────────────────────────────────────────────────── */
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}

.testimonial-stars span {
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
}

/* ── Quote ─────────────────────────────────────────────────────────────── */
.testimonial-quote {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 32px;
  position: relative;
  padding-left: 20px;
  border-left: 2px solid rgba(212, 175, 55, 0.2);
}

.testimonial-quote::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: -4px;
  font-family: Georgia, serif;
  font-size: 48px;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
}

.testimonial-quote::after {
  content: '\201D';
  font-family: Georgia, serif;
  font-size: 48px;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  vertical-align: -0.3em;
  margin-left: 4px;
}

/* ── Author ────────────────────────────────────────────────────────────── */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212, 175, 55, 0.3);
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.15);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover .testimonial-avatar {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.25);
}

/* Big decorative quote mark */
.testimonial-big-quote {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(200px, 25vw, 360px);
  line-height: 1;
  color: rgba(212, 175, 55, 0.03);
  pointer-events: none;
  z-index: 1;
  user-select: none;
}

/* Verified badge */
.testimonial-verified {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.12);
}

.testimonial-verified span {
  font-size: 10px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-info strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.testimonial-info span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Scroll hint ───────────────────────────────────────────────────────── */
.testimonial-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 32px auto 0;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  background: rgba(212, 175, 55, 0.03);
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: fit-content;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-hint:hover {
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.08);
}


/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .testimonials { padding: 80px 0; }
  .testimonial-card { flex: 0 0 320px; padding: 28px 20px; border-radius: 20px; }
  .testimonial-quote { font-size: 0.9rem; padding-left: 14px; }
  .testimonial-quote::before { font-size: 32px; }
  .testimonial-quote::after { font-size: 32px; }
  .testimonial-particles { display: none; }
  .testimonials-grain { animation: none; }
  .testimonial-carousel { margin-top: 36px; }
  .testimonial-track { gap: 16px; animation-duration: 30s; }
  .testimonial-big-quote { font-size: 160px; }
  .testimonial-verified { display: none; }
  .testimonial-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track { transition: none; }
  .testimonials-grain { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL COLOR SHIFT — body bg transitions between sections
   ═══════════════════════════════════════════════════════════════════════════ */
body {
  transition: background-color 0.8s ease-out;
}

body.theme-warm {
  background-color: var(--bg-warm);
}

body.theme-dark {
  background-color: var(--bg);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHUTTER REVEAL — venetian-blind line transition on section enter
   ═══════════════════════════════════════════════════════════════════════════ */
.shutter-reveal {
  position: relative;
  overflow: hidden;
}

.shutter-reveal::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    var(--bg) 0px,
    var(--bg) 4px,
    transparent 4px,
    transparent 8px
  );
  transform: scaleY(1);
  transform-origin: top;
  transition: none;
}

.shutter-reveal.shutter-open::before {
  animation: shutterOpen 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes shutterOpen {
  0% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  60% {
    opacity: 0.6;
  }
  100% {
    clip-path: inset(0 0 100% 0);
    opacity: 0;
  }
}

/* Section-specific color accents on the shutter lines */
.about.shutter-reveal::before {
  background: repeating-linear-gradient(0deg, rgba(212,175,55,0.04) 0px, rgba(212,175,55,0.04) 3px, transparent 3px, transparent 7px);
}

.features.shutter-reveal::before,
.security.shutter-reveal::before {
  background: repeating-linear-gradient(0deg, var(--bg-warm) 0px, var(--bg-warm) 3px, transparent 3px, transparent 7px);
}

@media (prefers-reduced-motion: reduce) {
  .shutter-reveal::before { display: none; }
  body { transition: none; }
}
