:root {
  /* Colors */
  --primary: #4F46E5;
  --primary-dark: #4338CA;
  --secondary: #F3F4F6;
  --accent: #10B981;
  --text-dark: #1F2937;
  --text-muted: #6B7280;
  --white: #FFFFFF;
  --bg-light: #F9FAFB;
  --orange: #F97316;
  --orange-dark: #EA580C;
  --grad-main: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Fonts */
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  /* Offset to clear the fixed navbar */
}

body {
  font-family: var(--font-main);
  background-color: #f8fafc;
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  border-radius: 12px;
}

/* Navbar Style */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  background: var(--grad-main);
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
}

/* Button Styles */
.btn {
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, background 0.3s;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--grad-main);
  color: white;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.6);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background: #e5e7eb;
}

.small-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.full-btn {
  width: 100%;
  justify-content: center;
  padding: 18px;
  font-size: 1.1rem;
}

.mobile-br {
  display: inline;
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.1), transparent 600px),
    radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.1), transparent 600px);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: -1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.badge {
  display: inline-block;
  background: var(--orange);
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  color: #111827;
}

.hero h1 span {
  color: var(--primary);
  position: relative;
}

.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(79, 70, 229, 0.2);
  z-index: -1;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.25rem;
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.stat-item strong {
  font-size: 1.5rem;
  font-family: var(--font-heading);
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stat-separator {
  width: 1px;
  height: 30px;
  background: #e5e7eb;
}

.hero-image {
  position: relative;
}

.floating-img {
  width: 100%;
  box-shadow: var(--shadow-lg);
  border-radius: 24px;
  animation: float 6s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  background: white;
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  z-index: 10;
}

.c1 {
  top: 10%;
  left: -10%;
}

.c1 i {
  color: #f87171;
}

.c2 {
  bottom: 20%;
  right: -5%;
}

.c2 i {
  color: #38bdf8;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

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

  100% {
    transform: translateY(0px);
  }
}

/* Problems Section */
.problems {
  padding: 120px 0 80px;
  background: white;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.problem-item {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #f1f5f9;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  text-align: center;
}

.problem-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #e2e8f0;
}

.problem-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 24px;
}

.pi1 {
  background: #fee2e2;
  color: #ef4444;
}

.pi2 {
  background: #e0f2fe;
  color: #0284c7;
}

.pi3 {
  background: #fef3c7;
  color: #d97706;
}

.problem-item h4 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.problem-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.problem-conclusion {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: rgba(79, 70, 229, 0.05);
  padding: 40px;
  border-radius: 24px;
  border: 2px dashed rgba(79, 70, 229, 0.2);
}

.problem-conclusion p {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 24px;
  line-height: 1.5;
}

.problem-conclusion strong {
  color: var(--primary);
}

/* Curriculum Grid */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 32px;
  position: relative;
  display: block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  transform: translateX(-50%);
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.curriculum {
  padding: 80px 0;
  background-color: rgba(249, 250, 251, 0.7);
  backdrop-filter: blur(10px);
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.curriculum-item {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  border-bottom: 4px solid transparent;
  text-align: center;
  /* Center text */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center flex children */
}

.curriculum-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--primary);
}

.item-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.i1 {
  background: #fee2e2;
  color: #ef4444;
}

.i2 {
  background: #dcfce7;
  color: #22c55e;
}

.i3 {
  background: #e0e7ff;
  color: #4f46e5;
}

.i4 {
  background: #fef9c3;
  color: #eab308;
}

.curriculum-item h3 {
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.curriculum-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Benefits Section */
.benefits {
  padding: 80px 0;
}

.benefits-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.benefits-image {
  position: relative;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.benefits-content h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  position: relative;
  text-align: center;
}

.benefits-content h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  transform: translateX(-50%);
}

/* styles previously used for benefit cards and tech stack are mostly unused now */

