/* ============================================================
   Get-Hub.io — Glassmorphism / Frosted Glass Design System
   Load AFTER theme.css and inline styles.

   Architecture:
     Overrides existing tokens + adds glass layers.
     Does NOT remove existing CSS — purely additive.

   Palette:
     Background mesh: #0a0a1a → #0d1b2a → #1a0a2e
     Primary accent:  #7c3aed (purple)
     Secondary accent: #06b6d4 (cyan)
     Glass:           rgba(255,255,255,0.05) + blur(20px)
   ============================================================ */

/* ── Typography System — Cyberpunk ─────────────────────── */
:root {
  --font-display: 'Orbitron', monospace;
  --font-body: 'JetBrains Mono', monospace;
}

body {
  font-family: var(--font-body) !important;
  font-weight: 300;
  letter-spacing: 0.02em;
}

h1, h2, h3, h4 {
  font-family: var(--font-display) !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Orbitron needs slightly smaller sizes — reduce all headings by ~15% */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1rem, 2vw, 1.4rem); }

/* Nav links */
nav a, .navbar a {
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* Buttons */
.glass-btn {
  font-family: var(--font-display) !important;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Stats/numbers */
.glass-pill, .stat-number {
  font-family: var(--font-display);
  font-weight: 700;
}

/* ── Glass Background Mesh ──────────────────────────────── */
.glass-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 800px 600px at 15% 20%, rgba(124, 58, 237, 0.18), transparent),
    radial-gradient(ellipse 600px 500px at 85% 15%, rgba(6, 182, 212, 0.15), transparent),
    radial-gradient(ellipse 700px 700px at 50% 50%, rgba(124, 58, 237, 0.10), transparent),
    radial-gradient(ellipse 500px 500px at 80% 80%, rgba(6, 182, 212, 0.12), transparent),
    radial-gradient(ellipse 400px 400px at 10% 85%, rgba(139, 92, 246, 0.14), transparent),
    linear-gradient(160deg, #0a0a1a 0%, #0d1b2a 40%, #1a0a2e 100%);
  pointer-events: none;
}

/* ── Animated Orbs ──────────────────────────────────────── */
.glass-bg .orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  pointer-events: none;
  z-index: -1;
  animation: glassOrbFloat 20s ease-in-out infinite;
}

.glass-bg .orb-1 {
  width: 800px;
  height: 800px;
  top: -15%;
  right: -10%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.6), transparent 70%);
  animation-duration: 22s;
}

.glass-bg .orb-2 {
  width: 700px;
  height: 700px;
  top: 35%;
  left: -12%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.5), transparent 70%);
  opacity: 0.20;
  animation-duration: 28s;
  animation-delay: -5s;
}

.glass-bg .orb-3 {
  width: 650px;
  height: 650px;
  bottom: 5%;
  right: 5%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.5), transparent 70%);
  opacity: 0.18;
  animation-duration: 25s;
  animation-delay: -10s;
}

.glass-bg .orb-4 {
  width: 500px;
  height: 500px;
  bottom: 25%;
  left: 15%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.45), transparent 70%);
  opacity: 0.16;
  animation-duration: 30s;
  animation-delay: -15s;
}

@keyframes glassOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
  75% { transform: translate(15px, 15px) scale(1.03); }
}

/* ── Glass Announcement Bar ─────────────────────────────── */
.ann {
  background: rgba(124, 58, 237, 0.30) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124, 58, 237, 0.40);
}

/* ── Glass Card (core component) ────────────────────────── */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.20);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.15),
              0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* ── Glass Navbar ───────────────────────────────────────── */
.glass-navbar,
nav.glass-navbar {
  background: rgba(10, 10, 26, 0.70) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ── Glass Pill (stats, badges) ─────────────────────────── */
.glass-pill {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 9999px;
  padding: 6px 16px;
  color: rgba(255, 255, 255, 0.9);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.glass-pill:hover {
  border-color: rgba(6, 182, 212, 0.45);
  background: rgba(6, 182, 212, 0.08);
}

/* ── Glass Buttons ──────────────────────────────────────── */
.glass-btn {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 10px;
  font-weight: 600;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.glass-btn-primary {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #ffffff;
  border: 1px solid rgba(124, 58, 237, 0.5);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.20);
}

.glass-btn-primary:hover {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.40);
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.6);
}

.glass-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.glass-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.30);
  transform: translateY(-1px);
}

/* ── Glass Section ──────────────────────────────────────── */
.glass-section {
  position: relative;
  z-index: 1;
}

/* ── Glass Footer ───────────────────────────────────────── */
.glass-footer {
  background: rgba(10, 10, 26, 0.60);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Tool Card (glass variant) ──────────────────────────── */
.glass-card.tool-card {
  padding: 36px;
}

.glass-card.tool-card .tool-card-icon {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(6, 182, 212, 0.10));
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 12px;
}

.glass-card.tool-card:hover .tool-card-icon {
  border-color: rgba(124, 58, 237, 0.50);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.15);
}

.glass-card.tool-card .tool-card-meta {
  color: rgba(255, 255, 255, 0.4);
}

/* Category badge as glass pill */
.glass-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: #a78bfa;
}

.glass-category-badge.cat-marketing {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.25);
  color: #67e8f9;
}

.glass-category-badge.cat-business {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
}

.glass-category-badge.cat-automation {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.25);
  color: #fde68a;
}

/* ── Pricing Card (glass variant) ───────────────────────── */
.glass-card.pricing-card {
  padding: 44px 36px;
}

.glass-card.pricing-card .plan-feats li {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.glass-card.pricing-card .plan-feats li::before {
  color: #7c3aed;
}

/* Featured / "Most Popular" pricing card */
.glass-card.pricing-featured {
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.30);
  box-shadow:
    0 0 40px rgba(124, 58, 237, 0.15),
    0 0 80px rgba(124, 58, 237, 0.05);
  position: relative;
}

