:root {
  --leren-blue: #4379df;
  --leren-blue-dark: #2563eb;
  --leren-blue-light: #60a5fa;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --light: #f8fafc;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --success: #10b981;
  --warning: #f59e0b;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

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

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: #fff;
  color: var(--dark);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* ENHANCED NAVIGATION */
.nav-blur {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.nav-blur.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.logo-img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover .logo-img {
  transform: scale(1.05);
}

.pulse-btn {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(67, 121, 223, 0.4);
  }

  50% {
    box-shadow: 0 0 20px 5px rgba(67, 121, 223, 0.2);
  }
}

/* FLOATING CTA */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.floating-cta.visible {
  opacity: 1;
  transform: scale(1);
}

.floating-btn {
  background: var(--success);
  color: white;
  padding: 15px 20px;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  font-weight: 600;
}

.floating-btn:hover {
  background: #059669;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 25px 50px rgba(16, 185, 129, 0.4);
}

/* ENHANCED HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--light) 0%, #ffffff 50%, #f0f9ff 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.b1 {
  width: 500px;
  height: 500px;
  background: var(--leren-blue);
  top: 20%;
  left: -10%;
}

.b2 {
  width: 400px;
  height: 400px;
  background: var(--dark);
  top: -5%;
  right: -15%;
  animation-delay: -3s;
}

.b3 {
  width: 300px;
  height: 300px;
  background: var(--leren-blue-light);
  bottom: 10%;
  left: 60%;
  animation-delay: -5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  33% {
    transform: translateY(-20px) rotate(5deg);
  }

  66% {
    transform: translateY(10px) rotate(-5deg);
  }
}

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

.hero-title {
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--leren-blue) 0%, var(--dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {

  0%,
  100% {
    filter: hue-rotate(0deg);
  }

  50% {
    filter: hue-rotate(20deg);
  }
}

.pulse-badge {
  animation: badge-pulse 2s infinite;
  border: 1px solid rgba(67, 121, 223, 0.2);
}

@keyframes badge-pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.badge-soft {
  background: rgba(67, 121, 223, 0.1);
  color: var(--leren-blue);
  border-radius: 50px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.875rem;
}

.lead {
  font-size: 1.25rem;
  color: var(--gray-600);
  font-weight: 400;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--leren-blue);
}

.stat span {
  font-size: 0.875rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-cta {
  margin: 2rem 0;
}

.cta-primary {
  background: var(--leren-blue);
  border: none;
  transition: all 0.3s ease;
}

.cta-primary:hover {
  background: var(--leren-blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.cta-secondary {
  transition: all 0.3s ease;
}

.cta-secondary:hover {
  background: var(--dark);
  border-color: var(--dark);
  transform: translateY(-2px);
}

.trust-indicators {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* HERO VISUAL - SIMPLIFIED */
.hero-visual {
  position: relative;
  z-index: 5;
  padding: 2rem 0;
  transform: scale(1.2) translateX(20%);
  transform-origin: right center;
}

.hero-image-wrapper {
  position: relative;
  animation: slideInFromRight 1s ease-out;
}

.hero-dashboard-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: block;
}

.hero-glow {
  position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  background: radial-gradient(circle, rgba(67, 121, 223, 0.3) 0%, rgba(96, 165, 250, 0.15) 40%, transparent 70%);
  border-radius: 30px;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
}

/* Slide in animation from right */
@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(100px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}




/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--gray-600);
  font-size: 0.875rem;
  animation: bounce 2s infinite;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--gray-600);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--gray-600);
  border-radius: 2px;
  animation: scroll-wheel 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

@keyframes scroll-wheel {

  0%,
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: 0.5;
    transform: translateX(-50%) translateY(10px);
  }
}

/* SECTIONS */
.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
}

.section-sub {
  font-size: 1.25rem;
  color: var(--gray-600);
  text-align: center;
  max-width: 600px;
}

/* FEATURES SHOWCASE */
.features-showcase {
  background: var(--gray-50);
}

.modern-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--leren-blue), var(--leren-blue-light));
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.modern-card:hover::before {
  transform: translateX(0);
}

