/* ==========================================================================
   AETHER-KERNEL STOREFRONT - RESPONSIVE DESIGN SYSTEM
   Cyberpunk Glassmorphism & PayPal Checkout Integration
   ========================================================================== */

:root {
  --bg-dark: #060a12;
  --bg-card: rgba(14, 22, 38, 0.75);
  --bg-card-border: rgba(0, 240, 255, 0.2);
  --cyan-glow: #00f0ff;
  --pink-glow: #ff0055;
  --purple-glow: #7000ff;
  --green-glow: #00ff88;
  --yellow-glow: #ffcc00;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  overflow-x: hidden;
  line-height: 1.6;
  
  /* Anti-Scraping & Asset Protection */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

img, svg, canvas {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

/* Aether Motion Canvas Background */
#aether-motion-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
  pointer-events: none;
  opacity: 0.6;
}

/* Background Animated Gradient Mesh */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 15% 20%, rgba(0, 240, 255, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(112, 0, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 0, 85, 0.08) 0%, transparent 60%);
  z-index: -2;
  pointer-events: none;
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
  pointer-events: none;
}

/* Header Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 4rem;
  background: rgba(6, 10, 18, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bg-card-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo-badge {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan-glow), var(--purple-glow));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--cyan-glow);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  line-height: 1;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-glow), #00a8ff);
  color: #040810;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--cyan-glow);
  border: 1px solid var(--cyan-glow);
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(0, 240, 255, 0.15);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 5rem 4rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--cyan-glow);
  color: var(--cyan-glow);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.highlight-cyan {
  color: var(--cyan-glow);
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

/* Single Purchase Product Banner Card */
.purchase-banner-section {
  padding: 4rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.purchase-card {
  background: var(--bg-card);
  border: 2px solid var(--cyan-glow);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.2);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.price-tag {
  font-size: 3.8rem;
  font-weight: 900;
  color: var(--cyan-glow);
  line-height: 1;
}

.price-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.product-features-list {
  list-style: none;
  margin: 1.5rem 0;
}

.product-features-list li {
  padding: 0.6rem 0;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-features-list li span.check {
  color: var(--green-glow);
  font-weight: 800;
}

/* Interactive Demo Widget */
.demo-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 240, 255, 0.05);
  position: relative;
}

.demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-title {
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.shield-interactive-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.shield-ring-graphic {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring-outer {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed var(--cyan-glow);
  animation: rotateClockwise 20s linear infinite;
}

.ring-inner {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  border: 2px solid var(--purple-glow);
  animation: rotateCounter 12s linear infinite;
}

.shield-core {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-glow), var(--purple-glow));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 0 30px var(--cyan-glow);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.shield-core:hover {
  transform: scale(1.1);
}

@keyframes rotateClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateCounter {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.shield-status-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-glow);
  letter-spacing: 1px;
  text-align: center;
}

/* Features Grid */
.features-section {
  padding: 5rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.section-subtitle {
  color: var(--cyan-glow);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.2rem;
  text-align: left;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}

.feature-card:hover {
  border-color: var(--cyan-glow);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 240, 255, 0.15);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--cyan-glow);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Protection Rings Explorer */
.explorer-section {
  padding: 5rem 4rem;
  background: rgba(14, 22, 38, 0.4);
  border-top: 1px solid var(--bg-card-border);
  border-bottom: 1px solid var(--bg-card-border);
}

.explorer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.rings-selector {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ring-item {
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.25s ease;
}

.ring-item:hover, .ring-item.active {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--cyan-glow);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.ring-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  white-space: nowrap;
}

.ring-badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  background: rgba(0, 240, 255, 0.15);
  color: var(--cyan-glow);
  border: 1px solid rgba(0, 240, 255, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

.ring-detail-box {
  background: var(--bg-card);
  border: 1px solid var(--cyan-glow);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
}

/* Modal Overlay & Popup Card Formatting */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 8, 16, 0.85);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-card {
  background: #0d1527;
  border: 1px solid var(--cyan-glow);
  border-radius: 24px;
  width: 100%;
  max-width: 500px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 240, 255, 0.3);
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.2s;
}

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

/* PayPal & Mobile Express Pay Checkout Styling */
.modal-header-badge {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 0.5rem;
}

