/* WUDO — joinwudo.com
   One stylesheet, no framework, no build. The palette is taken from the
   logo itself rather than invented: cyan, violet, pink, gold. The page
   stays warm white and near-black, and the gradient appears only where it
   means something — the mark, a headline, a button. */

:root {
  --ink:        #0B0B0F;
  --ink-soft:   #55555F;
  --ink-faint:  #8E8E96;
  --paper:      #FDFCFA;
  --paper-2:    #F5F3EF;
  --line:       #E6E3DD;
  --night:      #00051B;          /* the logo's own background */

  --cyan:   #00BDFA;
  --violet: #BE02D2;
  --pink:   #E3009C;
  --coral:  #FF5A5F;
  --orange: #FF7A3D;
  --gold:   #FFBE04;

  --grad: linear-gradient(100deg, var(--cyan), var(--violet), var(--pink), var(--orange), var(--gold));
  --grad-warm: linear-gradient(100deg, var(--pink), var(--coral), var(--orange), var(--gold));

  --wrap: 1100px;
  --nav-h: 64px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;          /* nothing may push the page sideways */
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }

a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

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

/* ---------- language ---------- */
/* Both languages live in the markup; one is hidden. With JS off the page
   still reads — English shows, because that's what the attribute says. */
/* One rule per language: every translated span is hidden unless it is the
   page's language. A language a page does not carry falls back to English
   (see wudo.js). */
[data-lang="en"] body [lang]:not([lang="en"]) { display: none; }
[data-lang="tr"] body [lang]:not([lang="tr"]) { display: none; }
[data-lang="de"] body [lang]:not([lang="de"]) { display: none; }
[data-lang="it"] body [lang]:not([lang="it"]) { display: none; }
[data-lang="es"] body [lang]:not([lang="es"]) { display: none; }
[data-lang="ja"] body [lang]:not([lang="ja"]) { display: none; }
[data-lang="zh"] body [lang]:not([lang="zh"]) { display: none; }
.lang-select {
  appearance: none; -webkit-appearance: none;
  font: inherit; font-size: 14px; color: var(--ink);
  background: var(--paper) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23666' stroke-width='1.6'/></svg>") no-repeat right 10px center;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 30px 6px 12px; cursor: pointer;
}
.lang-select:focus { outline: 2px solid #1E4FE8; outline-offset: 2px; }

/* ---------- navigation ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(253, 252, 250, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; }

.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; margin-right: auto; }
.brand svg { width: 38px; height: 21px; display: block; }
.brand b { font-size: 19px; letter-spacing: -0.04em; font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  text-decoration: none; font-size: 15px; color: var(--ink-soft);
  transition: color .2s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); }

.lang-switch { display: flex; gap: 2px; font-size: 14px; }
.lang-switch button {
  border: 0; background: none; padding: 5px 9px; border-radius: 99px;
  color: var(--ink-faint); cursor: pointer; font: inherit; font-size: 14px;
}
.lang-switch button[aria-pressed="true"] { color: var(--ink); background: var(--paper-2); font-weight: 600; }

.cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 99px;
  background: var(--grad-warm); color: #fff;
  text-decoration: none; font-weight: 600; font-size: 15px;
  box-shadow: 0 4px 16px rgba(227, 0, 156, .22);
  transition: transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(227, 0, 156, .3); }

.nav-toggle { display: none; border: 0; background: none; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* ---------- hero ---------- */

.hero { position: relative; padding: clamp(60px, 11vw, 120px) 0 clamp(50px, 8vw, 90px); overflow: hidden; }

/* A slow-moving wash of the brand colours. Blurred far enough that it
   reads as light in the room rather than as shapes on a page. */
.glow { position: absolute; inset: -30% -10% auto -10%; height: 130%; z-index: 0; pointer-events: none; }
.glow i {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(90px); opacity: .34;
  animation: drift 26s ease-in-out infinite alternate;
}
.glow i:nth-child(1) { width: 46vw; height: 46vw; left: -6%;  top: 4%;  background: var(--pink);   }
.glow i:nth-child(2) { width: 40vw; height: 40vw; left: 32%;  top: -6%; background: var(--orange); animation-delay: -8s; }
.glow i:nth-child(3) { width: 36vw; height: 36vw; right: -4%; top: 10%; background: var(--gold);   animation-delay: -15s; }
.glow i:nth-child(4) { width: 30vw; height: 30vw; left: 12%;  top: 34%; background: var(--cyan);   animation-delay: -20s; opacity: .2; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(3vw, 4vh, 0) scale(1.12); }
}

