/* ==========================================================================
   SONADIA Web3 Listen-to-Earn Ecosystem - Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&family=Sora:wght@400;600;700;800&display=swap');

:root {
  --bg-main: #131313;
  --bg-card: #1c1b1b;
  --bg-card-alt: #1e1e1e;
  --bg-surface-high: #2a2a2a;
  --bg-surface-highest: #353534;
  --bg-darker: #0e0e0e;

  --text-main: #e5e2e1;
  --text-muted: rgba(229, 226, 225, 0.7);
  --text-dim: rgba(229, 226, 225, 0.45);
  --text-white: #ffffff;

  --primary: #ff562c;
  --primary-hover: #ff3d00;
  --primary-light: #ffb4a2;
  --primary-glow: rgba(255, 86, 44, 0.4);

  --cyan: #00e3fd;
  --cyan-light: #bdf4ff;
  --cyan-glow: rgba(0, 227, 253, 0.35);

  --purple: #9a7bff;
  --purple-light: #cdbdff;
  --purple-glow: rgba(154, 123, 255, 0.35);

  --border-glass: rgba(255, 255, 255, 0.1);
  --border-glass-subtle: rgba(255, 255, 255, 0.06);

  --font-sora: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --max-w-content: 1280px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--primary);
  color: var(--text-white);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface-high);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sora);
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.2;
}

.font-sora { font-family: var(--font-sora); }
.font-inter { font-family: var(--font-inter); }
.font-mono { font-family: var(--font-mono); }

.gradient-text-orange {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-hover) 50%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-cyan {
  background: linear-gradient(90deg, var(--primary) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-glow-orange {
  text-shadow: 0 0 20px var(--primary-glow);
}

.text-glow-cyan {
  text-shadow: 0 0 20px var(--cyan-glow);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-w-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.main-content {
  flex-grow: 1;
  padding-top: var(--nav-height);
}

/* Glassmorphism & Card Styles */
.glass-panel {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass-subtle);
}

.glass-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.glow-border-orange {
  border: 1px solid rgba(255, 86, 44, 0.3);
}

.glow-border-cyan {
  border: 1px solid rgba(0, 227, 253, 0.3);
}

.hover-glow-orange:hover {
  box-shadow: 0 0 30px rgba(255, 86, 44, 0.25);
  border-color: var(--primary);
}

.hover-glow-cyan:hover {
  box-shadow: 0 0 30px rgba(0, 227, 253, 0.25);
  border-color: var(--cyan);
}

/* Badges */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  backdrop-filter: blur(12px);
  width: fit-content;
}

.pill-cyan {
  background: rgba(0, 227, 253, 0.1);
  border: 1px solid rgba(0, 227, 253, 0.4);
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 227, 253, 0.15);
}

.pill-orange {
  background: rgba(255, 86, 44, 0.1);
  border: 1px solid rgba(255, 86, 44, 0.4);
  color: var(--primary);
  box-shadow: 0 0 20px rgba(255, 86, 44, 0.15);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulseAnimation 2s infinite ease-in-out;
}

@keyframes pulseAnimation {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.75); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-md);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: var(--text-white);
  box-shadow: 0 0 25px var(--primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, #e63600 100%);
  box-shadow: 0 0 35px rgba(255, 86, 44, 0.6);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-outline-cyan {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  backdrop-filter: blur(8px);
}

.btn-outline-cyan:hover {
  background: rgba(0, 227, 253, 0.12);
  box-shadow: 0 0 25px rgba(0, 227, 253, 0.3);
  transform: translateY(-1px);
}

.btn-pill {
  border-radius: var(--radius-full);
}

/* Header & Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(19, 19, 19, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  transition: transform 0.2s ease;
}

.brand-logo:hover {
  transform: scale(1.03);
}

.brand-logo img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 0 15px rgba(255, 86, 44, 0.4));
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(16px);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  color: rgba(229, 226, 225, 0.8);
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
  background: var(--primary);
  color: var(--text-white);
  font-weight: 600;
  box-shadow: 0 0 16px var(--primary-glow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-btn {
  display: none;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(19, 19, 19, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-glass);
  padding: 1.25rem 1.5rem 2rem;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 99;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  animation: slideDown 0.25s ease-out;
}

.mobile-drawer.open {
  display: flex;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(229, 226, 225, 0.85);
  transition: all 0.2s ease;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

.mobile-nav-link.active {
  background: var(--primary);
  color: var(--text-white);
  font-weight: 600;
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-glass-subtle);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 6rem;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  mix-blend-mode: overlay;
  transform: scale(1.05);
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(19, 19, 19, 0.8) 60%, var(--bg-main) 100%),
              linear-gradient(180deg, rgba(19, 19, 19, 0.2) 0%, rgba(19, 19, 19, 0.7) 60%, var(--bg-main) 100%);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.glow-orb-orange {
  width: 450px;
  height: 450px;
  background: rgba(255, 86, 44, 0.2);
  top: 20%;
  left: 20%;
}

.glow-orb-cyan {
  width: 450px;
  height: 450px;
  background: rgba(0, 227, 253, 0.18);
  bottom: 10%;
  right: 20%;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(229, 226, 225, 0.8);
  max-width: 680px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}

/* Grid Systems */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* Feature & Overview Cards */
.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.glass-card:hover .feature-icon-wrapper {
  transform: scale(1.1);
}

.icon-orange {
  background: rgba(255, 86, 44, 0.15);
  color: var(--primary);
}

.icon-cyan {
  background: rgba(0, 227, 253, 0.15);
  color: var(--cyan);
}

.icon-purple {
  background: rgba(154, 123, 255, 0.15);
  color: var(--purple);
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 1.5rem;
  margin-top: 2rem;
}

.bento-large {
  grid-column: span 2;
  grid-row: span 2;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-surface-high);
  border-top: 1px solid var(--border-glass);
}

