/* ============================================
   KRAIT — Landing Page Styles
   Neon Cyber Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0f;
  --card: #12121a;
  --cyan: #00d4ff;
  --purple: #8b5cf6;
  --white: #ffffff;
  --sub: #a0a0b0;
  --card-border: rgba(0, 212, 255, 0.08);
  --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.3);
  --glow-purple: 0 0 20px rgba(139, 92, 246, 0.3);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

img { max-width: 100%; display: block; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 2rem;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sub);
  transition: color 0.2s;
}

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

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

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sub);
  transition: border-color 0.2s, color 0.2s;
  background: transparent;
}

.btn-discord:hover {
  border-color: #5865F2;
  color: var(--white);
}

.btn-discord svg {
  width: 18px;
  height: 18px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.5rem;
  background: var(--cyan);
  color: #000;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.2s;
}

.btn-cta:hover {
  box-shadow: var(--glow-cyan);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0a2e 0%, #0a0a0f 40%, #1a0a2e 70%, #0a0a0f 100%);
  background-size: 300% 300%;
  animation: heroGradient 12s ease infinite;
  z-index: 0;
}

@keyframes heroGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-title {
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  letter-spacing: 0.2em;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--white) 0%, var(--cyan) 50%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.2));
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--sub);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--cyan);
  color: #000;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.2s;
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4), 0 0 60px rgba(0, 212, 255, 0.15);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}

.btn-ghost:hover {
  border-color: var(--cyan);
  background: rgba(0, 212, 255, 0.05);
}

/* --- Sections common --- */
.section {
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--sub);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.15);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 212, 255, 0.05);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.08);
  margin-bottom: 1.25rem;
  color: var(--cyan);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card:nth-child(even) .feature-icon {
  background: rgba(139, 92, 246, 0.08);
  color: var(--purple);
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--sub);
  line-height: 1.6;
}

.feature-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple);
  margin-bottom: 0.75rem;
}

/* --- Showcase --- */
.showcase-slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--card-border);
}

.showcase-track {
  display: flex;
  transition: transform 0.5s ease;
}

.showcase-slide {
  min-width: 100%;
  position: relative;
}

.showcase-placeholder {
  aspect-ratio: 16 / 9;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: var(--sub);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.showcase-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
}

.showcase-caption {
  text-align: center;
  padding: 1.25rem;
  background: rgba(18, 18, 26, 0.8);
  font-size: 0.875rem;
  color: var(--sub);
  border-top: 1px solid var(--card-border);
}

.showcase-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.showcase-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
  border: none;
}

.showcase-dot.active {
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.pricing-card.featured {
  border: 1px solid transparent;
  background-image: linear-gradient(var(--card), var(--card)),
                    linear-gradient(135deg, var(--cyan), var(--purple));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.1), 0 0 80px rgba(139, 92, 246, 0.05);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sub);
  margin-bottom: 1rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}

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

.pricing-lifetime {
  font-size: 0.85rem;
  color: var(--sub);
  margin-bottom: 1.5rem;
}

.pricing-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  margin: 1.5rem 0;
}

.pricing-features {
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--sub);
  padding: 0.4rem 0;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--cyan);
}

.pricing-features li.highlight {
  color: var(--white);
  font-weight: 500;
}

.pricing-btn {
  display: block;
  width: 100%;
  padding: 0.85rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.2s;
}

.pricing-btn.primary {
  background: var(--cyan);
  color: #000;
}

.pricing-btn.primary:hover {
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}

.pricing-btn.purple {
  background: linear-gradient(135deg, var(--purple), #6d3bea);
  color: var(--white);
}

.pricing-btn.purple:hover {
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
}

.pricing-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: var(--sub);
}

/* --- Trust --- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.trust-item {
  text-align: center;
  padding: 2rem 1rem;
}

.trust-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(0, 212, 255, 0.06);
  color: var(--cyan);
}

.trust-icon svg {
  width: 28px;
  height: 28px;
}

.trust-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.trust-desc {
  font-size: 0.85rem;
  color: var(--sub);
}

.trust-counter {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
}

.trust-counter-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.trust-counter-label {
  font-size: 1.1rem;
  color: var(--sub);
  font-weight: 500;
}

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

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.faq-question:hover {
  color: var(--cyan);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--sub);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--cyan);
}

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

.faq-answer-inner {
  padding-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--sub);
  line-height: 1.7;
}

/* --- Final CTA --- */
.cta-section {
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 60%);
}

.cta-section .section-inner {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 2rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--cyan), #00a8cc);
  color: #000;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.2s;
}

.cta-btn:hover {
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.4), 0 0 80px rgba(0, 212, 255, 0.15);
  transform: translateY(-2px);
}

.cta-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--sub);
}

/* --- Footer --- */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--sub);
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.25rem;
  }

  .nav-hamburger {
    display: flex;
    z-index: 1001;
  }

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

  .nav-hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav-right .btn-discord,
  .nav-right .btn-cta {
    display: none;
  }

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

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

  .pricing-card:last-child {
    max-width: none;
  }

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

  .section {
    padding: 4rem 1.25rem;
  }

  .hero {
    padding: 7rem 1.25rem 3rem;
  }

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

@media (max-width: 480px) {
  .hero-title {
    letter-spacing: 0.1em;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* --- Selection --- */
::selection {
  background: rgba(0, 212, 255, 0.3);
  color: var(--white);
}
