/* =============================================================================
   AVIA — Global styles
   Dark + neon (purple/cyan) theme
   ============================================================================= */

:root {
  --bg:         #07060d;
  --bg-2:       #0c0a17;
  --surface:    #14102166;
  --surface-2:  #1a1530cc;
  --border:     #2a2245;
  --border-2:   #3a2f60;

  --text:       #ecebff;
  --text-dim:   #a5a3c2;
  --text-mute:  #6b6889;

  --neon-purple: #a855f7;
  --neon-purple-2: #8b5cf6;
  --neon-cyan:   #22d3ee;
  --neon-pink:   #f0abfc;
  --danger:      #ef4444;

  --shadow-glow-purple: 0 0 30px rgba(168, 85, 247, 0.45),
                        0 0 60px rgba(168, 85, 247, 0.25);
  --shadow-glow-cyan:   0 0 30px rgba(34, 211, 238, 0.45),
                        0 0 60px rgba(34, 211, 238, 0.25);

  --radius:    14px;
  --radius-sm: 8px;

  --font-display: 'Orbitron', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ----- background layers ----- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at top, #1a0f33 0%, var(--bg) 60%) 0 0,
    linear-gradient(rgba(168, 85, 247, 0.05) 1px, transparent 1px) 0 0 / 60px 60px,
    linear-gradient(90deg, rgba(168, 85, 247, 0.05) 1px, transparent 1px) 0 0 / 60px 60px;
  background-color: var(--bg);
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  width: 60vmax; height: 60vmax;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  z-index: -1;
  pointer-events: none;
  animation: float 24s ease-in-out infinite;
}
.bg-glow--purple { top: -20vmax; left: -10vmax; background: var(--neon-purple); }
.bg-glow--cyan   { bottom: -30vmax; right: -15vmax; background: var(--neon-cyan); animation-delay: -10s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(4vw, -4vw) scale(1.08); }
}

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: sticky;
  top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: rgba(7, 6, 13, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav--scrolled {
  border-bottom-color: var(--border);
  background: rgba(7, 6, 13, 0.85);
}

.nav__logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo-img {
  display: block;
  height: 38px !important;
  width: auto !important;
  max-width: 220px;
  max-height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.4));
  transition: filter .25s ease, transform .25s ease;
}
.nav__logo:hover .nav__logo-img {
  filter: drop-shadow(0 0 16px rgba(34, 211, 238, 0.7));
  transform: scale(1.04);
}
.nav__links {
  display: flex; gap: 28px;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav__links a {
  position: relative;
  color: var(--text-dim);
  transition: color .2s ease;
}
.nav__links a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  background: transparent; border: 0; padding: 6px;
}
.nav__toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); margin: 5px 0;
  transition: transform .25s ease, opacity .25s ease;
}

@media (max-width: 760px) {
  .nav { padding: 14px 18px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(7, 6, 13, 0.97);
    border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav__links.is-open { max-height: 360px; }
  .nav__links a { padding: 18px 24px; border-top: 1px solid var(--border); }
  .nav__links a::after { display: none; }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: grid; place-items: center;
  text-align: center;
  padding: 60px 24px;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05);
  /* slow ken-burns drift */
  animation: heroDrift 28s ease-in-out infinite alternate;
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(7, 6, 13, 0.55) 0%, rgba(7, 6, 13, 0.85) 70%, var(--bg) 100%),
    linear-gradient(180deg, rgba(7, 6, 13, 0.6) 0%, rgba(7, 6, 13, 0.4) 40%, var(--bg) 100%);
  pointer-events: none;
}
@keyframes heroDrift {
  from { transform: scale(1.05) translate(-1%, -1%); }
  to   { transform: scale(1.12) translate(1.5%, 1%); }
}

.hero__inner { max-width: 900px; position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  padding: 8px 16px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.05);
  margin-bottom: 28px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(64px, 16vw, 200px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
}
.hero__title-line { display: block; }
.hero__title-line--glow {
  background: linear-gradient(90deg, var(--neon-purple) 0%, var(--neon-pink) 50%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.5));
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero__cta {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

.hero__scroll {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, transparent, var(--neon-cyan));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0.3); transform-origin: top; }
  50%  { transform: scaleY(1);   transform-origin: top; }
  51%  { transform: scaleY(1);   transform-origin: bottom; }
  100% { transform: scaleY(0);   transform-origin: bottom; }
}

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
  --pad-y: 14px;
  --pad-x: 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn:hover:not(:disabled) { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
  color: #07060d;
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.35);
}
.btn--primary:hover:not(:disabled) {
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.55), 0 0 0 1px rgba(34, 211, 238, 0.6);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border-2);
  color: var(--text);
}
.btn--ghost:hover:not(:disabled) {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.25);
}

.btn--danger {
  background: transparent;
  border-color: rgba(239, 68, 68, 0.4);
  color: #fda4af;
}
.btn--danger:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--danger);
}

.btn--block { width: 100%; }
.btn--sm    { --pad-y: 9px; --pad-x: 16px; font-size: 11px; }

