/* =============================================
   UDESK Platform — Custom Styles
   ============================================= */

/* CSS Variables */
:root {
  --clr-primary:    #1e3a5f;
  --clr-accent:     #4f8ef7;
  --clr-purple:     #7c3aed;
  --clr-success:    #10b981;
  --clr-warning:    #f59e0b;
  --clr-bg-dark:    #0f172a;
  --clr-bg-mid:     #1e1b4b;
  --clr-text:       #1e293b;
  --clr-text-muted: #64748b;
  --clr-border:     #e2e8f0;
  --clr-white:      #ffffff;
  --clr-card-bg:    #f8fafc;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.08);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.15), 0 4px 12px rgba(0,0,0,.10);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.20);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --transition: .25s cubic-bezier(.4,0,.2,1);
  --transition-slow: .5s cubic-bezier(.4,0,.2,1);
}

/* =============================================
   Base
   ============================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  color: var(--clr-text);
  background: #ffffff;
  overflow-x: hidden;
}

/* =============================================
   Navbar
   ============================================= */
#mainNav {
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: .7rem 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1050;
}

#mainNav.navbar-scrolled {
  background: rgba(15, 23, 42, 0.96) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,.35);
  padding: .5rem 0;
}

/* Logo */
.navbar-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0;
  margin-right: 0;
}

.navbar-brand img {
  height: 42px;
  width: auto;
  display: block;
  /* Oq fonli logoni dark navbarda chiroyli ko'rsatish:
     pill shaklida ajralib turadi, professional "logo badge" effekti */
  background: #fff;
  border-radius: 10px;
  padding: 4px 10px;
}

/* Collapse container — desktop da bir qatorda, wrap bo'lmasin */
@media (min-width: 992px) {
  #mainNav .navbar-collapse {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }
}

/* Nav items — center */
#mainNav .navbar-nav {
  flex-wrap: nowrap;
  align-items: center;
}

#mainNav .nav-link {
  color: rgba(255,255,255,.82) !important;
  font-weight: 500;
  font-size: .85rem;
  padding: .4rem .75rem !important;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}

#mainNav .nav-link:hover {
  color: #fff !important;
  background: rgba(255,255,255,.09);
}

/* Right side group — no shrink */
.nav-right-group {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

/* Language toggle */
.lang-toggle {
  font-size: .75rem;
  font-weight: 700;
  color: rgba(255,255,255,.65) !important;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px;
  padding: .3rem .75rem !important;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: all var(--transition);
}

.lang-toggle:hover {
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.5) !important;
}

/* CTA button */
.btn-nav-cta {
  background: linear-gradient(135deg, #4f8ef7, #7c3aed);
  color: #fff !important;
  font-weight: 600;
  font-size: .82rem;
  padding: .42rem 1.1rem !important;
  border-radius: 25px;
  border: none;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 3px 12px rgba(79,142,247,.35);
  text-decoration: none;
}

.btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(79,142,247,.5);
  color: #fff !important;
}

/* Hamburger */
.navbar-toggler {
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  padding: .35rem .5rem;
  flex-shrink: 0;
}

.navbar-toggler:focus { box-shadow: none; }

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  width: 1.2em;
  height: 1.2em;
}

/* Mobile collapse styling */
@media (max-width: 991.98px) {
  #mainNav .navbar-collapse {
    background: rgba(15, 23, 42, 0.97);
    border-top: 1px solid rgba(255,255,255,.08);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: .75rem 1rem 1rem;
    margin: .5rem -12px 0;
  }

  #mainNav .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: .1rem;
    margin-bottom: .75rem;
  }

  #mainNav .nav-link {
    width: 100%;
    padding: .55rem .75rem !important;
  }

  .nav-right-group {
    width: 100%;
    justify-content: space-between;
    padding-top: .5rem;
    border-top: 1px solid rgba(255,255,255,.08);
  }
}

/* =============================================
   Hero Section
   ============================================= */
#hero {
  position: relative;
  min-height: 100vh;
  background: var(--clr-bg-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(79,142,247,.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(124,58,237,.18) 0%, transparent 60%),
    linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
}

