/* ============================================================================
   HackingTool PRO — Modern Cybersecurity Storefront Design Tokens & Styles
   ============================================================================ */

:root {
  --bg-deep: #07090E;
  --bg-card: rgba(18, 23, 34, 0.75);
  --bg-card-hover: rgba(28, 36, 54, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(124, 58, 237, 0.4);
  --border-green-glow: rgba(16, 185, 129, 0.4);

  --accent-purple: #7C3AED;
  --accent-purple-light: #9061F9;
  --accent-cyan: #06B6D4;
  --accent-green: #10B981;
  --accent-yellow: #F59E0B;
  --accent-red: #EF4444;

  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --text-dim: #6B7280;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Fira Code', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-glow: 0 0 35px rgba(124, 58, 237, 0.25);
  --shadow-green: 0 0 30px rgba(16, 185, 129, 0.2);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.font-mono {
  font-family: var(--font-mono);
}

.font-bold {
  font-weight: 700;
}

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

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

.hidden {
  display: none !important;
}

/* ============================================================================
   Navigation Bar
   ============================================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  height: 72px;
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-shield {
  font-size: 28px;
  filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.6));
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-pro {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-edition {
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  color: #fff;
}

.nav-link-unlock {
  color: var(--accent-cyan) !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  transition: var(--transition);
}

.nav-link-unlock:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--accent-cyan);
  color: #fff !important;
  transform: translateY(-1px);
}

/* ============================================================================
   Smart Checkout Return Banner
   ============================================================================ */

.checkout-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  background: linear-gradient(90deg, #5B21B6 0%, #3B82F6 50%, #059669 100%);
  color: #fff;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  animation: slideDownBanner 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownBanner {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 1200px;
  font-size: 13.5px;
  font-weight: 500;
}

.banner-icon {
  font-size: 16px;
}

.banner-cta {
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  text-decoration: underline;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.banner-cta:hover {
  background: #FFFFFF;
  color: #07090E;
  text-decoration: none;
  border-color: #FFFFFF;
}

.banner-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  margin-left: 8px;
  border-radius: 4px;
  transition: all 0.2s;
}

.banner-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

body.has-banner {
  padding-top: 44px;
}

body.has-banner .navbar {
  top: 44px;
}

.footer-retrieve {
  margin: 10px 0 12px;
}

.footer-retrieve-link {
  font-size: 12.5px;
  color: var(--accent-cyan);
  text-decoration: none;
  transition: var(--transition);
}

.footer-retrieve-link:hover {
  color: #fff;
  text-decoration: underline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--transition);
}

.btn-large {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple), #6366F1);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(124, 58, 237, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  border-color: var(--accent-purple-light);
  background: rgba(124, 58, 237, 0.1);
}

.btn-crypto {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-crypto:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--accent-green);
  transform: translateY(-2px);
}

.btn-nav {
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent-purple-light);
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.btn-nav:hover {
  background: var(--accent-purple);
  color: #fff;
}

/* ============================================================================
   Hero Section
   ============================================================================ */

.hero-section {
  position: relative;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 112px 0 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, rgba(6, 182, 212, 0.08) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}

.hero-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--accent-purple-light);
  font-weight: 500;
  margin-bottom: 28px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.hero-title {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #A78BFA 0%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

/* ============================================================================
   Terminal Showcase
   ============================================================================ */

.hero-terminal-wrapper {
  background: #0D1117;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow), 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  text-align: left;
}

.terminal-bar {
  background: #161B22;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

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

.dot.red {
  background: #FF5F56;
}

.dot.yellow {
  background: #FFBD2E;
}

.dot.green {
  background: #27C93F;
}

.terminal-title {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.terminal-status {
  font-size: 10px;
  color: var(--accent-green);
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.terminal-screen {
  padding: 24px;
  font-size: 13px;
  line-height: 1.8;
  color: #C9D1D9;
}

.prompt-user {
  color: var(--accent-green);
  font-weight: 600;
}

.prompt-dir {
  color: #58A6FF;
}

.cmd {
  color: #FFA657;
  font-weight: 500;
}

.term-info {
  color: #8B949E;
}

.term-highlight {
  color: #79C0FF;
}

.term-success {
  color: #7EE787;
  font-weight: 500;
}

/* ============================================================================
   Features Grid
   ============================================================================ */

.section {
  min-height: calc(100vh - 72px);
  scroll-margin-top: 72px;
  box-sizing: border-box;
  padding: 30px 0 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.section-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-purple-light);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.25;
}

.section-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: var(--transition);
  position: relative;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.feature-card .card-icon {
  font-size: 26px;
  margin-bottom: 10px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

#features {
  padding: 24px 0 36px;
}

#features .section-header {
  margin-bottom: 20px;
}

#features .section-tag {
  margin-bottom: 10px;
}

#features .section-title {
  margin-bottom: 10px;
}

