/* Orfeo v2 — worlds you can hear (2026-10-07, the user: a site like the energy-drink one on the laptop screen).
   The void, glowing orbs on a ring, one world lit at a time; then the app turning in its world's light. */
@font-face { font-family: "Fraunces"; font-weight: 300; font-display: swap; src: url("fonts/Fraunces-Light.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/Inter-Regular.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/Inter-Medium.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/Inter-SemiBold.ttf") format("truetype"); }

:root {
  --void: #050308;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --faint: #6e6e73;
  --line: rgba(255, 255, 255, 0.09);
  --world: #c026d3;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html { background: var(--void); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: hidden; background: var(--void); color: var(--text);
  font: 400 17px/1.55 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; letter-spacing: -.01em;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
html[lang="tr"] [data-lang="en"], html[lang="en"] [data-lang="tr"] { display: none !important; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; gap: 24px;
  padding: 16px clamp(16px, 4vw, 40px); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: .02em; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.nav .links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav .links a:hover { color: var(--text); }
.lang { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 5px 12px;
  font-size: 12px; cursor: pointer; }
.lang:hover { color: var(--text); }
.cta { background: var(--text); color: #000; border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 500;
  white-space: nowrap; transition: transform .3s var(--ease); }
.cta:hover { transform: scale(1.04); }

/* ---------- hero: the worlds ---------- */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.hero canvas:active { cursor: grabbing; }
.hero .wash { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 45% at 50% 62%, color-mix(in srgb, var(--world) 26%, transparent), transparent 70%);
  transition: background 1.2s var(--ease); }
.hero .top { position: absolute; top: 12vh; left: 0; right: 0; text-align: center; pointer-events: none; padding: 0 16px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.hero h1 { font: 300 clamp(40px, 7vw, 86px)/1.02 "Fraunces", serif; letter-spacing: -.03em; margin: 14px 0 10px; }
.hero .sub { color: var(--muted); font-size: clamp(16px, 1.8vw, 19px); margin: 0; }
.hero .bottom { position: absolute; left: 0; right: 0; bottom: 6vh; display: flex; flex-direction: column; align-items: center;
  gap: 10px; padding: 0 16px; text-align: center; }
.world-name { font: 300 clamp(30px, 4vw, 46px)/1 "Fraunces", serif; letter-spacing: -.02em; }
.world-blurb { color: var(--muted); font-size: 15px; max-width: 520px; min-height: 1.6em; }
.controls { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.round { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.04);
  cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.round:hover { background: rgba(255,255,255,.1); }
.listen { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 12px 24px; cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--world) 70%, white 10%);
  background: color-mix(in srgb, var(--world) 30%, transparent); font-weight: 500; transition: background .6s, border-color .6s; }
.listen .bars { display: inline-flex; gap: 3px; height: 14px; align-items: flex-end; }
.listen .bars i { width: 3px; height: 4px; background: currentColor; border-radius: 2px; }
.listen.playing .bars i { animation: bar .9s ease-in-out infinite; }
.listen.playing .bars i:nth-child(2) { animation-delay: -.3s; }
.listen.playing .bars i:nth-child(3) { animation-delay: -.6s; }
@keyframes bar { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.dots { display: flex; gap: 8px; margin-top: 4px; }
.dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.22); cursor: pointer;
  transition: background .3s, transform .3s; }
.dots button.on { background: var(--text); transform: scale(1.3); }
.scroll-hint { position: absolute; right: clamp(16px, 4vw, 40px); bottom: 6vh; font-size: 12px; color: var(--faint);
  letter-spacing: .14em; text-transform: uppercase; writing-mode: vertical-rl; }
.fallback { display: none; }
.no-webgl .fallback { display: flex; position: absolute; inset: 30vh 0 auto; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 0 16px; }
.fallback button { width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: 0 0 40px currentColor; }

/* ---------- story: the app in its world's light ---------- */
.story { position: relative; height: calc(var(--steps) * 100vh); }
.stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; padding: 0 clamp(16px, 5vw, 72px); }
.stage .light { position: absolute; inset: -20%; pointer-events: none; transition: background 1s var(--ease);
  background: radial-gradient(38% 46% at 50% 52%, color-mix(in srgb, var(--c) 85%, transparent), color-mix(in srgb, var(--c) 18%, transparent) 45%, transparent 72%); }
