:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #181818;
  --text-main: #ffffff;
  --text-muted: #a0a0a0;
  --accent-red: #ff2222;
  --accent-red-hover: #cc0000;
  --glow-red: rgba(255, 34, 34, 0.3);
  --border-muted: #2a2a2a;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

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

h1 { font-size: 3.5rem; letter-spacing: -1px; }
h2 { font-size: 2.5rem; letter-spacing: -0.5px; }

p {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 1.1rem;
}

/* Utility / Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-accent {
  color: var(--accent-red);
}

.section-padding {
  padding: 6rem 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent-red);
  color: #fff;
  box-shadow: 0 0 15px var(--glow-red);
}

.btn-primary:hover {
  background-color: var(--accent-red-hover);
  box-shadow: 0 0 25px var(--glow-red);
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-muted);
}

.btn-ghost:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
}

/* Navigation */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  text-decoration: none;
  color: var(--text-main);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(0deg, var(--bg-primary) 0%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero .tagline {
  margin-bottom: 1.5rem;
  font-size: 4.5rem;
}

.hero .subtext {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Floating CTA button */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.floating-cta.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Stats Bar */
.stats {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-muted);
  border-bottom: 1px solid var(--border-muted);
  padding: 2rem 0;
  position: relative;
  z-index: 20;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  position: relative;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.stat-number::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-red);
  transform: scaleX(0.5);
  transition: transform 0.3s ease;
}

.stat-item:hover .stat-number::after {
  transform: scaleX(1);
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

/* How It Works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  text-align: center;
}

.step-card {
  padding: 2rem;
}

/* Cards & Grid Items shared */
.card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem auto;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card-icon svg path {
  stroke: var(--accent-red);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
}

.product-card:hover {
  border-color: var(--accent-red);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.product-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  padding: 3rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

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

.pricing-card.popular {
  border-color: var(--accent-red);
  box-shadow: 0 0 20px var(--glow-red);
  transform: scale(1.05);
  z-index: 2;
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-red);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-muted);
  padding-bottom: 2rem;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-main);
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin-bottom: 3rem;
  flex-grow: 1;
}

.pricing-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent-red);
  font-weight: bold;
}

.pricing-card .btn {
  width: 100%;
  text-align: center;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-muted);
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-icon {
  color: var(--accent-red);
  transition: transform 0.3s ease;
  font-size: 1.5rem;
  line-height: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 2rem 1.5rem;
  max-height: 200px;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: rgba(24, 24, 24, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  padding: 2rem;
}

.stars {
  color: var(--accent-red);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-main);
}

.author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--border-muted);
  border: 2px solid var(--accent-red);
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.author-info p {
  font-size: 0.85rem;
  margin: 0;
}

/* Final CTA */
.final-cta {
  background-color: var(--bg-secondary);
  text-align: center;
  border-top: 1px solid var(--border-muted);
  border-bottom: 1px solid var(--border-muted);
}

.final-cta h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.final-cta p {
  margin-bottom: 2.5rem;
  font-size: 1.25rem;
}

/* Footer */
footer {
  background-color: var(--bg-primary);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--bg-card);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 300px;
}

.footer-links-group h4 {
  margin-bottom: 1rem;
  color: var(--text-main);
}

.footer-links-group ul {
  list-style: none;
}

.footer-links-group li {
  margin-bottom: 0.5rem;
}

.footer-links-group a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-group a:hover {
  color: var(--accent-red);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-muted);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* Animations */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes draw {
  0% { stroke-dashoffset: 1000; }
  100% { stroke-dashoffset: 0; }
}

@keyframes wiggle {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-2deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}

.step-card:hover .card-icon svg {
  animation: wiggle 0.5s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.8rem; }
  .hero .tagline { font-size: 3rem; }
  
  .pricing-card.popular {
    transform: scale(1);
  }
  
  .pricing-card.popular:hover {
    transform: translateY(-10px);
  }
  
  .footer-top {
    flex-direction: column;
  }
}

/* Legal Pages */
.legal-page {
  padding-top: 10rem;
  padding-bottom: 5rem;
}

.legal-content p, .legal-content ul, .legal-content h2, .legal-content h3 {
  margin-bottom: 1.5rem;
}

.legal-content ul {
  padding-left: 2rem;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-red);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 2rem;
  transition: transform 0.2s ease;
}

.back-link:hover {
  transform: translateX(-5px);
}
