/* NEWPHONIA RECORDS — global styles */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }

:root {
  --bg-0: #000000;
  --bg-1: #07020c;
  --bg-2: #110323;
  --bg-3: #1a0535;
  --violet-deep: #2a0a5e;
  --violet: #6a1ff0;
  --violet-soft: #9b6bff;
  --pink: #ff2e9a;
  --pink-soft: #ff79c1;
  --pink-glow: rgba(255, 46, 154, 0.55);
  --text: #f6f1ff;
  --text-dim: #b6abc8;
  --text-mute: #6f6580;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-hi: rgba(255, 255, 255, 0.07);
  --grad-aurora: radial-gradient(60% 50% at 20% 0%, rgba(106,31,240,0.35) 0%, transparent 60%),
                 radial-gradient(50% 40% at 80% 20%, rgba(255,46,154,0.28) 0%, transparent 60%),
                 radial-gradient(40% 30% at 50% 100%, rgba(106,31,240,0.18) 0%, transparent 60%);
}

body {
  background: var(--bg-0);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--pink); color: #000; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #2a0a5e, #ff2e9a); border-radius: 10px; }

.display {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.92;
}
.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.script {
  font-family: 'Caveat', cursive;
  font-weight: 600;
}

.glow-pink { text-shadow: 0 0 24px rgba(255,46,154,0.55), 0 0 60px rgba(255,46,154,0.3); }
.glow-violet { text-shadow: 0 0 24px rgba(155,107,255,0.45), 0 0 60px rgba(106,31,240,0.3); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(120deg, #ff2e9a 0%, #c81f8a 50%, #6a1ff0 100%);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 12px 40px -10px rgba(255,46,154,0.6), 0 0 60px -20px rgba(106,31,240,0.6);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.16) inset, 0 18px 60px -10px rgba(255,46,154,0.8), 0 0 90px -10px rgba(106,31,240,0.7);
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.28);
}

.btn-icon { width: 18px; height: 18px; }

.section {
  position: relative;
  padding: 140px 0;
  isolation: isolate;
}
.wrap {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Footer accordion: always open on desktop */
.footer-col-toggle { pointer-events: none; }
.footer-col-arrow { display: none; }
.footer-col-list[data-open="false"],
.footer-col-list[data-open="true"] {
  max-height: none; opacity: 1; overflow: visible;
}

@media (max-width: 720px) {
  .section { padding: 90px 0; }
  .wrap { padding: 0 24px; }
}
@media (max-width: 900px) {
  .signature-grid { grid-template-columns: 1fr !important; }
  .pricing-grid { grid-template-columns: 1fr !important; }
  .foryou-card { grid-template-columns: 1fr !important; }
  .foryou-card > div:first-child { min-height: 280px !important; }

  /* Mobile nav: hide desktop links, show hamburger */
  .nav-links { display: none !important; }
  .nav-desktop-right { display: none !important; }
  .hamburger-btn { display: flex !important; }

  /* Footer: stack columns, accordion on link cols */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .footer-grid > div:first-child {
    margin-bottom: 28px;
  }

  /* Accordion columns */
  .footer-col {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 16px 0;
  }
  .footer-col-toggle { pointer-events: auto; cursor: pointer; }
  .footer-col-arrow { display: inline-block !important; }
  .footer-col-list[data-open="false"],
  .footer-col-list[data-open="true"] { max-height: initial; opacity: initial; overflow: initial; }
  .footer-col-list[data-open="false"] {
    max-height: 0;
    overflow: hidden;
    margin: 0 !important;
    opacity: 0;
    transition: max-height .3s ease, opacity .3s ease, margin .3s ease;
  }
  .footer-col-list[data-open="true"] {
    max-height: 300px;
    opacity: 1;
    transition: max-height .3s ease, opacity .3s ease;
  }

  /* Why Newphonia: 3 cards → 1 column */
  .why-grid { grid-template-columns: 1fr !important; }

  /* FAQ: stack text + questions */
  .faq-grid { grid-template-columns: 1fr !important; gap: 32px !important; }

  /* About page */
  .about-intro-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .about-cta-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .about-store-btns { flex-direction: column; }
  .about-store-btns .btn { width: 100%; justify-content: center; box-sizing: border-box; }

  /* About CTA card: reduce padding, contain all text */
  .about-cta-wrap { padding: 28px 18px 24px !important; margin-top: 80px !important; overflow: visible !important; }
  .about-cta-wrap p { max-width: 100% !important; word-wrap: break-word; overflow-wrap: break-word; }
  .about-cta-wrap h3 { font-size: clamp(24px, 6.5vw, 56px) !important; }
  .about-cta-wrap .display { font-size: 20px !important; }
  .about-cta-grid { gap: 28px !important; }
  .about-cta-grid > div { min-width: 0; }

  /* Newsletter form: stack input + button */
  .about-newsletter-form { flex-direction: column; }
  .about-newsletter-form button { width: 100%; justify-content: center; }

  /* Team photo: horizontal scroll on mobile */
  .team-photo-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 80px 0 !important;
  }
  .team-photo-wrap > div:nth-child(2) {
    min-width: 700px;
  }

  /* How It Works: steps → stacked layout */
  .how-step { grid-template-columns: 80px 1fr !important; gap: 20px !important; }
  .how-step > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  header { padding: 14px 16px !important; }
  .how-step { grid-template-columns: 1fr !important; text-align: center; }
  .how-step > div:first-child { display: flex; justify-content: center; }
  .how-timeline { display: none !important; }

  /* Footer: tighten on small screens */
  .footer-grid { gap: 28px !important; }
  .footer-grid > div:first-child { text-align: center; }
  .footer-grid > div:first-child p { margin-left: auto; margin-right: auto; }
  .footer-grid > div:first-child > div:last-child { justify-content: center; }
}

