/* Hiba Kharfa Portfolio — styles.css */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Michroma&family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&family=Montserrat+Arabic:wght@300;400;500;600;700&display=swap');

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --bg:        #08080a;
  --bg-2:      #0a0000;
  --bg-3:      #100508;
  --red:       #dc2626;
  --red-l:     #f87171;
  --red-glow:  rgba(220,38,38,0.15);
  --red-glow2: rgba(220,38,38,0.08);
  --text:      #f0f0ff;
  --text-2:    #8892a8;
  --text-3:    #3d4152;
  --border:    rgba(220,38,38,0.2);
  --r:         12px;
  --max:       1200px;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img  { max-width: 100%; height: auto; }
a    { color: inherit; }

body {
  background: radial-gradient(ellipse at top, #450a0a 0%, #0a0000 40%, #000 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(220,38,38,0.1) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* ── CURSOR ─────────────────────────────────────────────────── */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.15s, height 0.15s, background 0.15s;
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 32px; height: 32px;
  border: 2px solid var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.15s, height 0.15s, background 0.15s, border-color 0.15s;
}

.cursor-ring.hovered {
  width: 48px; height: 48px;
  background: rgba(220,38,38,0.12);
}

@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── NAVIGATION ─────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 56px;
  background: rgba(8,0,0,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.nav__logo {
  font-family: 'Michroma', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--text) 20%, var(--red-l) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.03em;
  position: relative;
  padding-bottom: 2px;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0;
  height: 1px;
  background: var(--red-l);
  transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__links .nav__audit-link {
  background: var(--red);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  transition: background 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.nav__links .nav__audit-link::after {
  display: none;
}
.nav__links .nav__audit-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
  background-size: 200% 100%;
  background-position: -200% center;
  animation: shimmer-btn 2.5s infinite linear;
  border-radius: inherit;
  pointer-events: none;
}
.nav__links .nav__audit-link:hover {
  background: #b91c1c;
  box-shadow: 0 0 20px var(--red-glow);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.lang-switcher {
  display: flex;
  gap: 0.25rem;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-2);
  font-size: 0.82rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  transition: all 0.2s;
  border-radius: 4px;
}

.lang-btn.active { color: var(--red-l); font-weight: 600; }
.lang-btn:hover  { color: var(--text); }

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

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

nav.scrolled {
  background: rgba(8,0,0,0.97);
  border-bottom-color: rgba(220,38,38,0.45);
  box-shadow: 0 2px 30px rgba(220,38,38,0.12);
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,0,0,0.97);
  z-index: 190;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-overlay a:hover { color: var(--red-l); }

.nav-overlay__close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-2);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes orbit {
  from { transform: rotate(0deg) translateX(160px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(160px) rotate(-360deg); }
}

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

@keyframes phone-sway {
  0%   { transform: perspective(800px) rotateY(-10deg) rotateX(3deg); }
  50%  { transform: perspective(800px) rotateY(10deg) rotateX(-3deg); }
  100% { transform: perspective(800px) rotateY(-10deg) rotateX(3deg); }
}

@keyframes shimmer-btn {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes glitch-shadow-1 {
  0%, 82%, 100% { text-shadow: 0 0 80px rgba(220,38,38,0.4); }
  85% { text-shadow: 5px 0 var(--red-l), -5px 0 rgba(100,150,255,0.45), 0 0 60px rgba(220,38,38,0.55); }
  88% { text-shadow: -4px 0 var(--red-l), 4px 0 rgba(100,150,255,0.35), 0 0 80px rgba(220,38,38,0.4); }
  91% { text-shadow: 0 0 80px rgba(220,38,38,0.4); }
}

@keyframes glitch-filter-2 {
  0%, 78%, 100% { filter: none; }
  81% { filter: drop-shadow(5px 0 rgba(220,38,38,0.65)) drop-shadow(-3px 0 rgba(100,200,255,0.35)); }
  84% { filter: drop-shadow(-4px 0 rgba(220,38,38,0.55)) drop-shadow(2px 0 rgba(100,200,255,0.25)); }
  87% { filter: none; }
}

@keyframes vision-orb-1 {
  0%   { opacity: 0.7; transform: translateY(-50%) scale(1); }
  100% { opacity: 1;   transform: translateY(-55%) scale(1.35); }
}

@keyframes vision-orb-2 {
  0%   { opacity: 0.5; transform: scale(1) translate(0, 0); }
  100% { opacity: 0.85; transform: scale(1.45) translate(-5%, -12%); }
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  padding: 3.5rem 2rem 2rem;
  z-index: 1;
}

.hero__orb {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,38,38,0.25) 0%, rgba(220,38,38,0.05) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(220,38,38,0.03) 0px, rgba(220,38,38,0.03) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, rgba(220,38,38,0.03) 0px, rgba(220,38,38,0.03) 1px, transparent 1px, transparent 60px);
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.15fr 0.75fr;
  gap: 1.75rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* ── HERO LEFT ── */
.hero__left {
  display: flex;
  flex-direction: column;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.3);
  border-radius: 50px;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red-l);
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--red);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px var(--red); }
  50% { box-shadow: 0 0 14px var(--red), 0 0 24px rgba(220,38,38,0.4); }
}

