/* Base Styles */
:root {
  --primary-color: #6A3DE8;
  --secondary-color: #9F44D3;
  --accent-color: #FF6B98;
  --dark: #1E1133;
  --light: #F8F9FF;
  --text-dark: #121212;
  --text-light: #FFFFFF;
  --text-gray: #666666;
  --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

body {
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background-color: var(--light);
  line-height: 1.6;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

ul {
  list-style: none;
}

/* Header Styles */
header {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo a {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: var(--text-dark);
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
}

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);
  color: var(--text-light);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  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 fill="none" width="100" height="100"/><circle cx="25" cy="25" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="25" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="25" cy="75" r="3" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.6;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero span {
  color: var(--accent-color);
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  background: var(--accent-color);
  color: var(--text-light);
  padding: 0.875rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 107, 152, 0.4);
}

.btn:hover {
  background: #ff5286;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 152, 0.5);
  color: var(--text-light);
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: #fff;
}

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

.feature {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 30px rgba(106, 61, 232, 0.1);
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 60px rgba(106, 61, 232, 0.15);
}

.feature h3 {
  margin: 1.5rem 0 1rem;
  color: var(--primary-color);
}

/* Technology Section */
.technology {
  background-color: var(--dark);
  color: var(--text-light);
  padding: 5rem 0;
  text-align: center;
}

.technology h2 {
  color: var(--text-light);
}

.technology p {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.technology .btn {
  background: var(--primary-color);
  box-shadow: 0 4px 20px rgba(106, 61, 232, 0.4);
}

.technology .btn:hover {
  background: var(--secondary-color);
  box-shadow: 0 8px 25px rgba(106, 61, 232, 0.5);
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: var(--light);
  text-align: center;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

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

footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

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

.footer-logo svg {
  margin-right: 1rem;
}

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

.footer-column h4 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

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

/* Responsive Design */
@media screen and (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 2.75rem;
  }
}

@media screen and (max-width: 768px) {
  header .container {
    flex-direction: column;
    padding: 1rem 0;
  }
  
  nav {
    margin-top: 1rem;
  }
  
  nav ul {
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 1rem;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .features, .technology, .about {
    padding: 3rem 0;
  }
  
  footer .container {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  nav ul li {
    margin: 0 0.5rem;
  }
  
  .btn {
    padding: 0.75rem 2rem;
  }
}