.bento-large-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-large:hover .bento-large-img {
  opacity: 0.6;
  transform: scale(1.04);
}

.bento-large-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 19, 19, 0.1) 0%, rgba(19, 19, 19, 0.85) 75%, var(--bg-main) 100%);
}

.bento-large-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  z-index: 10;
}

.bento-small {
  grid-column: span 2;
  background: var(--bg-card-alt);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-glass-subtle);
}

.bento-border-orange { border-top: 2px solid var(--primary); }
.bento-border-cyan { border-top: 2px solid var(--cyan); }

/* Split Section (Talent & Collectibles) */
.split-section {
  padding: 6rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-glass-subtle);
  border-bottom: 1px solid var(--border-glass-subtle);
}

.split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.showcase-banner-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 4.8;
  border: 1px solid var(--border-glass);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  display: block;
}

.showcase-banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-banner-card:hover img {
  transform: scale(1.05);
}

.showcase-banner-bottom {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.3s ease;
}

.showcase-banner-card:hover .showcase-banner-bottom {
  border-color: rgba(255, 86, 44, 0.5);
}

.icon-circle-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 86, 44, 0.2);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.showcase-banner-card:hover .icon-circle-badge {
  background: var(--primary);
  color: var(--text-white);
}

.split-feature-item {
  background: var(--bg-card-alt);
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass-subtle);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: background 0.2s ease;
}

.split-feature-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Callout Banner */
.callout-box {
  background: linear-gradient(135deg, #1e1e1e 0%, #353534 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  border: 1px solid var(--border-glass);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  margin: 5rem 0;
}

.callout-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.social-pill-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  transition: all 0.25s ease;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.social-btn-telegram {
  background: rgba(36, 161, 222, 0.15);
  border-color: rgba(36, 161, 222, 0.4);
}
.social-btn-telegram:hover {
  background: rgba(36, 161, 222, 0.25);
  border-color: rgba(36, 161, 222, 0.8);
}

.social-btn-linktree {
  background: rgba(67, 230, 96, 0.15);
  border-color: rgba(67, 230, 96, 0.4);
}
.social-btn-linktree:hover {
  background: rgba(67, 230, 96, 0.25);
  border-color: rgba(67, 230, 96, 0.8);
}

/* Interactive Character Showcase (Collections Page) */
.character-viewer-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.character-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
}

.character-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.character-viewer-card:hover .character-img-wrap img {
  transform: scale(1.05);
}

.character-details-panel {
  padding: 2rem;
  background: rgba(19, 19, 19, 0.92);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glass);
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.trait-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-glass-subtle);
}

.trait-chip {
  background: rgba(255, 255, 255, 0.04);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass-subtle);
}

.trait-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.2rem;
}

.trait-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.character-tab-nav {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  width: fit-content;
}

.character-tab-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sora);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(229, 226, 225, 0.7);
  transition: all 0.2s ease;
}

.character-tab-btn.active {
  background: var(--primary);
  color: var(--text-white);
  box-shadow: 0 0 15px var(--primary-glow);
}

/* Modals */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  padding: 2rem;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9);
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-glass);
}

.modal-close-btn {
  color: var(--text-muted);
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
}

/* Form Inputs */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
  letter-spacing: 0.05em;
}

.form-input, .form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Footer */
.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-glass);
  padding: 5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.footer-glow-left {
  position: absolute;
  top: 0;
  left: 25%;
  width: 400px;
  height: 400px;
  background: rgba(255, 86, 44, 0.04);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.footer-glow-right {
  position: absolute;
  bottom: 0;
  right: 25%;
  width: 400px;
  height: 400px;
  background: rgba(0, 227, 253, 0.04);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-glass);
  position: relative;
  z-index: 10;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(2px);
}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
}

.footer-social-link:hover {
  color: var(--text-white);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.footer-social-link:hover svg {
  transform: scale(1.15);
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
  position: relative;
  z-index: 10;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  text-decoration: underline;
  color: var(--text-muted);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .bento-large {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 380px;
  }
  .bento-small {
    grid-column: span 1;
    min-height: 220px;
  }
  .split-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .header-actions .btn-primary {
    display: none;
  }
}
