/* Base Styles and Variables */
:root {
  --primary: #0072ff;
  --primary-dark: #005ac7;
  --secondary: #00c6ff;
  --dark: #121212;
  --light: #ffffff;
  --gray: #f0f0f0;
  --gray-dark: #888;
  --success: #00d26a;
  --warning: #ffbb00;
  
  --gradient: linear-gradient(135deg, var(--secondary), var(--primary));
  --shadow: 0 8px 30px rgba(0, 114, 255, 0.2);
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: #f9f9f9;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 1.8rem;
}

h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.2rem;
}

/* Header */
header {
  background-color: var(--light);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 1rem 5%;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo h1 {
  font-size: 1.4rem;
  margin: 0;
  color: var(--primary);
}

.logo-icon {
  border-radius: 8px;
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav ul li a {
  color: var(--dark);
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
}

nav ul li a:hover {
  color: var(--primary);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background: var(--gradient);
  padding: 6rem 5%;
  color: var(--light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.1)' fill-rule='evenodd'/%3E%3C/svg%3E") repeat;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  text-align: center;
}

.highlight {
  color: var(--warning);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(255, 187, 0, 0.3);
  z-index: -1;
  transform: rotate(-2deg);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--light);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border: 2px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 114, 255, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

/* How It Works Section */
.how-it-works {
  padding: 5rem 5%;
  background: var(--light);
}

.process-steps {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 2rem;
  background: var(--gray);
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
}

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

.step-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  font-weight: 700;
}

/* Features Section */
.features {
  padding: 5rem 5%;
  background: #f0f5ff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.feature-card {
  background: var(--light);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.feature-icon {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

/* Technology Section */
.technology {
  padding: 5rem 5%;
  background: var(--light);
}

.tech-info {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.tech-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tech-highlight {
  background: var(--gray);
  padding: 2rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.tech-highlight:hover {
  box-shadow: var(--shadow);
  background: var(--light);
}

/* CTA Section */
.cta-section {
  padding: 5rem 5%;
  background: var(--dark);
  color: var(--light);
  text-align: center;
}

.cta-section h2 {
  color: var(--light);
}

.cta-section p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.cta-section .btn-primary {
  background: var(--warning);
  color: var(--dark);
}

.cta-section .btn-primary:hover {
  background: var(--light);
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--light);
  padding: 4rem 5% 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo svg {
  background: var(--light);
  border-radius: 8px;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.link-group h4 {
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.link-group ul li {
  margin-bottom: 0.8rem;
}

.link-group ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.link-group ul li a:hover {
  color: var(--light);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  color: var(--gray-dark);
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h2 {
    font-size: 2rem;
  }
  
  .hero h2 {
    font-size: 2.2rem;
  }
  
  .process-steps {
    flex-direction: column;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 1rem;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul {
    gap: 1rem;
  }
  
  .hero {
    padding: 4rem 1rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-links {
    width: 100%;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .footer-links {
    flex-direction: column;
  }
  
  section {
    padding: 3rem 1rem;
  }
}

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