:root {
  --primary-color: #9933ff;
  --secondary-color: #ff3366;
  --accent-color: #33aaff;
  --background-color: #f9f9f9;
  --dark-bg-color: #111;
  --text-color: #333;
  --light-text-color: #fff;
  --card-bg-color: #fff;
  --border-radius: 8px;
  --transition-speed: 0.3s;
  --container-width: 1200px;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

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

h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

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

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

.logo-svg {
  height: 40px;
  width: 40px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

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

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

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

/* Hero section */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text-color);
  padding: 160px 0 100px;
  text-align: center;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background: var(--light-text-color);
  color: var(--primary-color);
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-speed);
  box-shadow: var(--shadow);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background: #fff;
  color: var(--secondary-color);
}

.cta-button.secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--light-text-color);
  border: 2px solid var(--light-text-color);
}

.cta-button.secondary:hover {
  background: var(--light-text-color);
  color: var(--primary-color);
}

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

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

.feature-card {
  background-color: var(--card-bg-color);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition-speed);
}

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

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

.feature-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(153, 51, 255, 0.05), rgba(255, 51, 102, 0.05));
  z-index: 0;
}

.steps {
  display: flex;
  justify-content: space-between;
  margin: 60px 0;
  position: relative;
  z-index: 2;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -50px;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  z-index: -1;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text-color);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
}

.step h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: #fff;
}

.about .container {
  max-width: 900px;
}

.about p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.cta-container {
  margin-top: 40px;
  text-align: center;
}

/* Footer */
footer {
  background-color: var(--dark-bg-color);
  color: var(--light-text-color);
  padding: 80px 0 30px;
}

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

.footer-logo {
  flex: 1;
  min-width: 200px;
}

.footer-logo p {
  margin-top: 15px;
  opacity: 0.8;
}

.footer-links {
  flex: 2;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.footer-column {
  min-width: 160px;
  margin-bottom: 30px;
}

.footer-column h4 {
  color: var(--light-text-color);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-speed);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.6;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .steps {
    flex-direction: column;
    gap: 50px;
  }
  
  .step:not(:last-child)::after {
    top: auto;
    bottom: -25px;
    right: auto;
    left: 50%;
    width: 2px;
    height: 50px;
    transform: translateX(-50%);
  }
  
  .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    padding: 140px 0 80px;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  }
  
  nav.active {
    display: block;
  }
  
  nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }
  
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-color);
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .cta-button {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}

/* Dark mode preferences */
@media (prefers-color-scheme: dark) {
  :root {
    --background-color: #121212;
    --text-color: #f1f1f1;
    --card-bg-color: #1e1e1e;
  }
  
  header {
    background-color: rgba(30, 30, 30, 0.95);
  }
  
  .features, .about {
    background-color: #1a1a1a;
  }
  
  .how-it-works {
    background-color: #151515;
  }
  
  .feature-card {
    background-color: #232323;
  }
  
  .cta-button {
    background: var(--primary-color);
    color: var(--light-text-color);
  }
}

/* Add hamburger menu for mobile */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
}

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

.feature-card, .step, .cta-button {
  animation: fadeIn 0.6s ease-out forwards;
}

.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.4s;
}

/* Hamburger menu functionality */
.menu-toggle {
  position: relative;
  z-index: 1001;
}

/* Mobile menu toggle JavaScript will add this class */
nav.mobile-active {
  display: block;
}
