/* ==========================================
   BARBER LANDING PAGE — STYLES
   ========================================== */

/* ---------- CSS Variables ---------- */
:root {
  --bg-dark: #06060f;
  --bg-surface: #0d0d1a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(255, 255, 255, 0.12);

  --text-primary: #f0f0f5;
  --text-secondary: #9ca3af;
  --text-tertiary: #6b7280;

  --blue: #2563eb;
  --blue-light: #3b82f6;
  --purple: #7c3aed;
  --teal: #06d6a0;
  --pink: #ec4899;
  --orange: #f59e0b;
  --green: #10b981;
  --red: #ef4444;

  --gradient-main: linear-gradient(135deg, #2563eb, #7c3aed);
  --gradient-text: linear-gradient(135deg, #3b82f6, #8b5cf6, #06d6a0);
  --gradient-blue: linear-gradient(135deg, #2563eb, #3b82f6);
  --gradient-purple: linear-gradient(135deg, #7c3aed, #a78bfa);
  --gradient-teal: linear-gradient(135deg, #06d6a0, #34d399);
  --gradient-orange: linear-gradient(135deg, #f59e0b, #fbbf24);
  --gradient-pink: linear-gradient(135deg, #ec4899, #f472b6);
  --gradient-green: linear-gradient(135deg, #10b981, #34d399);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 100px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow-blue: 0 0 40px rgba(37, 99, 235, 0.3);
  --shadow-glow-purple: 0 0 40px rgba(124, 58, 237, 0.3);

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-arabic: 'Cairo', 'Inter', sans-serif;

  --nav-height: 72px;
  --container-max: 1200px;
  --container-padding: 24px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Arabic RTL */
[dir="rtl"] body {
  font-family: var(--font-arabic);
}

[dir="rtl"] .step-connector i {
  transform: rotate(180deg);
}

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

img { max-width: 100%; display: block; }
button { border: none; cursor: pointer; background: none; font: inherit; color: inherit; }
input { border: none; outline: none; font: inherit; color: inherit; background: none; }

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

/* ---------- Scroll Progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-main);
  z-index: 1001;
  transition: width 0.1s linear;
  width: 0%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 99, 235, 0.5);
}

.btn-primary:active { transform: translateY(0); }

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(6, 6, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo-icon-img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.logo-text-img {
  height: 24px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover { color: var(--text-primary); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 1px;
  transition: width var(--transition-normal);
}

.nav-link:hover::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switcher {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.lang-btn {
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  transition: all var(--transition-fast);
  border-radius: var(--radius-full);
}

.lang-btn:hover { color: var(--text-primary); }
.lang-btn.active {
  background: var(--gradient-main);
  color: white;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 10;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
  transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 6, 15, 0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.mobile-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.mobile-link:hover { color: var(--text-primary); }

.mobile-lang {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.mobile-lang .lang-btn {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--blue);
  top: -20%;
  right: -10%;
  opacity: 0.25;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--purple);
  bottom: -10%;
  left: -15%;
  opacity: 0.2;
  animation-delay: -7s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: var(--teal);
  top: 40%;
  left: 50%;
  opacity: 0.12;
  animation-delay: -14s;
}

.orb-4 {
  width: 500px;
  height: 500px;
  background: var(--purple);
  top: -20%;
  left: -10%;
  opacity: 0.2;
}

.orb-5 {
  width: 450px;
  height: 450px;
  background: var(--blue);
  bottom: -15%;
  right: -10%;
  opacity: 0.15;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.05); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
  75% { transform: translate(40px, 20px) scale(1.02); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 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-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - var(--nav-height));
  padding-top: 40px;
  padding-bottom: 40px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

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

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

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.title-line { display: block; }

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-stack {
  display: flex;
}

.avatar-stack .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  border: 2px solid var(--bg-dark);
  margin-left: -8px;
}

.avatar-stack .avatar:first-child { margin-left: 0; }

.avatar-more {
  background: var(--bg-card) !important;
  color: var(--text-secondary) !important;
  border: 2px solid var(--border-subtle) !important;
}

.social-text {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

/* Hero Visual / Phone Mockup */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.phone-wrapper {
  position: relative;
}

.phone-mockup {
  position: relative;
  z-index: 2;
}

.phone-frame {
  width: 280px;
  height: 580px;
  background: var(--bg-surface);
  border-radius: 40px;
  border: 2px solid var(--border-accent);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow-blue);
  position: relative;
}

.phone-notch {
  width: 120px;
  height: 28px;
  background: var(--bg-dark);
  border-radius: 0 0 18px 18px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.phone-screen {
  padding: 8px 16px 0;
  position: relative;
}

/* Mock UI Elements */
.mock-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0 12px;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.mock-icons { display: flex; gap: 4px; }
.mock-dot {
  width: 4px;
  height: 4px;
  background: var(--text-secondary);
  border-radius: 50%;
}

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.mock-text-xs { height: 6px; background: rgba(255,255,255,0.15); border-radius: 3px; width: 40px; }
.mock-text-sm { height: 8px; background: rgba(255,255,255,0.2); border-radius: 4px; width: 80px; }
.mock-text-md { height: 10px; background: rgba(255,255,255,0.25); border-radius: 5px; width: 100px; }
.mock-text-lg { height: 14px; background: rgba(255,255,255,0.3); border-radius: 6px; width: 120px; }

.mock-avatar-circle {
  width: 36px;
  height: 36px;
  background: var(--gradient-main);
  border-radius: 50%;
}

.mock-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  margin-bottom: 14px;
}

.mock-search-icon {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
}

.mock-card-featured {
  height: 100px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
}

.mock-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.4), rgba(124,58,237,0.4));
}

.mock-card-content {
  position: relative;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  gap: 6px;
}

.mock-section-title {
  height: 10px;
  width: 80px;
  background: rgba(255,255,255,0.2);
  border-radius: 5px;
  margin-bottom: 10px;
}

.mock-shop-card {
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.mock-shop-image {
  height: 90px;
  background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(16,185,129,0.15));
}

.mock-shop-info {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mock-star {
  width: 10px;
  height: 10px;
  background: var(--orange);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.mock-bottom-nav {
  display: flex;
  justify-content: space-around;
  padding: 12px 0;
  margin-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.mock-nav-item {
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
}

.mock-nav-item.active {
  background: var(--gradient-main);
}

/* Phone Glow */
.phone-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--blue);
  filter: blur(100px);
  opacity: 0.2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  border-radius: 50%;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(13, 13, 26, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 3;
  box-shadow: var(--shadow-md);
  animation: floatCard 6s ease-in-out infinite;
}

.floating-card i { font-size: 1.1rem; }

.card-1 {
  top: 15%;
  right: -20px;
  color: var(--green);
  animation-delay: 0s;
}

.card-2 {
  bottom: 25%;
  left: -30px;
  color: var(--orange);
  animation-delay: -2s;
}

.card-3 {
  bottom: 10%;
  right: -10px;
  color: var(--blue-light);
  animation-delay: -4s;
}

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

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--border-accent);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 3px;
  height: 8px;
  background: var(--text-secondary);
  border-radius: 2px;
  animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ---------- SECTIONS SHARED ---------- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-light);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- FEATURES ---------- */
.features {
  padding: 100px 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  font-size: 1.4rem;
  color: white;
  margin-bottom: 20px;
}

.gradient-blue { background: var(--gradient-blue); }
.gradient-purple { background: var(--gradient-purple); }
.gradient-teal { background: var(--gradient-teal); }
.gradient-orange { background: var(--gradient-orange); }
.gradient-pink { background: var(--gradient-pink); }
.gradient-green { background: var(--gradient-green); }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- HOW IT WORKS ---------- */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-surface);
  position: relative;
}

.steps-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step-card {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gradient-main);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
}

.step-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  font-size: 1.8rem;
  color: var(--blue-light);
  margin: 0 auto 20px;
  transition: all var(--transition-normal);
}

.step-card:hover .step-icon {
  border-color: var(--blue);
  box-shadow: var(--shadow-glow-blue);
  transform: translateY(-4px);
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 70px;
  color: var(--text-tertiary);
  font-size: 1.5rem;
}

.connector-line {
  width: 40px;
  height: 2px;
  background: var(--border-accent);
  border-radius: 1px;
}

/* ---------- WAITLIST ---------- */
.waitlist {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.waitlist-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.waitlist-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.waitlist-info { position: relative; z-index: 2; }

.waitlist-info .section-badge { margin-bottom: 20px; }
.waitlist-info .section-title { text-align: left; margin-bottom: 16px; }

.waitlist-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.waitlist-desc strong { color: var(--text-primary); }

/* Spots Counter */
.spots-counter {
  margin-bottom: 32px;
}

.spots-visual { margin-bottom: 12px; }

.spots-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-card);
  border-radius: 4px;
  overflow: hidden;
}

