/* ═══════════════════════════════════════════════════════════════
   EduVerse — Home v2 Futuristic Design
   تصميم مستقبلي للصفحة الرئيسية
   ═══════════════════════════════════════════════════════════════ */

/* ━━━━━━━━━━━━━━━━ HERO V2 ━━━━━━━━━━━━━━━━ */
.hero-v2 {
  position: relative;
  min-height: 90vh;
  padding: 100px 0 40px;
  overflow: hidden;
  isolation: isolate;
}

.hero-v2-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-v2-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168,85,247,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,85,247,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-v2-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: heroGlowFloat 8s ease-in-out infinite;
}
.hero-v2-glow-1 {
  top: 10%; left: 10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--brand-500), transparent);
}
.hero-v2-glow-2 {
  top: 50%; right: 5%;
  width: 350px; height: 350px;
  background: radial-gradient(circle, #ec4899, transparent);
  animation-delay: -2s;
}
.hero-v2-glow-3 {
  bottom: 10%; left: 40%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, #06b6d4, transparent);
  animation-delay: -4s;
}
@keyframes heroGlowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-v2-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  margin-bottom: 60px;
}
@media (max-width: 1024px) {
  .hero-v2-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.hero-v2-content { text-align: start; }

.hero-v2-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.badge-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10b981;
  position: relative;
  flex-shrink: 0;
}
.badge-pulse::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #10b981;
  animation: badgePulse 2s ease-out infinite;
}
@keyframes badgePulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(3); opacity: 0; }
}

.hero-v2-title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text-1);
}
.hero-v2-title-grad {
  background: var(--g-aurora);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  display: inline-block;
  position: relative;
}
.hero-v2-title-grad::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0; right: 0;
  height: 4px;
  background: var(--g-aurora);
  border-radius: 4px;
  opacity: 0.3;
  filter: blur(4px);
}

.hero-v2-desc {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-3);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-v2-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-v2-btn-glow {
  position: relative;
  box-shadow: 0 8px 30px -8px rgba(168,85,247,0.5);
}
.hero-v2-btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--g-aurora);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
  filter: blur(15px);
}
.hero-v2-btn-glow:hover::before { opacity: 0.6; }

.hero-v2-play {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  color: var(--text-2);
  text-decoration: none;
  transition: all 0.2s;
}
.hero-v2-play:hover { color: var(--brand-600); }
.hero-v2-play-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--brand-600);
  transition: all 0.25s;
}
.hero-v2-play:hover .hero-v2-play-icon {
  background: var(--g-aurora);
  color: #fff;
  transform: scale(1.08);
  border-color: transparent;
}

.hero-v2-trust {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-v2-avatars {
  display: flex;
  align-items: center;
}
.hero-v2-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 3px solid var(--bg-base);
  margin-inline-start: -10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}
.hero-v2-avatar:first-child { margin-inline-start: 0; }
.hero-v2-trust-text {
  font-size: 13px;
  color: var(--text-3);
}
.hero-v2-trust-text strong { color: var(--text-1); }

/* بطاقات Hero ثلاثية الأبعاد */
.hero-v2-deck {
  position: relative;
  height: 480px;
  perspective: 1200px;
}
@media (max-width: 1024px) {
  .hero-v2-deck { height: 400px; }
}

