/* Base Styles and Variables */
:root {
  --primary: #8C52FF;
  --secondary: #FF6B6B;
  --dark: #1e1e2e;
  --light: #f8f9fa;
  --gray: #868e96;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

* {
  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-color: #f0f2f5;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--secondary);
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

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

p {
  margin-bottom: 1.2rem;
}

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

section {
  padding: 5rem 0;
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

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

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--dark);
  font-weight: 500;
  position: relative;
}

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

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

/* Hero Section */
.hero {
  background-color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: var(--gradient);
  opacity: 0.05;
  border-radius: 50%;
  transform: translate(150px, -150px);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-content {
  flex: 1;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--gray);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.tech-illustration {
  width: 100%;
  max-width: 400px;
}

.cta-button {
  display: inline-block;
  background: var(--gradient);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(140, 82, 255, 0.3);
  transition: var(--transition);
}

.cta-button:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(140, 82, 255, 0.4);
}

/* Features Section */
.features {
  background-color: #f8f9fa;
}

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

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

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* About Section */
.about {
  background-color: white;
}

.about .container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  text-align: left;
}

.about-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-illustration {
  width: 100%;
  max-width: 400px;
}

/* Technology Section */
.technology {
  background-color: #f8f9fa;
}

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

.tech-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tech-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

/* CTA Section */
.cta-section {
  background: var(--gradient);
  color: white;
  text-align: center;
  padding: 4rem 0;
}

.cta-section h2 {
  color: white;
}

.cta-section .highlight {
  background: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-section .cta-button {
  background: white;
  color: var(--primary);
  margin-top: 1rem;
}

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

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 4rem 0 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

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

.footer-logo p {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0;
}

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

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

.link-group ul {
  list-style: none;
}

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

.link-group a {
  color: var(--light);
  opacity: 0.8;
  transition: var(--transition);
}

.link-group a:hover {
  opacity: 1;
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.6;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  h2 {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .about .container,
  .hero .container {
    flex-direction: column;
  }
  
  .hero-visual,
  .about-visual {
    order: -1;
  }
  
  .about-content h2 {
    text-align: center;
  }
}

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

@media screen and (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}