.foryou-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
  padding: 0;
}
.foryou-arrow:hover {
  background: linear-gradient(120deg, rgba(255,46,154,0.18), rgba(106,31,240,0.18));
  border-color: rgba(255,121,193,0.5);
  transform: translateY(-1px);
}

@keyframes foryouProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Section 8 — proof */
@keyframes comments-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
.comments-scroll {
  animation: comments-scroll 38s linear infinite;
}
.comments-scroll:hover {
  animation-play-state: paused;
}

@keyframes heart-fly {
  0%   { transform: translate(0, 0) scale(0.6); opacity: 0; }
  20%  { transform: translate(0, -6px) scale(1.2); opacity: 1; }
  100% { transform: translate(0, -60px) scale(0.9); opacity: 0; }
}

@keyframes big-heart {
  0%   { transform: scale(0.2); opacity: 0; }
  20%  { transform: scale(1.15); opacity: 1; }
  60%  { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0; }
}

.release-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
  padding: 0;
}
.release-arrow:hover {
  background: linear-gradient(120deg, rgba(255,46,154,0.18), rgba(106,31,240,0.18));
  border-color: rgba(255,121,193,0.5);
}
.releases-track::-webkit-scrollbar { height: 6px; }
.releases-track::-webkit-scrollbar-track { background: transparent; }
.releases-track::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 6px; }

@media (max-width: 900px) {
  .proof-grid { grid-template-columns: 1fr !important; }
  .comments-card { height: auto !important; max-height: 520px; }
  .mission-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
  .mission-grid { grid-template-columns: 1fr !important; }
}

/* Comments card matches video height via grid stretch + hidden overflow */
.comments-card {
  overflow: hidden;
  min-height: 380px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pink-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--pink), transparent);
}

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

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

.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 24px; }
.eq span {
  width: 3px;
  background: linear-gradient(180deg, var(--pink), var(--violet));
  border-radius: 2px;
  animation: eqbounce 1.2s ease-in-out infinite;
}
.eq span:nth-child(2) { animation-delay: .1s; }
.eq span:nth-child(3) { animation-delay: .2s; }
.eq span:nth-child(4) { animation-delay: .3s; }
.eq span:nth-child(5) { animation-delay: .4s; }
.eq span:nth-child(6) { animation-delay: .15s; }
.eq span:nth-child(7) { animation-delay: .25s; }
@keyframes eqbounce {
  0%, 100% { height: 4px; }
  50% { height: 22px; }
}

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 0 rgba(255,46,154,0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,46,154,0.7); }
  70% { box-shadow: 0 0 0 14px rgba(255,46,154,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,46,154,0); }
}

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  backdrop-filter: blur(20px);
}

.ring-glow { position: relative; }
.ring-glow::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,46,154,0.6), rgba(106,31,240,0.5), rgba(255,46,154,0.2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: .6;
  transition: opacity .3s ease;
}
.ring-glow:hover::before { opacity: 1; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

.aurora {
  position: absolute; inset: -10%;
  background: var(--grad-aurora);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.marquee {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

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

/* ====== MotionCover keyframes ====== */
@keyframes mc-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.55; }
  50% { transform: scale(1.05); opacity: 1; }
}
@keyframes mc-glow {
  0%, 100% { opacity: 0.55; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes mc-wave {
  0%, 100% { transform: translateX(-6px); }
  50% { transform: translateX(6px); }
}
@keyframes mc-spin {
  to { transform: rotate(360deg); }
}
@keyframes mc-grid {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.5; }
}
@keyframes mc-twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.4); }
}
@keyframes mc-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(2px, -3px) rotate(2deg); }
}
@keyframes mc-light {
  0%, 100% { transform: translate(-12%, -8%); opacity: 0.5; }
  50% { transform: translate(14%, 10%); opacity: 0.9; }
}
@keyframes mc-blink {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
@keyframes mc-blob-drift {
  0%, 100% { transform: translate(-20%, -30%) scale(1); }
  50% { transform: translate(30%, 20%) scale(1.25); }
}
@keyframes mc-blob-drift2 {
  0%, 100% { transform: translate(30%, 40%) scale(1.1); }
  50% { transform: translate(-20%, -10%) scale(0.85); }
}
.mc-blob {
  position: absolute;
  width: 70%; height: 70%;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.6;
  mix-blend-mode: screen;
  pointer-events: none;
}
.mc-blob-a { left: 0; top: 0; animation: mc-blob-drift 8s ease-in-out infinite; }
.mc-blob-b { right: 0; bottom: 0; animation: mc-blob-drift2 11s ease-in-out infinite; }

.mc-scan {
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.06) 50%, transparent 100%);
  background-size: 100% 220%;
  animation: mc-scanmove 4.5s linear infinite;
  mix-blend-mode: overlay;
  opacity: 0.6;
}
@keyframes mc-scanmove {
  0% { background-position: 0% -110%; }
  100% { background-position: 0% 110%; }
}

/* ====== Live Chat keyframes ====== */
@keyframes lc-bubble-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes lc-bubble-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}
@keyframes lc-typing {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-4px); opacity: 1; }
}
@keyframes lc-msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lc-window-in {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ====== About / Team callouts ====== */
@keyframes ab-card-in {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes ab-dot-in {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes ab-dot-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2); opacity: 0; }
}
@keyframes ab-line-in {
  from { opacity: 0; }
  to { opacity: 0.95; }
}
