/* ==========================================================================
   ECHIDNA SOVEREIGN — LANDING PAGE LUXURY DARK THEME
   Paleta: Obsidian (#06040A), Ametista (#A855F7), Crimson (#FF0055), Chrome (#F8FAFC)
   ========================================================================== */

:root {
  --bg-deep: #06040A;
  --bg-surface: #0E0916;
  --bg-surface-elevated: #161024;
  --bg-card: rgba(22, 16, 36, 0.65);
  --border-subtle: rgba(168, 85, 247, 0.15);
  --border-glow: rgba(168, 85, 247, 0.4);
  
  --primary: #A855F7;
  --primary-hover: #C084FC;
  --accent-crimson: #FF0055;
  --accent-cyan: #38BDF8;
  --accent-emerald: #10B981;
  
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-glow: 0 0 35px rgba(168, 85, 247, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

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

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

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Gradients & Ambient Lights */
.ambient-glow-1 {
  position: fixed;
  top: -150px;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-2 {
  position: fixed;
  top: 40%;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 0, 85, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* Grid Overlay */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(6, 4, 10, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: all 0.3s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 2px solid var(--primary);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
  object-fit: cover;
}

.brand-text h1 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-text h1 span {
  color: var(--primary);
}

.brand-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

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

/* Language Dropdown */
.lang-selector {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #A855F7 0%, #7E22CE 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(168, 85, 247, 0.55);
  background: linear-gradient(135deg, #C084FC 0%, #9333EA 100%);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glow);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* HERO SECTION */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(22, 16, 36, 0.85);
  border: 1px solid var(--border-glow);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #E9D5FF;
  margin-bottom: 24px;
  animation: pulsePill 3s infinite;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 30%, #C084FC 70%, #A855F7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Banner Showcase 2D */
.hero-banner-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 6px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(255, 0, 85, 0.2), rgba(168, 85, 247, 0.1));
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.8), var(--shadow-glow);
}

.hero-banner-inner {
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  background: #000;
  position: relative;
}

.hero-banner-inner img {
  width: 100%;
  height: auto;
  display: block;
}

/* STATS ROW */
.stats-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(14, 9, 22, 0.4);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
  font-family: var(--font-mono);
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* INTERACTIVE SHOWCASE SECTION */
.section {
  padding: 100px 0;
}

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

.section-badge {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* Interactive Tabs */
.tabs-control {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-btn:hover {
  color: var(--text-main);
  border-color: var(--border-glow);
}

.tab-btn.active {
  background: rgba(168, 85, 247, 0.15);
  border-color: var(--primary);
  color: var(--text-main);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

/* Tab Panels */
.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

/* Mockup Discord Components V2 Simulator */
.simulator-box {
  background: #110D1A;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.discord-msg-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.discord-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.discord-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.discord-name {
  font-weight: 700;
  color: #FFFFFF;
}

.discord-bot-badge {
  background: #5865F2;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.discord-timestamp {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* V2 Container Card */
.v2-container {
  background: rgba(22, 16, 36, 0.8);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-left: 62px;
}

.v2-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.v2-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.v2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.v2-field {
  background: rgba(14, 9, 22, 0.6);
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.v2-field-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
}

.v2-field-val {
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 600;
}

.v2-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.v2-btn {
  background: #2B2D31;
  color: #FFFFFF;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.v2-btn:hover {
  background: #3B3E45;
}

.v2-btn-primary {
  background: #5865F2;
}

.v2-btn-primary:hover {
  background: #4752C4;
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card), 0 0 25px rgba(168, 85, 247, 0.15);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}

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

/* FOOTER */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  background: var(--bg-surface);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-info {
  max-width: 360px;
}

.footer-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
}

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

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulsePill {
  0%, 100% { box-shadow: 0 0 15px rgba(168, 85, 247, 0.15); }
  50% { box-shadow: 0 0 25px rgba(168, 85, 247, 0.35); }
}

/* Responsive */
@media (max-width: 868px) {
  .nav-links {
    display: none;
  }
  .v2-container {
    margin-left: 0;
    margin-top: 14px;
  }
}