/* =====================================================================
   Sections
   ===================================================================== */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 120px 24px;
  position: relative;
}
.section--alt { background: linear-gradient(180deg, transparent, rgba(20, 16, 33, 0.4), transparent); }

.section__head {
  display: flex; align-items: baseline; gap: 18px;
  margin-bottom: 56px;
}
.section__num {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--neon-cyan);
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}
.section__lede {
  font-size: 18px; color: var(--text-dim);
  max-width: 600px; margin: -32px 0 40px;
}

.lede { font-size: 20px; line-height: 1.5; color: var(--text); margin: 0 0 20px; }

.muted { color: var(--text-dim); }
.small { font-size: 13px; }
.center { text-align: center; }

/* =====================================================================
   About
   ===================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px; align-items: center;
}
.about__copy p { color: var(--text-dim); }
.about__copy .lede { color: var(--text); }

.about__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.about__stats > div { display: flex; flex-direction: column; gap: 4px; }
.about__stats strong {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 900;
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about__stats span {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--text-mute);
}

.about__tags {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.about__tags span {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  padding: 8px 14px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.06);
  transition: border-color .2s ease, background .2s ease;
}
.about__tags span:hover {
  border-color: var(--neon-cyan);
  background: rgba(34, 211, 238, 0.08);
}

.about__visual {
  position: relative;
  display: grid; place-items: center;
}
.portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-2);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(168, 85, 247, 0.25),
    0 0 80px rgba(168, 85, 247, 0.25);
}
.portrait img:not(.portrait__mark) {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: saturate(1.05) contrast(1.05);
  transition: transform .6s ease;
}
.portrait:hover img:not(.portrait__mark) { transform: scale(1.04); }
.portrait::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(7, 6, 13, 0.75) 100%);
  pointer-events: none;
}
.portrait__mark {
  position: absolute;
  left: 18px; bottom: 18px;
  width: 110px !important;
  height: auto !important;
  max-width: 110px;
  z-index: 1;
  filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.6));
  opacity: 0.95;
}

@media (max-width: 760px) {
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__visual { max-width: 360px; margin: 0 auto; }
}

/* =====================================================================
   Music — embedded player
   ===================================================================== */
.player {
  max-width: 960px;
  margin: 0 auto;
}
.player__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(168, 85, 247, 0.15),
    0 0 60px rgba(168, 85, 247, 0.15);
}
.player__frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.player__link {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.player__link:hover {
  color: var(--text);
  border-color: var(--neon-cyan);
}

/* =====================================================================
   Gallery
   ===================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .6s ease, filter .25s ease;
  filter: saturate(1.05);
}
.gallery__item:hover {
  border-color: var(--neon-purple);
  transform: translateY(-3px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(168, 85, 247, 0.5),
    0 0 28px rgba(168, 85, 247, 0.25);
  z-index: 2;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7, 6, 13, 0.4) 100%);
  pointer-events: none;
}

.gallery__item--wide { grid-column: span 2; grid-row: span 2; }

@media (max-width: 960px) {
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
  .gallery__item--wide { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 600px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 10px; }
  .gallery__item--wide { grid-column: span 2; grid-row: span 1; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(7, 6, 13, 0.92);
  backdrop-filter: blur(8px);
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(168, 85, 247, 0.4);
  animation: lightboxIn .25s ease-out;
}
.lightbox__close {
  position: absolute;
  top: 18px; right: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: rgba(7, 6, 13, 0.6);
  color: var(--text);
  font-size: 20px; line-height: 1;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.lightbox__close:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); }
@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

/* =====================================================================
   Forms
   ===================================================================== */
.form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 540px) { .form__row { grid-template-columns: 1fr; } }

.field { display: block; margin-bottom: 18px; }
.field > span {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.field em    { color: var(--neon-cyan); font-style: normal; }
.field small { color: var(--text-mute); text-transform: none; letter-spacing: 0.05em; margin-left: 6px; }

.field input,
.field textarea {
  width: 100%;
  background: rgba(7, 6, 13, 0.6);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--neon-purple);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

.form__status {
  margin: 18px 0 0;
  min-height: 22px;
  font-size: 14px;
  text-align: center;
}
.form__status[data-kind='error']   { color: #fca5a5; }
.form__status[data-kind='success'] { color: var(--neon-cyan); }

/* =====================================================================
   Contact
   ===================================================================== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact h3 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 8px;
}
.contact h3:not(:first-of-type) { margin-top: 28px; }
.contact a {
  font-size: 18px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color .2s ease, border-color .2s ease;
}
.contact a:hover { color: var(--neon-cyan); border-color: var(--neon-cyan); }

.socials ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.socials li a {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.socials li a:hover {
  border-color: var(--neon-purple);
  color: var(--neon-purple);
  background: rgba(168, 85, 247, 0.1);
}

@media (max-width: 760px) {
  .contact { grid-template-columns: 1fr; gap: 32px; }
}

/* =====================================================================
   Footer
   ===================================================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
}
.footer p { margin: 4px 0; }