.hero__ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: none;
}
.btn--outline:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

.hero__social-col {
  display: flex;
  flex-direction: row;
  gap: 0.6rem;
}

.hero__social-link {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(220,38,38,0.07);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  text-decoration: none;
  transition: all 0.2s;
}
.hero__social-link:hover {
  background: rgba(220,38,38,0.18);
  border-color: var(--red);
  color: var(--text);
  transform: translateY(-2px);
}

/* ── HERO CENTER ── */
.hero__center {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.hero__about-pill {
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: var(--text-2);
  text-decoration: none;
  letter-spacing: 0.06em;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.3rem 0.9rem;
  background: rgba(16,5,8,0.8);
  backdrop-filter: blur(8px);
  transition: all 0.2s;
}
.hero__about-pill:hover { color: var(--red-l); border-color: var(--red); }

/* ── HERO RIGHT ── */
.hero__right {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.hero__slide-count {
  font-family: 'Michroma', sans-serif;
  font-size: 0.68rem;
  color: var(--text-3);
  letter-spacing: 0.14em;
  text-align: right;
}

.hero__stat-card {
  background: rgba(16,5,8,0.85);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.25rem 1.4rem;
  backdrop-filter: blur(12px);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hero__stat-card:hover {
  border-color: rgba(220,38,38,0.4);
  box-shadow: 0 0 24px var(--red-glow);
}

.hero__stat-big {
  font-family: 'Michroma', sans-serif;
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 400;
  background: linear-gradient(135deg, var(--text) 30%, var(--red-l) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.hero__stat-desc {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.4;
}

.hero__book-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.9rem;
  padding: 0.8rem 1.5rem;
}

/* ── HERO STATS STRIP ── */
.hero__strip {
  max-width: var(--max);
  margin: 3.5rem auto 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.hero__strip-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero__strip-num {
  font-family: 'Michroma', sans-serif;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  font-weight: 400;
  background: linear-gradient(135deg, var(--text), var(--red-l));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__strip-label {
  font-size: 0.8rem;
  color: var(--text-2);
  font-weight: 400;
}

.hero__strip-div {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── PROOF BAR ─────────────────────────────────────────────── */
.proof-bar {
  position: relative;
  z-index: 1;
  padding: 3.5rem 2rem;
  background: linear-gradient(180deg, rgba(220,38,38,0.05) 0%, transparent 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.proof-bar__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}

.proof-bar__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-l);
}

.proof-bar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.6; }
}

.proof-bar__flow {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: 100%;
  max-width: 900px;
}

/* --- nodes --- */
.proof-bar__node {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.proof-bar--active .proof-bar__node--before {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}

.proof-bar--active .proof-bar__node--after {
  opacity: 1;
  transform: none;
  transition-delay: 1.35s;
}

.proof-bar__node-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.proof-bar__node-num {
  font-family: 'Michroma', sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.6rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
}

.proof-bar__node-num--red {
  background: linear-gradient(135deg, var(--red-l) 30%, var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 14px rgba(220,38,38,0.45));
}

.proof-bar__dh {
  font-size: 0.55em;
  letter-spacing: 0.05em;
  opacity: 0.7;
}
.proof-bar__node-num--red .proof-bar__dh {
  -webkit-text-fill-color: var(--red-l);
}

.proof-bar__node-sub {
  font-size: 0.7rem;
  color: var(--text-2);
}

/* --- track --- */
.proof-bar__track-col {
  flex: 1;
  position: relative;
  padding: 2rem 0;
}

.proof-bar__track {
  position: relative;
  height: 2px;
  background: rgba(220,38,38,0.1);
  border-radius: 2px;
}

.proof-bar__track-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(220,38,38,0.25), var(--red-l), var(--red));
  border-radius: 2px;
  box-shadow: 0 0 14px rgba(220,38,38,0.55);
  transition: width 1.8s cubic-bezier(0.25, 1, 0.5, 1) 0.4s;
}

.proof-bar--active .proof-bar__track-fill { width: 100%; }

.proof-bar__badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: var(--red);
  border-radius: 100px;
  padding: 0.45rem 1.1rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  white-space: nowrap;
  box-shadow: 0 0 24px rgba(220,38,38,0.45), 0 2px 12px rgba(0,0,0,0.4);
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 1.0s;
}

.proof-bar--active .proof-bar__badge { transform: translate(-50%, -50%) scale(1); }

.proof-bar__badge-mult {
  font-family: 'Michroma', sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: #fff;
  line-height: 1;
}

.proof-bar__badge-time {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.04em;
}

/* --- note --- */
.proof-bar__note {
  font-size: 0.9rem;
  color: var(--text-2);
  max-width: 480px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease 1.8s, transform 0.6s ease 1.8s;
}

.proof-bar--active .proof-bar__note { opacity: 1; transform: none; }

.proof-bar__note strong { color: var(--text); font-weight: 600; }

/* --- mobile --- */
@media (max-width: 700px) {
  .proof-bar { padding: 2.5rem 1.5rem; }

  .proof-bar__flow {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .proof-bar__node-num { font-size: 1.55rem; }

  /* Hide the horizontal line — just show the badge inline */
  .proof-bar__track-col { padding: 0; width: auto; }
  .proof-bar__track { display: none; }

  .proof-bar__badge {
    position: static;
    transform: scale(0);
    transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 1.0s;
  }
  .proof-bar--active .proof-bar__badge { transform: scale(1); }
}

.hero__eyebrow {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-l);
  margin-bottom: 1.5rem;
}

.hero__headline {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, var(--red-l) 50%, var(--red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-2);
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 0 30px var(--red-glow);
}

.hero__cta:hover {
  background: #b91c1c;
  box-shadow: 0 0 50px rgba(220,38,38,0.5);
  transform: translateY(-2px);
}

.hero__photo-wrap {
  position: relative;
  flex-shrink: 0;
  width: min(380px, 42vw);
}

.hero__photo-glow {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,38,38,0.3) 0%, transparent 70%);
  filter: blur(40px);
}

