/* ============================================
   ChainGuard & GasX - Cyberpunk Landing Page
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #00ff88;
  --primary-dim: rgba(0, 255, 136, 0.15);
  --primary-glow: rgba(0, 255, 136, 0.4);
  --danger: #ff2244;
  --danger-dim: rgba(255, 34, 68, 0.15);
  --info: #00aaff;
  --info-dim: rgba(0, 170, 255, 0.15);
  --bg: #06060e;
  --bg-card: #0d0d1a;
  --bg-card-hover: #12122a;
  --text: #e0e0e8;
  --text-dim: #8888aa;
  --yellow: #ffcc00;
  --border: rgba(255, 255, 255, 0.06);
  --radius: 6px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', sans-serif;
}

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

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

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

a { color: var(--primary); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: #33ffaa; }

img { max-width: 100%; height: auto; }

/* --- Scanline Overlay --- */
.scanline-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 255, 136, 0.008) 2px,
    rgba(0, 255, 136, 0.008) 4px
  );
}

/* --- Utility --- */
.hidden { display: none !important; }

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

/* --- Pulse Glow Animation --- */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 8px var(--primary-glow), 0 0 20px rgba(0, 255, 136, 0.1); }
  50% { box-shadow: 0 0 16px var(--primary-glow), 0 0 40px rgba(0, 255, 136, 0.2); }
}

.pulse-glow { animation: pulseGlow 2.5s ease-in-out infinite; }

@keyframes timerPulse {
  0%, 100% { text-shadow: 0 0 6px var(--primary-glow); }
  50% { text-shadow: 0 0 14px var(--primary), 0 0 28px var(--primary-glow); }
}

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes burstGlow {
  0% { transform: scale(0); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ============================================
   SECTION 1: Header
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(6, 6, 14, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid var(--primary-dim);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  text-shadow: 0 0 10px var(--primary-glow);
}

.logo-amp {
  color: var(--text-dim);
  font-weight: 400;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  transition: all 0.3s var(--ease);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
  transition: width 0.3s var(--ease);
}

.main-nav a:hover { color: var(--primary); }
.main-nav a:hover::after { width: 100%; }

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.timer-widget {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--primary-dim);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 14px;
}

.timer-icon { font-size: 14px; }

.timer-value {
  color: var(--primary);
  font-weight: 600;
  animation: timerPulse 2s ease-in-out infinite;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13px;
  color: var(--text-dim);
  transition: all 0.3s var(--ease);
}

.lang-toggle:hover {
  border-color: var(--primary-dim);
  color: var(--text);
}

.lang-option {
  transition: color 0.3s var(--ease);
}

.lang-option.active {
  color: var(--primary);
  font-weight: 600;
}

.lang-divider {
  color: var(--border);
  margin: 0 2px;
}

/* ============================================
   SECTION 2: Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 64px;
}

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

.hero-grid-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  background:
    linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 40px 24px;
  animation: fadeInUp 1s var(--ease);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary), #33ffaa, var(--info));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-dim);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.address-form {
  display: flex;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto 28px;
}

.input-wrapper {
  flex: 1;
  position: relative;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  opacity: 0.5;
}

.address-input {
  width: 100%;
  padding: 14px 14px 14px 42px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  font-family: 'Inter', monospace;
  transition: all 0.3s var(--ease);
  outline: none;
}

.address-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-dim), 0 0 20px rgba(0, 255, 136, 0.1);
}

.address-input::placeholder {
  color: var(--text-dim);
  opacity: 0.6;
}

.cta-button {
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--primary), #00cc6a);
  border: none;
  border-radius: var(--radius);
  color: #06060e;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s var(--ease);
  letter-spacing: 0.5px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.3);
}

.promo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.08), rgba(255, 204, 0, 0.03));
  border: 1px solid rgba(255, 204, 0, 0.2);
  border-radius: var(--radius);
  max-width: 640px;
  margin: 0 auto;
}

.promo-icon { font-size: 20px; }

.promo-banner p {
  font-size: 13px;
  color: var(--yellow);
  line-height: 1.5;
}

/* ============================================
   SECTION 3: Reward Modal
   ============================================ */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(6, 6, 14, 0.9);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 480px;
  animation: scaleIn 0.5s var(--ease);
}

.modal-burst {
  position: absolute;
  top: 50%; left: 50%;
  width: 100px; height: 100px;
  margin: -50px 0 0 -50px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  animation: burstGlow 1s var(--ease) forwards;
}

.modal-inner {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--primary-dim);
  border-radius: 8px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 0 60px rgba(0, 255, 136, 0.1), inset 0 0 60px rgba(0, 255, 136, 0.02);
}

.modal-shield-icon {
  font-size: 48px;
  margin-bottom: 16px;
  animation: float 3s ease-in-out infinite;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  text-shadow: 0 0 20px var(--primary-glow);
}

.modal-desc {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 28px;
  line-height: 1.6;
}

