/* Custom CSS for bigmatgsm Landing Page */

/* Variables */
:root {
  --primary-color: #3b82f6;
  --secondary-color: #8b5cf6;
  --warning-color: #f59e0b;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --dark-color: #1f2937;
  --light-color: #f8fafc;
  --white: #ffffff;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-hero: linear-gradient(
    135deg,
    #667eea 0%,
    #764ba2 50%,
    #f093fb 100%
  );
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  scroll-behavior: smooth;
}

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

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

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes floatingIcon {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(var(--x), var(--y)) rotate(120deg);
  }
  66% {
    transform: translate(calc(var(--x) * -0.5), calc(var(--y) * 1.5))
      rotate(240deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

.animate-fade-up {
  animation: fadeUp 0.8s ease-out forwards;
  opacity: 0;
}

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

/* Navigation Styles */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: var(--shadow);
}

.navbar-brand {
  font-size: 1.75rem;
  font-weight: 700;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.nav-link {
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* Hero Section */
.hero-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

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

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

.phone-mockup {
  position: relative;
  display: inline-block;
}

.floating-icons {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
}

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  animation: floatingIcon 6s ease-in-out infinite;
  animation-delay: var(--delay);
}

.stat-item h3 {
  font-size: 2rem;
}

.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.hero-waves svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

/* Service Cards */
.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: white;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

/* Pricing Section */
.pricing-section {
  background: var(--gradient-hero);
  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 100 100"><defs><pattern id="pricing-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23pricing-grid)"/></svg>');
}

.pricing-badge {
  position: relative;
  z-index: 2;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.pricing-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.pricing-card:hover::before {
  transform: scaleX(1);
}

.pricing-header {
  padding: 2rem 1.5rem 1rem;
  text-align: center;
  position: relative;
}

.network-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.network-logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  opacity: 0.1;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.pricing-card:hover .network-logo::before {
  transform: scale(1);
}

.mtn-logo {
  background: linear-gradient(135deg, #ffcc02, #ff6600);
}

.airtel-logo {
  background: linear-gradient(135deg, #ed1c24, #ff6b6b);
}

.glo-logo {
  background: linear-gradient(135deg, #00a651, #4ecdc4);
}

.nine-mobile-logo {
  background: linear-gradient(135deg, #00a86b, #00d4aa);
}

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

.network-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  position: relative;
  overflow: hidden;
}

.mtn-badge {
  background: linear-gradient(135deg, #ffcc02, #ff6600);
}

.airtel-badge {
  background: linear-gradient(135deg, #ed1c24, #ff6b6b);
}

.glo-badge {
  background: linear-gradient(135deg, #00a651, #4ecdc4);
}

.nine-mobile-badge {
  background: linear-gradient(135deg, #00a86b, #00d4aa);
}

.pricing-body {
  padding: 0 1.5rem;
}

.pricing-table {
  background: rgba(248, 250, 252, 0.8);
  border-radius: 15px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-row:hover {
  background: rgba(59, 130, 246, 0.05);
  border-radius: 8px;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.data-size {
  font-weight: 700;
  color: var(--dark-color);
  font-size: 1rem;
}

.data-price {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.data-validity {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-footer {
  padding: 0 1.5rem 2rem;
}

.btn-pricing {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  border: none;
  color: white;
  font-weight: 600;
  padding: 1rem;
  border-radius: 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-pricing::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s;
}

.btn-pricing:hover::before {
  left: 100%;
}

.btn-pricing:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.pricing-features {
  position: relative;
  z-index: 2;
}

.pricing-feature {
  padding: 1.5rem;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.pricing-feature:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.pricing-feature i {
  transition: all 0.3s ease;
}

.pricing-feature:hover i {
  transform: scale(1.2) rotate(5deg);
}

/* Feature Items */
.feature-item {
  padding: 1.5rem;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(59, 130, 246, 0.05);
  transform: translateX(10px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-graphic {
  position: relative;
}

.phone-frame {
  position: relative;
  display: inline-block;
}

.pulse-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: pulse 2s infinite;
  opacity: 0.3;
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.stars i {
  font-size: 1.1rem;
}

.avatar {
  flex-shrink: 0;
}

/* CTA Section */
.cta-section {
  background: var(--gradient-primary);
  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><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

/* Button Styles */
.btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  border-color: transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

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

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  text-align: center;
  line-height: 40px;
  transition: all 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

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

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

  .floating-icons {
    width: 200px;
    height: 200px;
  }

  .floating-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .hero-waves svg {
    height: 40px;
  }

  .feature-item {
    text-align: center;
    margin-bottom: 2rem;
  }

  .feature-item .d-flex {
    flex-direction: column;
    align-items: center;
  }

  .feature-icon {
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .service-card,
  .testimonial-card {
    padding: 1.5rem;
  }

  .hero-content {
    padding-top: 2rem;
  }

  .btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }

  .stat-item h3 {
    font-size: 1.5rem;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Loading Animation */
.service-card,
.testimonial-card,
.feature-item {
  opacity: 0;
  animation: fadeUp 0.8s ease-out forwards;
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}
.service-card:nth-child(2) {
  animation-delay: 0.2s;
}
.service-card:nth-child(3) {
  animation-delay: 0.3s;
}
.service-card:nth-child(4) {
  animation-delay: 0.4s;
}
.service-card:nth-child(5) {
  animation-delay: 0.5s;
}
.service-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus States */
.btn:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .service-card,
  .testimonial-card {
    border: 2px solid var(--dark-color);
  }

  .btn {
    border: 2px solid currentColor;
  }
}
