/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --bg-deep: #070b12;
  --bg-panel: #0d1320;
  --bg-card: #121a2b;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8edf5;
  --muted: #94a3b8;
  --cyan: #22d3ee;
  --blue: #38bdf8;
  --blue-deep: #0284c7;
  --magenta: #e879f9;
  --gold: #fbbf24;
  --purple: #a78bfa;
  --accent: #8b5cf6;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg-deep);
}

body a {
  color: var(--blue);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(7, 11, 18, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-img {
  height: 42px;
  width: auto;
  max-width: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.nav-brand-tag {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-menu a:not(.btn) {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-menu a:not(.btn):hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-menu-cta {
  display: none;
}

.nav-cta.btn-nav {
  padding: 10px 20px;
  font-size: 0.875rem;
  white-space: nowrap;
}

.btn-nav {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.35);
}

.btn-nav:hover {
  filter: brightness(1.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  transition: 0.3s;
}

/* Hero */
.hero {
  padding: 110px 0 72px;
  background: radial-gradient(
      ellipse 80% 60% at 50% -20%,
      rgba(56, 189, 248, 0.18),
      transparent 55%
    ),
    radial-gradient(
      ellipse 60% 40% at 100% 50%,
      rgba(139, 92, 246, 0.12),
      transparent 50%
    ),
    linear-gradient(180deg, #0a0f18 0%, #070b12 100%);
  color: var(--text);
  overflow: hidden;
  position: relative;
  min-height: auto;
}

.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  background: linear-gradient(45deg, var(--cyan), var(--purple));
  border-radius: 50%;
  opacity: 0.35;
  animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
  width: 4px;
  height: 4px;
  top: 22%;
  left: 12%;
}
.particle:nth-child(2) {
  width: 6px;
  height: 6px;
  top: 58%;
  left: 22%;
  animation-delay: 1s;
}
.particle:nth-child(3) {
  width: 3px;
  height: 3px;
  top: 32%;
  right: 18%;
  animation-delay: 2s;
}
.particle:nth-child(4) {
  width: 5px;
  height: 5px;
  bottom: 28%;
  right: 24%;
  animation-delay: 3s;
}
.particle:nth-child(5) {
  width: 4px;
  height: 4px;
  top: 42%;
  left: 48%;
  animation-delay: 1.5s;
}
.particle:nth-child(6) {
  width: 7px;
  height: 7px;
  bottom: 18%;
  left: 68%;
  animation-delay: 2.5s;
}
.particle:nth-child(7) {
  width: 3px;
  height: 3px;
  top: 14%;
  right: 38%;
  animation-delay: 0.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(-14px);
    opacity: 0.55;
  }
}

.hero-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}

.hero-description {
  font-size: 1.0625rem;
  margin-bottom: 20px;
  color: var(--muted);
  max-width: 34rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.hero-tags span {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--blue);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.hero-platforms {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-platforms i {
  margin-right: 6px;
  color: var(--cyan);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  border: none;
  text-decoration: none;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 28px rgba(56, 189, 248, 0.35);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-hero-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
}

.pay-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--muted);
}

.pay-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.65;
}

.pay-icons i {
  font-size: 1.75rem;
}

.pay-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--muted);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.hero-visual-frame {
  width: 100%;
  max-width: min(520px, 100%);
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  background: var(--bg-deep);
}

.server-illustration {
  display: block;
  width: 100%;
}

.hero-illustration {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* Sections */
.section-dark {
  padding: 88px 0;
  background: var(--bg-panel);
}

.section-darker {
  padding: 88px 0;
  background: linear-gradient(180deg, var(--bg-deep) 0%, #0a101c 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header--left {
  text-align: left;
}

.section-header--left .section-description {
  margin-left: 0;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: #1e293b;
}

.section-title--light {
  color: var(--text);
}

.section-description {
  font-size: 1.0625rem;
  color: #64748b;
  max-width: 560px;
  margin: 0 auto;
}

.section-description--muted {
  color: var(--muted);
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  transition: transform 0.25s, border-color 0.25s;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.35);
}

.benefit-card--accent {
  background: linear-gradient(
    145deg,
    rgba(56, 189, 248, 0.12) 0%,
    var(--bg-card) 45%
  );
  border-color: rgba(56, 189, 248, 0.25);
}

.benefit-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.benefit-card-icon i {
  font-size: 1.25rem;
  color: #fff;
}

.benefit-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.benefit-card p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}

.metric-card--cyan .metric-value {
  color: var(--cyan);
}

.metric-card--gold .metric-value {
  color: var(--gold);
}

.metric-card--magenta .metric-value {
  color: var(--magenta);
}

.metric-label {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.35;
}

.metrics-footnote {
  margin-top: 16px;
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.75);
}

