@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #4300FF;
  --secondary: #0065F8;
  --accent: #00CAFF;
  --quaternary: #00FFDE;
  --bg-primary: #ffffff;
  --bg-secondary: #f9f9f9;
  --text-primary: #333333;
  --text-secondary: #555555;
  --white: #ffffff;
  --shadow-light: #ffffff;
  --shadow-dark: #d1d9e6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ==========================================
   Header/Navbar Styles
   ========================================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(67, 0, 255, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(67, 0, 255, 0.3);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links li a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-links li a:hover {
  color: var(--primary);
}

.cta-buttons {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.store-button {
  padding: 0.5rem 1rem;
  background: var(--white);
  color: var(--text-primary);
  border: 1px solid rgba(67, 0, 255, 0.2);
  border-radius: 25px;
  font-weight: 500;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.store-button:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(67, 0, 255, 0.2);
}

.store-icon {
  font-size: 0.9rem;
}

.cta-button {
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(67, 0, 255, 0.3);
}

.cta-button:hover {
  background: linear-gradient(135deg, var(--accent), var(--quaternary));
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 202, 255, 0.4);
}

/* ==========================================
   Hero Section Styles
   ========================================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #f8f9ff 0%, #e6f3ff 50%, #e0f9ff 100%);
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(67, 0, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
  animation: slideInLeft 1s ease-out;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(67, 0, 255, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent), var(--quaternary));
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 202, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(67, 0, 255, 0.3);
}

.hero-image {
  max-width: 400px;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
  animation: slideInRight 1s ease-out;
}

.hero-illustration {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  width: 100%;
  height: 350px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  box-shadow: 0 20px 60px rgba(67, 0, 255, 0.2);
  position: relative;
  overflow: hidden;
  animation: float 3s ease-in-out infinite;
}

.hero-illustration::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shimmer 3s linear infinite;
}

/* ==========================================
   Section Styles
   ========================================== */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.service-category-title {
  font-size: 2rem;
  color: var(--secondary);
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

/* ==========================================
   Services Grid Styles
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.service-card {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.service-card:hover::before {
  opacity: 0.05;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(67, 0, 255, 0.15);
  border-color: var(--accent);
}

.service-card > * {
  position: relative;
  z-index: 2;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  display: block;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================
   Footer Styles
   ========================================== */
.footer {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  animation: shimmer 4s linear infinite;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 2;
}

.footer h3, .footer h4 {
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links li a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  position: relative;
}

.footer-links li a:hover {
  color: var(--quaternary);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   Animations
   ========================================== */
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
    flex-wrap: wrap;
  }

  .nav-links {
    gap: 1rem;
  }

  .cta-buttons {
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .store-button {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .hero {
    padding: 3rem 1rem;
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-image {
    max-width: 100%;
    margin-top: 2rem;
  }

  .hero-illustration {
    height: 250px;
    font-size: 3rem;
  }

  .section-container {
    padding: 2rem 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .footer {
    padding: 2rem 1rem 1rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-links {
    display: none;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn-primary, .btn-secondary {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}