.hero .wrap { position: relative; z-index: 1; }
.hero-mark { width: 100px; height: 55px; margin-bottom: 26px; }
.hero h1 { font-size: clamp(42px, 8.5vw, 88px); margin-bottom: 22px; }
.hero .lead { font-size: clamp(20px, 3.2vw, 27px); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 18px; line-height: 1.3; }
.hero .sub { font-size: clamp(16px, 2.2vw, 19px); color: var(--ink-soft); max-width: 46ch; margin: 0 0 32px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.soon { font-size: 14px; color: var(--ink-faint); }

/* ---------- phone placeholder ---------- */

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }

.phone {
  width: min(280px, 72vw); aspect-ratio: 9 / 19;
  margin: 0 auto; border-radius: 42px; padding: 11px;
  background: linear-gradient(160deg, #2A2A32, #101014);
  box-shadow: 0 30px 70px rgba(0, 5, 27, .28), 0 2px 6px rgba(0, 5, 27, .18);
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 32px;
  /* True black, not the logo's navy: a phone screen in a product shot
     should read as a screen that's off, and OLED black is what one looks
     like. The navy read as a coloured card. */
  background: #000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; overflow: hidden; position: relative;
}
/* The screen is the app's first frame: black, the mark, the wordmark in
   the brand gradient, the line under it. No wash behind — it read as a
   purple card instead of a screen. */
.phone-screen svg, .phone-screen p { position: relative; z-index: 1; }
.phone-screen svg { width: 118px; height: 65px; }
.phone-screen .wordmark {
  font-size: 34px; font-weight: 900; letter-spacing: .06em; margin: -2px 0 0;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.phone-screen p { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .12em; margin: 0; opacity: .85; }
.phone-screen .tagline {
  font-size: 15px; font-weight: 700; letter-spacing: .08em; margin: 2px 0 0; opacity: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.release { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--ink); }
.release b { font-weight: 700; }
.release i { font-style: normal; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); display: inline-block; }

/* ---------- sections ---------- */

section { padding: clamp(64px, 9vw, 110px) 0; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 18px; font-weight: 600; }
.section-title { font-size: clamp(30px, 5vw, 50px); margin-bottom: 44px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.step .num {
  font-size: clamp(36px, 5vw, 54px); font-weight: 800; letter-spacing: -0.04em;
  background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 10px;
}
.step h3 { font-size: clamp(19px, 2.4vw, 24px); margin-bottom: 8px; }
.step p { color: var(--ink-soft); margin: 0; font-size: 16px; }

/* ---------- activities ---------- */

.activities { background: var(--paper-2); }
.pills { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.pill {
  padding: 13px 24px; border-radius: 99px; background: var(--paper);
  border: 1px solid var(--line); font-size: 17px; font-weight: 600;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pill:hover { transform: translateY(-2px); border-color: transparent; box-shadow: 0 6px 20px rgba(0,5,27,.09); }
.claim { font-size: clamp(24px, 4vw, 38px); font-weight: 700; letter-spacing: -0.03em; max-width: 20ch; line-height: 1.15; }

/* ---------- brand moment ---------- */

.moment { background: var(--night); color: #fff; position: relative; overflow: hidden; text-align: center; }
.moment .glow i { opacity: .42; }
.moment .wrap { position: relative; z-index: 1; }
.moment h2 { font-size: clamp(38px, 9vw, 92px); line-height: .98; margin-bottom: 26px; }
.moment p { font-size: clamp(17px, 2.4vw, 21px); color: rgba(255,255,255,.7); margin: 0; line-height: 1.5; }

/* ---------- final cta ---------- */

.final { text-align: center; }
.final h2 { font-size: clamp(30px, 5.5vw, 54px); margin-bottom: 14px; }
.final p { color: var(--ink-soft); font-size: 18px; margin: 0 0 28px; }

/* ---------- footer ---------- */

footer { border-top: 1px solid var(--line); padding: 56px 0 44px; background: var(--paper); }
.foot-grid { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.foot-brand { display: flex; align-items: center; gap: 9px; }
.foot-brand svg { width: 38px; height: 21px; }
.foot-brand b { font-size: 19px; font-weight: 800; letter-spacing: -0.04em; }
.foot-col h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 14px; font-weight: 600; }
.foot-col a { display: block; text-decoration: none; color: var(--ink-soft); font-size: 15px; margin-bottom: 9px; }
.foot-col a:hover { color: var(--ink); }
.copy { margin-top: 44px; color: var(--ink-faint); font-size: 14px; }

/* ---------- scroll entrance ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- focus ---------- */

:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone { order: 2; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 22px 24px 26px;
  }
  .nav-toggle { display: block; order: 3; }
  .nav .cta { order: 2; }
}

@media (max-width: 520px) {
  .nav .cta { padding: 9px 15px; font-size: 14px; }
  .brand b { font-size: 17px; }
  .pill { padding: 11px 18px; font-size: 15px; }
}

/* ---------- reduced motion ---------- */
/* Everything that moves is decoration. Someone who has asked for less of
   it gets the same page, still. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .glow i, .phone-screen::before { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .cta:hover, .pill:hover { transform: none; }
}

/* ---------- what's inside ---------- */
/* Six cards, because WUDO is a social app that happens to be built around
   meeting up — not an events tool. A page that only describes plans
   undersells what someone actually opens every day. */

.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feat-card {
  padding: 26px 24px 28px; border-radius: 16px;
  background: var(--paper-2); border: 1px solid transparent;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.feat-card:hover { transform: translateY(-3px); border-color: var(--line); box-shadow: 0 10px 28px rgba(0,5,27,.07); }
.feat-card h3 { font-size: 20px; margin-bottom: 9px; }
.feat-card p { color: var(--ink-soft); margin: 0; font-size: 16px; }

@media (max-width: 900px) { .feat { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (max-width: 620px)  { .feat { grid-template-columns: 1fr; } }

/* ---------- closing lockup ---------- */
/* Mark, name, question — the logo's own arrangement, rebuilt from vector
   and type. The raster version was 336px wide and had to be shown at half
   that; JPEG artefacts around a gradient don't survive being shrunk, and
   the small line under the name came out illegible. */

.lockup {
  display: inline-flex; flex-direction: column; align-items: center;
  gap: 14px; padding: 42px 56px; margin-bottom: 34px;
  border-radius: 28px; background: var(--night);
  box-shadow: 0 18px 46px rgba(0, 5, 27, .26);
}
.lockup svg { width: 124px; height: 68px; display: block; }
.lockup-name {
  font-size: 40px; font-weight: 800; letter-spacing: .04em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lockup-sub {
  font-size: 12px; font-weight: 600; letter-spacing: .42em;
  color: rgba(255, 255, 255, .58); text-indent: .42em;   /* tracking adds a tail; this re-centres it */
}

@media (max-width: 520px) {
  .lockup { padding: 34px 32px; }
  .lockup svg { width: 100px; height: 55px; }
  .lockup-name { font-size: 32px; }
  .lockup-sub { font-size: 11px; letter-spacing: .34em; text-indent: .34em; }
}
