/* ============================================================
   ÆTHER PREMIUM DESIGN SYSTEM
   Superior dark theme — beats accroku.com
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Space+Grotesk:wght@300..700&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Backgrounds */
  --bg-0:       #04040d;   /* deepest black-blue */
  --bg-1:       #080818;   /* page background */
  --bg-2:       #0d0d22;   /* section alt */
  --bg-card:    #10101f;   /* card default */
  --bg-card-h:  #14142a;   /* card hover */
  --bg-input:   #0a0a1a;   /* form inputs */

  /* Accent — violet/purple system */
  --violet-300: #c4b5fd;
  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;
  --violet-700: #6d28d9;
  --indigo-400: #818cf8;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;

  /* Text */
  --text-1: #f1f5f9;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --text-accent: #c4b5fd;

  /* Status */
  --green:  #22c55e;
  --red:    #ef4444;
  --amber:  #f59e0b;
  --orange: #f97316;

  /* Borders */
  --border-1: rgba(255,255,255,0.06);
  --border-2: rgba(139,92,246,0.25);
  --border-3: rgba(139,92,246,0.5);

  /* Glows */
  --glow-violet: rgba(139,92,246,0.15);
  --glow-violet-strong: rgba(139,92,246,0.35);
  --glow-indigo: rgba(99,102,241,0.15);

  /* Gradients */
  --grad-btn:    linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  --grad-btn-h:  linear-gradient(135deg, #9f7aea 0%, #7c3aed 50%, #6366f1 100%);
  --grad-hero:   linear-gradient(135deg, #04040d 0%, #0a0420 50%, #04040d 100%);
  --grad-text:   linear-gradient(135deg, #c4b5fd 0%, #818cf8 50%, #c4b5fd 100%);
  --grad-card-border: linear-gradient(135deg, rgba(139,92,246,0.4), rgba(99,102,241,0.1), rgba(139,92,246,0.4));

  /* Radius */
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   14px;
  --r-xl:   18px;
  --r-2xl:  24px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-card:   0 4px 24px rgba(0,0,0,0.4);
  --shadow-card-h: 0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(139,92,246,0.3);
  --shadow-btn:    0 4px 24px rgba(124,58,237,0.5), 0 2px 8px rgba(0,0,0,0.3);
  --shadow-btn-h:  0 8px 32px rgba(124,58,237,0.75), 0 4px 12px rgba(0,0,0,0.35);
  --shadow-glow:   0 0 60px rgba(139,92,246,0.12);
}

/* ============================================================
   BASE RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--bg-1);
  color: var(--text-1);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--violet-600); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.font-display { font-family: 'Space Grotesk', sans-serif; }

.text-gradient {
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s linear infinite;
}

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

/* ============================================================
   LAYOUT CONTAINERS
   ============================================================ */
.container-xl { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.container-lg { max-width: 1024px; margin: 0 auto; padding: 0 1.5rem; }
.container-md { max-width: 768px;  margin: 0 auto; padding: 0 1.5rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
.ae-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 68px;
  background: rgba(4,4,13,0.7);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border-1);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.ae-navbar.scrolled {
  background: rgba(4,4,13,0.92);
  border-bottom-color: var(--border-2);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.ae-navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.ae-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.ae-logo-mark {
  width: 36px; height: 36px;
  background: var(--grad-btn);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800; font-size: 18px; color: #fff;
  box-shadow: 0 0 20px rgba(124,58,237,0.4);
}
.ae-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800; font-size: 22px; letter-spacing: 0.04em;
  color: #fff;
}

/* Nav links */
.ae-nav-links {
  display: flex; align-items: center; gap: 0.25rem;
}
.ae-nav-link {
  padding: 0.4rem 0.9rem;
  font-size: 14px; font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-full);
  transition: color 0.2s, background 0.2s;
}
.ae-nav-link:hover { color: #fff; background: rgba(255,255,255,0.06); }
.ae-nav-link.active { color: var(--violet-300); }

/* Nav auth */
.ae-nav-auth { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.ae-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  font-size: 14px; font-weight: 600;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.ae-btn-primary {
  background: var(--grad-btn) !important;
  color: #ffffff !important;
  box-shadow: var(--shadow-btn), 0 0 0 1px rgba(139,92,246,0.4);
  border: 1px solid rgba(167, 139, 250, 0.35);
  letter-spacing: 0.01em;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.ae-btn-primary:hover {
  background: var(--grad-btn-h) !important;
  color: #ffffff !important;
  box-shadow: var(--shadow-btn-h), 0 0 0 1px rgba(139,92,246,0.6);
  transform: translateY(-2px);
  border-color: rgba(167, 139, 250, 0.6);
}
.ae-btn-ghost {
  background: transparent;
  color: rgba(226,232,240,0.85) !important;
  border: 1px solid rgba(255,255,255,0.18);
}
.ae-btn-ghost:hover {
  color: #fff;
  border-color: var(--border-2);
  background: rgba(139,92,246,0.08);
}
.ae-btn-outline {
  background: rgba(139,92,246,0.08);
  color: var(--violet-300);
  border: 1px solid rgba(139,92,246,0.4);
}
.ae-btn-outline:hover {
  background: rgba(139,92,246,0.18);
  border-color: rgba(139,92,246,0.7);
  transform: translateY(-1px);
  color: #fff;
}
.ae-btn-lg {
  padding: 0.8rem 2rem;
  font-size: 15px;
  border-radius: var(--r-lg);
}
.ae-btn-sm {
  padding: 0.35rem 0.9rem;
  font-size: 13px;
  border-radius: var(--r-sm);
}

/* ============================================================
   BADGE / CHIP
   ============================================================ */
.ae-chip {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.3rem 0.85rem;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  border-radius: var(--r-full);
  background: rgba(139,92,246,0.12);
  color: var(--violet-300);
  border: 1px solid rgba(139,92,246,0.25);
}
.ae-badge-green {
  background: rgba(34,197,94,0.12);
  color: #4ade80;
  border-color: rgba(34,197,94,0.25);
  font-size: 11px; font-weight: 600; padding: 0.2rem 0.6rem;
  border-radius: var(--r-full); border-style: solid;
  display: inline-block;
}
.ae-badge-red {
  background: rgba(239,68,68,0.12);
  color: #f87171;
  border-color: rgba(239,68,68,0.25);
  font-size: 11px; font-weight: 600; padding: 0.2rem 0.6rem;
  border-radius: var(--r-full); border-style: solid;
  display: inline-block;
}
.ae-badge-amber {
  background: rgba(245,158,11,0.12);
  color: #fbbf24;
  border-color: rgba(245,158,11,0.25);
  font-size: 11px; font-weight: 600; padding: 0.2rem 0.6rem;
  border-radius: var(--r-full); border-style: solid;
  display: inline-block;
}
.ae-badge-orange {
  background: rgba(249,115,22,0.15);
  color: #fb923c;
  border-color: rgba(249,115,22,0.3);
  font-size: 11px; font-weight: 600; padding: 0.2rem 0.6rem;
  border-radius: var(--r-sm); border-style: solid;
  display: inline-block;
}

/* ============================================================
   CARDS
   ============================================================ */
.ae-card {
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.ae-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(139,92,246,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.ae-card:hover {
  border-color: rgba(139,92,246,0.35);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(139,92,246,0.2), 0 0 30px rgba(139,92,246,0.06);
  transform: translateY(-3px);
}
.ae-card:hover::before { opacity: 1; }

/* Glass variant */
.ae-card-glass {
  background: rgba(16,16,31,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
}

/* Product card specific */
.ae-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex; flex-direction: column;
  cursor: pointer;
  position: relative;
}
.ae-product-card:hover {
  border-color: rgba(139,92,246,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45),
              0 0 0 1px rgba(139,92,246,0.25),
              0 0 40px rgba(139,92,246,0.08);
}
.ae-product-img {
  width: 100%; aspect-ratio: 16/9;
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  border-bottom: 1px solid var(--border-1);
  overflow: hidden;
  transition: background 0.3s;
}
.ae-product-card:hover .ae-product-img { background: var(--bg-card-h); }
.ae-product-body { padding: 1rem 1.1rem; flex: 1; display: flex; flex-direction: column; }
.ae-product-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.ae-product-name { font-size: 15px; font-weight: 700; color: var(--text-1); margin-bottom: 0.25rem; }
.ae-product-desc { font-size: 13px; color: var(--text-2); flex: 1; margin-bottom: 0.75rem; line-height: 1.5; }
.ae-product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.ae-product-price { font-size: 20px; font-weight: 800; color: #fff; }
.ae-product-price-old { font-size: 13px; color: var(--text-3); text-decoration: line-through; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.ae-hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
}

/* Mesh gradient background */
.ae-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(124,58,237,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 80%, rgba(79,70,229,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 10%, rgba(139,92,246,0.08) 0%, transparent 50%),
    var(--bg-1);
  z-index: 0;
}

/* Animated orbs */
.ae-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.ae-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(124,58,237,0.22) 0%, transparent 70%);
  top: -200px; left: -200px;
  animation: orb-float 12s ease-in-out infinite;
}
.ae-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(79,70,229,0.18) 0%, transparent 70%);
  bottom: -100px; right: -100px;
  animation: orb-float 9s ease-in-out infinite reverse;
}
.ae-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
  top: 40%; left: 60%;
  animation: orb-float 15s ease-in-out infinite 3s;
}
@keyframes orb-float {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(40px,-40px) scale(1.05); }
  66%      { transform: translate(-20px,30px) scale(0.95); }
}

/* Grid overlay */
.ae-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(139,92,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  z-index: 0;
}

.ae-hero-content {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .ae-hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .ae-hero-visual { display: none; }
}

.ae-hero-eyebrow {
  margin-bottom: 1.25rem;
}
.ae-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--text-1);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.ae-hero-sub {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 480px;
}
.ae-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }
.ae-hero-stats {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
}
.ae-stat { }
.ae-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 700; color: #fff;
}
.ae-stat-label { font-size: 12px; color: var(--text-3); letter-spacing: 0.03em; }

