/* =====================================================
   Check Plug - Main Stylesheet
   ===================================================== */

/* ── CSS Variables / Design Tokens ── */
:root {
  /* Brand Colors */
  --primary: #F97316;
  --primary-hover: #EA580C;
  --primary-light: rgba(249, 115, 22, 0.1);
  --primary-glow: rgba(249, 115, 22, 0.3);

  --secondary: #1E293B;
  --secondary-light: #334155;
  --secondary-dark: #0F172A;

  --accent: #10B981;
  --accent-light: rgba(16, 185, 129, 0.1);

  /* Neutrals */
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --bg-muted: #F1F5F9;
  --text: #1E293B;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --card-bg: #FFFFFF;
  --card-shadow: 0 1px 3px rgba(0,0,0,0.08);

  /* Radius & Misc */
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Cairo', sans-serif;
}

/* ── Dark Mode ── */
[data-theme="dark"] {
  --bg: #0F172A;
  --bg-alt: #1E293B;
  --bg-muted: #1E293B;
  --text: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border: #334155;
  --card-bg: #1E293B;
  --card-shadow: 0 1px 3px rgba(0,0,0,0.3);
  --secondary: #F1F5F9;
  --secondary-light: #CBD5E1;
  --secondary-dark: #F8FAFC;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Utility Classes ── */
.section-padding { padding: 5rem 0; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary-color { color: var(--text-secondary); }

.badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  text-wrap: balance;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  background: transparent;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
}
[data-theme="dark"] .btn-secondary {
  background: var(--primary);
  color: #fff;
}
.btn-secondary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.4), transparent);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.navbar.scrolled {
  background: var(--bg);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
[data-theme="dark"] .navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.nav-logo-img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  object-fit: contain;
  transition: transform var(--transition);
}
.nav-logo:hover .nav-logo-img { transform: scale(1.1); }

.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo-text strong {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.navbar:not(.scrolled) .nav-logo-text strong { color: #fff; }
.nav-logo-text small {
  font-size: 0.6875rem;
  color: var(--text-muted);
}
.navbar:not(.scrolled) .nav-logo-text small { color: rgba(255,255,255,0.6); }

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

.nav-links a {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 0.5rem;
  transition: all var(--transition);
  white-space: nowrap;
}
.navbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.8); }
.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}
.navbar:not(.scrolled) .nav-links a:hover {
  color: var(--primary);
  background: rgba(249, 115, 22, 0.15);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--text-secondary);
  font-size: 1rem;
}
.navbar:not(.scrolled) .nav-toggle-btn { color: rgba(255,255,255,0.8); }
.nav-toggle-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.lang-toggle, .theme-toggle {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: transparent;
}
.navbar:not(.scrolled) .lang-toggle,
.navbar:not(.scrolled) .theme-toggle { color: rgba(255,255,255,0.8); }
.lang-toggle:hover, .theme-toggle:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-cta {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}

.mobile-menu-btn {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 1.25rem;
  transition: all var(--transition);
}
.navbar:not(.scrolled) .mobile-menu-btn { color: #fff; }

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  right: 1rem;
  left: 1rem;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  border: 1px solid var(--border);
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 0.5rem;
  transition: all var(--transition);
}
.mobile-nav a:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.mobile-nav .mobile-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

/* =====================================================
   HERO SLIDER
   ===================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

/* Slide 1: Deep blue with orange radial glow */
.hero-slide[data-slide-bg="0"] {
  background: linear-gradient(135deg, #0B1120 0%, #0F172A 30%, #162032 60%, #0F172A 100%);
}
.hero-slide[data-slide-bg="0"]::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 60%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, rgba(249,115,22,0.04) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatGlow 8s ease-in-out infinite;
}
.hero-slide[data-slide-bg="0"]::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatGlow 6s ease-in-out infinite reverse;
}

/* Slide 2: Darker with teal accents */
.hero-slide[data-slide-bg="1"] {
  background: linear-gradient(160deg, #060D19 0%, #0D1B2A 40%, #1A2942 70%, #0F172A 100%);
}
.hero-slide[data-slide-bg="1"]::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, rgba(16,185,129,0.03) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatGlow 7s ease-in-out infinite;
}
.hero-slide[data-slide-bg="1"]::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(249,115,22,0.06) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