.hero__photo {
  width: 100%;
  display: block;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 60px rgba(220,38,38,0.25));
}

/* Orbit items around hero photo */
.orbit-item {
  position: absolute;
  top: 50%; left: 50%;
  width: 48px; height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 14px;
  background: rgba(16, 5, 8, 0.9);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  z-index: 2;
  box-shadow: 0 0 15px var(--red-glow);
  animation: orbit 20s linear infinite;
}

.orbit-item:nth-child(1) { animation-delay: 0s; }
.orbit-item:nth-child(2) { animation-delay: -6.67s; }
.orbit-item:nth-child(3) { animation-delay: -13.33s; }

/* ── SHARED TYPOGRAPHY ───────────────────────────────────────── */
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-l);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-headline {
  font-family: 'Michroma', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.body-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-2);
  margin-bottom: 1.2rem;
}

/* ── VISION ─────────────────────────────────────────────────── */
.vision {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 2rem;
  z-index: 1;
}

.vision::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,38,38,0.16) 0%, rgba(180,10,10,0.06) 50%, transparent 70%);
  left: 8%; top: 50%;
  transform: translateY(-50%);
  animation: vision-orb-1 12s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
  filter: blur(30px);
}

.vision::after {
  content: '';
  position: absolute;
  width: 450px; height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,10,10,0.12) 0%, transparent 70%);
  right: 5%; bottom: 10%;
  animation: vision-orb-2 15s ease-in-out infinite alternate-reverse;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.vision__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.vision__h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--text);
  text-shadow: 0 0 80px rgba(220,38,38,0.4);
  animation: glitch-shadow-1 6s infinite;
}

.vision__h2 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  background: linear-gradient(135deg, var(--red), var(--red-l));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 3rem;
  animation: glitch-filter-2 7s infinite;
}

.vision__box {
  border: 1px solid rgba(220,38,38,0.35);
  background: rgba(16,5,8,0.8);
  border-radius: var(--r);
  padding: 2.5rem 3rem;
  backdrop-filter: blur(12px);
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-2);
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 0 60px rgba(220,38,38,0.08);
}

/* ── MISSION ─────────────────────────────────────────────────── */
.mission {
  padding: 7rem 2rem;
  position: relative;
  z-index: 1;
}

.mission__inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.mission__inner .section-label { margin-bottom: 1.5rem; }

.mission__text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
}

.mission__text em {
  font-style: normal;
  color: var(--red-l);
}

/* ── ABOUT CARDS ─────────────────────────────────────────────── */
.about {
  padding: 5rem 2rem;
  position: relative;
  z-index: 1;
}

