/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

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

:root {
  --primary-color: #4158d0;
  --secondary-color: #c850c0;
  --accent-color: #ffcc70;
  --dark-color: #1a1a1a;
  --light-color: #f8f9fa;
  --text-dark: #2d3748;
  --text-light: #718096;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  --border-radius: 15px;
  --transition: all 0.3s ease;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
}

.display-4,
.display-5 {
  font-weight: 700;
}

/* Buttons */
.btn {
  font-weight: 500;
  border-radius: 50px;
  padding: 12px 30px;
  border: none;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
}

.btn-gradient {
  background: linear-gradient(
    45deg,
    var(--primary-color) 0%,
    var(--secondary-color) 50%,
    var(--accent-color) 100%
  );
  color: white;
  box-shadow: 0 8px 25px rgba(65, 88, 208, 0.3);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(65, 88, 208, 0.4);
  color: white;
}

.btn-gradient-primary {
  background: linear-gradient(
    43deg,
    var(--primary-color) 0%,
    var(--secondary-color) 46%,
    var(--accent-color) 100%
  );
  color: white;
  border: none;
  font-weight: 600;
  transition: var(--transition);
}

.btn-gradient-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(65, 88, 208, 0.4);
  color: white;
}

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

/* Navigation */
.navbar {
  padding: 1rem 0;
  transition: var(--transition);
  backdrop-filter: blur(20px);
  background: rgba(65, 88, 208, 0.95) !important;
}

.navbar-scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow);
}

.navbar-brand {
  font-size: 1.8rem !important;
  font-weight: 700;
}

.navbar-nav .nav-link {
  font-weight: 500;
  margin: 0 10px;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: var(--accent-color);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
  left: 0;
}

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

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="400" r="150" fill="url(%23a)"/><circle cx="400" cy="800" r="80" fill="url(%23a)"/></svg>');
  opacity: 0.5;
}

.hero-overlay {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.phone-mockup {
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.2)
  );
  width: 300px;
  height: 500px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.phone-mockup i {
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.8);
}

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

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

.animate-fade-in {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in-delay {
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.animate-fade-in-delay-2 {
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Service Cards */
.service-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  height: 100%;
}

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

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.service-icon i {
  font-size: 2rem;
  color: white;
}

.service-card h4 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--dark-color) 100%
  );
  position: relative;
  overflow: hidden;
}

.pricing-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  height: 100%;
  position: relative;
  z-index: 2;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.network-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  color: white;
  font-size: 1.5rem;
}

.mtn-bg {
  background: linear-gradient(45deg, #ffcc00, #ff6600);
}

.airtel-bg {
  background: linear-gradient(45deg, #ff0000, #cc0000);
}

.glo-bg {
  background: linear-gradient(45deg, #00cc00, #008800);
}

.nine-mobile-bg {
  background: linear-gradient(45deg, #009900, #006600);
}

.network-name {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.pricing-table {
  margin-bottom: 2rem;
}

.pricing-table .table {
  margin-bottom: 0;
}

.plan-size {
  color: var(--text-dark) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: 12px 8px !important;
}

.plan-price {
  color: var(--primary-color) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 12px 8px !important;
}

.plan-validity {
  color: var(--text-light) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: 12px 8px !important;
}

/* Feature Cards */
.feature-card {
  padding: 2rem 1rem;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

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

.feature-card h4 {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="b" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0)"/></radialGradient></defs><circle cx="20" cy="30" r="10" fill="url(%23b)"/><circle cx="80" cy="70" r="15" fill="url(%23b)"/><circle cx="50" cy="90" r="8" fill="url(%23b)"/></svg>');
  opacity: 0.6;
}

/* Footer */
footer {
  background: var(--dark-color) !important;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

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

  .phone-mockup {
    width: 250px;
    height: 400px;
    margin-top: 3rem;
  }

  .phone-mockup i {
    font-size: 6rem;
  }

  .service-card,
  .pricing-card,
  .feature-card {
    margin-bottom: 2rem;
  }

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

  .display-5 {
    font-size: 2rem;
  }

  .btn-lg {
    padding: 12px 25px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding-top: 120px;
  }

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

  .display-5 {
    font-size: 1.8rem;
  }

  .pricing-card {
    padding: 1.5rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }
}

/* Loading Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(65, 88, 208, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(65, 88, 208, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(65, 88, 208, 0);
  }
}

/* Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.border-gradient {
  border: 2px solid;
  border-image: linear-gradient(
      45deg,
      var(--primary-color),
      var(--secondary-color)
    )
    1;
}
