:root{
  --primary:#6366f1;
  --primary-dark:#4f46e5;
  --secondary:#ec4899;
  --accent:#10b981;
  --warning:#f59e0b;
  --danger:#ef4444;
  --info:#0ea5e9;
  --dark:#1f2937;
  --gray:#6b7280;
  --light:#f3f4f6;
  --white:#ffffff;
  --gradient:linear-gradient(135deg,#6366f1 0%,#ec4899 100%);
  --gradient-2:linear-gradient(135deg,#0ea5e9 0%,#10b981 100%);
  --shadow-sm:0 1px 2px rgba(0,0,0,.05);
  --shadow:0 4px 6px -1px rgba(0,0,0,.08),0 2px 4px -1px rgba(0,0,0,.04);
  --shadow-lg:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,.04);
  --radius:12px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:'Inter','Segoe UI',Arial,sans-serif;
  color:var(--dark);
  background:#fff;
  line-height:1.6;
}

/* ===== NAVBAR ===== */
.navbar-erp{
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(10px);
  box-shadow:var(--shadow-sm);
  padding:.75rem 0;
  transition:all .3s;
}
.navbar-erp.scrolled{box-shadow:var(--shadow)}
.navbar-erp .nav-link{
  color:var(--dark)!important;
  font-weight:500;
  margin:0 .5rem;
  position:relative;
}
.navbar-erp .nav-link:hover{color:var(--primary)!important}
.navbar-erp .nav-link::after{
  content:'';position:absolute;bottom:-4px;left:50%;width:0;height:2px;
  background:var(--gradient);transition:all .3s;transform:translateX(-50%);
}
.navbar-erp .nav-link:hover::after{width:100%}

/* ===== BUTTONS ===== */
.btn-gradient{
  background:var(--gradient);
  color:#fff;border:0;
  padding:.65rem 1.5rem;border-radius:50px;
  font-weight:600;transition:all .3s;
}
.btn-gradient:hover{
  color:#fff;transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(99,102,241,.3);
}
.btn-outline-gradient{
  border:2px solid var(--primary);color:var(--primary);
  padding:.55rem 1.4rem;border-radius:50px;font-weight:600;
  background:transparent;transition:all .3s;
}
.btn-outline-gradient:hover{background:var(--gradient);color:#fff;border-color:transparent}

/* ===== HERO ===== */
.hero{
  position:relative;
  padding:140px 0 80px;
  background:linear-gradient(135deg,#eef2ff 0%,#fce7f3 100%);
  overflow:hidden;
}
.hero::before{
  content:'';position:absolute;top:-50%;right:-10%;width:600px;height:600px;
  background:radial-gradient(circle,rgba(99,102,241,.15),transparent 70%);
  border-radius:50%;
}
.hero h1{
  font-size:3.2rem;font-weight:800;line-height:1.2;
  margin-bottom:1.25rem;
}
.hero h1 .grad-text{
  background:var(--gradient);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
}
.hero p.lead{font-size:1.15rem;color:var(--gray);margin-bottom:2rem}
.hero-image{position:relative;z-index:2}
.hero-image img{width:100%;border-radius:20px;box-shadow:var(--shadow-lg)}

/* Stats badges in hero */
.stat-pill{
  display:inline-flex;align-items:center;gap:.5rem;
  background:#fff;padding:.5rem 1rem;border-radius:50px;
  box-shadow:var(--shadow);margin:.25rem;
  font-size:.875rem;font-weight:600;
}
.stat-pill i{color:var(--primary)}

/* ===== SECTIONS ===== */
section{padding:80px 0}
.section-title{text-align:center;margin-bottom:3rem}
.section-title h6{
  color:var(--primary);font-weight:700;letter-spacing:3px;
  text-transform:uppercase;margin-bottom:.75rem;font-size:.85rem;
}
.section-title h2{font-size:2.5rem;font-weight:800;margin-bottom:1rem}
.section-title p{color:var(--gray);max-width:650px;margin:0 auto}

/* ===== FEATURE CARDS ===== */
.feature-card{
  background:#fff;border-radius:var(--radius);padding:2rem;
  box-shadow:var(--shadow);border:1px solid #f1f5f9;
  transition:all .35s;height:100%;
}
.feature-card:hover{
  transform:translateY(-8px);box-shadow:var(--shadow-lg);border-color:var(--primary);
}
.feature-icon{
  width:60px;height:60px;border-radius:16px;
  display:flex;align-items:center;justify-content:center;
  background:var(--gradient);color:#fff;font-size:1.5rem;
  margin-bottom:1.25rem;
}
.feature-icon.alt{background:var(--gradient-2)}
.feature-card h5{font-weight:700;margin-bottom:.75rem}
.feature-card p{color:var(--gray);font-size:.95rem;margin-bottom:0}

/* ===== MODULE GRID ===== */
.module-card{
  background:#fff;border-radius:var(--radius);padding:1.5rem;
  border:2px solid #f1f5f9;text-align:center;transition:all .3s;
  cursor:pointer;height:100%;
}
.module-card:hover{border-color:var(--primary);transform:translateY(-5px)}
.module-card .icon-wrap{
  width:55px;height:55px;border-radius:50%;
  background:#eef2ff;color:var(--primary);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 1rem;font-size:1.4rem;
}
.module-card h6{font-weight:700;margin-bottom:.25rem}
.module-card small{color:var(--gray)}

/* ===== PRICING ===== */
.price-card{
  background:#fff;border-radius:var(--radius);padding:2.5rem 2rem;
  box-shadow:var(--shadow);transition:all .3s;border:1px solid #e5e7eb;
  height:100%;
}
.price-card.featured{
  background:var(--gradient);color:#fff;transform:scale(1.05);
  border:0;
}
.price-card.featured .price-amount,
.price-card.featured h4,
.price-card.featured ul li{color:#fff}
.price-card .price-amount{
  font-size:3rem;font-weight:800;color:var(--dark);
}
.price-card .price-amount small{font-size:1rem;color:var(--gray)}
.price-card ul{list-style:none;padding:0;margin:1.5rem 0}
.price-card ul li{padding:.5rem 0;color:var(--gray)}
.price-card ul li i{color:var(--accent);margin-right:.5rem}
.price-card.featured ul li i{color:#fff}

/* ===== TESTIMONIALS ===== */
.testimonial{
  background:#fff;border-radius:var(--radius);padding:2rem;
  box-shadow:var(--shadow);height:100%;
}
.testimonial .stars{color:#fbbf24;margin-bottom:1rem}
.testimonial p{font-style:italic;color:var(--gray)}
.testimonial .user{display:flex;align-items:center;gap:1rem;margin-top:1rem}
.testimonial .avatar{
  width:48px;height:48px;border-radius:50%;
  background:var(--gradient);color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:700;
}

/* ===== CTA ===== */
.cta-section{
  background:var(--gradient);color:#fff;border-radius:24px;
  padding:4rem 2rem;text-align:center;margin:2rem 0;
}
.cta-section h2{font-weight:800;margin-bottom:1rem}

/* ===== FOOTER ===== */
.footer-erp{
  background:#0f172a;color:#cbd5e1;padding:60px 0 20px;
}
.footer-erp h6{color:#fff;font-weight:700;margin-bottom:1.25rem}
.footer-erp a{color:#cbd5e1;text-decoration:none;transition:color .2s}
.footer-erp a:hover{color:var(--secondary)}
.footer-erp ul{list-style:none;padding:0}
.footer-erp ul li{padding:.35rem 0}
.footer-bottom{
  border-top:1px solid #1e293b;padding-top:1.25rem;margin-top:2.5rem;
  color:#94a3b8;font-size:.875rem;
}
.social-icons a{
  display:inline-flex;width:36px;height:36px;
  background:#1e293b;border-radius:50%;
  align-items:center;justify-content:center;margin-right:.5rem;
}
.social-icons a:hover{background:var(--primary);color:#fff}

/* ===== RESPONSIVE ===== */
@media(max-width:991px){
  .hero{padding:110px 0 60px}
  .hero h1{font-size:2.3rem}
  .section-title h2{font-size:1.9rem}
  section{padding:60px 0}
  .price-card.featured{transform:none}
}
@media(max-width:575px){
  .hero h1{font-size:1.85rem}
  .cta-section{padding:2.5rem 1rem}
}

/* Animations */
@keyframes fadeUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:none}}
.animate{animation:fadeUp .8s ease both}
.animate.delay-1{animation-delay:.15s}
.animate.delay-2{animation-delay:.3s}
.animate.delay-3{animation-delay:.45s}