#features .section-desc {
  margin-bottom: 0;
}

#features .grid-3 {
  max-width: 1060px;
  gap: 15px;
}

#features .feature-card {
  padding: 16px 20px;
}

#features .feature-card .card-icon {
  font-size: 24px;
  margin-bottom: 6px;
}

#features .feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 5px;
}

#features .feature-card p {
  font-size: 12px;
  line-height: 1.45;
}

/* ============================================================================
   Pricing Section & Switcher
   ============================================================================ */

.pricing-section {
  min-height: calc(100vh - 72px);
  scroll-margin-top: 72px;
  padding: 24px 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.05) 50%, transparent);
  position: relative;
  box-sizing: border-box;
}

.pricing-glow {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.16) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
}

.pricing-section .container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}

.pricing-section .section-header {
  margin-bottom: 18px;
}

.pricing-section .section-tag {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  display: inline-block;
}

.pricing-section .section-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
}

.pricing-section .section-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.5;
}

.pricing-toggle-wrapper {
  display: flex;
  justify-content: center;
  margin: 16px 0 36px;
}

.pricing-toggle {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px;
  display: inline-flex;
  gap: 6px;
}

.toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-btn.active {
  color: #fff;
}

#btn-toggle-monthly.toggle-btn.active {
  background: linear-gradient(135deg, #0EA5E9, #2563EB);
  box-shadow: 0 2px 14px rgba(14, 165, 233, 0.5);
}

#btn-toggle-annual.toggle-btn.active {
  background: linear-gradient(135deg, var(--accent-purple), #6366F1);
  box-shadow: 0 2px 14px rgba(124, 58, 237, 0.5);
}

.discount-chip {
  background: var(--accent-green);
  color: #07090E;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(340px, 420px));
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
  align-items: stretch;
  justify-content: center;
}

.price-card {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  position: relative;
  opacity: 0.75;
  transform: scale(0.98);
}

.price-card:hover {
  opacity: 0.94;
  border-color: rgba(255, 255, 255, 0.25);
}

.price-card.featured {
  opacity: 1;
  transform: translateY(-4px) scale(1.02);
  z-index: 2;
}

#card-monthly.featured {
  border: 2px solid #38BDF8;
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.45);
  background: linear-gradient(180deg, rgba(14, 30, 52, 0.96) 0%, rgba(18, 23, 34, 0.96) 100%);
}

#card-annual.featured {
  border: 2px solid var(--accent-purple);
  box-shadow: 0 0 35px rgba(124, 58, 237, 0.45);
  background: linear-gradient(180deg, rgba(30, 24, 54, 0.96) 0%, rgba(18, 23, 34, 0.96) 100%);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.popular-ribbon.annual-ribbon {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
}

.popular-ribbon.monthly-ribbon {
  background: linear-gradient(135deg, #0EA5E9, #6366F1);
}

.popular-ribbon.hidden {
  display: none !important;
}

.plan-name {
  font-size: 21px;
  font-weight: 800;
  color: #fff;
}

.plan-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px;
}

.price-figure {
  margin: 12px 0 4px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-figure .currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-purple-light);
}

.price-figure .amount {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.price-figure .period {
  font-size: 14px;
  color: var(--text-muted);
}

.price-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.annual-calc-breakdown {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.strike-price {
  font-size: 12.5px;
  color: var(--text-dim);
  text-decoration: line-through;
}

.savings-tag {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-sm);
}

.monthly-equiv-text {
  font-size: 12px;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}

.plan-features {
  list-style: none;
  margin-bottom: 18px;
  flex-grow: 1;
}

.plan-features li {
  font-size: 13px;
  color: var(--text-main);
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features .check {
  color: var(--accent-green);
  font-weight: bold;
}

.price-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.price-actions .btn {
  width: 100%;
  padding: 11px 16px;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cyan {
  background: linear-gradient(135deg, #0EA5E9 0%, #2563EB 100%);
  color: #fff;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(14, 165, 233, 0.6);
}

.btn-crypto {
  background: rgba(16, 185, 129, 0.08);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-crypto:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(52, 211, 153, 0.32));
  color: #fff;
  border-color: #34D399;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.45);
  transform: translateY(-2px);
}

.btn-crypto:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

/* ============================================================================
   Checkout Modal
   ============================================================================ */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.hidden {
  display: none;
}

.modal-panel {
  background: #11151F;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  overflow: hidden;
  animation: modalEnter 0.25s ease-out;
}

@keyframes modalEnter {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-icon {
  font-size: 24px;
}

.modal-title-group h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.modal-title-group p {
  font-size: 12px;
  color: var(--text-muted);
}

.btn-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.btn-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.modal-body {
  padding: 24px;
}

.order-summary-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
}

.summary-row .label {
  color: var(--text-muted);
}

.summary-row .val {
  color: #fff;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.input-text {
  width: 100%;
  background: #0A0D14;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #fff;
  font-size: 14px;
  font-family: var(--font-sans);
  transition: var(--transition);
}

.input-text:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25);
}

.form-help {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 6px;
}

/* ============================================================================
   Hardware Support Section
   ============================================================================ */

.hardware-section {
  min-height: calc(100vh - 72px);
  scroll-margin-top: 72px;
  box-sizing: border-box;
  padding: 24px 0 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}

#hardware .section-header {
  margin-bottom: 20px;
}