.about__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.about-card {
  background: rgba(16,5,8,0.7);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  overflow: hidden;
  transition: border-color 0.3s;
}
.about-card:hover { border-color: rgba(220,38,38,0.4); }

/* Left card */
.about-card--left { display: flex; flex-direction: column; }

.about-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-2);
  margin-bottom: 1rem;
}

.about-card__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--red);
}

.about-card__location {
  font-family: 'Michroma', sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.about-card__location em {
  font-style: normal;
  color: var(--red-l);
}

.about-card__cta { margin-bottom: 1.75rem; width: fit-content; }

.about-card__photo-wrap {
  border-radius: 12px;
  overflow: hidden;
  margin: 0 -2rem -2rem;
  width: calc(100% + 4rem);
}

.about-card__photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.about-card--left:hover .about-card__photo { transform: scale(1.04); }

/* Right card */
.about-card--right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-card__trusted {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.7;
}

.about-card__big-num {
  font-family: 'Michroma', sans-serif;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 400;
  background: linear-gradient(135deg, var(--text) 0%, var(--red-l) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.about-card__stars {
  color: var(--red);
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.about-card__quote {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
  font-style: italic;
  border-left: 2px solid var(--red);
  padding-left: 1rem;
  margin: 0;
}

.about-card__person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.about-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-l));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.about-card__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.about-card__role {
  font-size: 0.76rem;
  color: var(--text-2);
  display: block;
}

/* ── LOGOS STRIP ─────────────────────────────────────────────── */
.logos {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(10,0,0,0.5);
  position: relative;
  z-index: 1;
}

.logos__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.logos__statement {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  text-align: center;
}

/* ── COMMUNITY ───────────────────────────────────────────────── */
.community {
  padding: 7rem 2rem;
  position: relative;
  z-index: 1;
}

.community__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 5rem;
  align-items: center;
}

.community__text {
  flex: 1;
}

.community__headline {
  font-family: 'Michroma', sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.community__body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-2);
  margin-bottom: 2rem;
  max-width: 460px;
}

.community__tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.community__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.3);
  color: var(--red-l);
  padding: 0.4rem 1rem;
  border-radius: 50px;
}

.community__phone-wrap {
  flex-shrink: 0;
  position: relative;
  width: 260px;
  height: 480px;
}

/* Phone mockup */
.phone-mockup {
  width: 200px;
  height: 420px;
  background: #0a0000;
  border: 2px solid rgba(220,38,38,0.4);
  border-radius: 36px;
  position: absolute;
  top: 30px; left: 30px;
  box-shadow:
    0 0 40px rgba(220,38,38,0.15),
    inset 0 0 30px rgba(0,0,0,0.8);
  animation: phone-sway 8s ease-in-out infinite;
  overflow: hidden;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 6px;
  background: rgba(220,38,38,0.3);
  border-radius: 3px;
}

.phone-screen {
  position: absolute;
  inset: 28px 10px 10px;
  background: linear-gradient(180deg, #1a0505 0%, #0a0000 100%);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 8px;
}

.phone-screen-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(220,38,38,0.2);
}

.phone-screen-line:nth-child(1) { width: 70%; background: rgba(220,38,38,0.4); }
.phone-screen-line:nth-child(2) { width: 90%; }
.phone-screen-line:nth-child(3) { width: 55%; }
.phone-screen-img {
  flex: 1;
  background: linear-gradient(135deg, rgba(220,38,38,0.15), rgba(220,38,38,0.05));
  border-radius: 12px;
  margin-top: 4px;
}

/* Floating bubbles */
.phone-bubble {
  position: absolute;
  background: rgba(16,5,8,0.95);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(220,38,38,0.1);
}

.phone-bubble:nth-child(1) { top: -10px; left: -60px;  animation: float-bubble 4s ease-in-out infinite; animation-delay: 0s; }
.phone-bubble:nth-child(2) { top: 80px;  right: -70px; animation: float-bubble 4s ease-in-out infinite; animation-delay: 2s; }
.phone-bubble:nth-child(3) { bottom: 120px; left: -65px; animation: float-bubble 4s ease-in-out infinite; animation-delay: 1s; }
.phone-bubble:nth-child(4) { bottom: 20px; right: -55px; animation: float-bubble 4s ease-in-out infinite; animation-delay: 3s; }

/* ── STACK ───────────────────────────────────────────────────── */
.stack {
  padding: 7rem 2rem;
  background: rgba(10,0,0,0.6);
  position: relative;
  z-index: 1;
}

