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

/* ═══════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════ */
:root {
  --primary: #0050d5;
  --primary-dark: #003fa8;
  --primary-light: #4a8dff;
  --primary-gradient: linear-gradient(135deg, #0050d5 0%, #1e73f2 50%, #7bb0ff 100%);
  --cta-gradient: linear-gradient(135deg, #003fa8 0%, #0050d5 50%, #1e73f2 100%);
  --mesh-gradient: radial-gradient(at 40% 20%, hsla(217, 100%, 55%, 0.12) 0px, transparent 50%),
                   radial-gradient(at 80% 80%, hsla(210, 100%, 75%, 0.1) 0px, transparent 50%),
                   radial-gradient(at 10% 80%, hsla(220, 100%, 45%, 0.08) 0px, transparent 50%);
  --accent-blue: #0050d5;
  --accent-purple: #1e73f2;
  --accent-cyan: #7bb0ff;
  --bg-light: #f8fafc;
  --bg-subtle: #f1f5f9;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-lighter: #94a3b8;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px rgba(0, 80, 213, 0.08);
  --card-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 12px 28px rgba(0,0,0,0.04);
  --card-shadow-hover: 0 20px 40px -12px rgba(0, 80, 213, 0.18);
  --border-subtle: rgba(226, 232, 240, 0.8);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══════════════════════════════════════════
   GLOBAL RESET & BASE
   ═══════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-body);
  overflow-x: hidden;
  line-height: 1.6;
}

::selection {
  background: rgba(0, 80, 213, 0.15);
  color: var(--primary-dark);
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════
   NAVBAR — GLASSMORPHISM
   ═══════════════════════════════════════════ */
.navbar-landing-modern {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
  padding: 0.75rem 0;
  z-index: 1030;
}

.navbar-landing-modern.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.04);
  padding: 0.5rem 0;
}

.navbar-brand-text {
  font-weight: 800;
  font-size: 1.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.nav-link-modern {
  font-weight: 600;
  color: var(--text-muted) !important;
  font-size: 0.88rem;
  margin: 0 0.3rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: 10px;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link-modern:hover,
.nav-link-modern.active {
  color: var(--primary) !important;
  background: rgba(0, 80, 213, 0.06);
}

/* ═══════════════════════════════════════════
   BUTTONS — PREMIUM FEEL
   ═══════════════════════════════════════════ */
.btn-gradient-primary {
  background: var(--primary-gradient);
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  border-radius: 14px;
  padding: 0.8rem 1.8rem;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px -3px rgba(0, 80, 213, 0.45),
              inset 0 1px 0 rgba(255,255,255,0.15);
  transition: all var(--transition-spring);
  position: relative;
  overflow: hidden;
}

.btn-gradient-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-gradient-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px -4px rgba(0, 80, 213, 0.55),
              inset 0 1px 0 rgba(255,255,255,0.15);
  color: #ffffff !important;
}

.btn-gradient-primary:hover::before {
  left: 100%;
}

.btn-gradient-primary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-outline-modern {
  background: #ffffff;
  color: var(--text-dark) !important;
  border: 1.5px solid #e2e8f0;
  font-weight: 700;
  border-radius: 14px;
  padding: 0.8rem 1.8rem;
  font-size: 0.92rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-spring);
}

.btn-outline-modern:hover {
  background: #ffffff;
  border-color: var(--primary-light);
  color: var(--primary) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -4px rgba(0, 80, 213, 0.12);
}

/* ═══════════════════════════════════════════
   HERO SECTION — IMMERSIVE
   ═══════════════════════════════════════════ */
.hero-modern {
  padding-top: 9rem;
  padding-bottom: 5rem;
  background: var(--mesh-gradient), var(--bg-light);
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

/* Animated gradient orbs */
.hero-modern::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 80, 213, 0.08) 0%, transparent 70%);
  top: -200px;
  right: -150px;
  animation: float-orb 15s ease-in-out infinite;
}

.hero-modern::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  bottom: -200px;
  left: -100px;
  animation: float-orb 20s ease-in-out infinite reverse;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 80, 213, 0.08);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(0, 80, 213, 0.15);
  backdrop-filter: blur(8px);
  animation: badge-glow 3s ease-in-out infinite;
}

@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 80, 213, 0); }
  50% { box-shadow: 0 0 20px -5px rgba(0, 80, 213, 0.15); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

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

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 520px;
  font-weight: 400;
}

/* ═══════════════════════════════════════════
   DASHBOARD MOCKUP — 3D PERSPECTIVE
   ═══════════════════════════════════════════ */
.hero-mockup-wrapper {
  position: relative;
  perspective: 1200px;
}

.dashboard-window {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 6px rgba(0,0,0,0.02),
              0 12px 24px rgba(0,0,0,0.06),
              0 48px 80px -16px rgba(15, 23, 42, 0.14);
  border: 1px solid rgba(226, 232, 240, 0.6);
  overflow: hidden;
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dashboard-window:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.window-bar {
  height: 42px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.45rem;
}

.window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  transition: transform var(--transition-fast);
}
.window-dot:hover { transform: scale(1.3); }
.dot-red { background: #ff5f57; box-shadow: 0 0 0 1px rgba(255,95,87,0.2); }
.dot-yellow { background: #febc2e; box-shadow: 0 0 0 1px rgba(254,188,46,0.2); }
.dot-green { background: #28c840; box-shadow: 0 0 0 1px rgba(40,200,64,0.2); }

.floating-mobile {
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 280px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2),
              0 0 0 5px #0f172a;
  padding: 12px;
  z-index: 10;
  transform: translateY(0) rotate(2deg);
  animation: float-phone 6s ease-in-out infinite;
}

@keyframes float-phone {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-12px) rotate(0deg); }
}