#hardware .section-tag {
  margin-bottom: 10px;
}

#hardware .section-title {
  margin-bottom: 10px;
}

#hardware .section-desc {
  margin-bottom: 0;
}

.hardware-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 15px;
  max-width: 1060px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hardware-grid {
    grid-template-columns: 1fr;
  }
}

.hardware-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
}

.hardware-card .card-icon {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

.hardware-info h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.hardware-chipsets {
  font-size: 11px;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  margin-bottom: 6px;
  font-weight: 500;
}

.hardware-info p:not(.hardware-chipsets) {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ============================================================================
   FAQ Section
   ============================================================================ */

.faq-section {
  min-height: calc(100vh - 72px);
  scroll-margin-top: 72px;
  box-sizing: border-box;
  padding: 24px 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}

#faq .section-header {
  margin-bottom: 20px;
}

#faq .section-tag {
  margin-bottom: 10px;
}

#faq .section-title {
  margin-bottom: 10px;
}

#faq .section-desc {
  margin-bottom: 0;
}

.faq-container {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

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

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 13px 20px;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--bg-card-hover);
}

.faq-item[open] {
  border-color: rgba(124, 58, 237, 0.45);
  background: rgba(124, 58, 237, 0.05);
}

.faq-question {
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 18px;
  color: var(--accent-purple-light);
  transition: var(--transition);
}

.faq-item[open] .faq-question::after {
  content: '−';
  color: var(--accent-cyan);
}

.faq-answer {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

.faq-answer code {
  background: #0A0D14;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

/* ============================================================================
   Footer
   ============================================================================ */

.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0 16px;
  margin-top: 24px;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-left p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 6px 0;
}

.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 10px;
  font-size: 13px;
}

.contact-label {
  color: var(--text-muted);
}

.footer-email {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-mono);
  transition: var(--transition);
}

.footer-email:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
  text-decoration: underline;
}

.disclaimer {
  font-size: 11px;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }

  .nav-links {
    display: none;
  }

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

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-large {
    width: 100%;
  }
}

/* ============================================================================
   Retrieve & Unlock License Modal Overlay & Celebration View
   ============================================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(4, 7, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.25s ease;
}

.modal-overlay.hidden {
  display: none !important;
}

.modal-card {
  background: #0F1422;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 38px 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 50px rgba(124, 58, 237, 0.15);
  position: relative;
  text-align: center;
  animation: modalPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
  0% {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 520px) {
  .modal-card {
    padding: 28px 18px;
  }
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  font-size: 18px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.08);
}

.modal-header,
.modal-card .modal-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  border-bottom: none !important;
  padding: 0 0 16px 0 !important;
  margin-bottom: 0 !important;
}

.modal-icon,
.modal-card .modal-icon {
  font-size: 48px !important;
  line-height: 1 !important;
  margin-bottom: 12px !important;
  display: inline-block !important;
}

.modal-title,
.modal-card .modal-title {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 8px 0 !important;
  text-align: center !important;
  line-height: 1.3 !important;
}

.modal-subtitle,
.modal-card .modal-subtitle {
  font-size: 14px !important;
  color: #94A3B8 !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  text-align: center !important;
  max-width: 480px !important;
  margin: 0 auto 16px auto !important;
}

.profile-form-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
  margin-bottom: 14px !important;
  text-align: left !important;
}

@media (max-width: 580px) {
  .profile-form-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

.form-input,
.modal-card input[type="email"] {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: #07090E !important;
  border: 1px solid rgba(139, 92, 246, 0.45) !important;
  border-radius: 10px !important;
  padding: 14px 18px !important;
  color: #FFFFFF !important;
  font-size: 15px !important;
  font-family: inherit !important;
  outline: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  margin-top: 6px !important;
}

.form-input:focus,
.modal-card input[type="email"]:focus {
  border-color: #A78BFA !important;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.25) !important;
}

.form-label {
  display: block !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #E2E8F0 !important;
  margin-bottom: 6px !important;
  text-align: left !important;
}

.input-helper {
  display: block !important;
  font-size: 12px !important;
  color: #94A3B8 !important;
  margin-top: 8px !important;
  text-align: left !important;
  line-height: 1.45 !important;
}

.modal-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  text-align: left;
  margin-bottom: 20px;
  line-height: 1.5;
}

.modal-alert.alert-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #FCA5A5;
}

.modal-alert.alert-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6EE7B7;
}

.anti-hack-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 14px;
  background: rgba(7, 9, 14, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #94A3B8;
  text-align: left;
  line-height: 1.45;
}

.anti-hack-notice .shield-icon {
  font-size: 16px;
  flex-shrink: 0;
}

/* Celebration Screen inside Modal & Standalone Page */
.celebration-bounce {
  animation: celebrationPulse 2s ease-in-out infinite;
}