.spin-button {
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--yellow), #ff9900);
  border: none;
  border-radius: var(--radius);
  color: #06060e;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  letter-spacing: 1px;
}

.spin-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(255, 204, 0, 0.3);
}

.reward-result {
  margin-top: 24px;
  animation: fadeInUp 0.5s var(--ease);
}

.discount-amount {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  color: var(--yellow);
  text-shadow: 0 0 30px rgba(255, 204, 0, 0.4);
  margin-bottom: 4px;
}

.discount-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.price-breakdown {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.breakdown-sep { color: var(--text-dim); margin: 0 4px; }

.discount-val { color: var(--danger); font-weight: 600; }

.final-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
}

.discount-code-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(0, 255, 136, 0.05);
  border: 1px dashed var(--primary-dim);
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.code-label {
  font-size: 12px;
  color: var(--text-dim);
}

.code-value {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
}

.copy-button {
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.copy-button:hover {
  background: var(--primary);
  color: #06060e;
}

.copy-confirm {
  margin-top: 12px;
  font-size: 13px;
  color: var(--primary);
  animation: fadeInUp 0.3s var(--ease);
}

.modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s var(--ease);
  line-height: 1;
}

.modal-close:hover { color: var(--text); }

/* ============================================
   Payment Modal
   ============================================ */
.payment-modal-content {
  max-width: 420px;
}

.payment-modal-inner {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--primary-dim);
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 0 60px rgba(0, 255, 136, 0.1), inset 0 0 60px rgba(0, 255, 136, 0.02);
}

.payment-modal-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  text-shadow: 0 0 20px var(--primary-glow);
}

.payment-modal-subtitle {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.qr-code-container {
  display: inline-block;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.15);
}

.qr-code-img {
  width: 220px;
  height: 220px;
  display: block;
}

.qr-code-note {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 8px;
  font-family: var(--font-heading);
  letter-spacing: 1px;
}

.payment-address-box {
  margin-bottom: 16px;
}

.payment-address-label {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.payment-address-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.payment-address {
  flex: 1;
  font-family: 'Inter', monospace;
  font-size: 13px;
  color: var(--text);
  word-break: break-all;
  text-align: left;
}

.copy-address-btn {
  padding: 6px 14px;
  background: transparent;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s var(--ease);
}

.copy-address-btn:hover {
  background: var(--primary);
  color: #06060e;
}

.payment-amount-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid rgba(0, 255, 136, 0.15);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.payment-amount-label {
  font-size: 14px;
  color: var(--text-dim);
}

.payment-amount {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  text-shadow: 0 0 15px var(--primary-glow);
}

.consultation-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--info), #0088cc);
  border: none;
  border-radius: var(--radius);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  line-height: 1.4;
}

.consultation-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 170, 255, 0.3);
  color: #fff;
}

/* ============================================
   SECTION 4: Dashboard
   ============================================ */
.dashboard {
  padding: 100px 0;
  position: relative;
}

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

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-dim);
  box-shadow: 0 8px 40px rgba(0, 255, 136, 0.08);
}

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

.stat-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.stat-icon-wrap.danger { background: var(--danger-dim); }
.stat-icon-wrap.info { background: var(--info-dim); }
.stat-icon-wrap.success { background: var(--primary-dim); }

.stat-value {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-dim);
}

.value-comparison {
  display: flex;
  justify-content: center;
}

.comparison-card {
  background: linear-gradient(135deg, rgba(255, 34, 68, 0.06), rgba(0, 170, 255, 0.06));
  border: 1px solid rgba(255, 34, 68, 0.15);
  border-radius: var(--radius);
  padding: 32px 40px;
  max-width: 700px;
  text-align: center;
}

.comparison-icon { font-size: 32px; margin-bottom: 12px; }

.comparison-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--danger);
  margin-bottom: 12px;
}

.comparison-card p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ============================================
   SECTION 5 & 6: Feature Sections
   ============================================ */
.section-feature {
  padding: 100px 0;
  position: relative;
}

.section-feature.alt-bg {
  background: rgba(13, 13, 26, 0.5);
}

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

.section-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary-dim);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Risk Cards */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.risk-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.risk-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.risk-indicator {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.risk-card.high .risk-indicator { background: var(--danger); box-shadow: 0 0 12px var(--danger); }
.risk-card.medium .risk-indicator { background: var(--yellow); box-shadow: 0 0 12px var(--yellow); }
.risk-card.low .risk-indicator { background: var(--primary); box-shadow: 0 0 12px var(--primary); }

.risk-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.risk-icon { font-size: 14px; }

.risk-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
}

.risk-card.high h3 { color: var(--danger); }
.risk-card.medium h3 { color: var(--yellow); }
.risk-card.low h3 { color: var(--primary); }

.risk-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
}

.risk-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}

.risk-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1.5s var(--ease);
}

.risk-card.high .risk-bar-fill { background: var(--danger); }
.risk-card.medium .risk-bar-fill { background: var(--yellow); }
.risk-card.low .risk-bar-fill { background: var(--primary); }