/* Slide 3: Warm with orange glow */
.hero-slide[data-slide-bg="2"] {
  background: linear-gradient(145deg, #0F172A 0%, #1A1A2E 35%, #16213E 65%, #0F172A 100%);
}
.hero-slide[data-slide-bg="2"]::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 40%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, rgba(251,146,60,0.05) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatGlow 9s ease-in-out infinite;
}
.hero-slide[data-slide-bg="2"]::after {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 70%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatGlow 5s ease-in-out infinite reverse;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active {
  opacity: 1;
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* Hero illustration */
.hero-illustration {
  position: absolute;
  left: 3%;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  z-index: 8;
  opacity: 1;
  pointer-events: none;
  filter: drop-shadow(0 0 40px rgba(249,115,22,0.15));
  animation: illustrationFloat 6s ease-in-out infinite;
}
@keyframes illustrationFloat {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-52%) translateX(8px); }
}
[dir="ltr"] .hero-illustration {
  right: 3%;
  left: auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(15,23,42,0.3), rgba(15,23,42,0.1), rgba(15,23,42,0.6));
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  height: 100%;
}

.hero-text {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.25);
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: #fff;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}
.hero-badge svg { color: var(--primary); }

.hero-slide-text {
  display: none;
}
.hero-slide-text.active {
  display: block;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards 0.3s;
}

.hero-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
  text-wrap: pretty;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards 0.5s;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards 0.7s;
}

.hero-nav {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-nav button {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  transition: all var(--transition);
}
.hero-nav button:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 0.5rem;
}

.hero-dots button {
  height: 0.5rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  background: rgba(255,255,255,0.3);
  width: 0.5rem;
}
.hero-dots button.active {
  width: 2rem;
  background: var(--primary);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  animation: bounceDown 2s infinite;
}

/* =====================================================
   STATS BAR
   ===================================================== */
.stats-bar {
  position: relative;
  z-index: 10;
  margin-top: -4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  transition: all var(--transition);
}
.stat-card:hover .stat-icon {
  background: var(--primary);
  color: #fff;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.25rem;
  direction: ltr;
  display: inline-block;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* =====================================================
   COUNTDOWN
   ===================================================== */
.countdown-section {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, #1E293B 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.countdown-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.countdown-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.countdown-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.countdown-text p {
  color: rgba(255,255,255,0.6);
  font-size: 1.0625rem;
  max-width: 400px;
}

.countdown-timer {
  display: flex;
  gap: 1rem;
}

.countdown-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  text-align: center;
  min-width: 5rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}
.countdown-box:hover {
  border-color: var(--primary);
  background: rgba(249, 115, 22, 0.1);
}

.countdown-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =====================================================
   SERVICES SLIDER
   ===================================================== */
.services { background: var(--bg-alt); }

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

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

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: var(--primary);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: transform var(--transition);
}
.service-card:hover .service-icon { transform: scale(1.15); }
.service-icon.orange { background: var(--primary-light); color: var(--primary); }
.service-icon.dark { background: rgba(30,41,59,0.1); color: var(--secondary); }
[data-theme="dark"] .service-icon.dark { background: rgba(241,245,249,0.1); color: var(--text); }
.service-icon.green { background: var(--accent-light); color: var(--accent); }

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.slider-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.slider-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}
.slider-dots button {
  height: 0.625rem;
  border-radius: var(--radius-full);
  background: var(--border);
  width: 0.625rem;
  transition: all var(--transition);
}
.slider-dots button.active {
  width: 2rem;
  background: var(--primary);
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.how-it-works {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(249,115,22,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.how-it-works .section-title { color: #fff; }
.how-it-works .section-desc { color: rgba(255,255,255,0.6); }
.how-it-works .badge { background: rgba(249,115,22,0.2); }

.steps-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  top: 3.5rem;
  right: 8%;
  left: 8%;
  height: 2px;
  background: linear-gradient(to left, var(--primary), rgba(249,115,22,0.3), rgba(249,115,22,0.1));
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.step-icon-wrap {
  position: relative;
  margin-bottom: 1.25rem;
}

.step-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.75rem;
  transition: transform var(--transition);
  position: relative;
  z-index: 2;
}
.step-item:hover .step-icon { transform: scale(1.15); }

.step-number {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius-full);
  background: #fff;
  color: #000000;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

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

.step-desc {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 180px;
}

.step-arrow {
  position: absolute;
  top: 2.25rem;
  left: -1rem;
  color: rgba(249,115,22,0.4);
  font-size: 1rem;
}

/* =====================================================
   USER TYPES
   ===================================================== */
.user-types { background: var(--bg-alt); }

.users-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.user-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}
.user-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.user-card-header {
  padding: 2rem;
  color: #fff;
}
.user-card-header.owners-header {
  background: linear-gradient(135deg, #0F172A, #334155);
}
.user-card-header.drivers-header {
  background: linear-gradient(135deg, #EA580C, #FB923C);
}

.user-card-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.user-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.owners-header .user-card-icon:first-child { background: rgba(249,115,22,0.2); color: var(--primary); }
.owners-header .user-card-icon:last-child { background: rgba(255,255,255,0.1); }
.drivers-header .user-card-icon:first-child { background: rgba(255,255,255,0.2); }
.drivers-header .user-card-icon:last-child { background: rgba(255,255,255,0.1); }

.user-card-header h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.user-card-header p {
  font-size: 0.9375rem;
  opacity: 0.75;
}

.user-card-body {
  padding: 2rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.625rem;
  margin-top: 0.125rem;
}

.feature-item span {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.user-card-body .btn {
  width: 100%;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0.875rem;
  border-radius: var(--radius);
  font-size: 1rem;
}

/* =====================================================
   FAQ
   ===================================================== */
.faq { background: var(--bg); }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover, .faq-item.open {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.faq-item.open { border-color: rgba(249,115,22,0.3); }

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: right;
  transition: color var(--transition);
  gap: 1rem;
}
.faq-item.open .faq-question { color: var(--primary); }

.faq-toggle {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all var(--transition);
}
.faq-item.open .faq-toggle {
  background: var(--primary);
  color: #fff;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.8;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: #0F172A;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(249,115,22,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.footer-newsletter {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 3rem 0;
}

.newsletter-box {
  background: linear-gradient(135deg, rgba(249,115,22,0.15), rgba(249,115,22,0.05));
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.newsletter-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.newsletter-text p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9375rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  max-width: 28rem;
}

.newsletter-input {
  flex: 1;
  height: 3rem;
  padding: 0 1rem 0 1rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.875rem;
  outline: none;
  transition: all var(--transition);
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.2);
}

.footer-main {
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition);
}
.footer-links a:hover { color: var(--primary); }
.footer-links a .arrow {
  opacity: 0;
  transition: opacity var(--transition);
  font-size: 0.75rem;
}
.footer-links a:hover .arrow { opacity: 1; }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(249,115,22,0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.875rem;
}

.footer-contact span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: var(--primary); }
.footer-bottom a:hover { text-decoration: underline; }

.scroll-top-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: rgba(249,115,22,0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}
.scroll-top-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4); }
  50% { box-shadow: 0 0 20px 8px rgba(249, 115, 22, 0); }
}

