@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&family=Cairo:wght@300;400;600;700;900&display=swap');

:root {
  --blue: #00BFFF;
  --purple: #7B2FBE;
  --dark-purple: #4A1880;
  --bg-dark: #0A0A14;
  --bg-card: #12122A;
  --bg-card2: #1A1A35;
  --text-main: #F0F0FF;
  --text-muted: #9090B0;
  --gradient: linear-gradient(135deg, #00BFFF, #7B2FBE);
  --gradient-hover: linear-gradient(135deg, #7B2FBE, #00BFFF);
  --glow-blue: 0 0 30px rgba(0,191,255,0.3);
  --glow-purple: 0 0 30px rgba(123,47,190,0.3);
  --nav-bg: rgba(10,10,20,0.85);
  --nav-border: rgba(0,191,255,0.1);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
}

/* ===== LIGHT MODE ===== */
body.light-mode {
  --bg-dark: #F0F4FF;
  --bg-card: #FFFFFF;
  --bg-card2: #E8EEFF;
  --text-main: #0A0A2E;
  --text-muted: #5A5A8A;
  --nav-bg: rgba(255,255,255,0.9);
  --nav-border: rgba(123,47,190,0.15);
  --glow-blue: 0 0 20px rgba(0,191,255,0.2);
  --glow-purple: 0 0 20px rgba(123,47,190,0.2);
  --shadow-card: 0 8px 32px rgba(100,80,200,0.1);
}

body.light-mode .hero-bg {
  background: radial-gradient(ellipse at 50% 0%, rgba(123,47,190,0.12) 0%, transparent 70%),
              radial-gradient(ellipse at 80% 80%, rgba(0,191,255,0.08) 0%, transparent 60%);
}

body.light-mode .hero-grid {
  background-image:
    linear-gradient(rgba(123,47,190,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,47,190,0.06) 1px, transparent 1px);
}

body.light-mode nav {
  border-bottom: 1px solid rgba(123,47,190,0.12);
  box-shadow: 0 2px 20px rgba(100,80,200,0.1);
}

body.light-mode .service-card,
body.light-mode .step-card,
body.light-mode .why-feature,
body.light-mode .contact-method {
  border-color: rgba(123,47,190,0.12);
  box-shadow: 0 4px 16px rgba(100,80,200,0.08);
}

body.light-mode .service-card:hover,
body.light-mode .step-card:hover {
  border-color: rgba(0,191,255,0.4);
  box-shadow: 0 16px 40px rgba(0,191,255,0.15);
}

body.light-mode footer {
  background: #E0E8FF;
  border-top: 1px solid rgba(123,47,190,0.1);
}

body.light-mode .footer-bottom {
  border-top: 1px solid rgba(123,47,190,0.1);
}

body.light-mode .social-link {
  background: #D8E4FF;
  border-color: rgba(123,47,190,0.15);
}

body.light-mode .cta-box {
  background: #FFFFFF;
  border-color: rgba(0,191,255,0.25);
  box-shadow: 0 20px 60px rgba(100,80,200,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  direction: rtl;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--gradient); border-radius: 3px; }

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nav-border);
  transition: all 0.3s;
}

nav.scrolled {
  padding: 12px 5%;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 110px;
  width: auto;
  filter: drop-shadow(0 0 14px rgba(0,191,255,0.7));
}

.nav-logo span {
  font-size: 1.6rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; right: 0;
  width: 0; height: 2px;
  background: var(--gradient);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 24px;
  background: var(--gradient);
  color: #fff !important;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0,191,255,0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,191,255,0.5);
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(0,191,255,0.3);
  background: rgba(0,191,255,0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(0,191,255,0.18);
  border-color: var(--blue);
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 0 16px rgba(0,191,255,0.4);
}

.theme-toggle .icon-moon,
.theme-toggle .icon-sun {
  position: absolute;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1;
}

.theme-toggle .icon-moon { opacity: 1; transform: translateY(0) rotate(0deg); }
.theme-toggle .icon-sun  { opacity: 0; transform: translateY(20px) rotate(90deg); }

body.light-mode .theme-toggle .icon-moon { opacity: 0; transform: translateY(-20px) rotate(-90deg); }
body.light-mode .theme-toggle .icon-sun  { opacity: 1; transform: translateY(0) rotate(0deg); }

body.light-mode .theme-toggle {
  border-color: rgba(123,47,190,0.3);
  background: rgba(123,47,190,0.08);
}

body.light-mode .theme-toggle:hover {
  background: rgba(123,47,190,0.18);
  border-color: var(--purple);
  box-shadow: 0 0 16px rgba(123,47,190,0.3);
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 170px 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(123,47,190,0.25) 0%, transparent 70%),
              radial-gradient(ellipse at 80% 80%, rgba(0,191,255,0.15) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,191,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,191,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-content { position: relative; z-index: 2; max-width: 850px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0,191,255,0.1);
  border: 1px solid rgba(0,191,255,0.3);
  border-radius: 30px;
  font-size: 0.9rem;
  color: var(--blue);
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease;
}

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

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

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

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

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 650px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-primary {
  padding: 16px 36px;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 8px 25px rgba(0,191,255,0.35);
  font-family: inherit;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0,191,255,0.5);
}

.btn-outline {
  padding: 15px 36px;
  background: transparent;
  color: var(--blue);
  border: 2px solid rgba(0,191,255,0.5);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  font-family: inherit;
}

.btn-outline:hover {
  background: rgba(0,191,255,0.1);
  border-color: var(--blue);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 70px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.07);
  animation: fadeInUp 0.8s ease 0.8s both;
}

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

.stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== SECTIONS COMMON ===== */
section {
  padding: 100px 5%;
  scroll-margin-top: 150px;
}

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

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(123,47,190,0.15);
  border: 1px solid rgba(123,47,190,0.4);
  border-radius: 20px;
  font-size: 0.85rem;
  color: #B06EFF;
  margin-bottom: 16px;
  font-weight: 600;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 14px;
}

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

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== SERVICES ===== */
#services { background: var(--bg-card); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: 20px;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,191,255,0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), var(--glow-blue);
}

.service-card:hover::before { opacity: 0.05; }

.service-icon {
  width: 64px; height: 64px;
  background: var(--gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ===== WHY US ===== */
#why {
  background: var(--bg-dark);
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.why-features { display: flex; flex-direction: column; gap: 20px; }

.why-feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s;
}

.why-feature:hover {
  border-color: rgba(0,191,255,0.3);
  transform: translateX(-6px);
  box-shadow: var(--glow-blue);
}

.why-icon {
  width: 48px; height: 48px;
  min-width: 48px;
  background: rgba(0,191,255,0.1);
  border: 1px solid rgba(0,191,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.why-feature h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.why-feature p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

.why-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card-main {
  background: var(--bg-card);
  border: 1px solid rgba(0,191,255,0.2);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  box-shadow: var(--glow-purple);
  width: 100%;
  max-width: 360px;
}

.why-card-main .big-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  display: block;
}

.why-card-main h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-card-main p { color: var(--text-muted); line-height: 1.7; }

/* ===== HOW IT WORKS ===== */
#how { background: var(--bg-card); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.step-card {
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  transition: all 0.4s;
  position: relative;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: rgba(123,47,190,0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), var(--glow-purple);
}

.step-num {
  width: 56px; height: 56px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  margin: 0 auto 20px;
  color: #fff;
}

.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.step-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* ===== CTA SECTION ===== */
#cta {
  background: var(--bg-dark);
  text-align: center;
}

.cta-box {
  max-width: 750px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid rgba(0,191,255,0.2);
  border-radius: 30px;
  padding: 70px 50px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,191,255,0.1), transparent 70%);
}

.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; margin-bottom: 16px; }
.cta-box p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 36px; line-height: 1.8; }

/* ===== CONTACT ===== */
#contact { background: var(--bg-card); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); line-height: 1.8; margin-bottom: 30px; }

.contact-methods { display: flex; flex-direction: column; gap: 16px; }

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-dark);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s;
}

.contact-method:hover {
  border-color: rgba(0,191,255,0.3);
  transform: translateX(-4px);
}

.contact-method .cm-icon {
  font-size: 1.4rem;
  width: 44px; height: 44px;
  background: rgba(0,191,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-method span { font-size: 0.95rem; font-weight: 600; }

.contact-form { background: var(--bg-dark); border-radius: 24px; padding: 40px; border: 1px solid rgba(255,255,255,0.06); }

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,191,255,0.15);
}

.form-group textarea { height: 120px; resize: vertical; }
.form-group select option { background: var(--bg-card2); }

/* ===== FOOTER ===== */
footer {
  background: #050510;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 5% 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand .brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand .brand-logo span {
  font-size: 1.4rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; margin-bottom: 20px; }

.social-links { display: flex; gap: 12px; }

.social-link {
  width: 40px; height: 40px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--gradient);
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 18px; }

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease;
}

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

/* ===== FLOATING PARTICLES ===== */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.4;
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.2; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: rgba(0,191,255,0.08);
  border: 2px solid rgba(0,191,255,0.2);
  border-radius: 10px;
  padding: 8px;
  transition: all 0.3s;
}

.hamburger:hover {
  background: rgba(0,191,255,0.18);
  border-color: var(--blue);
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

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

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,20,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

body.light-mode .mobile-nav {
  background: rgba(240,244,255,0.97);
}

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

.mobile-nav a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 700;
  transition: all 0.3s;
  position: relative;
}

.mobile-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%; right: 50%;
  height: 2px;
  background: var(--gradient);
  transition: all 0.3s;
}

.mobile-nav a:hover { color: var(--blue); }
.mobile-nav a:hover::after { left: 0; right: 0; }

.mobile-nav .mobile-cta {
  padding: 16px 48px;
  background: var(--gradient);
  color: #fff !important;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(0,191,255,0.4);
}

.mobile-nav .mobile-cta::after { display: none; }

/* ===== RESPONSIVE ===== */

/* --- Tablet (900px and below) --- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }

  .why-grid { grid-template-columns: 1fr; gap: 30px; }
  .why-visual { display: none; }

  .contact-grid { grid-template-columns: 1fr; gap: 36px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand { grid-column: 1 / -1; }

  .hero-stats { gap: 24px; }

  .nav-logo img { height: 85px; }
  .nav-logo span { font-size: 1.3rem; }

  .nav-cta { display: none; }
}

/* --- Mobile (600px and below) --- */
@media (max-width: 600px) {
  section { padding: 60px 4%; }

  nav { padding: 12px 4%; }

  .nav-logo img { height: 72px; }
  .nav-logo span { font-size: 1.15rem; }

  .hero-title { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .hero-subtitle { font-size: 1rem; }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px 30px;
    justify-content: center;
  }

  .stat-num { font-size: 1.8rem; }

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

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

  .service-card { padding: 28px 20px; }
  .step-card { padding: 28px 20px; }

  .cta-box { padding: 36px 20px; }

  .contact-form { padding: 22px 16px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand { grid-column: auto; }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary, .btn-outline {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .why-feature { padding: 16px; }

  .section-header { margin-bottom: 40px; }
}

/* --- Small mobile (380px and below) --- */
@media (max-width: 380px) {
  .nav-logo span { display: none; }
  .nav-logo img { height: 60px; }
  .hero-badge { font-size: 0.8rem; padding: 6px 14px; }
}