.glass-card.pricing-featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.30);
}

.glass-card.pricing-featured:hover {
  border-color: rgba(124, 58, 237, 0.50);
  box-shadow:
    0 0 60px rgba(124, 58, 237, 0.20),
    0 0 100px rgba(124, 58, 237, 0.08);
}

/* ── Testimonial Card (glass variant) ───────────────────── */
.glass-card.testimonial-card {
  padding: 40px 36px;
  border-left: 2px solid rgba(6, 182, 212, 0.40);
}

.glass-card.testimonial-card:hover {
  border-left-color: rgba(6, 182, 212, 0.70);
}

.glass-card.testimonial-card .test-quote::before {
  color: #7c3aed;
}

.glass-card.testimonial-card .test-avatar {
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.30);
  color: #a78bfa;
}

/* ── FAQ (glass variant) ────────────────────────────────── */
.glass-faq {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.glass-faq .faq-item {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.glass-faq .faq-q {
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.9);
}

.glass-faq .faq-q:hover {
  background: rgba(255, 255, 255, 0.06);
}

.glass-faq .faq-item.active .faq-q {
  background: rgba(124, 58, 237, 0.06);
}

.glass-faq .faq-chevron {
  color: rgba(255, 255, 255, 0.3);
}

.glass-faq .faq-item.active .faq-chevron {
  color: #7c3aed;
}

.glass-faq .faq-a-inner {
  color: rgba(255, 255, 255, 0.6);
}

/* ── Section Headers — gradient accent word ─────────────── */
.glass-gradient-word {
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Stats Row (glass pills variant) ────────────────────── */
.glass-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.glass-stats .glass-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 24px;
  min-width: 120px;
}

.glass-stats .glass-pill .hm-val {
  color: #fff;
}

.glass-stats .glass-pill .hm-val span {
  color: #06b6d4;
}

/* ── Marquee (glass wrapper) ────────────────────────────── */
.glass-marquee {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.glass-marquee .marquee-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
}

.glass-marquee .marquee-card:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(124, 58, 237, 0.30);
}

/* ── CTA Section (glass variant) ────────────────────────── */
.glass-cta {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.glass-cta::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12), transparent 70%);
  pointer-events: none;
}

/* ── Pain Point Cards (glass variant) ───────────────────── */
.glass-card.pain-card {
  padding: 40px 36px;
}

.glass-card.pain-card h3 {
  color: #f87171;
}

.glass-card.pain-card .pain-icon {
  filter: none;
}

/* ── Steps / How It Works (glass variant) ───────────────── */
.glass-card.step-card {
  padding: 44px 36px;
  position: relative;
}

.glass-card.step-card .step-num {
  color: rgba(124, 58, 237, 0.20);
}

.glass-card.step-card:hover .step-num {
  color: rgba(124, 58, 237, 0.35);
}

.glass-card.step-card .step-visual {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Hero Card (glass variant) ──────────────────────────── */
.glass-hero-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.50),
              0 0 0 1px rgba(255, 255, 255, 0.08),
              0 0 40px rgba(124, 58, 237, 0.08);
}

.glass-hero-card .card-header {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.glass-hero-card .cs {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-hero-card .afeed {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-hero-card .afeed::after {
  background: linear-gradient(transparent, rgba(10, 10, 26, 0.9));
}

.glass-hero-card .tool-row {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

/* ── Text Colors for Glass Context ──────────────────────── */
.glass-text { color: #ffffff; }
.glass-text-secondary { color: rgba(255, 255, 255, 0.60); }
.glass-text-muted { color: rgba(255, 255, 255, 0.40); }

/* ── Scroll Reveal (glass-enhanced) ─────────────────────── */
.glass-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.glass-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.glass-reveal-delay-1 { transition-delay: 0.1s; }
.glass-reveal-delay-2 { transition-delay: 0.2s; }
.glass-reveal-delay-3 { transition-delay: 0.3s; }

/* ── Hero float animation ───────────────────────────────── */
.glass-float {
  animation: glassFloat 6s ease-in-out infinite;
}

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

/* ── Grid layouts for glass cards (replace 1px-gap grids) ── */
.glass-grid {
  display: grid;
  gap: 20px;
}

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

/* ── Scrollbar (glass theme) ────────────────────────────── */
.glass-bg ~ * ::-webkit-scrollbar-track {
  background: rgba(10, 10, 26, 0.5);
}

.glass-bg ~ * ::-webkit-scrollbar-thumb {
  background: rgba(124, 58, 237, 0.30);
  border-radius: 4px;
}

.glass-bg ~ * ::-webkit-scrollbar-thumb:hover {
  background: rgba(124, 58, 237, 0.50);
}

/* ── Divider line (glass) ───────────────────────────────── */
.glass-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.10), transparent);
  border: none;
}

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

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

  .glass-bg .orb { filter: blur(60px); }
  .glass-bg .orb-1 { width: 500px; height: 500px; }
  .glass-bg .orb-2 { width: 400px; height: 400px; }
  .glass-bg .orb-3 { width: 350px; height: 350px; }
  .glass-bg .orb-4 { display: none; }

  .glass-stats { justify-content: center; }
}

@media (max-width: 480px) {
  .glass-card { border-radius: 12px; }
  .glass-stats .glass-pill { min-width: 100%; }
}

/* ── Reduced Motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .glass-bg .orb,
  .glass-float,
  .glass-reveal {
    animation: none !important;
    transition: none !important;
  }
  .glass-reveal { opacity: 1; transform: none; }
  .glass-card:hover { transform: none; }
}
