@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Space+Grotesk:wght@400;500;600&display=swap");

:root {
  --bg: #0b0c10;
  --panel: rgba(20, 24, 35, 0.78);
  --card: rgba(255, 255, 255, 0.06);
  --text: #f7f5f0;
  --muted: rgba(247, 245, 240, 0.7);
  --accent: #f6c177;
  --accent-2: #7bdff2;
  --line: rgba(255, 255, 255, 0.12);
  --nav-height: 96px;
}

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

body {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  background: radial-gradient(circle at top, #151822 0%, #0b0c10 60%, #050608 100%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.7;
  overflow-x: hidden;
}

.aurora {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(123, 223, 242, 0.18), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(246, 193, 119, 0.2), transparent 40%),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.08), transparent 50%);
  opacity: 0.9;
  pointer-events: none;
  z-index: -2;
  animation: drift 18s ease-in-out infinite alternate;
}

.grain {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.14'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: -1;
}

@keyframes drift {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-30px) scale(1.03);
  }
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: calc(14px + env(safe-area-inset-top)) 7vw 6px;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(8, 10, 15, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo {
  font-family: "Playfair Display", "Noto Serif SC", serif;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.lang-trigger {
  display: none;
  min-width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  box-shadow: none;
}

.lang-trigger svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.lang-switch {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lang-switch button {
  padding: 6px 12px;
  font-size: 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
}

.lang-switch button.active {
  background: var(--accent);
  color: #120d1a;
  box-shadow: 0 6px 16px rgba(246, 193, 119, 0.3);
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

main {
  padding: 40px 7vw 120px;
  display: flex;
  flex-direction: column;
  gap: 90px;
}

main section[id] {
  scroll-margin-top: 90px;
}

.hidden-section {
  display: none !important;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--accent-2);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: "Playfair Display", "Noto Serif SC", serif;
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero h1 span {
  color: var(--accent);
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

button {
  border: none;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  gap: 5px;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav.open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

button:active {
  transform: translateY(2px) scale(0.98);
}

.primary {
  background: linear-gradient(135deg, #f6c177, #d4a5ff);
  color: #120d1a;
  box-shadow: 0 12px 28px rgba(246, 193, 119, 0.3);
}

.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 18px;
}

.stats strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.stats span {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-visual {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.core {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(246, 193, 119, 0.18);
  border: 1px solid rgba(246, 193, 119, 0.5);
  display: grid;
  place-items: center;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  box-shadow: 0 0 40px rgba(246, 193, 119, 0.35);
}

.pulse-ring {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  border: 1px solid rgba(123, 223, 242, 0.4);
  animation: pulse 5s ease-in-out infinite;
}

.pulse-ring.delay {
  width: 90%;
  height: 90%;
  animation-delay: 2.5s;
}

.orbit {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  animation: spin 12s linear infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.85);
    opacity: 0.2;
  }
  50% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(0.85);
    opacity: 0.2;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.manifesto {
  display: grid;
  gap: 28px;
}

.manifesto-card {
  background: var(--panel);
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.manifesto-card h2 {
  font-family: "Playfair Display", serif;
  margin-bottom: 14px;
  font-size: 2rem;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.manifesto-grid article {
  background: var(--card);
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.manifesto-grid h3 {
  margin-bottom: 8px;
  color: var(--accent);
}

.sound {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: start;
}

.sound h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 12px;
}

.sound-list {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.sound-panel {
  display: grid;
  gap: 18px;
}

.panel-item {
  padding: 22px;
  border-radius: 16px;
  background: rgba(10, 12, 18, 0.7);
  border: 1px solid rgba(123, 223, 242, 0.2);
}

.panel-item span {
  font-size: 0.85rem;
  color: var(--accent-2);
}

.panel-item h3 {
  margin: 8px 0 6px;
}

.catalog-header h2,
.contact-card h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.catalog-card {
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
}

.tag {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(123, 223, 242, 0.2);
  color: var(--accent-2);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.contact-card {
  background: var(--panel);
  padding: 32px;
  border-radius: 22px;
  border: 1px solid var(--line);
}

.contact-actions {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.contact-info {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-info span {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.lang-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 6, 8, 0.6);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 20;
}

.lang-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lang-modal-backdrop {
  position: absolute;
  inset: 0;
}

.lang-modal-card {
  position: relative;
  width: min(360px, 86vw);
  background: rgba(15, 18, 26, 0.96);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.2s ease;
  z-index: 1;
}

.lang-modal.open .lang-modal-card {
  transform: translateY(0) scale(1);
}

.lang-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.lang-modal-header h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
}

.lang-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 1.1rem;
  padding: 0;
  box-shadow: none;
}

.lang-modal-options {
  display: grid;
  gap: 10px;
}

.lang-modal-options .lang-option {
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 0.95rem;
  box-shadow: none;
}

.lang-modal-options .lang-option.active {
  border-color: rgba(246, 193, 119, 0.7);
  background: rgba(246, 193, 119, 0.15);
}

.footer {
  padding: 30px 7vw 40px;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 900px) {
  .nav {
    grid-template-columns: auto auto;
    row-gap: 6px;
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    padding-top: calc(10px + env(safe-area-inset-top));
    padding-bottom: 6px;
  }

  .nav-controls {
    gap: 8px;
  }

  .lang-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav-actions {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }

  .nav.open .nav-actions {
    max-height: 320px;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    gap: 12px;
  }

  .lang-switch {
    display: none;
  }

  main {
    padding-top: calc(var(--nav-height, 110px) + 24px);
  }

  main section[id] {
    scroll-margin-top: calc(var(--nav-height, 110px) + 24px);
  }
}

@media (min-width: 901px) {
  .nav {
    padding-top: 12px;
    padding-bottom: 6px;
  }

  .logo {
    transform: translateY(-2px);
  }
}

@media (max-width: 600px) {
  main {
    padding: calc(var(--nav-height, 110px) + 24px) 6vw 90px;
  }

  .hero-cta,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  button {
    width: 100%;
  }
}
