/* Modern Rest API Home Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

body {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  background-color: #f4f7f6; /* Modern cool grey/white */
  color: #1e293b;
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

/* ---------------- Hero Section ---------------- */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 5% 80px 5%;
  min-height: 80vh;
  gap: 50px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 1;
}

.hero-content {
  flex: 1 1 50%;
  max-width: 650px;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.2rem;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero-content h1 span {
  color: #3b82f6; /* Primary blue */
  background: -webkit-linear-gradient(45deg, #3b82f6, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.15rem;
  color: #475569;
  margin-bottom: 35px;
}

.hero-img {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.hero-img img {
  width: 100%;
  max-width: 550px;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(59, 130, 246, 0.15));
}

.floating-img {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Hero Buttons */
.btn-docs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary-custom {
  background-color: #3b82f6;
  color: white;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary-custom:hover {
  background-color: #2563eb;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(59, 130, 246, 0.4);
  color: white;
}

.btn-outline-custom {
  background-color: transparent;
  color: #3b82f6;
  border: 2px solid #3b82f6;
}

.btn-outline-custom:hover {
  background-color: rgba(59, 130, 246, 0.05);
  transform: translateY(-3px);
  color: #2563eb;
}

/* ---------------- Stats Section ---------------- */
.modern-stat {
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.modern-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, #3b82f6, #0ea5e9);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modern-stat:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.modern-stat:hover::before {
  opacity: 1;
}

.stats-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.stats-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 5px;
}

.stats-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------------- Pricing Section ---------------- */
.pricing-card {
  border: 1px solid #e2e8f0;
  border-radius: 24px !important;
  background: white;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card-popular {
  transform: scale(1.05);
  z-index: 10;
  border: 2px solid #3b82f6 !important;
}

.pricing-card-popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, #3b82f6, #6366f1);
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.icon-box {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
}

.bg-primary-light { background-color: rgba(59, 130, 246, 0.1); }
.bg-warning-light { background-color: rgba(245, 158, 11, 0.1); }
.shadow-primary { box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3); }

.pricing-card ul li i {
  font-size: 1.2rem;
}

.btn-hover-primary:hover {
  background-color: #e2e8f0;
  color: #3b82f6;
}

.btn-scale {
  transition: transform 0.3s ease;
}

.btn-scale:hover {
  transform: scale(1.05);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 991px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 140px;
  }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-content .d-flex { justify-content: center !important; }
  .pricing-card-popular { transform: scale(1); }
  .pricing-card-popular:hover { transform: translateY(-10px); }
}

.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important; }