.stack__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.stack__inner .section-label  { margin-bottom: 1rem; }
.stack__inner .section-headline { margin-bottom: 3rem; }

.stack__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stack-card {
  background: rgba(16,5,8,0.7);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2.5rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.stack-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(220,38,38,0.12), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}
.stack-card:hover::before { opacity: 1; }
.stack-card > * { position: relative; z-index: 1; }

.stack-card:hover {
  border-color: rgba(220,38,38,0.5);
  box-shadow: 0 0 40px var(--red-glow);
  transform: translateY(-4px);
}

.stack-card--wide { grid-column: span 2; }

.stack-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.75rem;
  color: var(--red);
  flex-shrink: 0;
}

.stack-card__num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.stack-card__title {
  font-family: 'Michroma', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.stack-card__body {
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--text-2);
}

/* ── LEADS ───────────────────────────────────────────────────── */
.leads {
  padding: 7rem 2rem;
  position: relative;
  z-index: 1;
}

.leads__inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.leads__inner .section-label    { margin-bottom: 1rem; }
.leads__inner .section-headline { margin-bottom: 1.5rem; }

.leads__sub {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-2);
  max-width: 700px;
  margin: 0 auto 4rem;
}

/* ── ROADMAP ─────────────────────────────────────────────────── */
.roadmap {
  position: relative;
  margin-top: 4rem;
}

/* Connecting track */
.roadmap__track {
  position: absolute;
  left: 16.67%;
  right: 16.67%;
  top: 32px;
  height: 1px;
  background: rgba(220,38,38,0.15);
  z-index: 0;
  border-radius: 1px;
  overflow: hidden;
}

.roadmap__track-progress {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(220,38,38,0.35), var(--red-l), rgba(220,38,38,0.35));
  border-radius: 1px;
  transition: width 2s cubic-bezier(0.25,1,0.5,1) 0.3s;
}

.roadmap--active .roadmap__track-progress { width: 100%; }

