/* Global Styles */
:root {
  --primary-color: #6a11cb;
  --secondary-color: #2575fc;
  --dark-bg: #111111;
  --light-text: #f8f9fa;
  --gray-text: #adb5bd;
  --card-bg: #1a1a1a;
  --accent-color: #00c896;
  --danger-color: #ff4757;
  --warning-color: #ffa502;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* Header Styles */
header {
  background-color: rgba(17, 17, 17, 0.95);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 20px 0;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.logo span {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 8px;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 30px;
}

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

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transition: width 0.3s ease;
}

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

.cta-button {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--light-text);
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: var(--gray-text);
  margin-bottom: 30px;
}

.hero-image {
  position: absolute;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle at center, rgba(106, 17, 203, 0.1), transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/grid.svg') center/cover no-repeat;
  opacity: 0.2;
}

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

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-title p {
  font-size: 18px;
  color: var(--gray-text);
  max-width: 700px;
  margin: 0 auto;
}

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

.feature-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

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

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  background-color: rgba(106, 17, 203, 0.05);
}

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

.step {
  position: relative;
  padding: 30px;
  background-color: var(--card-bg);
  border-radius: 10px;
  counter-increment: step-counter;
}

.step::before {
  content: counter(step-counter);
  position: absolute;
  top: -20px;
  left: 30px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.step h3 {
  margin-bottom: 15px;
  font-size: 22px;
}

.step p {
  color: var(--gray-text);
}

/* Pricing Section */
.pricing {
  padding: 100px 0;
}

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

.pricing-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
  border: 2px solid var(--accent-color);
  position: relative;
}

.pricing-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: var(--dark-bg);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.pricing-card .price {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--light-text);
}

.pricing-card .price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-text);
}

.pricing-card .description {
  color: var(--gray-text);
  margin-bottom: 25px;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
}

.pricing-card ul li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.pricing-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background-color: rgba(106, 17, 203, 0.05);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-info h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--gray-text);
  margin-bottom: 30px;
}

.contact-details {
  margin-top: 30px;
}

.contact-details .detail {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-details .detail i {
  width: 40px;
  height: 40px;
  background-color: var(--card-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.contact-form {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: var(--light-text);
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--card-bg);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

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

.footer-column ul li a {
  color: var(--gray-text);
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--light-text);
}

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

.footer-bottom p {
  color: var(--gray-text);
  font-size: 14px;
}

/* Terms and Privacy Pages */
.legal-content {
  padding: 150px 0 100px;
}

.legal-content h1 {
  font-size: 42px;
  margin-bottom: 30px;
}

.legal-content p {
  margin-bottom: 20px;
  color: var(--gray-text);
}

.legal-content h2 {
  font-size: 28px;
  margin: 40px 0 20px;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--gray-text);
}

.legal-content li {
  margin-bottom: 10px;
}

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: 150px 0;
}

.thank-you h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.thank-you p {
  font-size: 18px;
  color: var(--gray-text);
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 48px;
  }
  
  .hero-image {
    width: 600px;
    height: 600px;
    right: -200px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--card-bg);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu li {
    margin: 15px 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero {
    padding: 120px 0 80px;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero-image {
    display: none;
  }
  
  .section-title h2 {
    font-size: 36px;
  }
  
  .features-grid, .pricing-cards, .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
}