@keyframes celebrationPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15) rotate(5deg); }
}

.key-container {
  background: #07090E;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.key-code {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: #C084FC;
  letter-spacing: 0.06em;
  word-break: break-all;
  text-align: left;
}

@media (max-width: 480px) {
  .key-container {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .key-code {
    text-align: center;
    font-size: 17px;
  }
}

.btn-copy {
  background: #7C3AED;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
}

.btn-copy:hover {
  background: #6D28D9;
  transform: translateY(-1px);
}

.warning-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
  text-align: left;
  font-size: 13px;
  line-height: 1.55;
  color: #F59E0B;
}

.warning-box strong {
  color: #FCD34D;
}

.guide-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 22px;
  text-align: left;
}

.guide-title {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.guide-step {
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 8px;
}

.guide-step:last-child {
  margin-bottom: 0;
}

.guide-step strong {
  color: #F1F5F9;
  font-weight: 600;
}

.btn-download {
  background: #10B981;
  color: #042F2C;
  font-weight: 800;
  font-size: 15px;
  padding: 15px 24px;
  border-radius: 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
  width: 100%;
}

.btn-download:hover {
  background: #059669;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.55);
}

/* ============================================================================
   Package Card Retrieve Button & Hover Tooltip
   ============================================================================ */

.retrieve-pkg-wrapper {
  position: relative;
  width: 100%;
  margin-top: 12px;
}

.btn-pkg-retrieve {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  font-family: inherit;
  box-sizing: border-box;
}

/* Locked (Default) State — Muted with Lock Icon */
.btn-pkg-retrieve.locked {
  background: rgba(15, 20, 34, 0.7);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: #94A3B8;
}

.btn-pkg-retrieve.locked:hover {
  background: rgba(15, 20, 34, 0.95);
  border-color: rgba(139, 92, 246, 0.55);
  color: #E2E8F0;
  transform: translateY(-1px);
}

/* Unlocked (Payment Confirmed / Active) State — Radiant Glowing */
.btn-pkg-retrieve.unlocked {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(56, 189, 248, 0.25) 100%);
  border: 1px solid rgba(139, 92, 246, 0.75);
  color: #FFFFFF;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.3);
  animation: subtlePulse 2.5s ease-in-out infinite;
}

@keyframes subtlePulse {
  0%, 100% { box-shadow: 0 0 14px rgba(124, 58, 237, 0.25); }
  50% { box-shadow: 0 0 22px rgba(124, 58, 237, 0.55); }
}

.btn-pkg-retrieve.unlocked:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.45) 0%, rgba(56, 189, 248, 0.4) 100%);
  border-color: #A78BFA;
  transform: translateY(-2px);
}

/* Hover Tooltip Popup */
.retrieve-pkg-wrapper::before,
.retrieve-pkg-wrapper::after {
  position: absolute;
  left: 50%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  z-index: 200;
}

/* Tooltip Arrow */
.retrieve-pkg-wrapper::before {
  content: "";
  bottom: 100%;
  transform: translateX(-50%) translateY(4px);
  border: 6px solid transparent;
  border-top-color: #1E293B;
  margin-bottom: 2px;
}

/* Tooltip Bubble */
.retrieve-pkg-wrapper::after {
  content: attr(data-tooltip);
  bottom: 100%;
  transform: translateX(-50%) translateY(4px);
  margin-bottom: 12px;
  width: 260px;
  max-width: 90vw;
  padding: 10px 14px;
  background: #0F172A;
  border: 1px solid rgba(139, 92, 246, 0.45);
  border-radius: 8px;
  color: #E2E8F0;
  font-size: 11.5px;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.8), 0 0 15px rgba(124, 58, 237, 0.18);
  white-space: normal;
}

.retrieve-pkg-wrapper:hover::before,
.retrieve-pkg-wrapper:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}