:root {
  /* Colors */
  --bg-dark: #09090b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent-primary: #7c3aed; /* Purple */
  --accent-secondary: #db2777; /* Pink */
  --accent-glow: rgba(124, 58, 237, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-logo: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;

  /* Spacing */
  --container-max: 1200px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Base Styles & Typography */
h1, h2, h3 {
  font-family: var(--font-logo);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Background Effects */
.background-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(circle at top center, #130a2a 0%, var(--bg-dark) 100%);
}

.grid-overlay {
  position: absolute;
  inset: -50%;
  background-image: 
    linear-gradient(rgba(124, 58, 237, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: rotate(-15deg);
  animation: gridPan 40s linear infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes gridPan {
  0% { transform: rotate(-15deg) translateY(0) translateX(0); }
  100% { transform: rotate(-15deg) translateY(-50px) translateX(-50px); }
}

#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.blob {
  position: absolute;
  filter: blur(100px);
  border-radius: 50%;
  opacity: 0.5;
  animation: float 20s ease-in-out infinite alternate;
  z-index: 1;
}

.shape-1 {
  background: var(--accent-primary);
  width: 40vw;
  height: 40vw;
  top: -10vw;
  left: -10vw;
}

.shape-2 {
  background: var(--accent-secondary);
  width: 30vw;
  height: 30vw;
  bottom: -5vw;
  right: -5vw;
  animation-duration: 25s;
  animation-direction: alternate-reverse;
}

.shape-3 {
  background: #3b82f6; /* Blueish */
  width: 35vw;
  height: 35vw;
  top: 40vh;
  left: 30vw;
  animation-duration: 30s;
  animation-direction: alternate;
}

.noise-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5%, 10%) scale(1.1); }
  100% { transform: translate(-5%, -5%) scale(0.9); }
}

/* Glass Panel Utility */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.logo-text {
  font-family: var(--font-logo);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo .accent, .footer-brand .accent {
  color: var(--accent-primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transition: width 0.3s ease;
}

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

.cta-nav {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  padding: 0.6rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 4px 15px var(--accent-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(219, 39, 119, 0.5);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  max-width: var(--container-max);
  margin: 4rem auto 8rem;
  padding: 0 5%;
  min-height: 70vh;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.badge {
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #a78bfa;
}

.hero h1 {
  font-size: 4.5rem;
}

.gradient-text {
  background: linear-gradient(to right, #a855f7, #ec4899, #f43f5e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.btn {
  padding: 0.8rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(219, 39, 119, 0.5);
}

.btn-secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Mockup Graphic */
.main-mockup {
  padding: 1rem;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.main-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 1rem;
}

.dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.fake-server {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0,0,0,0.2);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.server-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.server-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.level-indicator {
  font-size: 0.85rem;
  color: #a78bfa;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0.5rem;
}

.perks-list li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Sections Global */
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h2 {
  font-size: 3rem;
  color: var(--accent-primary);
}

.section-heading .white-text {
  color: var(--text-main);
}

.section-heading p {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

/* Features Section */
.features-section {
  max-width: var(--container-max);
  margin: 0 auto 8rem;
  padding: 0 5%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2.5rem 2rem;
  text-align: flex-start;
  transition: transform 0.3s ease, background 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.06);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  background: rgba(255,255,255,0.05);
  padding: 1rem;
  border-radius: 16px;
}

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

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

/* Pricing Section */
.pricing-section {
  max-width: var(--container-max);
  margin: 0 auto 8rem;
  padding: 0 5%;
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.price-container {
  flex: 1;
  min-width: 320px;
  max-width: 450px;
  perspective: 1000px; /* For 3D tilt */
}

.pricing-card {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

/* Add a subtle glow inside the cards */
.pricing-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: var(--accent-primary);
  filter: blur(80px);
  opacity: 0.3;
  border-radius: 50%;
  pointer-events: none;
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #db2777, #7c3aed);
  color: white;
  text-align: center;
  padding: 0.4rem;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.popular-card {
  border-color: rgba(219, 39, 119, 0.3);
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.2);
}

.card-header {
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.package-name {
  font-size: 1.4rem;
  color: var(--text-muted);
}

.duration {
  font-size: 2.5rem;
  font-family: var(--font-logo);
  font-weight: 700;
  background: linear-gradient(to right, #f8fafc, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-amount {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1;
  display: flex;
  align-items: flex-start;
}

.currency {
  font-size: 2rem;
  margin-top: 0.5rem;
  color: var(--text-muted);
}

.cents {
  font-size: 2rem;
  margin-top: 0.5rem;
}

.package-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

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

.feature-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.purchase-btn {
  width: 100%;
  display: block;
}

.btn-outline {
  border: 2px solid var(--accent-primary);
  background: transparent;
  color: var(--text-main);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(124, 58, 237, 0.1);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
  transform: translateY(-3px);
}

/* Footer */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 5% 2rem;
  margin-top: 4rem;
  background: rgba(0,0,0,0.3);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: white;
}

.copyright {
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.9rem;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Other Services CTA */
.other-services {
  max-width: var(--container-max);
  margin: 4rem auto 0;
  text-align: center;
  padding: 3rem 5%;
  background: var(--glass-bg);
  border: 1px solid var(--accent-primary);
  border-radius: 24px;
  box-shadow: 0 0 30px var(--accent-glow);
}

.other-services h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.other-services p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.other-services .btn {
  display: inline-block;
}

/* Testimonials Section */
.testimonials-section {
  max-width: var(--container-max);
  margin: 8rem auto;
  padding: 0 5%;
}

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

.testimonial-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stars {
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 1.1rem;
  flex-grow: 1;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.6;
}

.testimonial-card .user {
  font-weight: bold;
  color: var(--accent-primary);
  text-align: right;
}

/* Animations & Transitions */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Reveal Classes (Handled by JS) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stats Section */
.stats-section {
  display: flex;
  justify-content: center;
  gap: 4rem;
  max-width: var(--container-max);
  margin: 0 auto 6rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 3.5rem;
  font-family: var(--font-logo);
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 1.2rem;
  font-weight: 600;
}

/* How It Works Section */
.how-it-works-section {
  max-width: var(--container-max);
  margin: 0 auto 8rem;
  padding: 0 5%;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--glass-border);
  z-index: 0;
}

@media (max-width: 768px) {
  .steps-container {
    flex-direction: column;
  }
  .steps-container::before {
    display: none;
  }
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--bg-dark);
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 20px var(--accent-glow);
}

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

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

/* FAQ Section */
.faq-section {
  max-width: 800px;
  margin: 0 auto 8rem;
  padding: 0 5%;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px var(--accent-glow);
}

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

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  padding: 0 1.5rem;
  color: var(--text-muted);
  transition: all 0.3s cubic-bezier(0, 1, 0, 1);
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
  opacity: 1;
  transition: all 0.3s cubic-bezier(1, 0, 1, 0);
}

/* Proof Gallery */
.proof-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.proof-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  transition: transform 0.3s ease;
}

.proof-img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

/* Sales Toast */
.sales-toast {
  position: fixed;
  bottom: 2rem;
  left: -500px;
  background: var(--bg-dark);
  border: 1px solid var(--accent-primary);
  box-shadow: 0 5px 20px rgba(124, 58, 237, 0.3);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1000;
  transition: left 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sales-toast.show {
  left: 2rem;
}

.toast-icon {
  font-size: 2rem;
}

.toast-text {
  font-size: 0.95rem;
  line-height: 1.3;
}

/* Responsive */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-content {
    align-items: center;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* simple mobile fix */
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