.device-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.15);
  color: var(--cyan-glow);
  border: 1px solid var(--cyan-glow);
  font-weight: 700;
}

.checkout-pay-group {
  margin-bottom: 1rem;
}

.pay-method-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

/* Custom Google Pay Button */
.btn-gpay-custom {
  width: 100%;
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.9rem 1.2rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.btn-gpay-custom:hover {
  background: #1a1a1a;
  box-shadow: 0 0 20px rgba(66, 133, 244, 0.4);
  transform: translateY(-1px);
}

/* Custom Apple Pay Button */
.btn-apple-pay-custom {
  width: 100%;
  background: #ffffff;
  color: #000000;
  border: none;
  padding: 0.9rem 1.2rem;
  border-radius: 30px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.btn-apple-pay-custom:hover {
  background: #f0f0f0;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

/* PayPal Container */
.paypal-container-box {
  min-height: 120px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #0d1527;
  border: 1px solid var(--cyan-glow);
  border-radius: 24px;
  width: 100%;
  max-width: 520px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 240, 255, 0.3);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.2s;
}

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

.paypal-container-box {
  margin-top: 1.8rem;
  min-height: 150px;
}

/* Practical Use-Cases & Application Scenarios */
.use-cases-section {
  padding: 5rem 4rem;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.use-case-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 18px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.use-case-card:hover {
  border-color: var(--cyan-glow);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
  transform: translateY(-3px);
}

.use-case-header {
  margin-bottom: 1rem;
}

.use-case-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-top: 0.5rem;
}

.use-case-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: rgba(0, 240, 255, 0.15);
  color: var(--cyan-glow);
  border: 1px solid var(--cyan-glow);
}

/* SOAR Playbook #309 Evidence Breakdown */
.soar-breakdown-section {
  padding: 5rem 4rem;
  background: var(--bg-dark);
  border-top: 1px solid rgba(0, 240, 255, 0.1);
}

.evidence-proof-container {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.evidence-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 1.5rem 2rem;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.evidence-card:hover {
  border-color: var(--green-glow);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.15);
}

.evidence-number {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--cyan-glow);
  background: rgba(0, 240, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--cyan-glow);
}

.evidence-body h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

.evidence-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.soar-code-preview {
  background: #040812;
  border: 1px solid var(--cyan-glow);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
}

/* Footer */
footer {
  padding: 3rem 4rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Comprehensive Mobile & Tablet Responsiveness System */
html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
}

*, ::before, ::after {
  max-width: 100%;
}

code, pre, div, span, p, a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 992px) {
  .hero, .explorer-container, .purchase-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .navbar {
    padding: 1rem 1.2rem;
  }

  .nav-links {
    display: none; /* Mobile navigation */
  }

  .hero {
    padding: 2.5rem 1.2rem 1.5rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .purchase-banner-section, .features-section, .explorer-section, .soar-breakdown-section, .faq-section {
    padding: 2.5rem 1rem;
  }

  .price-tag {
    font-size: 2.5rem;
  }

  .modal-card {
    padding: 1.2rem;
    width: 94vw;
    max-width: 550px;
    margin: 1rem auto;
    max-height: 90vh;
    overflow-y: auto;
  }

  .evidence-card {
    flex-direction: column;
    padding: 1.2rem;
  }

  .explorer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ring-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.2rem;
  }

  .ring-detail-box {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .soar-code-preview {
    font-size: 0.75rem;
    padding: 1rem;
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.8rem;
  }

  .hero-actions .btn-primary, .hero-actions .btn-secondary {
    width: 100%;
    padding: 0.85rem 1.2rem;
    font-size: 0.8rem;
    white-space: nowrap;
    justify-content: center;
  }

  .brand-logo {
    font-size: 1.1rem;
  }

  .btn-primary {
    padding: 0.7rem 1.2rem;
    font-size: 0.78rem;
  }

  .price-tag {
    font-size: 2.2rem;
  }

  .evidence-number {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }

  .ring-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0.9rem;
    gap: 0.5rem;
  }

  .ring-name {
    font-size: 0.85rem;
    white-space: normal;
  }

  .ring-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }

  .ring-detail-box {
    padding: 1.2rem;
  }
}
