:root {
  --primary: #0066ff;
  --secondary: #6b21a8;
  --success: #059669;
  --warning: #f59e0b;
  --danger: #dc2626;
  --info: #3b82f6;
  --dark: #0a1628;
  --light: #f8f9fa;
  --muted: #6b7280;
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #1f2937;
  background-color: #ffffff;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

/* Navbar */
.navbar-custom {
  background: linear-gradient(135deg, #0a1628 0%, #1a3a52 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-custom .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-custom .navbar-nav .nav-link:hover {
  color: #0066ff !important;
}

.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  color: white !important;
  font-weight: bold;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0a1628 0%, #1a3a52 50%, #0f2744 100%);
  position: relative;
  overflow: hidden;
  color: white;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(102, 51, 153, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 400px;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px;
  animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
  width: 200px;
  height: 120px;
  top: 30px;
  left: 40px;
  animation-delay: 0s;
}

.floating-card.card-2 {
  width: 150px;
  height: 150px;
  top: 200px;
  right: 30px;
  animation-delay: 1s;
}

.floating-card.card-3 {
  width: 180px;
  height: 100px;
  bottom: 40px;
  left: 100px;
  animation-delay: 2s;
}

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

.blob-shape {
  position: absolute;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(102, 51, 153, 0.1), rgba(0, 102, 255, 0.1));
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: blob 8s infinite;
  bottom: 20px;
  right: -50px;
}

@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, -30px) scale(1.1); }
}

/* Animations */
@keyframes revealText {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-text {
  animation: revealText 0.8s ease forwards;
  opacity: 0;
}

/* Stats Section */
.stat-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.count {
  font-variant-numeric: tabular-nums;
}

/* Service Cards */
.service-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 25px 15px;
  text-align: center;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-card-full {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 25px 15px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-card-full:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Why Cards */
.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  transform: translateY(-5px);
}

.why-icon {
  font-size: 2.5rem;
  color: var(--primary);
}

/* Data Service Cards */
.data-service-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.data-service-card:hover {
  transform: translateY(-6px);
  border-color: var(--info);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.1);
}

/* Step Badges */
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--info));
  color: white;
  font-size: 28px;
  font-weight: bold;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

/* Pricing Cards */
.pricing-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 30px 25px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 20px 40px rgba(0, 102, 255, 0.2);
  transform: scale(1.05);
}

.pricing-card-full {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
}

.pricing-card-full:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.price {
  color: var(--primary);
  margin-bottom: 20px;
}

/* Portfolio Cards */
.portfolio-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.portfolio-card-full {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.portfolio-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.portfolio-detail-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 5rem;
  margin-bottom: 30px;
}

/* Blog Cards */
.blog-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.blog-card-full {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card-full:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.blog-image {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-detail-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  margin-bottom: 30px;
}

.blog-content p {
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Testimonials */
.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  border-color: var(--primary);
}

/* Footer */
.footer {
  background: #0a1628;
  color: white;
  padding: 50px 0 20px;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0052cc);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 102, 255, 0.3);
  background: linear-gradient(135deg, #0052cc, var(--primary));
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-light {
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Forms */
.form-control,
.form-select {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

/* Contact Info */
.contact-info-item {
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  transform: translateX(10px);
}

/* Value Cards */
.value-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Comparison Card */
.comparison-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.comparison-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Utilities */
.min-vh-50 {
  min-height: 50vh;
}

.text-muted {
  color: var(--muted) !important;
}

.bg-dark {
  background-color: var(--dark) !important;
}

.bg-light {
  background-color: var(--light) !important;
}

/* Badges */
.badge {
  padding: 8px 14px;
  font-weight: 600;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0;
  }

  .display-4 {
    font-size: 2.5rem;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .floating-card {
    display: none;
  }

  .blob-shape {
    display: none;
  }

  .cta-section {
    padding: 50px 0;
  }

  .navbar-light .navbar-nav .nav-link {
    padding-bottom: 0.5rem !important;
  }
}

/* Accordion */
.accordion-button {
  border: none;
  background-color: transparent;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 0;
  font-weight: 600;
  padding: 20px 0;
}

.accordion-button:not(.collapsed) {
  background-color: transparent;
  color: var(--primary);
  box-shadow: none;
}

.accordion-button:focus {
  border-color: var(--primary);
  box-shadow: none;
}

.accordion-body {
  padding: 20px 0;
  border-top: 1px solid #e5e7eb;
}

/* Error Section */
.error-section {
  background: linear-gradient(135deg, #0a1628 0%, #1a3a52 100%);
  color: white;
}

/* Admin Sidebar */
.sidebar {
  position: fixed;
  top: 60px;
  bottom: 0;
  left: 0;
  padding: 20px 0;
  overflow-y: auto;
  background-color: #f8f9fa;
  border-right: 1px solid #e5e7eb;
}

.sidebar .nav-link {
  color: #6b7280;
  padding: 12px 20px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  color: var(--primary);
  background-color: rgba(0, 102, 255, 0.05);
  border-left-color: var(--primary);
}

main {
  margin-left: 16.666%;
}

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }

  main {
    margin-left: 0;
  }

  .navbar-dark {
    background-color: var(--dark) !important;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