/* Hero visual — floating cards */
.ae-hero-visual {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ae-float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: 1rem 1.25rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(139,92,246,0.15);
  min-width: 180px;
}
.ae-float-card-1 {
  top: 40px; left: 50%; transform: translateX(-240px);
  animation: card-float1 6s ease-in-out infinite;
}
.ae-float-card-2 {
  top: 120px; left: 50%; transform: translateX(60px);
  animation: card-float2 8s ease-in-out infinite 1s;
}
.ae-float-card-3 {
  bottom: 80px; left: 50%; transform: translateX(-250px);
  animation: card-float1 7s ease-in-out infinite 2s;
}
.ae-float-card-4 {
  bottom: 40px; left: 50%; transform: translateX(80px);
  animation: card-float2 5s ease-in-out infinite 0.5s;
}
@keyframes card-float1 {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-12px) rotate(0deg); }
}
@keyframes card-float2 {
  0%,100% { transform: translateY(0) rotate(1deg); }
  50%      { transform: translateY(-10px) rotate(-0.5deg); }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.ae-section { padding: 5rem 1.5rem; }
.ae-section-sm { padding: 3rem 1.5rem; }
.ae-section-alt { background: var(--bg-2); }

.ae-section-header { text-align: center; margin-bottom: 3rem; }
.ae-section-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--violet-400); margin-bottom: 0.75rem;
}
.ae-section-eyebrow::before, .ae-section-eyebrow::after {
  content: ''; display: block; width: 24px; height: 1px; background: var(--violet-500); opacity: 0.6;
}
.ae-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; letter-spacing: -0.02em;
  color: var(--text-1); margin-bottom: 0.75rem;
  line-height: 1.15;
}
.ae-section-sub {
  font-size: 16px; color: var(--text-2);
  max-width: 560px; margin: 0 auto; line-height: 1.65;
}

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.ae-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative; overflow: hidden;
  text-decoration: none; display: block;
}
.ae-category-card::after {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-btn);
  opacity: 0; transition: opacity 0.3s;
  border-radius: inherit;
}
.ae-category-card:hover {
  border-color: var(--border-3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 30px rgba(139,92,246,0.1);
}
.ae-category-card:hover::after { opacity: 0.05; }
.ae-category-icon {
  font-size: 36px; margin-bottom: 0.75rem;
  display: block; position: relative; z-index: 1;
}
.ae-category-name {
  font-size: 14px; font-weight: 700; color: var(--text-1);
  position: relative; z-index: 1;
}
.ae-category-count {
  font-size: 12px; color: var(--text-3); margin-top: 0.25rem;
  position: relative; z-index: 1;
}

/* ============================================================
   FEATURES / INFO CARDS
   ============================================================ */
.ae-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  padding: 2rem;
  transition: all 0.25s ease;
  position: relative; overflow: hidden;
}
.ae-feature-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-btn);
  opacity: 0; transition: opacity 0.3s;
}
.ae-feature-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.ae-feature-card:hover::before { opacity: 1; }
.ae-feature-icon {
  width: 52px; height: 52px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 1.25rem;
  color: var(--violet-400);
}
.ae-feature-title { font-size: 17px; font-weight: 700; color: var(--text-1); margin-bottom: 0.5rem; }
.ae-feature-desc { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ============================================================
   HOW IT WORKS — STEPS
   ============================================================ */
.ae-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .ae-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ae-steps { grid-template-columns: 1fr; } }