/* Floating physics shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: .07;
  animation: float 8s ease-in-out infinite;
}

.shape-1 {
  width: 400px; height: 400px;
  background: linear-gradient(135deg, #4f8ef7, #7c3aed);
  top: -100px; right: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 250px; height: 250px;
  background: linear-gradient(135deg, #10b981, #4f8ef7);
  bottom: 10%; left: -80px;
  animation-delay: -3s;
}

.shape-3 {
  width: 150px; height: 150px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  top: 40%; left: 30%;
  animation-delay: -5s;
  opacity: .05;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-20px) rotate(5deg); }
  66%       { transform: translateY(10px) rotate(-3deg); }
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,142,247,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,142,247,.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(79,142,247,.15);
  border: 1px solid rgba(79,142,247,.3);
  color: #93c5fd;
  font-size: .78rem;
  font-weight: 600;
  padding: .35rem .9rem;
  border-radius: 20px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-title .accent {
  background: linear-gradient(90deg, #4f8ef7, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 2rem;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #4f8ef7, #7c3aed);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 8px 30px rgba(79,142,247,.35);
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(79,142,247,.5);
  color: #fff;
}

.btn-hero-secondary {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.2);
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.4);
  color: #fff;
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  margin-top: .25rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Hero visual side */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.mockup-window {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(79,142,247,.15);
  backdrop-filter: blur(10px);
}