.spots-fill {
  height: 100%;
  background: var(--gradient-main);
  border-radius: 4px;
  transition: width 1s ease-out;
  width: 100%;
}

.spots-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.spots-number {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.spots-number strong {
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.1rem;
}

.spots-urgency {
  font-size: 0.8rem;
  color: var(--orange);
  font-weight: 600;
}

/* Perks */
.waitlist-perks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.perk i {
  font-size: 1.2rem;
  color: var(--green);
}

/* Form */
.waitlist-form-wrap {
  position: relative;
  z-index: 2;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-2xl);
  padding: 36px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
}

.form-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.input-wrap:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.input-wrap i {
  font-size: 1.1rem;
  color: var(--text-tertiary);
}

.input-wrap input {
  flex: 1;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.input-wrap input::placeholder {
  color: var(--text-tertiary);
}

/* Role Selector */
.role-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.role-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.role-btn i { font-size: 1.4rem; }

.role-btn:hover {
  border-color: var(--border-accent);
  background: rgba(255, 255, 255, 0.06);
}

.role-btn.active {
  border-color: var(--blue);
  background: rgba(37, 99, 235, 0.12);
  color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Submit Button States */
#submitBtn {
  margin-top: 8px;
  position: relative;
}

.btn-loader, .btn-success { display: none; }

#submitBtn.loading .btn-text { display: none; }
#submitBtn.loading .btn-loader {
  display: flex;
  align-items: center;
  gap: 8px;
}