/* Steps grid */
.roadmap__steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.roadmap__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Node circle */
.roadmap__node {
  position: relative;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(16,5,8,0.95);
  border: 2px solid rgba(220,38,38,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 0.5s ease,
              transform 0.55s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.roadmap__node--highlight {
  border-color: var(--red-l);
  background: rgba(220,38,38,0.1);
  box-shadow: 0 0 28px rgba(220,38,38,0.3);
}

.roadmap--active .roadmap__step:nth-child(1) .roadmap__node { opacity:1; transform:scale(1); transition-delay:0.1s; }
.roadmap--active .roadmap__step:nth-child(2) .roadmap__node { opacity:1; transform:scale(1); transition-delay:0.65s; }
.roadmap--active .roadmap__step:nth-child(3) .roadmap__node { opacity:1; transform:scale(1); transition-delay:1.2s; }

.roadmap__node:hover {
  box-shadow: 0 0 36px rgba(220,38,38,0.45);
  border-color: var(--red-l);
}

.roadmap__node-num {
  font-family: 'Michroma', sans-serif;
  font-size: 0.88rem;
  color: var(--red-l);
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

/* Pulsing rings */
.roadmap__ring {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(220,38,38,0.45);
  animation: rm-ring 2.8s ease-out infinite;
  opacity: 0;
}
.roadmap__ring--late { animation-delay: 1.4s; }

@keyframes rm-ring {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Vertical stem */
.roadmap__stem {
  width: 1px;
  height: 30px;
  flex-shrink: 0;
  background: linear-gradient(to bottom, rgba(220,38,38,0.5), rgba(220,38,38,0.04));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.roadmap--active .roadmap__step:nth-child(1) .roadmap__stem { opacity:1; transition-delay:0.35s; }
.roadmap--active .roadmap__step:nth-child(2) .roadmap__stem { opacity:1; transition-delay:0.9s; }
.roadmap--active .roadmap__step:nth-child(3) .roadmap__stem { opacity:1; transition-delay:1.45s; }

/* Cards */
.roadmap__card {
  background: rgba(16,5,8,0.75);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.75rem 1.5rem;
  text-align: left;
  width: 100%;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease,
              border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.roadmap__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(220,38,38,0.09), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
  z-index: 0;
}
.roadmap__card:hover::before { opacity: 1; }
.roadmap__card > * { position: relative; z-index: 1; }
.roadmap__card:hover { border-color: rgba(220,38,38,0.45); box-shadow: 0 0 36px var(--red-glow); }

.roadmap--active .roadmap__step:nth-child(1) .roadmap__card { opacity:1; transform:none; transition-delay:0.45s; }
.roadmap--active .roadmap__step:nth-child(2) .roadmap__card { opacity:1; transform:none; transition-delay:1s; }
.roadmap--active .roadmap__step:nth-child(3) .roadmap__card { opacity:1; transform:none; transition-delay:1.55s; }

.roadmap__card-title {
  font-family: 'Michroma', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.roadmap__card-body {
  font-size: 0.9rem;
  line-height: 1.78;
  color: var(--text-2);
}

@media (max-width: 768px) {
  .roadmap__steps { grid-template-columns: 1fr; gap: 0; }
  .roadmap__step  { flex-direction: row; text-align: left; gap: 1.25rem; align-items: flex-start; margin-bottom: 1.5rem; }
  .roadmap__track { display: none; }
  .roadmap__stem  { width: 28px; height: 1px; margin-top: 31px; flex-shrink: 0;
                    background: linear-gradient(to right, rgba(220,38,38,0.5), rgba(220,38,38,0.04)); }
  .roadmap__card  { flex: 1; }
}

/* ── FORMATS CAROUSEL ────────────────────────────────────────── */
.formats {
  padding: 7rem 2rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.formats__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr clamp(280px, 42%, 510px);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "header photo"
    "carousel photo";
  column-gap: 3rem;
  align-items: start;
  text-align: left;
}

.formats__header { grid-area: header; }

.formats__photo-wrap {
  grid-area: photo;
  grid-row: 1 / span 2;
  align-self: end;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: radial-gradient(ellipse 80% 55% at 50% 90%, rgba(220,38,38,0.32) 0%, rgba(220,38,38,0.1) 55%, transparent 75%);
  border-radius: 4px;
}

.formats__creator-photo {
  width: 100%;
  max-height: 840px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}

.formats__carousel { grid-area: carousel; }

.formats__header .section-label   { margin-bottom: 1rem; }
.formats__header .section-headline { margin-bottom: 3rem; }

.formats__stage {
  position: relative;
  height: 380px;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.format-card {
  position: absolute;
  width: 300px;
  background: rgba(16,5,8,0.85);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
}

.format-card__img {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  margin-bottom: 1.2rem;
  background-size: cover;
  background-position: center;
  background-color: rgba(220,38,38,0.08);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.format-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8,0,0,0.25) 0%, rgba(8,0,0,0.6) 100%);
  border-radius: 8px;
}

.format-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.format-card__title {
  font-family: 'Michroma', sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.format-card__body {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-2);
}

.format-card.is-center {
  transform: translateX(0) scale(1) translateZ(0);
  z-index: 30;
  opacity: 1;
  filter: blur(0px);
  box-shadow: 0 0 60px var(--red-glow);
  border-color: rgba(220,38,38,0.4);
}

.format-card.is-left {
  transform: translateX(-58%) scale(0.82) translateZ(-100px) rotateY(12deg);
  z-index: 10;
  opacity: 0.45;
  filter: blur(3px);
}

.format-card.is-right {
  transform: translateX(58%) scale(0.82) translateZ(-100px) rotateY(-12deg);
  z-index: 10;
  opacity: 0.45;
  filter: blur(3px);
}

.formats__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.formats__btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(220,38,38,0.1);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.formats__btn:hover {
  background: rgba(220,38,38,0.2);
  border-color: var(--red);
}

.formats__dots {
  display: flex;
  gap: 0.5rem;
}

.formats__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-3);
  transition: all 0.2s;
  cursor: pointer;
}

.formats__dot.active {
  background: var(--red);
  width: 24px;
  border-radius: 4px;
}

/* ── STATS ───────────────────────────────────────────────────── */
.stats {
  padding: 5rem 2rem;
  background: rgba(10,0,0,0.6);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.stats__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat { text-align: center; padding: 2rem 1rem; }

.stat__num {
  font-family: 'Michroma', sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 400;
  background: linear-gradient(135deg, var(--red-l), var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15rem;
}

.stat__suffix { font-size: 0.7em; }
.stat__label { font-size: 0.85rem; color: var(--text-2); margin-top: 0.5rem; }

/* ── PORTFOLIO ───────────────────────────────────────────────── */
.portfolio {
  padding: 7rem 2rem;
  position: relative;
  z-index: 1;
}

.portfolio__inner { max-width: var(--max); margin: 0 auto; }

.portfolio__sublabel {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-2);
  margin: 3rem 0 1.5rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--red);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.portfolio-card {
  background: rgba(16,5,8,0.7);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2rem;
  transition: all 0.3s;
  overflow: hidden;
}

.portfolio-card__cover {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: rgba(220,38,38,0.06);
  margin: -2rem -2rem 1.5rem -2rem;
  width: calc(100% + 4rem);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.portfolio-card__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8,0,0,0.1) 0%, rgba(8,0,0,0.55) 100%);
}

.portfolio-card:hover {
  border-color: rgba(220,38,38,0.5);
  box-shadow: 0 0 30px var(--red-glow);
  transform: translateY(-4px);
}

.portfolio-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-l);
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.25);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 1rem;
}