/* ═══════════════════════════════════════════
   GLASSMORPHISM CARDS
   ═══════════════════════════════════════════ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--glass-border);
}

/* ═══════════════════════════════════════════
   SECTION HEADINGS
   ═══════════════════════════════════════════ */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 80, 213, 0.08);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 80, 213, 0.12);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
}

/* ═══════════════════════════════════════════
   FEATURE CARDS — INTERACTIVE
   ═══════════════════════════════════════════ */
.feature-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(241, 245, 249, 0.8);
  transition: all var(--transition-smooth);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(0, 80, 213, 0.15);
}

.feature-box:hover::before {
  transform: scaleX(1);
}

.feature-icon-card {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: transform var(--transition-spring);
}

.feature-box:hover .feature-icon-card {
  transform: scale(1.1) rotate(-3deg);
}

/* ═══════════════════════════════════════════
   SHOWCASE MOCKUPS
   ═══════════════════════════════════════════ */
.showcase-mockups {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.25rem;
}

.showcase-laptop {
  background: #ffffff;
  border-radius: 18px 18px 4px 4px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.12);
  border: 1px solid #cbd5e1;
  overflow: hidden;
  flex: 1;
  transition: transform var(--transition-smooth);
}

.showcase-laptop:hover {
  transform: translateY(-6px);
}

.showcase-tablet {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  border: 4px solid #1e293b;
  overflow: hidden;
  width: 185px;
  transition: transform var(--transition-smooth) 0.05s;
}

.showcase-tablet:hover {
  transform: translateY(-8px);
}

.showcase-phone {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
  border: 4px solid #0f172a;
  overflow: hidden;
  width: 125px;
  transition: transform var(--transition-smooth) 0.1s;
}

.showcase-phone:hover {
  transform: translateY(-10px);
}

/* ═══════════════════════════════════════════
   PRICING CARDS
   ═══════════════════════════════════════════ */
.pricing-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1.5px solid #e2e8f0;
  transition: all var(--transition-smooth);
}

.pricing-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}

.pricing-box.popular {
  border: 2px solid var(--primary);
  box-shadow: 0 4px 6px rgba(0, 80, 213, 0.06),
              0 20px 40px -10px rgba(0, 80, 213, 0.15);
  position: relative;
  background: linear-gradient(180deg, rgba(0, 80, 213, 0.02) 0%, #ffffff 30%);
}

.badge-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 80, 213, 0.3);
}

/* ═══════════════════════════════════════════
   TESTIMONIAL CARDS
   ═══════════════════════════════════════════ */
.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.testimonial-card:hover {
  border-color: rgba(0, 80, 213, 0.2);
  box-shadow: var(--card-shadow);
  transform: translateY(-4px);
}

/* ═══════════════════════════════════════════
   CTA BANNER — VIBRANT
   ═══════════════════════════════════════════ */
.cta-box {
  background: var(--cta-gradient);
  border-radius: var(--radius-xl);
  padding: 5rem 3rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(37, 99, 235, 0.35);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  animation: cta-pulse 8s ease-in-out infinite;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  animation: cta-pulse 10s ease-in-out infinite reverse;
}

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

/* ═══════════════════════════════════════════
   FOOTER — DARK PREMIUM
   ═══════════════════════════════════════════ */
.footer-dark {
  background: linear-gradient(180deg, #0c111d 0%, #080b14 100%);
  color: #94a3b8;
  padding-top: 5rem;
  padding-bottom: 2rem;
  position: relative;
}

.footer-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 80, 213, 0.3), transparent);
}

.footer-dark h6 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.footer-dark a {
  color: #94a3b8;
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-dark a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* ═══════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════ */
.stats-bar-section {
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  padding: 3rem 0;
}

.stat-box { text-align: left; }

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -0.02em;
}

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

/* ═══════════════════════════════════════════
   RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .hero-modern {
    padding-top: 7rem;
    padding-bottom: 3rem;
    min-height: auto;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .dashboard-window {
    transform: none;
  }
  .floating-mobile {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .cta-box {
    padding: 3rem 1.5rem;
    border-radius: var(--radius-lg);
  }
  .showcase-mockups {
    flex-direction: column;
    align-items: center;
  }
  .showcase-laptop,
  .showcase-tablet,
  .showcase-phone {
    width: 100%;
    max-width: 340px;
  }
}

/* ═══════════════════════════════════════════
   UTILITY OVERRIDES
   ═══════════════════════════════════════════ */
.fw-extrabold { font-weight: 800 !important; }
.max-w-600 { max-width: 600px; }
.fs-8 { font-size: 0.55rem !important; }
.fs-9 { font-size: 0.65rem !important; }
.fs-10 { font-size: 0.7rem !important; }
.fs-11 { font-size: 0.75rem !important; }
.fs-12 { font-size: 0.8rem !important; }
.fs-13 { font-size: 0.85rem !important; }
.fs-14 { font-size: 0.88rem !important; }
.fs-15 { font-size: 0.92rem !important; }
.fs-16 { font-size: 0.95rem !important; }
.fs-18 { font-size: 1.1rem !important; }
.fs-20 { font-size: 1.25rem !important; }
.fs-22 { font-size: 1.4rem !important; }
.fs-24 { font-size: 1.5rem !important; }
.ms-n2 { margin-left: -0.5rem !important; }
