/* ==========================================================================
   Helium 10 Promo Code GENIUSDEALS10 - Custom CSS Design System
   Ultra-Fast, Responsive, Modern Glassmorphism Dark Mode
   ========================================================================== */

:root {
  --bg-dark: #080c14;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(28, 36, 56, 0.85);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(16, 185, 129, 0.3);
  
  --primary: #10b981;
  --primary-glow: rgba(16, 185, 129, 0.4);
  --secondary: #06b6d4;
  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.3);
  --danger: #ef4444;
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.15);
}

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

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

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 4rem;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition);
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: 0.75rem; }

p { margin-bottom: 1.25rem; }

.lead {
  font-size: 1.18rem;
  color: #d1d5db;
  line-height: 1.7;
}

.text-gradient {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Layout & Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  margin-top: 2rem;
}

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

/* Sticky Top Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-card);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-badge {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

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

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* Sticky Bottom Coupon Bar */
.floating-coupon-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--primary-glow);
  padding: 0.75rem 1rem;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.coupon-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.code-box {
  background: rgba(16, 185, 129, 0.15);
  border: 1px dashed var(--primary);
  color: #fff;
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  letter-spacing: 1px;
}

/* Header & Hero */
.hero-section {
  padding: 3rem 0 2rem 0;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--accent-glow);
  color: var(--accent);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-title {
  max-width: 900px;
  margin: 0 auto 1.25rem auto;
}

.hero-subtitle {
  max-width: 750px;
  margin: 0 auto 2rem auto;
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* Coupon CTA Card */
.coupon-cta-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 182, 212, 0.12));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem auto;
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(10px);
}

.code-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.code-pill {
  background: #0d1527;
  border: 2px dashed var(--primary);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: monospace;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
  color: #04120a;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5);
  color: #000;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
  color: #000;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Content Glass Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(14px);
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Table of Contents */
.toc-box {
  background: rgba(13, 20, 35, 0.9);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.toc-title {
  font-size: 1.1rem;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toc-list a {
  color: var(--text-muted);
  font-size: 0.95rem;
  display: inline-block;
}

.toc-list a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

/* Feature Grid & Stats */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

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

.stat-box {
  text-align: center;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Comparison Table */
.table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.custom-table th {
  background: rgba(16, 185, 129, 0.1);
  color: #fff;
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 1rem;
}

.custom-table td {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-card);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.custom-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.015);
}

.custom-table td:first-child {
  color: #fff;
  font-weight: 600;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary);
  color: #000;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.price-tag {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin: 1rem 0;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

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

.feature-list li {
  padding: 0.4rem 0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.feature-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: bold;
}

/* ROI Interactive Calculator */
.calculator-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 182, 212, 0.08));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
}

.calc-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.input-group select, .input-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #0c1220;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 1rem;
}

.calc-results {
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  justify-content: space-around;
  text-align: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.calc-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

/* FAQ Accordion */
.faq-search {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: #0c1220;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.faq-item {
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.faq-question {
  width: 100%;
  padding: 1.2rem;
  background: none;
  border: none;
  text-align: left;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 1.2rem 1.2rem 1.2rem;
  color: var(--text-muted);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Reddit Review Quote Cards */
.review-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-card);
  border-left: 3px solid #ff4500; /* Reddit orange */
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.review-author {
  font-size: 0.85rem;
  color: #ff4500;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

/* Cluster Topic Nav Cards */
.cluster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.cluster-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cluster-card:hover {
  border-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.15);
}

.cluster-tag {
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background: #04070d;
  border-top: 1px solid var(--border-card);
  padding: 3rem 0 5rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #000;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
  z-index: 10000;
  transform: translateY(-20px);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}