/* Pricing */
.pricing-section .section-header {
  margin-bottom: 40px;
}

.pricing-grid {
  display: grid;
  gap: 24px;
}

.pricing-grid--three {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.pricing-card {
  border-radius: 24px;
  padding: 32px 26px;
  text-align: center;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s;
}

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

.pricing-card--blue {
  background: linear-gradient(
    165deg,
    rgba(56, 189, 248, 0.18) 0%,
    var(--bg-card) 55%
  );
  border-color: rgba(56, 189, 248, 0.35);
}

.pricing-card--magenta {
  background: linear-gradient(
    165deg,
    rgba(232, 121, 249, 0.2) 0%,
    var(--bg-card) 55%
  );
  border-color: rgba(232, 121, 249, 0.4);
}

.pricing-card--yellow {
  background: linear-gradient(
    165deg,
    rgba(251, 191, 36, 0.14) 0%,
    var(--bg-card) 55%
  );
  border-color: rgba(251, 191, 36, 0.35);
}

.pricing-card--featured {
  box-shadow: 0 20px 50px rgba(232, 121, 249, 0.15);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--magenta), var(--purple));
  color: #fff;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.plan-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.plan-price {
  margin-bottom: 24px;
}

.price {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text);
}

.currency {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--muted);
}

.period {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 4px;
}

.plan-price--text {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-alt {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.plan-features {
  list-style: none;
  margin-bottom: 24px;
  text-align: left;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.plan-features i {
  color: var(--cyan);
  margin-top: 4px;
  flex-shrink: 0;
}

.btn-price {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.2s, transform 0.2s;
}

.btn-price:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-price--light {
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  border: none;
  color: #fff;
}

.btn-price--light:hover {
  filter: brightness(1.08);
}

.btn-price--dark {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(251, 191, 36, 0.45);
  color: var(--gold);
}

.plan-guarantee {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--muted);
}

/* FAQ */
.faq-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: rgba(167, 139, 250, 0.35);
}

.faq-question {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-question h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}

.faq-question i {
  color: var(--muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 480px;
}

.faq-answer p {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.faq-answer a {
  color: var(--blue);
}

/* Specs */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.spec-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px 22px;
}

.spec-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.spec-card h3 i {
  color: var(--cyan);
}

.spec-card ul {
  list-style: none;
}

.spec-card li {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
}

.spec-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: rgba(148, 163, 184, 0.5);
}

.trust-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 16px;
  background: linear-gradient(
    90deg,
    rgba(56, 189, 248, 0.1) 0%,
    rgba(15, 23, 42, 0.8) 100%
  );
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.trust-banner i {
  color: var(--gold);
  font-size: 1.35rem;
  margin-top: 2px;
}

.trust-banner p {
  font-size: 0.9375rem;
  color: var(--muted);
}

/* CTA Final */
.cta-final {
  padding: 72px 0;
  background: radial-gradient(
      ellipse 60% 80% at 50% 100%,
      rgba(139, 92, 246, 0.15),
      transparent 55%
    ),
    #070b12;
  border-top: 1px solid var(--border);
}

.cta-final-inner {
  text-align: center;
  max-width: 640px;
}

.cta-final-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.cta-final-text {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 1rem;
}

.cta-final-text a {
  color: var(--blue);
}

.cta-final-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Footer */
.footer {
  padding: 28px 0 36px;
  background: #050810;
  border-top: 1px solid var(--border);
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
}

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

/* Animations */
.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 992px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

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

  .pricing-grid--three {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .faq-columns {
    grid-template-columns: 1fr;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-image {
    order: 2;
  }

  .hero-tags,
  .hero-buttons,
  .pay-strip {
    justify-content: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .section-header--left {
    text-align: center;
  }

  .section-header--left .section-description {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: rgba(7, 11, 18, 0.97);
    flex-direction: column;
    padding: 28px 24px 48px;
    gap: 4px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    align-items: stretch;
    border-top: 1px solid var(--border);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu a:not(.btn) {
    padding: 14px 16px;
    font-size: 1rem;
  }

  .nav-cta {
    display: none;
  }

  .nav-menu-cta {
    display: block;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }

  .nav-menu-cta .btn-nav {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

@media (max-width: 480px) {
  .metrics-row {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }
}
