/* ============================================================
   GEN Z MUSIC — PREMIUM STYLESHEET
   Dark futuristic-noir | Syne + DM Sans | Neon Purple/Blue
   ============================================================ */

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

:root {
  --bg:           #05030f;
  --bg-2:         #090518;
  --surface:      rgba(255,255,255,0.035);
  --surface-hov:  rgba(255,255,255,0.065);
  --border:       rgba(255,255,255,0.07);
  --border-hov:   rgba(160,100,255,0.35);

  --purple:       #9B5CFF;
  --purple-light: #bf93ff;
  --blue:         #3B82F6;
  --blue-light:   #60a5fa;
  --neon:         #c084fc;

  --grad-main:    linear-gradient(135deg, #9B5CFF 0%, #3B82F6 100%);
  --grad-glow:    linear-gradient(135deg, rgba(155,92,255,0.25) 0%, rgba(59,130,246,0.25) 100%);

  --text-primary: #f0ecff;
  --text-sec:     rgba(240,236,255,0.55);
  --text-muted:   rgba(240,236,255,0.3);

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;

  --nav-h:        76px;
  --section-pad:  120px;
  --container:    1200px;

  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

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

img { display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── UTILITY ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 20px;
}

.section-tag.center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.gradient-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  margin-bottom: 64px;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

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

/* stagger children of a visible reveal parent */
.reveal.visible:nth-child(2) { transition-delay: 0.1s; }
.reveal.visible:nth-child(3) { transition-delay: 0.2s; }
.reveal.visible:nth-child(4) { transition-delay: 0.3s; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 16px 36px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s;
}

.btn-primary {
  background: var(--grad-main);
  color: #fff;
  box-shadow: 0 0 0 rgba(155,92,255,0);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(155,92,255,0.45), 0 0 0 1px rgba(155,92,255,0.3);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: var(--surface-hov);
  border-color: var(--border-hov);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(155,92,255,0.15);
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.navbar.scrolled {
  background: rgba(5,3,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* Fallback when logo.png is missing */
.logo[src="logo.png"]:not([complete]) + .logo-fallback,
.nav-logo .logo-text-fallback {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-sec);
  position: relative;
  transition: color 0.25s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--grad-main);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
  color: var(--text-primary);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
}

.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
  width: 100%;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--nav-h) 40px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: orb-float 12s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #9B5CFF 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #3B82F6 0%, transparent 70%);
  bottom: -100px;
  left: -80px;
  animation-delay: -4s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #c084fc 0%, transparent 70%);
  top: 50%;
  left: 30%;
  opacity: 0.2;
  animation-delay: -8s;
}

.orb-4 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #9B5CFF 0%, transparent 70%);
  top: -200px;
  left: -200px;
  opacity: 0.3;
  animation-delay: -2s;
}

.orb-5 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #3B82F6 0%, transparent 70%);
  bottom: -150px;
  right: -150px;
  opacity: 0.35;
  animation-delay: -6s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -40px) scale(1.05); }
  66%       { transform: translate(-20px, 20px) scale(0.97); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 820px;
  z-index: 1;
}

.hero-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--purple-light);
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7.5vw, 6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  color: var(--text-sec);
  margin-bottom: 52px;
  line-height: 1.7;
}

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

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--purple-light));
  animation: scroll-pulse 2s ease-in-out infinite;
}

.hero-scroll-hint span {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(1.1); }
}

/* ── ABOUT ── */
.about {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.about-text {
  color: var(--text-sec);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── VISION ── */
.vision {
  background: var(--bg);
  overflow: hidden;
}

.vision-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.vision-statements {
  max-width: 900px;
  margin: 64px auto 0;
}

.vision-line {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 48px 0;
}

.vision-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--purple);
  flex-shrink: 0;
  width: 24px;
}

.vision-stmt {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.vision-stmt em {
  font-style: italic;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vision-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
}

/* ── PROJECTS ── */
.projects {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(12px);
  overflow: hidden;
  cursor: default;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hov);
  box-shadow: 0 20px 60px rgba(155,92,255,0.15), 0 0 0 1px rgba(155,92,255,0.1);
}

.card-glow {
  position: absolute;
  top: -60px;
  left: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(155,92,255,0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.project-card:hover .card-glow {
  opacity: 1;
}

.card-inner {
  padding: 40px 36px;
  position: relative;
  z-index: 1;
}

.project-id {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.project-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon);
  background: rgba(192,132,252,0.1);
  border: 1px solid rgba(192,132,252,0.25);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 24px;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-sec);
  line-height: 1.75;
  margin-bottom: 40px;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.project-genre {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.project-arrow {
  font-size: 18px;
  color: var(--purple);
  transition: transform 0.3s var(--ease-out);
}

.project-card:hover .project-arrow {
  transform: translateX(5px);
}

/* ── SERVICES ── */
.services {
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  padding: 36px 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease-out), border-color 0.3s, background 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hov);
  background: var(--surface-hov);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--grad-glow);
  border: 1px solid rgba(155,92,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--purple-light);
  transition: box-shadow 0.3s;
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-card:hover .service-icon {
  box-shadow: 0 0 20px rgba(155,92,255,0.3);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--text-sec);
  line-height: 1.75;
}

/* ── GLOBAL ── */
.global {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  text-align: center;
}

.global-content {
  position: relative;
  z-index: 1;
}