.modern-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--leren-blue), var(--leren-blue-light));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon i {
  font-size: 1.5rem;
  color: white;
}

.feature-card h5 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.feature-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.benefit-tag {
  background: rgba(67, 121, 223, 0.1);
  color: var(--leren-blue);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* SECTION HIGHLIGHT (PARENT PORTAL) */
.section-highlight {
  background: linear-gradient(135deg, var(--leren-blue) 0%, var(--leren-blue-dark) 100%);
  color: white;
}

.section-highlight .section-label {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-highlight h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.section-highlight .lead {
  color: rgba(255, 255, 255, 0.9);
}

.highlight-visual {
  position: relative;
}

.main-image {
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
}

.floating-metric {
  position: absolute;
  background: white;
  padding: 15px 20px;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 120px;
}

.floating-metric strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--leren-blue);
}

.floating-metric span {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.floating-metric:first-of-type {
  top: 20px;
  right: -20px;
}

.metric-2 {
  bottom: 20px;
  left: -20px;
}

.parent-features {
  margin-top: 2rem;
}

.parent-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.parent-feature i {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.25rem;
}

.parent-feature h6 {
  color: white;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.parent-feature p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* BENEFITS SECTION */
.benefits-section {
  background: var(--gray-50);
}

.benefits-nav {
  padding-right: 2rem;
}

.benefit-tab {
  padding: 1.5rem;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
  border-left: 4px solid transparent;
}

.benefit-tab:hover {
  background: white;
  box-shadow: var(--shadow-md);
}

.benefit-tab.active {
  background: white;
  box-shadow: var(--shadow-md);
  border-left-color: var(--leren-blue);
}

.benefit-tab h5 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.benefit-tab p {
  color: var(--gray-600);
  margin: 0;
}

.benefit-visual img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

/* TESTIMONIALS */
.section-testimonials {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  color: white;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.stars {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.testimonial-author strong {
  color: white;
  display: block;
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* ENHANCED CTA */
.cta-section {
  background: var(--leren-blue);
}

.cta-enhanced {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 4rem 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-content h2 {
  color: white;
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 1rem;
}

.cta-content .lead {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
}

.cta-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.cta-option {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.cta-option:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.cta-option h5 {
  color: white;
  margin-bottom: 1rem;
}

.cta-option p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.cta-guarantee {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ENHANCED FOOTER */
.footer-enhanced {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
}

.footer-brand h5 {
  color: white;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-enhanced h6 {
  color: white;
  margin-bottom: 1rem;
  font-weight: 600;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-info a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--leren-blue-light);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--leren-blue-light);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 2rem 0 1rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .hero-stats {
    justify-content: center;
  }

  .floating-cta {
    bottom: 20px;
    right: 20px;
  }

  .floating-btn span {
    display: none;
  }

  .parallax-stack {
    height: 400px;
  }

  .cta-options {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    text-align: center;
  }

  .hero-cta .btn {
    display: block;
    margin-bottom: 1rem;
  }

  .trust-indicators {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 80px 0;
    min-height: 90vh;
  }

  .hero-title,
  .hero-content .lead {
    text-align: center;
  }

  .hero-cta .btn {
    width: 80%;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
  }

  .cta-enhanced {
    padding: 2rem 1rem;
  }

  .floating-metric {
    position: relative;
    margin: 1rem 0;
  }

  .metric-2 {
    bottom: auto;
    left: auto;
  }
}

/* UTILITY CLASSES */
.text-center {
  text-align: center;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* AOS ANIMATION OVERRIDES */
[data-aos="fade-up"] {
  transform: translateY(40px);
  opacity: 0;
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}

[data-aos="fade-left"] {
  transform: translateX(40px);
  opacity: 0;
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
  opacity: 1;
}

[data-aos="fade-right"] {
  transform: translateX(-40px);
  opacity: 0;
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
  opacity: 1;
}

[data-aos="zoom-in"] {
  transform: scale(0.8);
  opacity: 0;
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
  opacity: 1;
}