/* Global Styles */
:root {
  --primary-color: #0066ff;
  --secondary-color: #00ccff;
  --dark-bg: #0a0a0a;
  --darker-bg: #050505;
  --light-text: #f0f0f0;
  --gray-text: #a0a0a0;
  --border-color: #333;
  --card-bg: rgba(20, 20, 20, 0.7);
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

body {
  font-family: 'Inter', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Grid Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(10, 10, 10, 0.97) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.97) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
}

/* Glow Effect */
body::after {
  content: '';
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vh;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

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

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

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

/* Header Styles */
header {
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background-color: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 15px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light-text);
  display: flex;
  align-items: center;
}

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

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

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

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

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

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--light-text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-content {
  max-width: 600px;
  z-index: 1;
}

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

.hero h1 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.hero-image {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 700px;
  opacity: 0.7;
  z-index: 0;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
  color: white;
}

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

.btn-outline:hover {
  background: var(--gradient-primary);
  color: white;
}

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

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

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
}

.section-title p {
  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: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

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

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  background-color: var(--darker-bg);
}

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

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

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

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

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

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

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

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

.pricing-card.featured {
  border-color: var(--primary-color);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 15px;
  right: -35px;
  background: var(--gradient-primary);
  color: white;
  padding: 5px 40px;
  font-size: 0.8rem;
  transform: rotate(45deg);
}

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

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

.pricing-card .price {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.pricing-card .price span {
  font-size: 1rem;
  color: var(--gray-text);
}

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

.pricing-card ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.pricing-card ul li:last-child {
  border-bottom: none;
}

/* Articles Section */
.articles {
  padding: 100px 0;
  background-color: var(--darker-bg);
}

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

.article-card {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-content {
  padding: 20px;
}

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

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

.article-date {
  font-size: 0.8rem;
  color: var(--gray-text);
}

/* Contact Section */
.contact {
  padding: 100px 0;
}

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

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

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

.contact-details {
  list-style: none;
}

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

.contact-details li i {
  margin-right: 10px;
  color: var(--primary-color);
  font-size: 1.2rem;
}

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

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

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

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

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

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

/* Footer */
footer {
  background-color: var(--darker-bg);
  padding: 50px 0 20px;
  border-top: 1px solid var(--border-color);
}

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

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

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

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

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

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

.footer-col ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

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

/* Thank You Page */
.thank-you {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
}

.thank-you-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.thank-you-content p {
  color: var(--gray-text);
  margin-bottom: 30px;
}

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

.legal h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.legal h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
}

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

.legal ul, .legal ol {
  padding-left: 20px;
}

.legal ul li, .legal ol li {
  margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero-image {
    width: 45%;
    opacity: 0.5;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--darker-bg);
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
  }
  
  nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav ul li {
    margin: 10px 0;
  }
  
  .hero {
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-image {
    display: none;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .btn {
    display: block;
    width: 100%;
    margin-bottom: 15px;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .pricing-card, .feature-card, .step, .article-card {
    padding: 20px;
  }
}