.portfolio-card__title {
  font-family: 'Michroma', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.portfolio-card__desc {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.portfolio-card__cta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--red-l);
  text-decoration: none;
  border-bottom: 1px solid rgba(248,113,113,0.3);
  padding-bottom: 0.1rem;
  transition: all 0.2s;
}

.portfolio-card__cta:hover {
  color: var(--red);
  border-color: var(--red);
}

/* ── CONTACT FORM ────────────────────────────────────────────── */
.contact {
  padding: 8rem 2rem;
  background: rgba(10,0,0,0.6);
  position: relative;
  z-index: 1;
}

.contact__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact__left {}

.contact__label-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-l);
  margin-bottom: 1.5rem;
}

.contact__headline {
  font-family: 'Michroma', sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.contact__checks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.contact__check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-2);
}

.contact__check-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(220,38,38,0.15);
  border: 1px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red-l);
  font-size: 0.75rem;
  font-weight: 700;
}

.contact__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.35);
  color: var(--red-l);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
}

.contact__badge::before { content: '⚡'; }

.contact__right {}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-2);
  text-transform: uppercase;
}

.form-field input,
.form-field select {
  width: 100%;
  background: rgba(16,5,8,0.8);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f87171' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-field select option {
  background: #0a0000;
  color: var(--text);
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}

.form-field input::placeholder { color: var(--text-3); }

.form-submit {
  width: 100%;
  background: var(--red);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 30px var(--red-glow);
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: #b91c1c;
  box-shadow: 0 0 50px rgba(220,38,38,0.4);
  transform: translateY(-2px);
}

/* ── BUTTONS (shared) ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 30px var(--red-glow);
}

.btn--primary:hover {
  background: #b91c1c;
  box-shadow: 0 0 50px rgba(220,38,38,0.4);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 0 30px rgba(37,211,102,0.3);
}

.btn--whatsapp:hover {
  background: #1ab554;
  box-shadow: 0 0 50px rgba(37,211,102,0.5);
  transform: translateY(-2px);
}

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--border);
  background: rgba(8,0,0,0.9);
  position: relative;
  z-index: 1;
}

.footer__grid {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer__col {}

.footer__col-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.footer__col-value {
  font-size: 0.95rem;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
}

a.footer__col-value:hover { color: var(--red-l); }

.footer__socials {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
}

.footer__social-link {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(220,38,38,0.08);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.2s;
}

.footer__social-link:hover {
  background: rgba(220,38,38,0.18);
  border-color: var(--red);
  transform: translateY(-2px);
}

.footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(220,38,38,0.1);
  text-align: center;
}

.footer__text {
  font-size: 0.78rem;
  color: var(--text-3);
}

/* ── REVEAL ANIMATION ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity   0.75s cubic-bezier(0.16,1,0.3,1),
    transform 0.75s cubic-bezier(0.16,1,0.3,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── RTL ─────────────────────────────────────────────────────── */
[dir="rtl"] body {
  font-family: 'Montserrat Arabic', 'Inter', sans-serif;
}

/* Anton & Michroma don't support Arabic — use Montserrat Arabic for all headings in RTL */
[dir="rtl"] .nav__logo,
[dir="rtl"] .section-headline,
[dir="rtl"] .community__headline,
[dir="rtl"] .contact__headline,
[dir="rtl"] .stack-card__title,
[dir="rtl"] .leads__step-title,
[dir="rtl"] .format-card__title,
[dir="rtl"] .portfolio-card__title,
[dir="rtl"] .stat__num {
  font-family: 'Montserrat Arabic', sans-serif;
}

/* French hero — longer text needs smaller headline to avoid excess wrapping */
[lang="fr"] .hero__headline {
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
}

