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

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

:root {
  --primary: #1e3a8a;
  --primary-light: #2563eb;
  --saffron: #f59e0b;
  --saffron-dark: #d97706;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --glass: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: #0f172a;
  color: #e2e8f0;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #1e3a8a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #2563eb; }

/* ─── GLASSMORPHISM ─────────────────────── */
.glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
}
.glass-light {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 16px;
}
.glass-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
.glass-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(245,158,11,0.3);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4), 0 0 24px rgba(245,158,11,0.08);
}

/* ─── TYPOGRAPHY ────────────────────────── */
.font-display { font-family: 'Poppins', sans-serif; }

.gradient-text {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-blue {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-saffron {
  background: linear-gradient(135deg, #fbbf24, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sp-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, #f59e0b, #dc2626);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── BACKGROUNDS ────────────────────────── */
.hero-bg {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}
.mesh-bg {
  background-color: #0f172a;
  background-image:
    radial-gradient(at 30% 20%, rgba(29,78,216,0.35) 0, transparent 50%),
    radial-gradient(at 85% 5%,  rgba(245,158,11,0.15) 0, transparent 50%),
    radial-gradient(at 5%  55%, rgba(139,92,246,0.2)  0, transparent 50%),
    radial-gradient(at 75% 55%, rgba(37,99,235,0.2)   0, transparent 50%),
    radial-gradient(at 10% 95%, rgba(245,158,11,0.08) 0, transparent 50%);
}
.grid-pattern {
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
}
.dot-pattern {
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.saffron-glow-bg {
  background: radial-gradient(ellipse at center, rgba(245,158,11,0.12) 0, transparent 70%);
}

/* ─── NAVBAR ────────────────────────────── */
#navbar {
  transition: all 0.4s ease;
}
.navbar-scrolled {
  background: rgba(15,23,42,0.96) !important;
  backdrop-filter: blur(24px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-link {
  position: relative;
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.3s ease;
  letter-spacing: 0.01em;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, #f59e0b, #ea580c);
  transition: width 0.3s ease;
  border-radius: 1px;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ─── BUTTONS ─────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.5s ease;
}
.btn-primary:hover::after { left: 100%; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245,158,11,0.45);
}
.btn-secondary {
  background: transparent;
  color: #e2e8f0;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}
.btn-outline-saffron {
  background: transparent;
  color: #f59e0b;
  padding: 11px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(245,158,11,0.5);
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-outline-saffron:hover {
  background: rgba(245,158,11,0.1);
  border-color: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(245,158,11,0.2);
}

/* ─── CARDS ──────────────────────────── */
.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transition: left 0.6s ease;
}
.service-card:hover::before { left: 100%; }
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245,158,11,0.25);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 20px 48px rgba(0,0,0,0.35), 0 0 32px rgba(245,158,11,0.07);
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  background: linear-gradient(135deg, rgba(245,158,11,0.18), rgba(234,88,12,0.18));
  border: 1px solid rgba(245,158,11,0.2);
  flex-shrink: 0;
}
.feature-icon-blue {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(139,92,246,0.2));
  border: 1px solid rgba(99,102,241,0.2);
}

/* ─── TAGS & BADGES ──────────────────── */
.tag {
  background: rgba(245,158,11,0.12);
  color: #fbbf24;
  border: 1px solid rgba(245,158,11,0.25);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
}
.tag-blue {
  background: rgba(37,99,235,0.15);
  color: #93c5fd;
  border: 1px solid rgba(37,99,235,0.25);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
}
.tech-badge {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  color: #94a3b8;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.tech-badge:hover {
  background: rgba(245,158,11,0.08);
  border-color: rgba(245,158,11,0.25);
  color: #f59e0b;
}

/* ─── STAT CARDS ──────────────────────── */
.stat-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 28px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
}
.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, #f59e0b, #ea580c);
  border-radius: 0 0 16px 16px;
}
.counter-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  color: #f59e0b;
  line-height: 1;
  display: block;
}