.mockup-topbar {
  background: rgba(255,255,255,.06);
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red   { background: #ef4444; }
.dot-yellow{ background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-url {
  flex: 1;
  background: rgba(255,255,255,.05);
  border-radius: 6px;
  padding: .25rem .75rem;
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  font-family: monospace;
}

.mockup-body {
  padding: 1.5rem;
}

.mockup-lab-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem;
  border-radius: var(--radius-sm);
  margin-bottom: .5rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  animation: pulse-soft 3s ease-in-out infinite;
}

.mockup-lab-item:nth-child(2) { animation-delay: .5s; }
.mockup-lab-item:nth-child(3) { animation-delay: 1s; }

@keyframes pulse-soft {
  0%, 100% { opacity: .8; }
  50%       { opacity: 1; }
}

.mockup-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #4f8ef7, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .9rem;
  flex-shrink: 0;
}

.mockup-text-wrap { flex: 1; overflow: hidden; }

.mockup-title-bar {
  height: 8px; border-radius: 4px;
  background: rgba(255,255,255,.3);
  margin-bottom: 5px;
}

.mockup-sub-bar {
  height: 6px; border-radius: 3px;
  background: rgba(255,255,255,.12);
  width: 60%;
}

.mockup-price-tag {
  font-size: .7rem;
  font-weight: 600;
  color: #4f8ef7;
  white-space: nowrap;
  background: rgba(79,142,247,.15);
  padding: .2rem .5rem;
  border-radius: 10px;
}

/* Floating badge on hero visual */
.floating-badge {
  position: absolute;
  background: rgba(16,185,129,.15);
  border: 1px solid rgba(16,185,129,.4);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: .6rem 1rem;
  font-size: .78rem;
  font-weight: 600;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: .4rem;
  animation: float 6s ease-in-out infinite;
}

.floating-badge-1 {
  bottom: -10px; left: -30px;
  animation-delay: -2s;
}

.floating-badge-2 {
  top: -10px; right: -20px;
  animation-delay: -4s;
  background: rgba(79,142,247,.15);
  border-color: rgba(79,142,247,.4);
  color: #93c5fd;
}

/* =============================================
   Section Globals
   ============================================= */
section { padding: 5rem 0; }

.section-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: .6rem;
  display: block;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title.light { color: #fff; }

.section-desc {
  font-size: 1rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* Scroll-in animation */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: .1s; }
.fade-up.delay-2 { transition-delay: .2s; }
.fade-up.delay-3 { transition-delay: .3s; }
.fade-up.delay-4 { transition-delay: .4s; }

/* =============================================
   Features Section
   ============================================= */
#features {
  background: #f8fafc;
  padding: 5rem 0;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.feature-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-icon.blue   { background: rgba(79,142,247,.12); color: #4f8ef7; }
.feature-icon.purple { background: rgba(124,58,237,.12); color: #7c3aed; }
.feature-icon.green  { background: rgba(16,185,129,.12); color: #10b981; }
.feature-icon.orange { background: rgba(245,158,11,.12); color: #f59e0b; }

.feature-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: .5rem;
}

.feature-desc {
  font-size: .875rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
}

/* =============================================
   Labs Section
   ============================================= */
#labs {
  background: #fff;
}

/* Tab navigation */
.labs-tabs {
  background: var(--clr-bg-dark);
  padding: 3.5rem 0 0;
}

.labs-tabs-inner {
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.labs-tabs .section-eyebrow { color: #93c5fd; }
.labs-tabs .section-title { color: #fff; }
.labs-tabs .section-desc { color: rgba(255,255,255,.6); }

.nav-tabs-labs {
  border: none;
  gap: .25rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-tabs-labs::-webkit-scrollbar { display: none; }

.nav-tabs-labs .nav-link {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: rgba(255,255,255,.55);
  font-weight: 600;
  font-size: .9rem;
  padding: .9rem 1.4rem;
  border-radius: 0;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}

.nav-tabs-labs .nav-link:hover {
  color: rgba(255,255,255,.85);
  border-bottom-color: rgba(255,255,255,.3);
  background: transparent;
}

.nav-tabs-labs .nav-link.active {
  color: #fff;
  border-bottom-color: #4f8ef7;
  background: transparent;
}

.nav-tabs-labs .nav-link .tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(79,142,247,.2);
  color: #93c5fd;
  font-size: .7rem;
  font-weight: 700;
  width: 20px; height: 20px;
  border-radius: 50%;
  margin-left: .4rem;
}

.nav-tabs-labs .nav-link.active .tab-count {
  background: #4f8ef7;
  color: #fff;
}

/* Tab content panels */
.tab-content-labs {
  background: #f8fafc;
  padding: 2.5rem 0 4rem;
}

/* Class bundle banner */
.class-bundle-banner {
  background: linear-gradient(135deg, rgba(79,142,247,.08), rgba(124,58,237,.08));
  border: 1px solid rgba(79,142,247,.2);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.bundle-info { display: flex; align-items: center; gap: .75rem; }

.bundle-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #4f8ef7, #7c3aed);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.bundle-label {
  font-size: .8rem;
  color: var(--clr-text-muted);
}

.bundle-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-text);
  margin: 0;
}

.bundle-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-accent);
}

.bundle-price span {
  font-size: .8rem;
  font-weight: 400;
  color: var(--clr-text-muted);
  text-decoration: line-through;
  margin-left: .35rem;
}

/* Lab card */
.lab-card {
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.lab-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79,142,247,.3);
}

.lab-card-header {
  padding: 1.25rem 1.25rem .75rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.lab-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px; height: 36px;
  background: linear-gradient(135deg, #4f8ef7, #7c3aed);
  border-radius: 8px;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.lab-name {
  font-size: .88rem;
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1.45;
}

.lab-card-body {
  padding: 0 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.lab-meta {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}

.lab-badge {
  font-size: .7rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 10px;
}

.lab-badge-unity {
  background: rgba(124,58,237,.1);
  color: #7c3aed;
}

.lab-badge-lang {
  background: rgba(16,185,129,.1);
  color: #10b981;
}

.lab-card-footer {
  padding: .75rem 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border-top: 1px solid var(--clr-border);
  flex-wrap: wrap;
}

.lab-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-primary);
}

.lab-price .currency {
  font-size: .75rem;
  font-weight: 500;
  color: var(--clr-text-muted);
}

.lab-actions {
  display: flex;
  gap: .5rem;
}

.btn-demo {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .8rem;
  font-weight: 600;
  padding: .45rem .9rem;
  border-radius: 20px;
  border: 1px solid rgba(79,142,247,.4);
  color: #4f8ef7;
  background: rgba(79,142,247,.06);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-demo:hover {
  background: rgba(79,142,247,.15);
  border-color: #4f8ef7;
  color: #4f8ef7;
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .8rem;
  font-weight: 600;
  padding: .45rem 1rem;
  border-radius: 20px;
  border: none;
  color: #fff;
  background: linear-gradient(135deg, #4f8ef7, #7c3aed);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(79,142,247,.3);
}

.btn-buy:hover {
  box-shadow: 0 5px 18px rgba(79,142,247,.45);
  transform: translateY(-1px);
  color: #fff;
}

/* Bundle buy button */
.btn-bundle-buy {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, #4f8ef7, #7c3aed);
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  padding: .65rem 1.4rem;
  border-radius: 25px;
  border: none;
  box-shadow: 0 4px 15px rgba(79,142,247,.35);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-bundle-buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(79,142,247,.5);
  color: #fff;
}

/* =============================================
   Pricing Section
   ============================================= */
#pricing {
  background: var(--clr-bg-dark);
  position: relative;
  overflow: hidden;
}

#pricing::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 50%, rgba(79,142,247,.12), transparent),
    radial-gradient(ellipse 50% 60% at 70% 50%, rgba(124,58,237,.12), transparent);
}

.pricing-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  border-color: rgba(255,255,255,.2);
}

.pricing-card.featured {
  background: linear-gradient(135deg, rgba(79,142,247,.15), rgba(124,58,237,.15));
  border-color: rgba(79,142,247,.4);
  box-shadow: 0 0 40px rgba(79,142,247,.15);
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-6px);
}

.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #4f8ef7, #7c3aed);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .3rem .9rem;
  border-radius: 20px;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-tier {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: .5rem;
}

.pricing-plan-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
}