.ae-step {
  position: relative;
  text-align: center; padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  transition: all 0.25s ease;
}
.ae-step:hover { border-color: var(--border-2); transform: translateY(-3px); }
.ae-step-num {
  width: 56px; height: 56px; margin: 0 auto 1.25rem;
  background: var(--grad-btn);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 800; color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}
.ae-step-title { font-size: 16px; font-weight: 700; color: var(--text-1); margin-bottom: 0.5rem; }
.ae-step-desc { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* ============================================================
   REVIEWS
   ============================================================ */
.ae-review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  transition: border-color 0.25s;
}
.ae-review-card:hover { border-color: var(--border-2); }
.ae-review-stars { color: #fbbf24; font-size: 13px; margin-bottom: 0.75rem; }
.ae-review-text { font-size: 14px; color: var(--text-2); line-height: 1.65; margin-bottom: 1rem; }
.ae-review-author { display: flex; align-items: center; gap: 0.75rem; }
.ae-review-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--grad-btn);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.ae-review-name { font-size: 14px; font-weight: 600; color: var(--text-1); }
.ae-review-product { font-size: 12px; color: var(--text-3); }

/* ============================================================
   FORMS / INPUTS
   ============================================================ */
.ae-input-group { margin-bottom: 1.25rem; }
.ae-label {
  display: block; font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 0.4rem;
}
.ae-input-wrap { position: relative; display: flex; align-items: center; }
.ae-input-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-3); font-size: 14px; pointer-events: none;
  z-index: 1; transition: color 0.2s;
}
.ae-input {
  width: 100%;
  /* Default: no icon, standard padding */
  padding: 0.75rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-1);
  border-radius: var(--r-md);
  color: var(--text-1);
  font-size: 14px; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
}
.ae-input::placeholder { color: var(--text-3); opacity: 1; }
.ae-input:focus {
  border-color: rgba(139,92,246,0.5);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.12);
}
.ae-input:disabled { opacity: 0.5; cursor: not-allowed; }

/* ─── Icon padding rules ──────────────────────────────────────────────── */
/* Any .ae-input inside .ae-input-wrap always has a left icon → shift right */
.ae-input-wrap .ae-input { padding-left: 2.75rem; }
/* Modern :has() fallback for completeness                                */
.ae-input-wrap:has(.ae-input-icon) .ae-input { padding-left: 2.75rem; }
/* Password fields with a show/hide toggle need right padding too         */
.ae-input-wrap:has(.pw-toggle) .ae-input { padding-right: 2.75rem; }