.benefit-list li {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.li-icon {
  min-width: 48px;
  height: 48px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.benefit-list h4 {
  margin-bottom: 5px;
  font-size: 1.15rem;
}

.benefit-list p {
  color: var(--text-muted);
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background: rgba(249, 250, 251, 0.7);
  backdrop-filter: blur(10px);
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-item {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #fbbf24;
  margin-bottom: 20px;
  font-size: 1.1rem;
  text-align: center;
  letter-spacing: 4px;
}

.testimonial-item p {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-img {
  width: 50px;
  height: 50px;
  background: #e5e7eb;
  border-radius: 50%;
  object-fit: cover;
}

.user-info strong {
  display: block;
}

.user-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Checkout */
.checkout {
  padding: 80px 0;
}

.checkout-wrapper {
  background: var(--grad-main);
  border-radius: 30px;
  padding: 60px;
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  box-shadow: 0 30px 60px rgba(79, 70, 229, 0.3);
}

.checkout-info h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  position: relative;
  text-align: center;
}

.checkout-info h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 60px;
  height: 4px;
  background: white;
  border-radius: 2px;
  transform: translateX(-50%);
}

.checkout-info p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.price-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-tag {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.old-price {
  text-decoration: line-through;
  font-size: 1.1rem;
  opacity: 0.7;
}

.current-price {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.sale-badge {
  background: var(--orange);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.checkout-form-container {
  background: white;
  padding: 40px;
  border-radius: 24px;
  color: var(--text-dark);
  width: 100%;
  box-sizing: border-box;
}

.purchase-form h3 {
  margin-bottom: 24px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group label.required::after {
  content: " *";
  color: #e02424;
}

.form-group input {
  width: 100%;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-family: var(--font-main);
  outline-color: var(--primary);
}

.form-group .error{
  color:red;
}

.secure-text {
  margin-top: 20px;
  font-size: 0.8rem;
  text-align: center;
  color: var(--text-muted);
}

/* Footer */
footer {
  padding: 40px 0;
  background: var(--bg-light);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.social-links a:hover {
  background: var(--primary);
  color: white;
}

/* Notifications */
.notification-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 2000;
  max-width: 320px;
}

.noti {
  background: white;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
  animation: slideIn 0.5s ease-out, fadeOut 0.5s ease-in 4.5s forwards;
  border-left: 4px solid var(--accent);
}

.noti i {
  color: var(--accent);
  font-size: 1.2rem;
}

.noti-content {
  font-size: 0.9rem;
}

.noti-content strong {
  display: block;
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--grad-main);
  color: white;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(20px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.4);
}

.back-to-top:active {
  transform: scale(0.9);
}

/* Responsive */
@media (max-width: 992px) {

  .hero-container,
  .benefits-layout,
  .checkout-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .benefits-image {
    height: 300px;
  }

  .benefit-list li {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .notification-container {
    bottom: 80px;
    left: 10px;
    right: 10px;
    max-width: none;
  }

  .noti {
    margin: 0 auto 10px;
    width: 100%;
    max-width: 400px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  /* Global section spacing */
  section {
    padding: 60px 0 !important;
  }

  .container {
    padding: 0 15px;
  }

  /* Typography */
  h1 {
    font-size: 2rem !important;
  }

  h2 {
    font-size: 2.1rem !important;
    line-height: 1.25;
  }

  h3 {
    font-size: 1.3rem !important;
  }

  .section-title {
    margin-bottom: 35px;
  }

  .nav-links {
    display: none;
  }

  /* Problems mobile improvements */
  .problems {
    padding: 100px 0 40px !important;
    /* Reduced from 150px to tighten layout */
  }

  .problems .badge {
    background: var(--orange);
    color: white;
    padding: 8px 18px;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.2);
    font-weight: 700;
  }

  .problem-item {
    padding: 25px 15px;
    /* Tighter padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    background: #ffffff;
    border-radius: 20px !important;
  }

  .problem-icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    margin: 0 auto 18px !important;
  }

  .problem-item h4 {
    font-size: 1.35rem !important;
    margin-bottom: 10px;
    text-align: center;
  }

  .problem-item p {
    font-size: 1.05rem !important;
    text-align: center;
    line-height: 1.6;
    color: var(--text-muted);
  }

  .problem-conclusion {
    padding: 25px 15px;
    margin-top: 30px;
    /* Reduced from 50px */
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px !important;
  }

  .problem-conclusion p {
    font-size: 1.15rem !important;
    font-weight: 500;
  }

  /* Hero adjustments */
  .hero {
    padding: 100px 0 50px;
  }

  .hero p {
    font-size: 1.05rem;
    margin-bottom: 30px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 15px;
  }

  /* Curriculum */
  .curriculum-grid {
    gap: 20px;
  }

  .curriculum-item {
    padding: 30px 20px;
  }

  /* Checkout section fixes */
  .checkout-info h2 {
    font-size: 1.8rem;
  }

  .checkout-wrapper {
    padding: 30px 15px;
    border-radius: 20px;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.2);
    overflow: hidden;
  }

 
  .price-tag {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
  }

  .current-price {
    font-size: 1.4rem;
  }

  .mobile-br {
    display: block;
    width: 100%;
    margin-top: 5px;
  }

  .full-btn {
    padding: 15px 10px;
    flex-wrap: wrap;
    line-height: 1.3;
  }
}