.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: .3rem;
  margin-bottom: .35rem;
}

.pricing-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.pricing-currency {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  margin-bottom: .3rem;
}

.pricing-original {
  font-size: .85rem;
  color: rgba(255,255,255,.3);
  text-decoration: line-through;
  margin-bottom: 1.25rem;
}

.pricing-divider {
  height: 1px;
  background: rgba(255,255,255,.1);
  margin: 1.25rem 0;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  padding: .45rem 0;
}

.pricing-features li i {
  color: #10b981;
  font-size: .85rem;
  flex-shrink: 0;
}

.btn-pricing {
  display: block;
  width: 100%;
  text-align: center;
  font-weight: 600;
  font-size: .95rem;
  padding: .85rem;
  border-radius: 30px;
  border: 1.5px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.85);
  background: transparent;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-pricing:hover {
  border-color: rgba(255,255,255,.6);
  color: #fff;
  background: rgba(255,255,255,.08);
}

.btn-pricing.primary {
  background: linear-gradient(135deg, #4f8ef7, #7c3aed);
  border: none;
  color: #fff;
  box-shadow: 0 6px 25px rgba(79,142,247,.35);
}

.btn-pricing.primary:hover {
  box-shadow: 0 10px 35px rgba(79,142,247,.5);
  transform: translateY(-1px);
  color: #fff;
}

/* =============================================
   How It Works
   ============================================= */
#how-it-works {
  background: #f8fafc;
}

.step-card {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f8ef7, #7c3aed);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 6px 20px rgba(79,142,247,.3);
}

.step-icon-wrap {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(79,142,247,.12), rgba(124,58,237,.12));
  border: 1px solid rgba(79,142,247,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
}

.step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: .5rem;
}

.step-desc {
  font-size: .875rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

.step-connector {
  position: absolute;
  top: 56px;
  right: -15%;
  width: 30%;
  height: 2px;
  background: linear-gradient(90deg, #4f8ef7, transparent);
  display: none;
}

@media (min-width: 992px) {
  .step-connector { display: block; }
}

/* =============================================
   Download Section
   ============================================= */
#download-section {
  background: linear-gradient(135deg, rgba(16,185,129,.06), rgba(79,142,247,.06));
  border: 1px solid rgba(16,185,129,.2);
  border-radius: var(--radius-xl);
  padding: 3rem;
  margin: 0 auto;
  max-width: 700px;
}

.download-success-icon {
  width: 70px; height: 70px;
  background: rgba(16,185,129,.15);
  border: 2px solid rgba(16,185,129,.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #10b981;
  margin: 0 auto 1.25rem;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, #10b981, #0891b2);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: .8rem 1.75rem;
  border-radius: 30px;
  border: none;
  box-shadow: 0 6px 20px rgba(16,185,129,.3);
  transition: all var(--transition);
  text-decoration: none;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(16,185,129,.45);
  color: #fff;
}

/* =============================================
   Footer
   ============================================= */
#footer {
  background: var(--clr-bg-dark);
  padding: 4rem 0 2rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: .85rem;
}

.footer-brand img {
  height: 44px;
  width: auto;
  display: block;
  background: #fff;
  border-radius: 10px;
  padding: 5px 12px;
}

.footer-tagline {
  font-size: .875rem;
  color: rgba(255,255,255,.4);
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 280px;
}

.footer-heading {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: .5rem; }

.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover { color: rgba(255,255,255,.9); }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.08);
  margin: 2.5rem 0 1.5rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}