.ae-input-wrap:focus-within .ae-input-icon { color: var(--violet-400); }
/* Input explicitly flagged as no-icon — override left padding            */
.ae-input-no-icon { padding-left: 1rem !important; }
.ae-input-wrap:has(.ae-input-no-icon) .ae-input-icon { display: none; }

/* Auth card */
.ae-auth-card {
  background: rgba(10,10,26,0.9);
  border: 1px solid var(--border-2);
  border-radius: var(--r-2xl);
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(139,92,246,0.1);
  position: relative; overflow: hidden;
}
.ae-auth-card::before {
  content: ''; position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 60%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(139,92,246,0.6), transparent);
}

/* ============================================================
   DIVIDER
   ============================================================ */
.ae-divider {
  display: flex; align-items: center; gap: 1rem;
  margin: 1.25rem 0; font-size: 12px; color: var(--text-3);
}
.ae-divider::before, .ae-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border-1);
}

/* ============================================================
   SOCIAL BUTTONS
   ============================================================ */
.ae-social-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  width: 100%; padding: 0.7rem 1rem;
  border-radius: var(--r-md);
  font-size: 14px; font-weight: 600;
  border: 1px solid var(--border-1);
  background: var(--bg-card);
  color: var(--text-1);
  cursor: pointer; transition: all 0.2s;
}
.ae-social-btn:hover { border-color: var(--border-2); background: var(--bg-card-h); transform: translateY(-1px); }

/* ============================================================
   FOOTER
   ============================================================ */
.ae-footer {
  background: var(--bg-0);
  border-top: 1px solid var(--border-1);
  padding: 4rem 1.5rem 2rem;
}
.ae-footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
@media (max-width: 900px) { .ae-footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .ae-footer-inner { grid-template-columns: 1fr; gap: 2rem; } }

.ae-footer-brand-logo { margin-bottom: 1rem; }
.ae-footer-brand-desc { font-size: 13px; color: var(--text-3); line-height: 1.65; margin-bottom: 1.25rem; max-width: 280px; }
.ae-footer-socials { display: flex; gap: 0.5rem; }
.ae-footer-social {
  width: 34px; height: 34px;
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--text-3);
  transition: all 0.2s;
}
.ae-footer-social:hover { border-color: var(--border-2); color: var(--violet-300); }
.ae-footer-col-title { font-size: 13px; font-weight: 700; color: var(--text-1); margin-bottom: 1rem; letter-spacing: 0.04em; }
.ae-footer-link {
  display: block; font-size: 13px; color: var(--text-3);
  margin-bottom: 0.5rem; transition: color 0.2s;
  text-decoration: none;
}
.ae-footer-link:hover { color: var(--violet-300); }
.ae-footer-bottom {
  border-top: 1px solid var(--border-1);
  padding-top: 1.5rem;
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem;
}
.ae-footer-copy { font-size: 13px; color: var(--text-3); }
.ae-footer-legal { display: flex; gap: 1.25rem; }
.ae-footer-legal a { font-size: 13px; color: var(--text-3); transition: color 0.2s; }
.ae-footer-legal a:hover { color: var(--text-2); }

/* ============================================================
   SUPPORT FLOAT BUTTON
   ============================================================ */
.ae-support-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200;
  width: 54px; height: 54px;
  background: var(--grad-btn);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
  box-shadow: 0 4px 24px rgba(124,58,237,0.5), 0 0 0 1px rgba(139,92,246,0.3);
  cursor: pointer; transition: all 0.25s;
  text-decoration: none;
  animation: float-btn 4s ease-in-out infinite;
}
.ae-support-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 40px rgba(124,58,237,0.7), 0 0 0 2px rgba(139,92,246,0.5);
}
@keyframes float-btn {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.ae-support-float:hover { animation-play-state: paused; transform: scale(1.1); }

/* ============================================================
   STORE FILTERS
   ============================================================ */
.ae-filter-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; align-items: center; }
.ae-filter-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  font-size: 13px; font-weight: 600;
  border: 1px solid var(--border-1);
  background: var(--bg-card);
  color: var(--text-2);
  border-radius: var(--r-full);
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.ae-filter-chip:hover, .ae-filter-chip.active {
  background: rgba(139,92,246,0.15);
  border-color: var(--border-2);
  color: var(--violet-300);
}
.ae-search-bar {
  position: relative; flex: 1; min-width: 200px;
}
.ae-search-bar input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: var(--r-full);
  color: var(--text-1); font-size: 14px;
  outline: none; transition: all 0.2s;
}
.ae-search-bar input:focus { border-color: var(--border-2); box-shadow: 0 0 0 3px var(--glow-violet); }
.ae-search-bar input::placeholder { color: var(--text-3); }
.ae-search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-size: 13px; }