.stage .floor { position: absolute; left: 0; right: 0; bottom: 0; height: 30vh; pointer-events: none;
  background: linear-gradient(to top, var(--void), transparent); }
.stage .word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; white-space: nowrap;
  font: 300 clamp(80px, 17vw, 260px)/1 "Fraunces", serif; letter-spacing: -.05em; color: rgba(255,255,255,.05); transition: opacity .6s; }
.copy { position: relative; z-index: 2; max-width: 360px; }
.copy .step { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-40%); opacity: 0; transition: opacity .6s, transform .8s var(--ease); pointer-events: none; }
.copy .step.on { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.copy .num { font-size: 12px; letter-spacing: .2em; color: var(--muted); }
.copy h2 { font: 300 clamp(34px, 4.2vw, 56px)/1.02 "Fraunces", serif; letter-spacing: -.03em; margin: 12px 0 14px; text-transform: none; }
.copy p { color: rgba(245,245,247,.78); margin: 0; font-size: 16px; }
.phone-wrap { position: relative; z-index: 1; perspective: 1600px; }
.phone { width: min(300px, 62vw); aspect-ratio: 1320 / 2868; border-radius: 46px; padding: 10px; background: #0c0b10;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 120px -20px color-mix(in srgb, var(--c) 70%, transparent), 0 0 0 1px rgba(0,0,0,.6) inset;
  transform: rotateY(var(--ry, -14deg)) rotateX(var(--rx, 4deg)) rotateZ(var(--rz, -3deg)) translateY(var(--ty, 0));
  transition: transform 1.1s var(--ease), box-shadow 1s; position: relative; }
.phone .screens { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #000; }
.phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s; }
.phone img.on { opacity: 1; }
.phone::after { content: ""; position: absolute; inset: 0; border-radius: 46px; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.14), transparent 30%, transparent 70%, rgba(255,255,255,.05)); }
.rail { position: relative; z-index: 2; justify-self: end; display: flex; flex-direction: column; gap: 14px; }
.rail button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.04);
  cursor: pointer; font-size: 12px; color: var(--muted); transition: all .3s; }
.rail button.on { background: var(--text); color: #000; border-color: var(--text); }

/* ---------- yours ---------- */
.yours { position: relative; padding: 18vh clamp(16px, 5vw, 72px); text-align: center; }
.yours h2 { font: 300 clamp(40px, 6vw, 84px)/1.02 "Fraunces", serif; letter-spacing: -.03em; margin: 0 auto 22px; max-width: 900px; }
.yours p { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: clamp(17px, 1.8vw, 20px); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 34px auto 40px; max-width: 760px; }
.chips span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; color: var(--muted); }
.big-cta { display: inline-flex; background: var(--text); color: #000; border-radius: 999px; padding: 16px 32px; font-weight: 500; font-size: 18px;
  transition: transform .3s var(--ease); }
.big-cta:hover { transform: scale(1.04); }
.small { display: block; margin-top: 14px; font-size: 13px; color: var(--faint); }

/* ---------- faq ---------- */
.faq { padding: 8vh clamp(16px, 5vw, 72px) 14vh; max-width: 1100px; margin: 0 auto; }
.faq h2 { font: 300 clamp(56px, 11vw, 150px)/.92 "Fraunces", serif; letter-spacing: -.05em; margin: 0 0 6vh; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-size: clamp(18px, 2vw, 22px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 24px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 12px 0 0; max-width: 760px; }

footer { border-top: 1px solid var(--line); padding: 28px clamp(16px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: 18px 28px;
  font-size: 13px; color: var(--faint); }
footer a:hover { color: var(--text); }
footer .sp { margin-left: auto; }

/* ---------- phone width ---------- */
@media (max-width: 760px) {
  .nav .links { display: none; }
  .nav { gap: 12px; }
  .lang { margin-left: auto; }
  .hero .top { top: 12vh; }
  .scroll-hint { display: none; }
  .stage { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding: 72px 16px 28px; gap: 18px; }
  .phone-wrap { justify-self: center; align-self: end; }
  .phone { width: min(230px, 56vw); }
  .copy { max-width: none; min-height: 190px; text-align: center; }
  .copy .step { top: 0; transform: translateY(10px); }
  .copy .step.on { transform: none; }
  .rail { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); gap: 10px; }
  .rail button { width: 28px; height: 28px; font-size: 11px; }
  footer .sp { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; animation: none !important; }
}