.deck-card {
  position: absolute;
  width: 280px;
  padding: 24px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform-style: preserve-3d;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.deck-card:hover {
  transform: translateY(-10px) rotateY(-5deg) !important;
  box-shadow: 0 30px 60px -10px rgba(168,85,247,0.3);
  z-index: 10;
}

.deck-card-1 {
  top: 20px;
  left: 30px;
  transform: rotate(-6deg) translateZ(20px);
  z-index: 3;
  animation: deckFloat 6s ease-in-out infinite;
}
.deck-card-2 {
  top: 130px;
  right: 30px;
  transform: rotate(4deg) translateZ(40px);
  z-index: 2;
  animation: deckFloat 6s ease-in-out infinite -2s;
}
.deck-card-3 {
  bottom: 20px;
  left: 80px;
  transform: rotate(-2deg) translateZ(60px);
  z-index: 1;
  animation: deckFloat 6s ease-in-out infinite -4s;
}
@keyframes deckFloat {
  0%, 100% { transform: rotate(var(--r, -6deg)) translateY(0); }
  50% { transform: rotate(var(--r, -6deg)) translateY(-12px); }
}
.deck-card-1 { --r: -6deg; }
.deck-card-2 { --r: 4deg; }
.deck-card-3 { --r: -2deg; }

.deck-card-icon {
  font-size: 38px;
  margin-bottom: 14px;
  display: inline-block;
  animation: iconWobble 4s ease-in-out infinite;
}
@keyframes iconWobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}
.deck-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 4px;
}
.deck-card-meta {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 16px;
}
.deck-card-bar {
  height: 6px;
  background: var(--bg-sunken);
  border-radius: 100px;
  overflow: hidden;
}
.deck-card-bar span {
  display: block;
  height: 100%;
  background: var(--g-aurora);
  border-radius: 100px;
  animation: barFill 1.5s ease-out 0.5s forwards;
  transform-origin: left;
}
[dir="rtl"] .deck-card-bar span,
html[dir="rtl"] .deck-card-bar span {
  transform-origin: right;
}
@keyframes barFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.deck-card-glow {
  position: absolute;
  inset: 20%;
  background: var(--g-aurora);
  filter: blur(80px);
  opacity: 0.25;
  z-index: -1;
  border-radius: 50%;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.15); }
}

/* ━━━━━━━━━━━━━━━━ STATS STRIP ━━━━━━━━━━━━━━━━ */
.stats-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 28px 30px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.08);
}
@media (max-width: 768px) {
  .stats-strip {
    flex-wrap: wrap;
    gap: 20px;
    padding: 24px 20px;
  }
}

.stats-strip-item {
  text-align: center;
  flex: 1;
  min-width: 120px;
}
.stats-strip-value {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  line-height: 1;
  background: var(--g-aurora);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.stats-strip-label {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 600;
}
.stats-strip-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}
@media (max-width: 768px) {
  .stats-strip-divider { display: none; }
}

/* ━━━━━━━━━━━━━━━━ SUBJECTS DECK ━━━━━━━━━━━━━━━━ */
.subjects-deck {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}

.subject-deck-card {
  position: relative;
  display: block;
  padding: 28px 26px;
  border-radius: 20px;
  text-decoration: none;
  color: var(--text-1);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.subject-deck-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--card-bg);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.35s;
}

.subject-deck-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -10px rgba(0,0,0,0.15), 0 0 0 1px var(--card-color, var(--brand-500));
}
.subject-deck-card:hover::before { opacity: 0.08; }
.subject-deck-card:hover .subject-deck-emoji { transform: scale(1.15) rotate(-8deg); }
.subject-deck-card:hover .subject-deck-arrow {
  background: var(--card-bg);
  color: #fff;
  transform: translateX(-6px);
}
[dir="rtl"] .subject-deck-card:hover .subject-deck-arrow,
html[dir="rtl"] .subject-deck-card:hover .subject-deck-arrow {
  transform: translateX(6px);
}

.subject-deck-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.04;
}
.subject-deck-pattern {
  width: 100%; height: 100%;
  background: var(--card-bg);
  filter: blur(40px);
}

.subject-deck-num {
  position: absolute;
  top: 22px;
  left: 22px;
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: var(--text-1);
  opacity: 0.06;
  letter-spacing: -0.04em;
}

.subject-deck-emoji {
  font-size: 56px;
  margin-bottom: 16px;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}

.subject-deck-info { margin-bottom: auto; }
.subject-deck-info h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text-1);
}
.subject-deck-info p {
  font-size: 13px;
  color: var(--text-3);
  margin: 0;
}

.subject-deck-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  margin-bottom: 16px;
}
.sd-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-3);
  font-weight: 600;
}
.sd-stat i {
  color: var(--card-color, var(--brand-600));
  font-size: 11px;
  width: 14px;
}

.subject-deck-arrow {
  position: absolute;
  bottom: 22px;
  inset-inline-end: 22px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-sunken);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-2);
  transition: all 0.3s;
}