/* Products grid */
.ae-products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
@media (max-width: 480px) { .ae-products-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.ae-page-hero {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border-1);
  padding: 6rem 1.5rem 3rem;
  position: relative; overflow: hidden;
}
.ae-page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 20% 50%, rgba(124,58,237,0.1) 0%, transparent 60%);
}
.ae-page-hero-content { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; }
.ae-page-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800; letter-spacing: -0.02em;
  color: var(--text-1); margin-bottom: 0.5rem;
}
.ae-page-sub { font-size: 16px; color: var(--text-2); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.ae-mobile-menu {
  display: none; position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(4,4,13,0.98);
  border-bottom: 1px solid var(--border-2);
  padding: 1rem 1.5rem;
  z-index: 99;
  backdrop-filter: blur(20px);
}
.ae-mobile-menu.open { display: block; }
.ae-mobile-link {
  display: block; padding: 0.75rem 0;
  font-size: 16px; font-weight: 500; color: var(--text-2);
  border-bottom: 1px solid var(--border-1);
  transition: color 0.2s;
}
.ae-mobile-link:hover, .ae-mobile-link.active { color: var(--violet-300); }
.ae-mobile-link:last-child { border-bottom: none; }

/* Hamburger */
.ae-hamburger {
  display: none; flex-direction: column;
  gap: 5px; background: none; border: none; padding: 4px; cursor: pointer;
}
.ae-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-2); border-radius: 2px;
  transition: all 0.3s;
}
@media (max-width: 768px) {
  .ae-nav-links { display: none !important; }
  .ae-hamburger { display: flex; }
}

/* ============================================================
   ANIMATIONS / UTILITIES
   ============================================================ */
.ae-fade-in { animation: ae-fade-in 0.5s ease forwards; }
@keyframes ae-fade-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.ae-shine-line {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(139,92,246,0.6), transparent);
  margin: 2rem 0;
}

/* Gradient border hack */
.ae-grad-border {
  position: relative; border-radius: var(--r-xl); padding: 1px;
  background: linear-gradient(135deg, rgba(139,92,246,0.4), rgba(99,102,241,0.15), rgba(139,92,246,0.4));
}
.ae-grad-border > * {
  background: var(--bg-card);
  border-radius: calc(var(--r-xl) - 1px);
  height: 100%;
}

/* CTA banner */
.ae-cta-banner {
  background: linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(79,70,229,0.1) 100%);
  border: 1px solid var(--border-2);
  border-radius: var(--r-2xl);
  padding: 3rem 2rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.ae-cta-banner::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 50%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(139,92,246,0.8), transparent);
}

/* ============================================================
   RESPONSIVE GRIDS
   ============================================================ */
.ae-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.ae-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.ae-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
@media (max-width: 1100px) { .ae-grid-4 { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 800px)  { .ae-grid-4 { grid-template-columns: repeat(2,1fr); } .ae-grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px)  { .ae-grid-4, .ae-grid-3, .ae-grid-2 { grid-template-columns: 1fr; } }

/* notification toast */
.ae-toast {
  position: fixed; bottom: 5rem; right: 1.5rem; z-index: 300;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: 0.75rem 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 14px; font-weight: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  animation: toast-in 0.3s ease;
}
@keyframes toast-in { from { opacity:0; transform: translateX(20px); } to { opacity:1; transform: none; } }

/* ============================================================
   COMPAT ALIASES — used by checkout/request/terms/privacy pages
   ============================================================ */

/* ae-container — generic max-width wrapper */
.ae-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Footer grid layout alias (used in checkout, terms, privacy, request) */
.ae-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) { .ae-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .ae-footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* Footer brand block alias */
.ae-footer-brand { }
.ae-footer-desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.65;
  margin-top: 0.5rem;
  max-width: 280px;
}

/* Footer column aliases */
.ae-footer-heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}
.ae-footer-links {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.35rem;
}
.ae-footer-links a {
  font-size: 13px;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s;
}
.ae-footer-links a:hover { color: var(--violet-300); }

/* Checkout / product page specific */
.ae-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.3rem 0.85rem;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  border-radius: var(--r-full);
  background: rgba(139,92,246,0.12);
  color: var(--violet-300);
  border: 1px solid rgba(139,92,246,0.25);
}

.ae-heading-2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.ae-price-display {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 800;
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Form label */
.ae-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.5rem;
}

/* ae-input without icon (standalone, no wrapper with .ae-input-icon) */
.ae-input-no-icon-standalone {
  padding-left: 1rem;
}

/* Rating summary (used by reviews page) */
.ae-rating-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  color: var(--text-2);
}
.ae-stars {
  display: inline-flex;
  gap: 2px;
  color: #fbbf24;
  font-size: 14px;
}

/* ============================================================
   MISSING CLASSES — completări design system
   ============================================================ */

/* store.html — buton stoc redus / warning */
.ae-btn-warning {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #fff;
  border: 1px solid rgba(217,119,6,0.4);
  box-shadow: 0 0 12px rgba(217,119,6,0.2);
}
.ae-btn-warning:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 0 20px rgba(245,158,11,0.35);
  transform: translateY(-1px);
}

/* index.html — hero text gradient */
.ae-hero-text {
  background: var(--grad-text, linear-gradient(135deg, #c4b5fd 0%, #818cf8 50%, #c4b5fd 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

/* login.html / register.html — checkbox row */
.ae-check-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
  user-select: none;
}
.ae-check-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--violet-500);
  cursor: pointer;
}