.audit-cta {
  text-align: center;
  padding: 20px;
  background: var(--primary-dim);
  border: 1px solid rgba(0, 255, 136, 0.15);
  border-radius: var(--radius);
}

.audit-cta p {
  font-size: 15px;
  color: var(--primary);
  font-weight: 500;
}

/* Feature Duo */
.feature-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.4s var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-dim);
  box-shadow: 0 8px 40px rgba(0, 255, 136, 0.06);
}

.feature-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-dim);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  font-size: 13px;
  color: var(--text-dim);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 6px var(--primary-glow);
}

/* ============================================
   SECTION 7: Workflow Steps
   ============================================ */
.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step-card {
  flex: 1;
  max-width: 300px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  position: relative;
  transition: all 0.4s var(--ease);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-dim);
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.08);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  color: rgba(0, 255, 136, 0.08);
  position: absolute;
  top: 12px; right: 16px;
  line-height: 1;
}

.step-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

.step-connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-dim), var(--primary), var(--primary-dim));
  margin-top: 80px;
  flex-shrink: 0;
}

/* ============================================
   SECTION 8: Checkout
   ============================================ */
.checkout-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 255, 136, 0.04);
}

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

.checkout-header h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
}

.checkout-badge {
  font-size: 12px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.checkout-body {
  padding: 28px;
}

.checkout-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.item-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.item-desc {
  font-size: 12px;
  color: var(--text-dim);
}

.item-price {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.item-price span {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 400;
}

.coupon-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.coupon-input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  outline: none;
  transition: border-color 0.3s var(--ease);
}

.coupon-input:focus {
  border-color: var(--primary);
}

.coupon-input::placeholder {
  color: var(--text-dim);
  opacity: 0.5;
  font-family: var(--font-body);
  letter-spacing: 0;
}

.coupon-btn {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.coupon-btn:hover {
  background: var(--primary);
  color: #06060e;
}

.coupon-message {
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 12px;
}

.coupon-message.success {
  background: var(--primary-dim);
  color: var(--primary);
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.coupon-message.error {
  background: var(--danger-dim);
  color: var(--danger);
  border: 1px solid rgba(255, 34, 68, 0.2);
}

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

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-dim);
}

.discount-row .discount-amount {
  color: var(--danger);
  font-weight: 600;
}

.total-row {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 4px;
}

.total-row span:last-child {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.pay-button {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary), #00cc6a);
  border: none;
  border-radius: var(--radius);
  color: #06060e;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  letter-spacing: 1px;
}

.pay-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.3);
}

/* ============================================
   SECTION 9: FAQ
   ============================================ */
.security-promise {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.04), rgba(0, 170, 255, 0.04));
  border: 1px solid rgba(0, 255, 136, 0.12);
  border-radius: 8px;
}

.promise-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.security-promise h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 12px;
}

.security-promise p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
}

.faq-section {
  max-width: 700px;
  margin: 0 auto;
}

.faq-section .section-title {
  text-align: center;
  margin-bottom: 32px;
}

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

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

.faq-item:hover {
  border-color: var(--primary-dim);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s var(--ease);
}

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

.faq-toggle {
  font-size: 20px;
  color: var(--primary);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 16px;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}

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

.faq-answer p {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ============================================
   SECTION 10: Footer
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
}

.footer-cta-banner {
  text-align: center;
  padding: 80px 24px 60px;
  background: linear-gradient(180deg, transparent, rgba(0, 255, 136, 0.03));
}

.footer-cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.footer-cta-banner p {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.footer-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
}

.footer-input {
  flex: 1;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s var(--ease);
}

.footer-input:focus {
  border-color: var(--primary);
}

.footer-input::placeholder {
  color: var(--text-dim);
  opacity: 0.5;
}

.footer-btn {
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--primary), #00cc6a);
  border: none;
  border-radius: var(--radius);
  color: #06060e;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s var(--ease);
}

.footer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.3);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

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

.footer-links a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.3s var(--ease);
}

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

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.copyright {
  font-size: 12px;
  color: var(--text-dim);
  opacity: 0.6;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .risk-grid { grid-template-columns: 1fr; }
  .feature-duo { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; align-items: center; }
  .step-connector { width: 2px; height: 30px; margin: 0; }
  .step-card { max-width: 100%; }
}

@media (max-width: 768px) {
  .header-inner { padding: 0 16px; }
  .main-nav { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .address-form { flex-direction: column; }
  .footer-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .footer-bottom-right { flex-direction: column; gap: 8px; }
  .checkout-item { flex-direction: column; gap: 12px; }
  .hero-content { padding: 24px 16px; }
  .section-feature { padding: 60px 0; }
  .dashboard { padding: 60px 0; }
}

@media (max-width: 480px) {
  .timer-widget { padding: 4px 10px; font-size: 12px; }
  .logo-text { font-size: 13px; }
  .stat-value { font-size: 24px; }
  .discount-amount { font-size: 36px; }
}