/* ─── FORMS ───────────────────────────── */
.form-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: #e2e8f0;
  padding: 13px 16px;
  border-radius: 10px;
  width: 100%;
  transition: all 0.3s ease;
  outline: none;
  font-size: 0.9rem;
}
.form-input:focus {
  border-color: #f59e0b;
  background: rgba(245,158,11,0.04);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}
.form-input::placeholder { color: rgba(255,255,255,0.25); }

/* ─── LINKS ───────────────────────────── */
.footer-link {
  color: #64748b;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 10px;
}
.footer-link:hover { color: #f59e0b; }

/* ─── WHATSAPP FLOAT ──────────────────── */
.whatsapp-btn {
  position: fixed;
  bottom: 28px; right: 28px;
  background: #25d366;
  color: #fff;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 24px rgba(37,211,102,0.45);
  z-index: 9999;
  transition: all 0.3s ease;
  text-decoration: none;
}
.whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6);
}
.whatsapp-btn .tooltip {
  position: absolute;
  right: 70px;
  background: #1e293b;
  color: #e2e8f0;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.whatsapp-btn:hover .tooltip { opacity: 1; }

/* ─── ANIMATIONS ──────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}
@keyframes pulse-glow {
  0%,100% { box-shadow: 0 0 20px rgba(245,158,11,0.25); }
  50%      { box-shadow: 0 0 48px rgba(245,158,11,0.55); }
}
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@keyframes blink-cursor {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}
@keyframes particle-float {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-120px) rotate(720deg); opacity: 0; }
}

.animate-float      { animation: float 6s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 2.5s ease-in-out infinite; }
.animate-spin-slow  { animation: spin-slow 20s linear infinite; }

.cursor-blink::after {
  content: '|';
  animation: blink-cursor 0.8s step-end infinite;
  color: #f59e0b;
  margin-left: 2px;
}

/* ─── SCROLL REVEAL ──────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ─── PARTICLES ──────────────────────── */
.particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; }
.particle  { position: absolute; border-radius: 50%; animation: particle-float linear infinite; }

/* ─── DIVIDERS ───────────────────────── */
.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

/* ─── PROCESS STEPS ──────────────────── */
.process-connector {
  position: absolute;
  top: 28px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(245,158,11,0.4), rgba(245,158,11,0.1));
}
@media (max-width: 768px) {
  .process-connector { display: none; }
}

/* ─── TESTIMONIALS ─────────────────────── */
.testimonial-card {
  transition: all 0.4s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
}

/* ─── CHECK LIST ─────────────────────── */
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: #94a3b8;
  font-size: 0.9rem;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #f59e0b;
  font-weight: 700;
}

/* ─── PHONE MOCKUP ───────────────────── */
.phone-mockup {
  width: 200px;
  height: 380px;
  background: #1e293b;
  border-radius: 36px;
  border: 6px solid #334155;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
}
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 6px;
  background: #475569;
  border-radius: 3px;
}

/* ─── HERO BLOB ──────────────────────── */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
}

/* ─── SECTION HEADING ─────────────────── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  color: #fbbf24;
  padding: 6px 16px;
  border-radius: 24px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ─── PROGRESS BAR ─────────────────────── */
.progress-bar {
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #f59e0b, #ea580c);
  position: relative;
  overflow: hidden;
}
.progress-bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 35%; height: 100%;
  background: rgba(255,255,255,0.35);
  animation: shimmer 1.8s ease infinite;
}

/* ─── SP APP SCREEN ─────────────────────── */
.app-screen {
  background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
  border-radius: 20px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.08);
}
.app-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}
.app-item:hover {
  background: rgba(245,158,11,0.07);
  border-color: rgba(245,158,11,0.2);
}

/* ─── MOBILE NAV ─────────────────────── */
#mobile-menu {
  transition: all 0.35s ease;
}

@media (max-width: 640px) {
  .btn-primary, .btn-secondary { padding: 10px 20px; font-size: 0.85rem; }
}
