/* Base Styles and Variables */
:root {
  --primary-color: #6A11CB;
  --secondary-color: #2575FC;
  --text-color: #333;
  --light-text: #777;
  --background: #f8f9fa;
  --light-bg: #ffffff;
  --dark-bg: #0f1123;
  --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --container-width: 1200px;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  background-color: var(--background);
  line-height: 1.6;
}

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

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

h2 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

p {
  margin-bottom: 1rem;
}

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

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

ul {
  list-style: none;
}

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

section {
  padding: 100px 0;
}

/* Buttons */
.cta-button {
  display: inline-block;
  background: var(--gradient);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: white;
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.cta-button.secondary:hover {
  background: var(--gradient);
  color: white;
}

.cta-center {
  text-align: center;
  margin-top: 2rem;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 0;
}

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

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

.logo h1 {
  font-size: 1.5rem;
  margin-left: 10px;
  margin-bottom: 0;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-svg {
  min-width: 48px;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

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

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

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

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

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin-bottom: 5px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding-top: 150px;
  padding-bottom: 100px;
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--gradient);
  opacity: 0.1;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--gradient);
  opacity: 0.1;
  z-index: 0;
}

.hero .container {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

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

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

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Features Section */
.features {
  background-color: var(--background);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
}

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

.feature-icon {
  margin-bottom: 20px;
}

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

.feature-card p {
  color: var(--light-text);
}

/* How It Works Section */
.how-it-works {
  background-color: var(--light-bg);
}

.steps {
  margin: 50px 0;
}

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
}

.step-number {
  background: var(--gradient);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 20px;
  flex-shrink: 0;
}

.step-content {
  flex-grow: 1;
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* About Section */
.about {
  background-color: var(--background);
}

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

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

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

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

.footer-links ul {
  display: flex;
  flex-wrap: wrap;
}

.footer-links ul li {
  margin: 0 15px;
}

.footer-links ul li a {
  color: white;
  opacity: 0.8;
}

.footer-links ul li a:hover {
  opacity: 1;
}

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

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
  section {
    padding: 80px 0;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
    text-align: center;
  }
  
  .hero-image {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-logo {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--light-bg);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    z-index: 999;
  }
  
  nav.active {
    max-height: 300px;
  }
  
  nav ul {
    flex-direction: column;
    padding: 20px;
  }
  
  nav ul li {
    margin: 10px 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto 20px;
  }
  
  .footer-links ul {
    justify-content: center;
  }
  
  .footer-links ul li {
    margin: 10px 15px;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding-top: 120px;
  }
  
  .hero-image svg {
    width: 300px;
    height: 225px;
  }
  
  .cta-button {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}