.footer-copy {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

.footer-social {
  display: flex;
  gap: .75rem;
}

.footer-social a {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  text-decoration: none;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.25);
}

/* =============================================
   Video Modal
   ============================================= */
#videoModal .modal-content {
  background: #0f172a;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

#videoModal .modal-header {
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 1rem 1.25rem;
}

#videoModal .modal-title {
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
}

#videoModal .btn-close {
  filter: invert(1) brightness(2);
  opacity: .6;
}

#videoModal .btn-close:hover { opacity: 1; }

#videoModal .modal-body { padding: 0; }

#videoModal .modal-footer {
  background: rgba(255,255,255,.03);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: .75rem 1.25rem;
}

#demoVideo {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
}

/* =============================================
   Payment Modal
   ============================================= */
#paymentModal .modal-content {
  border-radius: var(--radius-lg);
  border: none;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

#paymentModal .modal-header {
  background: linear-gradient(135deg, #1e3a5f, #1e1b4b);
  border-bottom: none;
  padding: 1.25rem 1.5rem;
}

#paymentModal .modal-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

#paymentModal .btn-close { filter: invert(1); opacity: .7; }

#paymentModal .modal-body { padding: 1.5rem; }

.order-summary {
  background: #f8fafc;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .9rem;
  padding: .4rem 0;
}

.order-row:not(:last-child) {
  border-bottom: 1px solid var(--clr-border);
}

.order-label { color: var(--clr-text-muted); }

.order-value {
  font-weight: 600;
  color: var(--clr-text);
}

.order-total .order-label { font-weight: 600; color: var(--clr-text); font-size: 1rem; }
.order-total .order-value { font-size: 1.3rem; color: var(--clr-accent); }

.payment-methods-title {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--clr-text-muted);
  margin-bottom: .75rem;
}

.btn-click,
.btn-payme {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .75rem 1rem;
  border-radius: 10px;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: .6rem;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, transform .18s, box-shadow .18s;
}

.btn-click {
  background: #0f6cc8;
  color: #fff;
}

.btn-click:hover {
  background: #0d5caa;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15,108,200,.35);
}

.btn-payme {
  background: #0aa86a;
  color: #fff;
  margin-bottom: 0;
}

.btn-payme:hover {
  background: #089158;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(10,168,106,.35);
}

.btn-click .payment-logo-text,
.btn-payme .payment-logo-text {
  font-weight: 800;
  font-size: .95rem;
}

.payment-note {
  font-size: .75rem;
  color: var(--clr-text-muted);
  text-align: center;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
}

/* =============================================
   Responsive Overrides
   ============================================= */
@media (max-width: 991.98px) {
  .hero-visual { display: none; }
  .hero-stats { gap: 1.25rem; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-6px); }
}

@media (max-width: 767.98px) {
  #hero { min-height: auto; padding: 7rem 0 4rem; }
  .hero-title { font-size: 1.9rem; }
  .hero-stats { gap: 1rem; }
  .stat-value { font-size: 1.3rem; }
  section { padding: 3.5rem 0; }
  .tab-content-labs { padding: 1.5rem 0 3rem; }
  .class-bundle-banner { flex-direction: column; align-items: flex-start; }
  #download-section { padding: 2rem 1.5rem; }
}

@media (max-width: 575.98px) {
  .btn-hero-primary, .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
  .lab-card-footer { justify-content: space-between; }
  .nav-tabs-labs .nav-link { padding: .75rem 1rem; font-size: .82rem; }
}
