/* ==========================================================
   PLAYR 99 — stylesheet
   Palette: deep black + neon green accent (matching logo)
   ========================================================== */

:root {
  --bg: #05070a;
  --bg-2: #0b0f14;
  --fg: #ffffff;
  --muted: #8a94a3;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #c6ff3d;          /* neon green from logo */
  --accent-soft: rgba(198, 255, 61, 0.12);
  --radius: 14px;
  --maxw: 1280px;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

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

/* Starfield canvas background */
#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(198, 255, 61, 0.06), transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(100, 200, 255, 0.04), transparent 60%),
    var(--bg);
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  background: rgba(5, 7, 10, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand img {
  height: 28px;
  width: auto;
}

.nav nav {
  display: flex;
  gap: 36px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
  position: relative;
}

.nav nav a:hover,
.nav nav a.active {
  color: var(--fg);
}

.nav nav a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.lang-toggle {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.lang-toggle button {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  padding: 4px;
}

.lang-toggle button.active { color: var(--accent); }
.lang-toggle span { color: var(--line); }

.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--fg);
  transition: transform .3s, opacity .3s;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 60px;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(5,7,10,0.55) 0%, rgba(5,7,10,0.85) 60%, var(--bg) 100%),
    url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(198,255,61,0.08), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(42px, 7vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  max-width: 16ch;
}

.accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 48px;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #05070a;
}
.btn-primary:hover {
  background: #d9ff6b;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(198, 255, 61, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.scroll-hint {
  position: absolute;
  left: 48px;
  bottom: 40px;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: var(--accent);
  margin: 12px auto 0;
  animation: scroll 2s ease-in-out infinite;
}
@keyframes scroll {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* ---------- STATS ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.stat { text-align: left; }
.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 60px);
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}
.stat .label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- SECTIONS ---------- */
section {
  padding: 120px 48px;
}

.section-head {
  max-width: var(--maxw);
  margin: 0 auto 60px;
}
.section-head h2,
.mission-grid h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 18ch;
}

/* ---------- SERVICES / VALUES GRID ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.card {
  padding: 36px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 40%);
  opacity: 0;
  transition: opacity .3s;
}
.card:hover { border-color: rgba(198, 255, 61, 0.35); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }

.card-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.1em;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
}
.card p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- CTA BAND ---------- */
.cta-band {
  text-align: center;
  padding: 100px 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 80px 48px 40px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}
.footer-logo { height: 24px; margin-bottom: 16px; }
.footer h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer a,
.footer p {
  display: block;
  font-size: 14px;
  color: var(--fg);
  margin-bottom: 8px;
  transition: color .2s;
}
.footer a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ---------- SUBPAGE HERO ---------- */
.subpage { padding-top: 0; }

.page-hero {
  padding: 180px 48px 80px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.page-hero h1 { margin-bottom: 24px; }
.page-hero .lead {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--muted);
  max-width: 60ch;
}

/* ---------- ABOUT / MISSION ---------- */
.mission { padding: 80px 48px; }
.mission-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.mission-body p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* ---------- FOUNDERS ---------- */
.founders { padding: 80px 48px; }
.founder-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.founder {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
  transition: border-color .3s;
}
.founder:hover { border-color: rgba(198, 255, 61, 0.3); }
.founder-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent) 0%, #6ea800 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: #05070a;
  margin-bottom: 24px;
  position: relative;
  flex-shrink: 0;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* About-us together banner */
.together {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 48px 80px;
}
.together-img {
  width: 100%;
  height: clamp(280px, 45vw, 560px);
  border-radius: var(--radius);
  background-image:
    linear-gradient(180deg, rgba(5,7,10,0.2) 0%, rgba(5,7,10,0.6) 100%),
    url('assets/founder-c.jpg');
  background-size: cover;
  background-position: center 30%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.together-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 80%, rgba(198,255,61,0.08), transparent 50%);
}
.founder h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.founder .role {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.founder p { color: var(--muted); font-size: 15px; }

.values { padding: 80px 48px 120px; }

/* ---------- CONTACT PAGE ---------- */
.contact-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 48px 140px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.info-block { margin-bottom: 40px; }
.info-block a,
.info-block p,
.info-block li {
  font-size: 16px;
  color: var(--fg);
  margin-top: 8px;
}
.info-block a:hover { color: var(--accent); }
.info-block ul { list-style: none; }
.info-block li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--muted);
}
.info-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 10px;
  height: 1px;
  background: var(--accent);
}

.contact-form {
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}
.field { margin-bottom: 24px; }
.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
  font-family: inherit;
  font-size: 16px;
  padding: 12px 0;
  transition: border-color .25s;
  outline: none;
}
.field select { color: var(--fg); cursor: pointer; }
.field select option { background: var(--bg-2); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--accent);
}
.form-status {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}
.form-status.success { color: var(--accent); }
.form-status.error { color: #ff6b6b; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .nav { padding: 18px 24px; }
  .nav nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    transform: none;
    flex-direction: column;
    background: rgba(5, 7, 10, 0.98);
    padding: 40px 24px;
    gap: 24px;
    display: none;
    border-bottom: 1px solid var(--line);
  }
  .nav nav.open { display: flex; }
  .menu-btn { display: flex; }
  .lang-toggle { margin-left: auto; margin-right: 16px; }

  .hero, section, .page-hero, .mission, .founders, .values, .contact-wrap, .cta-band, .footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero { padding-top: 140px; }
  .stats { grid-template-columns: repeat(2, 1fr); padding: 48px 24px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .mission-grid,
  .founder-grid,
  .contact-wrap,
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .scroll-hint { display: none; }
  .contact-form { padding: 32px 24px; }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-title { font-size: 44px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}
