:root {
  --primary-color: #00c9ff;
  --secondary-color: #92fe9d;
  --dark-color: #0a1128;
  --light-color: #ffffff;
  --gray-color: #f5f7fa;
  --gradient: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
}

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

body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9fbfd;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
.site-header {
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 1px;
}

/* Hero Section */
.hero {
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f9fbfd 0%, #e6f7ff 100%);
}

.hero:before {
  content: "";
  position: absolute;
  width: 140%;
  height: 180%;
  top: -40%;
  left: -20%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(0, 201, 255, 0.1) 0%, rgba(146, 254, 157, 0.05) 70%, transparent 100%);
  transform: rotate(-10deg);
}

.hero-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.hero-content {
  flex: 0 0 50%;
  max-width: 50%;
  padding-right: 40px;
}

.hero-image {
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image-svg {
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.15));
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: var(--dark-color);
  line-height: 1.2;
}

.hero-title .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #4a5568;
}

.cta-btn {
  display: inline-block;
  background: var(--gradient);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 10px 25px rgba(0, 201, 255, 0.3);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 201, 255, 0.4);
}

.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: 0.6s;
  z-index: -1;
}

.cta-btn:hover::before {
  transform: translateX(100%);
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: white;
  position: relative;
}

.section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.section-subtitle {
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

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

.feature-card:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 5px;
  bottom: 0;
  left: 0;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
  z-index: -1;
}

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

.feature-icon {
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #f0f9ff;
  margin-bottom: 25px;
}

.feature-icon svg {
  width: 40px;
  height: 40px;
}

.feature-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--dark-color);
  font-weight: 600;
}

.feature-text {
  color: #64748b;
}

/* How It Works */
.how-it-works {
  background-color: #f9fbfd;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  counter-reset: step;
}

.step-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.step-card:before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -15px;
  left: 30px;
  background: var(--gradient);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 201, 255, 0.3);
}

.step-title {
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: var(--dark-color);
}

.step-description {
  color: #64748b;
}

/* CTA Section */
.cta-section {
  background: var(--gradient);
  padding: 80px 0;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0L100,100" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
  background-size: 40px 40px;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-text {
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-white {
  background: white;
  color: var(--primary-color);
}

.btn-white:hover {
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.3);
}

/* Footer */
.site-footer {
  background-color: var(--dark-color);
  color: #a0aec0;
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-info {
  margin-right: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 40px;
  margin-right: 10px;
}

.footer-logo-text {
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
}

.footer-description {
  margin-bottom: 20px;
  line-height: 1.8;
}

.footer-heading {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 25px;
  font-weight: 600;
  position: relative;
}

.footer-heading:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--gradient);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #a0aec0;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

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

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

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content,
  .hero-image {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0;
  }
  
  .hero-content {
    margin-bottom: 40px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  
  .cta-btn {
    display: block;
    width: 100%;
    text-align: center;
  }
}