#submitBtn.loading .btn-loader i {
  animation: spin 0.8s linear infinite;
}

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

#submitBtn.success { background: var(--green) !important; box-shadow: 0 4px 15px rgba(16,185,129,0.4) !important; }
#submitBtn.success .btn-text { display: none; }
#submitBtn.success .btn-success {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 14px;
}

/* Success State */
.form-success {
  display: none;
  text-align: center;
  padding: 30px 0;
}

.form-success.active { display: block; }
.form-success.active ~ form { display: none; }

.success-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 50%;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--green);
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.form-success h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-success p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 60px 0 30px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo { margin-bottom: 12px; }

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 280px;
}

.footer-links-group h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.footer-links-group a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  transition: color var(--transition-fast);
}

.footer-links-group a:hover { color: var(--text-primary); }

.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  border-color: var(--blue);
  color: var(--blue-light);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.footer-made {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ---------- CONFETTI CANVAS ---------- */
#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="100"] { transition-delay: 0.1s; }
.reveal[data-delay="200"] { transition-delay: 0.2s; }
.reveal[data-delay="300"] { transition-delay: 0.3s; }
.reveal[data-delay="400"] { transition-delay: 0.4s; }
.reveal[data-delay="500"] { transition-delay: 0.5s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { align-items: center; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .waitlist-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .waitlist-info .section-title { text-align: center; }
  .waitlist-info { text-align: center; }
  .waitlist-perks { align-items: center; }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 20px;
    --nav-height: 64px;
  }

  .nav-links, .nav-right { display: none; }
  .mobile-toggle { display: flex; }
  .mobile-menu { display: flex; }

  .hero-title { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .hero-subtitle { font-size: 1rem; }

  .phone-frame {
    width: 240px;
    height: 500px;
  }

  .floating-card { display: none; }

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

  .steps-container {
    flex-direction: column;
    align-items: center;
  }

  .step-connector {
    padding-top: 0;
    transform: rotate(90deg);
    margin: -10px 0;
  }

  .role-selector { grid-template-columns: 1fr; }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-tagline { text-align: center; }
  .footer-socials { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .form-card { padding: 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .btn-lg { padding: 12px 24px; font-size: 0.9rem; }
  .phone-frame { width: 200px; height: 420px; }
  .section-title { font-size: 1.8rem; }
}