/* ━━━━━━━━━━━━━━━━ SECTION DARK ━━━━━━━━━━━━━━━━ */
.section-dark {
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-sunken) 100%);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-500), transparent);
  opacity: 0.5;
}

/* ━━━━━━━━━━━━━━━━ AI SHOWCASE ━━━━━━━━━━━━━━━━ */
.ai-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
@media (max-width: 1024px) {
  .ai-showcase {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.ai-showcase-text h2 {
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 900;
  line-height: 1.1;
  margin: 18px 0 20px;
  color: var(--text-1);
}
.ai-showcase-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-3);
  margin-bottom: 26px;
}
.ai-showcase-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.ai-showcase-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-2);
  font-weight: 600;
}
.ai-showcase-list i {
  width: 22px; height: 22px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.ai-chat-window {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(168,85,247,0.25);
  position: relative;
  animation: chatFloat 5s ease-in-out infinite;
}
@keyframes chatFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.ai-chat-window::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--g-aurora);
  border-radius: 24px;
  z-index: -1;
  opacity: 0.3;
  filter: blur(20px);
}

.ai-chat-header {
  padding: 18px 22px;
  background: var(--bg-sunken);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
}
.ai-chat-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--g-aurora);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(168,85,247,0.4);
}
.ai-chat-name {
  font-weight: 800;
  font-size: 15px;
  color: var(--text-1);
}
.ai-chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-3);
}
.ai-chat-dot {
  width: 8px; height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.ai-chat-body {
  padding: 24px 22px;
  min-height: 280px;
}

.ai-chat-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
  animation: msgIn 0.5s ease-out backwards;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.ai-chat-msg-user {
  margin-inline-start: auto;
  background: var(--g-aurora);
  color: #fff;
  border-bottom-right-radius: 6px;
  font-weight: 600;
  animation-delay: 0.2s;
}
[dir="rtl"] .ai-chat-msg-user,
html[dir="rtl"] .ai-chat-msg-user {
  border-bottom-right-radius: 18px;
  border-bottom-left-radius: 6px;
}

.ai-chat-msg-bot {
  background: var(--bg-sunken);
  color: var(--text-1);
  border-bottom-left-radius: 6px;
  animation-delay: 1s;
}
[dir="rtl"] .ai-chat-msg-bot,
html[dir="rtl"] .ai-chat-msg-bot {
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 6px;
}

.ai-chat-typing-line {
  margin-bottom: 10px;
}

.ai-chat-example {
  margin-top: 10px;
  padding: 10px 12px;
  background: rgba(168,85,247,0.08);
  border-inline-start: 3px solid var(--brand-500);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
}

.ai-chat-input-mock {
  padding: 14px 20px;
  background: var(--bg-sunken);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-3);
  font-size: 14px;
}
.ai-chat-input-mock i {
  color: var(--brand-500);
  font-size: 16px;
}

/* ━━━━━━━━━━━━━━━━ BENTO GRID ━━━━━━━━━━━━━━━━ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 18px;
}
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
}

.bento {
  position: relative;
  padding: 26px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s;
}
.bento:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px -10px rgba(0,0,0,0.1);
  border-color: var(--brand-500);
}

.bento-large {
  grid-column: span 2;
  grid-row: span 2;
}
.bento-wide {
  grid-column: span 2;
}
@media (max-width: 900px) {
  .bento-large, .bento-wide {
    grid-column: span 2;
  }
}
@media (max-width: 600px) {
  .bento-large, .bento-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}

.bento-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px -4px rgba(0,0,0,0.2);
}

.bento h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-1);
}
.bento-large h3 { font-size: 26px; }
.bento p {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.6;
  margin: 0;
}

.bento-visual {
  margin-top: 24px;
  position: relative;
  height: 120px;
}
.srs-card-preview {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.srs-pc {
  position: absolute;
  width: 100px; height: 100px;
  border-radius: 16px;
  background: var(--bg-sunken);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}
.srs-pc-1 { transform: rotate(-12deg) translateX(-60px); }
.srs-pc-2 { transform: rotate(0deg) translateZ(20px); z-index: 2; }
.srs-pc-3 { transform: rotate(12deg) translateX(60px); }
.bento-large:hover .srs-pc-1 { transform: rotate(-18deg) translateX(-80px) translateY(-10px); }
.bento-large:hover .srs-pc-3 { transform: rotate(18deg) translateX(80px) translateY(-10px); }

.bento-badges {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  font-size: 24px;
}
.bento-badges span {
  animation: badgeBounce 2s ease-in-out infinite;
}
.bento-badges span:nth-child(2) { animation-delay: 0.2s; }
.bento-badges span:nth-child(3) { animation-delay: 0.4s; }
.bento-badges span:nth-child(4) { animation-delay: 0.6s; }
@keyframes badgeBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.bento-themes {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.theme-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg-elev);
  box-shadow: 0 0 0 1px var(--border);
  cursor: pointer;
  transition: transform 0.2s;
}
.theme-dot:hover { transform: scale(1.2); }

/* ━━━━━━━━━━━━━━━━ SECTION ALT BG ━━━━━━━━━━━━━━━━ */
.section-alt {
  background: var(--bg-sunken);
  position: relative;
}

