/* Base Styles & Variables */
:root {
  --primary: #E100FF;
  --secondary: #7F00FF;
  --accent: #00C9FF;
  --dark: #110022;
  --light: #F8F9FA;
  --text: #333;
  --text-light: #fff;
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-accent: linear-gradient(90deg, var(--accent), var(--secondary));
  --shadow: 0 5px 20px rgba(225, 0, 255, 0.2);
  --border-radius: 10px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--light);
}

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

ul {
  list-style: none;
}

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

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

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-light);
  box-shadow: var(--shadow);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(225, 0, 255, 0.4);
}

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

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

/* Header */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

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

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-list {
  display: flex;
  gap: 30px;
}

.nav-item a {
  position: relative;
  font-weight: 500;
}

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

.nav-item a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  background: var(--dark);
  padding: 120px 0 100px;
  color: var(--text-light);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(127, 0, 255, 0.3), rgba(17, 0, 34, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  z-index: 1;
}

.hero-tagline {
  display: inline-block;
  background: var(--gradient-accent);
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 25px;
}

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

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  gap: 20px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title {
  margin-bottom: 20px;
  color: var(--dark);
}

.section-subtitle {
  color: #666;
}

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

.feature-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-bottom: 4px solid var(--primary);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.feature-title {
  color: var(--dark);
  margin-bottom: 15px;
}

.feature-description {
  color: #666;
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  background: white;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 40px 30px;
  border-radius: var(--border-radius);
  background: #f8f9fa;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  overflow: hidden;
  z-index: 1;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 5rem;
  font-weight: 800;
  opacity: 0.1;
  color: var(--primary);
  line-height: 1;
}

.step-card:hover {
  transform: scale(1.03);
}

.step-title {
  margin-bottom: 20px;
  color: var(--dark);
}

.step-description {
  color: #666;
  position: relative;
  z-index: 1;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: var(--gradient-primary);
  color: var(--text-light);
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 25px;
}

.cta-subtitle {
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-btn {
  background: var(--text-light);
  color: var(--primary);
  padding: 16px 40px;
  font-size: 1.1rem;
}

.cta-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-5px);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
}

.footer-about-text {
  opacity: 0.7;
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-link {
  opacity: 0.7;
  transition: var(--transition);
}

.footer-link:hover {
  opacity: 1;
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  opacity: 0.7;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-legal a:hover {
  opacity: 1;
}

/* Media Queries */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-visual {
    display: none;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .steps {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-list {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 40px;
    transition: 0.3s;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-list.active {
    left: 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
}