/* Arabic hero — Anton doesn't render Arabic; use Montserrat Arabic with adjusted sizing */
[dir="rtl"] .hero__headline {
  font-family: 'Montserrat Arabic', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

/* Vision titles in Arabic — Montserrat Arabic bold */
[dir="rtl"] .vision__h1,
[dir="rtl"] .vision__h2 {
  font-family: 'Montserrat Arabic', sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

/* Arabic eyebrow — remove Latin letter-spacing */
[dir="rtl"] .hero__eyebrow {
  font-family: 'Montserrat Arabic', sans-serif;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Arabic hero sub — slightly looser line-height for comfort */
[dir="rtl"] .hero__sub {
  line-height: 2;
  font-weight: 400;
}
[dir="rtl"] .hero__inner   { flex-direction: row-reverse; }
[dir="rtl"] .about__inner  { flex-direction: row-reverse; }
[dir="rtl"] .community__inner { flex-direction: row-reverse; }
[dir="rtl"] .contact__inner  { direction: rtl; }
[dir="rtl"] .portfolio__sublabel {
  border-left: none;
  border-right: 3px solid var(--red);
  padding-left: 0;
  padding-right: 0.75rem;
}
[dir="rtl"] .stack-card__num { text-align: right; }
[dir="rtl"] .form-field input,
[dir="rtl"] .form-field select { direction: rtl; text-align: right; }
[dir="rtl"] .form-field select {
  background-position: left 1.2rem center;
  padding-right: 1.2rem;
  padding-left: 2.5rem;
}
[dir="rtl"] .nav__links { flex-direction: row-reverse; }
[dir="rtl"] .nav-overlay a { font-family: 'Montserrat Arabic', sans-serif; }

/* ── RESPONSIVE 900px ────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__left { align-items: center; }
  .hero__badge { align-self: center; }
  .hero__ctas { justify-content: center; }
  .hero__social-col { justify-content: center; }
  .hero { padding-top: 2.5rem; padding-bottom: 1.5rem; }
  .hero__inner { gap: 1.25rem; }
  .hero__center { order: -1; width: 100%; }
  .hero__photo  { max-height: 60vh; width: 100%; object-fit: contain; }
  .hero__about-pill { left: 50%; transform: translateX(-50%); }
  .hero__right {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero__stat-card { flex: 1; min-width: 140px; }
  .hero__book-btn { width: auto; flex: 1; min-width: 140px; }
  .hero__slide-count { display: none; }
  .hero__strip { gap: 1.5rem; }

  .about__inner { grid-template-columns: 1fr; }
  .community__inner { flex-direction: column; }
  .community__phone-wrap { margin: 0 auto; }
  .stack__grid      { grid-template-columns: 1fr 1fr; }
  .stack-card--wide { grid-column: span 2; }
  .contact__inner   { grid-template-columns: 1fr; gap: 3rem; }
  .footer__grid     { grid-template-columns: 1fr; gap: 1.5rem; }
  .nav__links       { display: none; }
  .nav__hamburger   { display: flex; }

  [dir="rtl"] .hero__inner { text-align: center; }
  [dir="rtl"] .hero__left  { align-items: center; }
  [dir="rtl"] .about__inner { grid-template-columns: 1fr; }
  [dir="rtl"] .community__inner { flex-direction: column; }
}

@media (max-width: 768px) {
  .stack__grid      { grid-template-columns: 1fr; }
  .stack-card--wide { grid-column: span 1; }
  .stats__inner     { grid-template-columns: repeat(2, 1fr); }
  .portfolio__grid  { grid-template-columns: 1fr 1fr; }
  .format-card      { width: min(300px, calc(100vw - 3rem)); }

  /* Mobile: stack header → photo → carousel */
  .formats__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "photo"
      "carousel";
    text-align: center;
    row-gap: 2rem;
  }

  .formats__photo-wrap {
    grid-row: auto;
    width: 85%;
    max-width: 320px;
    margin: 0 auto;
    align-self: center;
  }

  .formats__creator-photo {
    max-height: 420px;
    object-position: center center;
  }

  /* Hide side cards on mobile — show only the active center card */
  .formats__stage   { overflow: hidden; height: 500px; }
  .format-card.is-left,
  .format-card.is-right {
    opacity: 0;
    pointer-events: none;
    transform: translateX(0) scale(0.85) translateZ(-200px);
  }

  /* RTL mobile — stack grid overrides */
  [dir="rtl"] .stack__grid      { grid-template-columns: 1fr; }
  [dir="rtl"] .stack-card--wide { grid-column: span 1; }
}

@media (max-width: 600px) {
  .portfolio__grid  { grid-template-columns: 1fr; }
  .stats__inner     { grid-template-columns: repeat(2, 1fr); }
  .vision__h1,
  .vision__h2       { font-size: clamp(2.8rem, 14vw, 5rem); }

  /* Arabic vision shrinks slightly on small screens */
  [dir="rtl"] .vision__h1,
  [dir="rtl"] .vision__h2  { font-size: clamp(2.5rem, 12vw, 5rem); }
}