/* ━━━━━━━━━━━━━━━━ TIMELINE V2 ━━━━━━━━━━━━━━━━ */
.timeline-v2 {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 800px) {
  .timeline-v2 { grid-template-columns: 1fr; }
}

.timeline-line {
  position: absolute;
  top: 60px;
  left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-500), var(--brand-500), transparent);
  opacity: 0.3;
  z-index: 0;
}
@media (max-width: 800px) { .timeline-line { display: none; } }

.timeline-step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.timeline-step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--g-aurora);
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 10px 30px -10px rgba(168,85,247,0.5);
  position: relative;
}
.timeline-step-num::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px solid var(--brand-500);
  border-radius: 50%;
  opacity: 0.3;
  animation: ringPulse 2s ease-in-out infinite;
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.15); opacity: 0; }
}

.timeline-step-card {
  padding: 28px 22px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: all 0.3s;
}
.timeline-step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
  border-color: var(--brand-500);
}
.timeline-step-icon {
  font-size: 38px;
  margin-bottom: 12px;
}
.timeline-step-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-1);
}
.timeline-step-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-3);
  margin: 0;
}

/* ━━━━━━━━━━━━━━━━ FINAL CTA ━━━━━━━━━━━━━━━━ */
.final-cta {
  position: relative;
  padding: 80px 50px;
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background: var(--g-aurora);
  box-shadow: 0 40px 80px -20px rgba(168,85,247,0.4);
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.final-cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}
.final-cta-orb-1 {
  top: -50px; left: -50px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.4);
  animation: orbFloat 8s ease-in-out infinite;
}
.final-cta-orb-2 {
  bottom: -80px; right: -80px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.25);
  animation: orbFloat 8s ease-in-out infinite -3s;
}
.final-cta-orb-3 {
  top: 30%; right: 30%;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.3);
  animation: orbFloat 8s ease-in-out infinite -5s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

.final-cta-content { position: relative; }
.final-cta-emoji {
  font-size: 64px;
  margin-bottom: 18px;
  display: inline-block;
  animation: rocketLaunch 3s ease-in-out infinite;
}
@keyframes rocketLaunch {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-12px) rotate(5deg); }
}
.final-cta-content h2 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.final-cta-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.95);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.final-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.final-cta-primary {
  background: #fff;
  color: var(--brand-600);
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.25);
}
.final-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -8px rgba(0,0,0,0.35);
}
.final-cta-secondary {
  background: rgba(255,255,255,0.18);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.35);
}
.final-cta-secondary:hover {
  background: rgba(255,255,255,0.28);
  border-color: rgba(255,255,255,0.5);
}

/* ━━━━━━━━━━━━━━━━ MOBILE OPTIMIZATIONS ━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {
  .hero-v2 { padding: 60px 0 40px; min-height: auto; }
  .hero-v2-deck { display: none; }
  .hero-v2-cta { gap: 14px; }
  .hero-v2-play { font-size: 14px; }
  .hero-v2-play-icon { width: 40px; height: 40px; }
  .final-cta { padding: 50px 24px; border-radius: 24px; }
  .ai-chat-window { transform: none !important; animation: none; }
}