.global-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 24px;
}

.global-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.global-arrow {
  font-size: clamp(2rem, 5vw, 4rem);
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.global-sub {
  font-size: 1.05rem;
  color: var(--text-sec);
  line-height: 1.8;
  margin-bottom: 60px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.global-dots {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.dot-row {
  display: flex;
  gap: 20px;
  align-items: center;
}

.gdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: 1px solid rgba(255,255,255,0.1);
  display: block;
  transition: background 0.3s, box-shadow 0.3s;
  animation: dot-pulse 3s ease-in-out infinite;
}

.gdot.active {
  background: var(--purple);
  border-color: var(--purple-light);
  box-shadow: 0 0 12px rgba(155,92,255,0.7);
  animation: dot-pulse-active 2s ease-in-out infinite;
}

.gdot:nth-child(2) { animation-delay: 0.4s; }
.gdot:nth-child(3) { animation-delay: 0.8s; }
.gdot:nth-child(4) { animation-delay: 1.2s; }
.gdot:nth-child(5) { animation-delay: 1.6s; }
.gdot:nth-child(6) { animation-delay: 2.0s; }
.gdot:nth-child(7) { animation-delay: 2.4s; }

@keyframes dot-pulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 0.8; background: rgba(155,92,255,0.4); }
}

@keyframes dot-pulse-active {
  0%, 100% { box-shadow: 0 0 12px rgba(155,92,255,0.6); }
  50%       { box-shadow: 0 0 24px rgba(155,92,255,0.9); }
}

.dot-labels {
  display: flex;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.dot-labels span { width: 10px; text-align: center; }

/* ── CONTACT ── */
.contact {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-body {
  font-size: 1rem;
  color: var(--text-sec);
  line-height: 1.8;
  margin: 24px 0 32px;
}

.contact-email {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--purple-light);
  letter-spacing: 0.02em;
  transition: color 0.25s;
}

.contact-email:hover {
  color: var(--neon);
}

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  backdrop-filter: blur(16px);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.form-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  border-color: var(--purple);
  background: rgba(155,92,255,0.05);
  box-shadow: 0 0 0 3px rgba(155,92,255,0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ── FOOTER ── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-bottom: 60px;
}

.logo-footer {
  height: 40px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-sec);
  margin-bottom: 8px;
}

.footer-legal {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-sec);
  transition: color 0.2s;
}

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

.footer-email {
  display: block;
  font-size: 0.85rem;
  color: var(--purple-light);
  margin-bottom: 24px;
  transition: color 0.2s;
}

.footer-email:hover {
  color: var(--neon);
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-sec);
  transition: border-color 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.social-icon svg {
  width: 16px;
  height: 16px;
}

.social-icon:hover {
  border-color: var(--border-hov);
  color: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(155,92,255,0.2);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-craft {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── MOBILE NAV ── */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(5,3,15,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 20px 0 32px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.4s var(--ease-out), opacity 0.4s;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    padding: 14px 40px;
    font-size: 15px;
    width: 100%;
    text-align: center;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  :root {
    --section-pad: 80px;
  }

  .container {
    padding: 0 28px;
  }

  .nav-inner {
    padding: 0 28px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-pad: 60px;
    --nav-h: 64px;
  }

  .container {
    padding: 0 20px;
  }

  .hero {
    padding: var(--nav-h) 20px 60px;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .vision-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 36px 0;
  }

  .vision-stmt {
    font-size: 1.5rem;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 32px 24px;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .global-headline {
    gap: 16px;
  }

  .br-desktop {
    display: none;
  }
}

@media (max-width: 400px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ── ACTIVE NAV LINK ── */
.nav-link.active {
  color: var(--text-primary);
}
.nav-link.active::after {
  width: 100%;
}

/* ── LOGO FALLBACK TEXT ── */
.logo-text {
  display: flex;
  align-items: center;
}

/* ── TOAST ANIMATION ── */
@keyframes toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── LANGUAGE TAGS (About section) ── */
.lang-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 40px;
}

.lang-tag {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 100px;
  border: 1px solid var(--border-hov);
  background: rgba(155, 92, 255, 0.08);
  color: var(--purple-light);
  letter-spacing: 0.04em;
  transition: background 0.25s, box-shadow 0.25s;
}

.lang-tag:hover {
  background: rgba(155, 92, 255, 0.18);
  box-shadow: 0 0 16px rgba(155, 92, 255, 0.2);
}

/* ── LANGUAGE STRIP (Global section) ── */
.lang-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(12px);
  overflow: hidden;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.lang-strip-item {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 32px 20px;
  transition: background 0.3s;
  cursor: default;
}

.lang-strip-item:hover {
  background: rgba(155, 92, 255, 0.08);
}

.lang-flag {
  font-size: 24px;
  line-height: 1;
  margin-bottom: 4px;
}

.lang-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
}

.lang-eng {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lang-strip-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .lang-strip {
    flex-direction: column;
    max-width: 300px;
  }

  .lang-strip-divider {
    width: 60px;
    height: 1px;
  }

  .lang-strip-item {
    padding: 20px;
    width: 100%;
    flex-direction: row;
    gap: 16px;
    justify-content: flex-start;
  }

  .lang-flag {
    margin-bottom: 0;
  }

  .lang-name, .lang-eng {
    text-align: left;
  }
}
