:root {
  --bg: #0d0d1a;
  --bg-2: #0a0a14;
  --bg-section-alt: #12121f;
  --accent: #7c5dfa;
  --accent-hover: #694ed6;
  --muted: #9aa0ad;
  --text: #ffffff;
  --card: #181825;
  --radius: 14px;
  --container: 1200px;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
body.loaded {
  opacity: 1;
}
[v-cloak] {
  display: none;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-2);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
body.loaded #preloader {
  opacity: 0;
  visibility: hidden;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: all 0.3s ease;
}
header.scrolled {
  backdrop-filter: blur(8px);
  background: rgba(8, 8, 12, 0.8);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.5px;
}
.logo-accent {
  color: var(--accent);
  margin-left: 4px;
}
.nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.nav a:hover,
.nav a.active {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
}

.hero {
  padding-top: 120px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 100vh;
}
#particles-js {
  background-color: transparent;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}
.hero-left {
  flex: 1;
  max-width: 640px;
}
.hero-right {
  flex: 0 0 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo {
  max-width: 450px;
  width: 100%;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 16px;
  line-height: 1.1;
  font-weight: 800;
}
.subtitle {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
  font-size: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.6px;
  transition: all 0.25s ease-out;
  cursor: pointer;
}
.btn i {
  font-size: 0.9em;
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 8px 25px rgba(124, 93, 250, 0.2);
}
.btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.btn.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 10px 30px rgba(105, 78, 214, 0.3);
}

.section {
  padding: 80px 0;
}
.section.testimonials,
.section.faq,
.section.stats,
.section.pricing {
  background: var(--bg-section-alt);
}
.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 8px;
  font-weight: 700;
}
.underline {
  width: 80px;
  height: 5px;
  background: var(--accent);
  margin: 8px auto 32px;
  border-radius: 6px;
  box-shadow: 0 0 15px var(--accent);
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  background: var(--card);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  border-color: rgba(124, 93, 250, 0.3);
}
.icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: white;
  box-shadow: 0 0 20px rgba(124, 93, 250, 0.3);
}
.card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.stat {
  background: var(--card);
  padding: 26px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.25s ease-out;
}
.stat:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.stat-icon {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 14px;
}
.stat-value {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
}
.stat-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 8px;
  font-size: 13px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
  margin-top: 28px;
  align-items: start;
}

.plan {
  background: var(--card);
  padding: 32px;
  border-radius: var(--radius);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border-color: var(--accent);
  box-shadow: 0 10px 50px rgba(124, 93, 250, 0.15);
}
.plan .badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  color: white;
  font-size: 14px;
}
.plan h3 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 15px;
}
.features.detailed-features {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  text-align: left;
}
.detailed-features > li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 15px;
}
.feature-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.extra-features {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  list-style: none;
  padding: 0;
  margin: 0;
}
.extra-features.show {
  max-height: 500px;
}
.extra-features li {
  list-style: none;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 15px;
}
.toggle-features-btn {
  background: transparent;
  border: none;
  color: var(--accent);
  cursor: pointer;
  padding: 10px 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px auto 0;
}
.toggle-features-btn i {
  transition: transform 0.3s ease;
}
.plan.expanded .toggle-features-btn i {
  transform: rotate(180deg);
}
.price-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
  font-size: 16px;
  text-align: center;
  margin-top: auto;
  padding-top: 10px;
}
.tag {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 12px;
  border-radius: 8px;
}
.plan .btn {
  margin-top: 10px;
}

.testimonial-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 28px;
}
.testimonial-track {
  display: flex;
}
.testimonial {
  flex-shrink: 0;
  width: calc(33.333% - 20px);
  margin: 0 10px;
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.avatar-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 2px solid var(--accent);
}
.meta {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}
.meta strong {
  font-size: 18px;
  font-weight: 600;
}
.meta .role {
  font-size: 14px;
  color: var(--muted);
}
.stars {
  color: #ffd700;
  margin-top: auto;
  padding-top: 10px;
  font-size: 16px;
}
.text {
  color: rgba(255, 255, 255, 0.8);
  font-style: normal;
  margin-bottom: 15px;
  flex-grow: 1;
}
.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}
.testimonial-nav button {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
  font-size: 16px;
}
.testimonial-nav button:hover {
  background-color: var(--accent);
  transform: scale(1.1);
}
.testimonial-nav button:nth-child(2) {
  background: var(--accent);
}
.testimonial-nav button:nth-child(2):hover {
  background: var(--accent-hover);
}


.faq-list {
  max-width: 900px;
  margin: 28px auto;
}
.faq-item {
  background: var(--card);
  margin-bottom: 12px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border: none;
  width: 100%;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  text-align: left;
}
.q i {
  transition: transform 0.3s ease;
  font-size: 14px;
  color: var(--accent);
}
.faq-item.open .q i {
  transform: rotate(180deg);
}
.a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease-out;
}
.a-content {
  overflow: hidden;
}
.a-content p {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.faq-item.open .a {
  grid-template-rows: 1fr;
}

.footer-cta {
  background: linear-gradient(45deg, var(--accent), var(--accent-hover));
  padding: 60px 0;
  text-align: center;
  margin-top: 60px;
}
.footer-cta h2 {
  font-size: 32px;
  margin-bottom: 10px;
}
.footer-cta p {
  color: rgba(255, 255, 255, 0.9);
}
.footer-cta .btn {
  background: var(--text);
  color: var(--accent);
  border-color: var(--text);
  margin-top: 20px;
}
.footer-cta .btn:hover {
  background: var(--bg);
  color: var(--text);
  border-color: var(--text);
}
.footer {
  background: var(--bg-2);
  padding: 60px 0 20px;
  border-top: 4px solid var(--accent-hover);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}
.footer .col h4 {
  font-size: 18px;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}
.footer .col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 3px;
  background-color: var(--accent);
}
.footer ul {
  list-style: none;
  padding-left: 0;
}
.footer li {
  margin-bottom: 10px;
}
.footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer a:hover {
  color: var(--accent);
}
.socials a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background-color 0.2s, transform 0.2s;
}
.socials a:hover {
  background-color: var(--accent);
  transform: scale(1.1);
}
.copyright {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 1024px) {
  .hamburger {
    display: block;
    position: relative;
    z-index: 1001;
  }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 20, 0.98);
    backdrop-filter: blur(10px);
    padding: 80px 20px 20px;
    border-radius: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    transform: translateX(100%);
    transition: transform 0.35s ease-in-out;
  }
  .nav.open {
    transform: translateX(0);
  }
  .nav a {
    font-size: 18px;
    width: 100%;
  }
  .hero {
    min-height: auto;
    padding-top: 140px;
    padding-bottom: 80px;
  }
  .hero-inner {
    flex-direction: column-reverse;
    gap: 40px;
    text-align: center;
  }
  .testimonial {
    width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .plan.featured {
    transform: scale(1);
  }
  .hero-logo {
    max-width: 280px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .testimonial {
    width: calc(100% - 20px);
  }
  .footer-cta h2 {
    font-size: 24px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