/* login.html / register.html — mesaje status */
.ae-error-box {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: var(--r-md, 10px);
  padding: 0.75rem 1rem;
  color: #f87171;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ae-success-box {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: var(--r-md, 10px);
  padding: 0.75rem 1rem;
  color: #4ade80;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* register.html — lista de beneficii / perks */
.ae-perks {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
}
.ae-perk {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 13px;
  color: var(--text-2);
}
.ae-perk i {
  color: var(--green, #22c55e);
  font-size: 12px;
  flex-shrink: 0;
}

/* ============================================================
   BUTTON COLOR OVERRIDE — ensures text is always visible
   ============================================================ */
.ae-btn-primary,
.ae-btn-primary:link,
.ae-btn-primary:visited,
a.ae-btn-primary,
button.ae-btn-primary {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.ae-btn-primary:hover,
.ae-btn-primary:focus,
.ae-btn-primary:active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.ae-btn-outline {
  color: #c4b5fd !important;
}
.ae-btn-outline:hover {
  color: #ede9fe !important;
}
.ae-btn-ghost {
  color: rgba(226,232,240,0.85) !important;
}
.ae-btn-ghost:hover {
  color: #f1f5f9 !important;
}

/* ============================================================
   GLOBAL TEXT VISIBILITY & CONTRAST FIXES
   Applied after all other styles to ensure readability on dark backgrounds
   ============================================================ */

/* Tailwind slate text colour overrides — brighter on dark bg */
.text-slate-600 { color: #94a3b8 !important; }
.text-slate-500 { color: #94a3b8 !important; }
.text-slate-400 { color: #b0bccc !important; }
.text-slate-300 { color: #cbd5e1 !important; }

/* Footer links and muted text */
#footer-links a,
#footer-links { color: #64748b !important; }
#footer-links a:hover { color: #94a3b8 !important; }

/* btn-secondary — ensure text is always visible */
.btn-secondary,
.btn-secondary:link,
.btn-secondary:visited,
button.btn-secondary,
a.btn-secondary {
  color: #e2e8f0 !important;
  border-color: rgba(255,255,255,0.12) !important;
  background: rgba(255,255,255,0.07) !important;
}
.btn-secondary:hover,
.btn-secondary:focus {
  color: #ffffff !important;
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.2) !important;
}

/* btn-primary — white text always */
.btn-primary,
.btn-primary:link,
.btn-primary:visited,
button.btn-primary,
a.btn-primary {
  color: #ffffff !important;
}
.btn-primary:hover,
.btn-primary:focus {
  color: #ffffff !important;
}

/* Labels in modals and forms */
label.text-slate-400,
label.text-xs.text-slate-400 {
  color: #94a3b8 !important;
}

/* Dashboard transaction/history text */
.text-slate-300 { color: #cbd5e1 !important; }

/* Notification list empty state */
li.text-slate-500 { color: #94a3b8 !important; }

/* Renew / duration button text */
.renew-duration-btn {
  color: #e2e8f0 !important;
}
.renew-duration-btn p,
.renew-duration-btn span {
  color: inherit !important;
}

/* ── GREEK-GODS LOGO ── */
.ae-logo-mark {
  position: relative; width: 40px; height: 40px;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 50%, #4f46e5 100%);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 900; font-size: 15px; color: #fff;
  box-shadow: 0 0 0 1px rgba(167,139,250,.3), 0 0 24px rgba(124,58,237,.5), 0 0 48px rgba(124,58,237,.2);
  letter-spacing: -1px; overflow: visible; flex-shrink: 0;
}
.ae-logo-text {
  font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: 18px;
  background: linear-gradient(135deg, #e2d9f3 0%, #a78bfa 50%, #818cf8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: 0.05em;
}
.ae-beta-badge {
  display: inline-flex; align-items: center;
  background: linear-gradient(135deg, rgba(124,58,237,.25), rgba(99,102,241,.15));
  border: 1px solid rgba(167,139,250,.35); color: #c4b5fd;
  font-size: 9px; font-weight: 800; letter-spacing: 0.12em;
  padding: 2px 7px; border-radius: 6px; text-transform: uppercase;
  box-shadow: 0 0 8px rgba(124,58,237,.2);
}
.ae-nav-social { display: flex; align-items: center; gap: .4rem; }
.ae-nav-social-btn {
  display: flex; align-items: center; gap: 6px; padding: .32rem .65rem;
  border-radius: 8px; font-size: 12px; font-weight: 600; text-decoration: none;
  transition: all .2s; white-space: nowrap; border: 1px solid;
}
.ae-nav-discord { background: rgba(88,101,242,.12); border-color: rgba(88,101,242,.3); color: #818cf8; }
.ae-nav-discord:hover { background: rgba(88,101,242,.22); border-color: rgba(88,101,242,.5); color: #a5b4fc; }
.ae-nav-telegram { background: rgba(39,161,242,.1); border-color: rgba(39,161,242,.25); color: #60a5fa; }
.ae-nav-telegram:hover { background: rgba(39,161,242,.2); border-color: rgba(39,161,242,.42); color: #93c5fd; }
.ae-nav-social-btn i { font-size: 13px; }

/* ── HERO ── */
.ae-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden; background: var(--bg-1);
}
.ae-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(124,58,237,.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(99,102,241,.1) 0%, transparent 60%),
    radial-gradient(ellipse 100% 50% at 50% 0%, rgba(139,92,246,.06) 0%, transparent 50%);
}
.ae-hero-grid {
  position: absolute; inset: 0;
  background-image: url('/assets/img/grid.svg'); background-size: 40px 40px; opacity: .04;
}
.ae-hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem;
}
.ae-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--violet-400); margin-bottom: 1rem;
}
.ae-hero-eyebrow::before,.ae-hero-eyebrow::after {
  content:''; display:block; width:24px; height:1px; background:var(--violet-500); opacity:.6;
}
.ae-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(38px, 5vw, 62px); font-weight: 800; line-height: 1.08;
  color: var(--text-1); letter-spacing: -.02em; margin-bottom: 1.25rem;
}
.ae-gradient-text {
  background: linear-gradient(135deg, #c4b5fd 0%, #818cf8 50%, #a78bfa 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.ae-hero-sub { font-size: 17px; color: var(--text-2); line-height: 1.65; margin-bottom: 2rem; max-width: 480px; }
.ae-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.ae-hero-stats { display: flex; flex-wrap: wrap; gap: 2rem; }
.ae-stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; color: #fff; }
.ae-stat-label { font-size: 12px; color: var(--text-3); letter-spacing: .03em; }

/* ── MASCOT ── */
.ae-hero-visual-wrap {
  position: relative; display: flex; align-items: center; justify-content: center; height: 540px;
}
.ae-mascot-glow {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.35) 0%, rgba(99,102,241,.15) 50%, transparent 70%);
  filter: blur(40px); animation: glow-pulse 4s ease-in-out infinite;
}
@keyframes glow-pulse { 0%,100%{opacity:.7;transform:scale(1)} 50%{opacity:1;transform:scale(1.12)} }
.ae-mascot-rings { position: absolute; width: 380px; height: 380px; }
.ae-mascot-rings::before,.ae-mascot-rings::after {
  content:''; position:absolute; inset:0; border-radius:50%;
  border:1px solid rgba(139,92,246,.15); animation:ring-rotate 12s linear infinite;
}
.ae-mascot-rings::after { inset:20px; border-color:rgba(99,102,241,.1); animation-direction:reverse; animation-duration:8s; }
@keyframes ring-rotate { from{transform:rotate(0)} to{transform:rotate(360deg)} }
.ae-mascot-img {
  position: relative; z-index: 3; height: 460px; width: auto; object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(124,58,237,.5)) drop-shadow(0 20px 60px rgba(0,0,0,.6));
  animation: mascot-float 6s ease-in-out infinite;
}
@keyframes mascot-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }

/* ── FLOAT BADGES ── */
.ae-hero-badge {
  position: absolute; z-index: 4;
  background: rgba(16,16,31,.85); backdrop-filter: blur(12px);
  border: 1px solid rgba(139,92,246,.25); border-radius: 14px;
  padding: .6rem 1rem; display: flex; align-items: center; gap: .6rem;
  font-size: 13px; font-weight: 600; color: var(--text-1); white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.ae-hero-badge-icon { font-size: 18px; }
.ae-hero-badge-sub { font-size: 11px; color: var(--text-3); font-weight: 400; }
.ae-hb-1 { top: 8%; left: 0%; animation: hb-float1 5s ease-in-out infinite; }
.ae-hb-2 { top: 30%; right: 0%; animation: hb-float2 4.5s ease-in-out infinite .5s; }
.ae-hb-3 { bottom: 22%; left: 0%; animation: hb-float1 5.5s ease-in-out infinite 1s; }
.ae-hb-4 { bottom: 6%; right: 0%; animation: hb-float2 4s ease-in-out infinite .25s; }
@keyframes hb-float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes hb-float2 { 0%,100%{transform:translateY(0) rotate(.5deg)} 50%{transform:translateY(-8px) rotate(-.5deg)} }

@media (max-width: 900px) {
  .ae-hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 5rem; }
  .ae-hero-visual-wrap { order: -1; height: 320px; }
  .ae-mascot-img { height: 280px; }
  .ae-hero-actions { justify-content: center; }
  .ae-hero-stats { justify-content: center; }
  .ae-hero-badge { display: none; }
  .ae-mascot-rings { width: 240px; height: 240px; }
  .ae-mascot-glow { width: 200px; height: 200px; }
}
@media (max-width: 540px) {
  .ae-nav-social-btn span { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   AETHER - SITE-WIDE FIXES & IMPROVEMENTS v4
   ═══════════════════════════════════════════════════════════════ */

/* ── LOGO: Æ (Ae invers) consistent pe tot site-ul ── */
.ae-logo-mark {
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%) !important;
  box-shadow: 0 0 20px rgba(124,58,237,.45), inset 0 1px 0 rgba(255,255,255,.15) !important;
  border-radius: 10px !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: -1px !important;
}
.ae-logo-text {
  background: linear-gradient(135deg, #ede9fe 0%, #a78bfa 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  font-size: 16px !important;
}
.ae-beta-badge {
  background: rgba(124,58,237,.18);
  border: 1px solid rgba(167,139,250,.35);
  color: #c4b5fd;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  padding: 2px 6px;
  border-radius: 5px;
  text-transform: uppercase;
  margin-left: 3px;
  vertical-align: middle;
}

/* ── NAVBAR GLASSMORPHISM ── */
.ae-navbar {
  background: rgba(8,8,24,.8) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  border-bottom: 1px solid rgba(124,58,237,.1) !important;
  box-shadow: 0 1px 0 rgba(124,58,237,.06), 0 4px 20px rgba(0,0,0,.18) !important;
  height: 60px !important;
}
.ae-navbar.scrolled {
  background: rgba(4,4,14,.94) !important;
  border-bottom-color: rgba(124,58,237,.18) !important;
}
.ae-navbar-inner {
  gap: 0.5rem !important;
}

/* ── SOCIAL BUTTONS ALWAYS VISIBLE ── */
.ae-nav-social { display: flex !important; align-items: center; gap: 5px; flex-shrink: 0; }
.ae-nav-social-btn {
  display: inline-flex !important;
  align-items: center; gap: 5px;
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 12px; font-weight: 600;
  text-decoration: none;
  transition: all .18s;
  border: 1px solid;
  white-space: nowrap;
  flex-shrink: 0;
}
.ae-nav-discord { background: rgba(88,101,242,.1); border-color: rgba(88,101,242,.25); color: #818cf8 !important; }
.ae-nav-discord:hover { background: rgba(88,101,242,.22); color: #a5b4fc !important; }
.ae-nav-telegram { background: rgba(39,161,242,.08); border-color: rgba(39,161,242,.2); color: #60a5fa !important; }
.ae-nav-telegram:hover { background: rgba(39,161,242,.18); color: #93c5fd !important; }
.ae-nav-social-btn i { font-size: 12px; }

/* ── CATEGORY FILTERS - NO GAPS, CLEAN ── */
.ae-filter-bar {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  align-items: center !important;
  margin-bottom: 1.5rem !important;
}
.ae-filter-chip {
  border-radius: 0 !important;
  margin: 0 !important;
  border-right-width: 0 !important;
  border-left: 1px solid var(--border-1) !important;
  border-top: 1px solid var(--border-1) !important;
  border-bottom: 1px solid var(--border-1) !important;
  padding: .45rem .85rem !important;
  font-size: 13px !important;
  white-space: nowrap !important;
}
.ae-filter-chip:first-child { border-radius: var(--r-lg) 0 0 var(--r-lg) !important; }
.ae-filter-chip:last-child { border-radius: 0 var(--r-lg) var(--r-lg) 0 !important; border-right: 1px solid var(--border-1) !important; }
.ae-filter-chip.active { border-color: rgba(124,58,237,.5) !important; }

/* Search always separated */
.ae-filter-bar .ae-search-bar {
  flex-shrink: 0;
  margin-right: 1rem;
}

/* ── MOBILE NAVBAR - COMPACT & CLEAN ── */
@media (max-width: 768px) {
  .ae-navbar-inner { padding: 0 1rem !important; gap: 0.4rem !important; }
  .ae-logo-text { font-size: 14px !important; }
  .ae-beta-badge { display: none !important; }
  .ae-nav-social-btn span { display: none !important; }
  .ae-nav-social-btn { padding: 5px 8px !important; }
  .ae-nav-social { gap: 4px !important; }
  .ae-nav-auth .ae-btn { padding: .3rem .6rem !important; font-size: 12px !important; }
  .ae-nav-auth { gap: 4px !important; }
  .ae-filter-chip { padding: .4rem .6rem !important; font-size: 12px !important; }
  .ae-filter-bar { overflow-x: auto; flex-wrap: nowrap; }
  .ae-filter-bar::-webkit-scrollbar { display: none; }
}
@media (max-width: 480px) {
  .ae-nav-social { display: none !important; }
}

/* ── MASCOT ── */
.ae-mascot-img, img[src*="mascot"] {
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 40px rgba(124,58,237,.6)) drop-shadow(0 20px 40px rgba(0,0,0,.5)) !important;
  animation: mascot-float-v4 5s ease-in-out infinite !important;
}
@keyframes mascot-float-v4 {
  0%,100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
}

/* ── DASHBOARD INPUT TEXT ── */
.ae-input, .ae-input:focus {
  color: var(--text-1) !important;
}
.ae-input::placeholder { color: var(--text-3) !important; }
/* Dashboard Tailwind inputs */
.bg-slate-900 input, .bg-slate-950\/60, input.rounded-xl, input.rounded-lg,
input[type="password"], input[type="number"] {
  color: #f1f5f9 !important;
  caret-color: #f1f5f9 !important;
}

/* ── FLOAT CARDS ── */
.ae-float-card {
  position: absolute; z-index: 5;
  background: rgba(10,10,28,.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(124,58,237,.22);
  border-radius: 13px;
  padding: 9px 13px;
  display: flex; align-items: center; gap: 9px;
  box-shadow: 0 8px 30px rgba(0,0,0,.28);
  white-space: nowrap;
}
.ae-float-card-1 { top:6%;left:2%;animation:fc1 5s ease-in-out infinite; }
.ae-float-card-2 { top:30%;right:0%;animation:fc2 4.5s ease-in-out infinite .5s; }
.ae-float-card-3 { bottom:24%;left:2%;animation:fc1 5.5s ease-in-out infinite 1s; }
.ae-float-card-4 { bottom:6%;right:2%;animation:fc2 4s ease-in-out infinite .3s; }
@keyframes fc1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
@keyframes fc2 { 0%,100%{transform:translateY(0) rotate(.4deg)} 50%{transform:translateY(-7px) rotate(-.4deg)} }
@media (max-width:768px) { .ae-float-card { display: none !important; } }