.pulse-glow { animation: pulseGlow 2.5s infinite; }

/* Scroll reveal */
.reveal-el {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-el.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-el.delay-1 { transition-delay: 0.1s; }
.reveal-el.delay-2 { transition-delay: 0.2s; }
.reveal-el.delay-3 { transition-delay: 0.3s; }
.reveal-el.delay-4 { transition-delay: 0.4s; }
.reveal-el.delay-5 { transition-delay: 0.5s; }
.reveal-el.delay-6 { transition-delay: 0.6s; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-menu-btn { display: flex; }
  .steps-timeline { grid-template-columns: repeat(3, 1fr); }
  .steps-timeline::before { display: none; }
  .step-arrow { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section-padding { padding: 3.5rem 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .stat-card { padding: 1.25rem; }
  .stat-number { font-size: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .services-page.active { grid-template-columns: 1fr; }
  .steps-timeline { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .users-grid { grid-template-columns: 1fr; }
  .countdown-wrapper { flex-direction: column; text-align: center; }
  .countdown-text { text-align: center; }
  .countdown-timer { justify-content: center; }
  .countdown-box { min-width: 4rem; padding: 1rem; }
  .countdown-number { font-size: 2rem; }
  .hero-nav { display: none; }
  .hero-illustration { display: none; }
  .newsletter-box { flex-direction: column; text-align: center; }
  .newsletter-form { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .countdown-timer { gap: 0.5rem; }
  .steps-timeline { grid-template-columns: 1fr; }
  .hero-text { padding-top: 2rem; }
}

/* ── LTR (English) ── */
[dir="ltr"] .faq-question { text-align: left; }
[dir="ltr"] .hero-overlay {
  background: linear-gradient(to right, rgba(15,23,42,0.3), rgba(15,23,42,0.1), rgba(15,23,42,0.6));
}
[dir="ltr"] .steps-timeline::before {
  background: linear-gradient(to right, var(--primary), rgba(249,115,22,0.3), rgba(249,115,22,0.1));
}
[dir="ltr"] .step-arrow {
  right: -1rem;
  left: auto;
  transform: scaleX(-1);
}
[dir="ltr"] .step-number {
  left: -0.5rem;
  right: auto;
}
[dir="ltr"] .service-card::after {
  transform-origin: left;
}
[dir="ltr"] .footer-links a .arrow {
  transform: scaleX(-1);
}
