:root {
  --bg: #e8f4ff;
  --bg-soft: #f7fbff;
  --ink: #1a2a3a;
  --muted: #4d647a;
  --line: rgba(26, 42, 58, 0.12);
  --sayi: #f08a14;
  --kelime: #4aa824;
  --duello: #7b5cdb;
  --play: linear-gradient(135deg, #35b9ec 0%, #1f8fd6 55%, #1565c0 100%);
  --glow: 0 10px 28px rgba(31, 143, 214, 0.28);
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --radius: 28px;
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --panel: rgba(255, 255, 255, 0.42);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background-color: #b9dff8;
  background-image: url("assets/hero-world.png");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  border: 0;
  cursor: pointer;
  background: none;
  color: inherit;
}

/* —— Nav —— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, rgba(232, 244, 255, 0.92), rgba(232, 244, 255, 0));
  transition: background 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.nav.is-scrolled {
  background: rgba(247, 251, 255, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(26, 42, 58, 0.08);
}

.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.35s var(--ease-out);
}

.nav-brand:hover img {
  transform: scale(1.06) rotate(-3deg);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 800;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.lang-btn {
  min-width: 40px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--muted);
}

.lang-btn.is-active {
  background: rgba(53, 185, 236, 0.28);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 6px;
  flex-direction: column;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-play {
  background: var(--play);
  color: #fff;
  box-shadow: var(--glow);
}

.btn-play:disabled {
  cursor: not-allowed;
  opacity: 0.92;
}

.btn-play:disabled:hover {
  transform: none;
}

.btn-play--sm {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
}

.play-badge-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transition: transform 0.2s var(--ease-out), opacity 0.2s ease;
}

.play-badge-link:hover {
  transform: translateY(-2px);
}

.play-badge-link--soon {
  cursor: not-allowed;
  opacity: 0.72;
  filter: grayscale(0.15);
}

.play-badge-link--soon:hover {
  transform: none;
}

.play-badge {
  display: block;
  width: auto;
  height: 64px;
  max-width: min(220px, 70vw);
  object-fit: contain;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid rgba(26, 42, 58, 0.35);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

/* —— Hero —— */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 0.5rem) 1.25rem 2rem;
  overflow: hidden;
  background: transparent;
}

.hero-floaters {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.floater {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: #123;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  animation: floaty 7s ease-in-out infinite;
}

.floater-a {
  top: 22%;
  left: 10%;
  background: linear-gradient(160deg, #fff, #c8f0a8);
}

.floater-b {
  top: 28%;
  right: 12%;
  background: linear-gradient(160deg, #fff, #ffd59a);
  animation-delay: -1.4s;
}

.floater-c {
  bottom: 26%;
  left: 14%;
  background: linear-gradient(160deg, #fff, #b7e4ff);
  animation-delay: -2.6s;
}

.floater-d {
  top: 48%;
  right: 8%;
  background: linear-gradient(160deg, #fff, #e0d0ff);
  animation-delay: -3.2s;
}

.floater-e {
  bottom: 32%;
  right: 22%;
  background: linear-gradient(160deg, #fff, #ffc1c8);
  animation-delay: -4.1s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-18px) rotate(4deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  animation: heroIn 1.1s var(--ease-out) both;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-logo {
  width: min(240px, 48vw);
  height: auto;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.22));
  animation: logoPulse 4.5s ease-in-out infinite;
}

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

.hero-tagline {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 800;
  line-height: 1.45;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 22px;
  height: 36px;
  border: 2px solid rgba(26, 42, 58, 0.35);
  border-radius: 999px;
}

.hero-scroll span {
  display: block;
  width: 4px;
  height: 8px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: var(--ink);
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* —— Sections —— */
main,
.section,
.footer {
  position: relative;
  z-index: 1;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f8fd6;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
}

.section-lead {
  margin: 0.85rem 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
}

/* —— Demo panels —— */
.demo-panel {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: stretch;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: 0 18px 40px rgba(26, 42, 58, 0.1);
}

.demo-panel--sayi {
  border-color: rgba(240, 138, 20, 0.35);
}

.demo-panel--kelime {
  border-color: rgba(74, 168, 36, 0.35);
}

.demo-panel--duello {
  border-color: rgba(123, 92, 219, 0.35);
}

.mode-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.15));
}

.demo-guide h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 2rem;
}

.demo-panel--sayi h3 {
  color: var(--sayi);
}

.demo-panel--kelime h3 {
  color: var(--kelime);
}

.demo-panel--duello h3 {
  color: var(--duello);
}

.demo-guide p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.55;
}

.guide-list {
  margin: 1rem 0 0;
  padding: 0 0 0 1.15rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.55;
}

.longest-words {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(74, 168, 36, 0.12);
  border: 1px solid rgba(74, 168, 36, 0.28);
}

.longest-words-label {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2f6f14;
}

.longest-words-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.longest-words-list li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(74, 168, 36, 0.35);
  color: #1f4d0c;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.guide-hint {
  margin-top: 1rem !important;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(53, 185, 236, 0.25);
  color: #145a86 !important;
  font-size: 0.95rem !important;
}

.demo-board {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.15rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.demo-target {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffe2b8, #ffcf8a);
  font-weight: 800;
}

.demo-target--word {
  background: linear-gradient(135deg, #d7f5c4, #b8e89a);
}

.demo-target strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
}

.demo-expr {
  min-height: 2.4rem;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  background: #eef5ff;
  font-weight: 800;
  color: var(--muted);
}

.demo-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tile-btn {
  min-width: 56px;
  min-height: 56px;
  padding: 0.4rem 0.7rem;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  background: #fff;
  border: 2px solid rgba(26, 42, 58, 0.12);
  box-shadow: 0 6px 14px rgba(26, 42, 58, 0.08);
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.tile-btn:hover:not(:disabled) {
  transform: translateY(-2px);
}

.tile-btn:disabled,
.tile-btn.is-used {
  opacity: 0.35;
  cursor: not-allowed;
}

.tile-btn.is-selected {
  border-color: #1f8fd6;
  background: #e5f5ff;
}

.tile-btn--big {
  min-width: 64px;
  background: linear-gradient(160deg, #fff7e8, #ffd59a);
  border-color: rgba(240, 138, 20, 0.45);
  color: #8a4b00;
}

.tile-btn--joker {
  min-width: 56px;
  background: linear-gradient(160deg, #f3e8ff, #d8c4ff);
  border-color: rgba(123, 92, 219, 0.45);
  padding: 0.35rem;
}

.tile-btn--joker img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin: 0 auto;
}

.demo-tiles--letters .tile-btn {
  min-width: 48px;
  background: linear-gradient(160deg, #fff, #eaf8df);
}

.joker-picker {
  margin-top: 0.25rem;
  padding: 0.85rem;
  border-radius: 16px;
  background: #f4ecff;
  border: 1px solid rgba(123, 92, 219, 0.35);
}

.joker-picker[hidden] {
  display: none !important;
}

.joker-picker-label {
  margin: 0 0 0.65rem;
  font-weight: 800;
  color: #4a2f9b;
}

.joker-picker-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.joker-picker-grid .tile-btn {
  min-width: 40px;
  min-height: 40px;
  font-size: 1rem;
}

.demo-ops {
  display: flex;
  gap: 0.5rem;
}

.demo-ops button {
  flex: 1;
  min-height: 48px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(160deg, #5bb8ef, #2a86c8);
  box-shadow: 0 8px 16px rgba(42, 134, 200, 0.25);
}

.demo-ops button.is-selected {
  outline: 3px solid rgba(26, 42, 58, 0.2);
  transform: scale(1.04);
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn-soft {
  min-height: 42px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-weight: 800;
  background: #eef2f7;
  color: var(--ink);
}

.btn-soft--accent {
  background: #ffe8c2;
  color: #8a4b00;
}

.btn-soft--ok {
  background: #d7f5c4;
  color: #2d6b12;
}

.demo-feedback {
  margin: 0;
  min-height: 1.4rem;
  font-weight: 800;
  color: #2d6b12;
}

.demo-feedback.is-bad {
  color: #b42318;
}

.demo-feedback.is-info {
  color: #145a86;
}

.demo-feedback.is-win {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #1f7a12;
  font-size: 1.05rem;
}

/* Duello visual */
.duello-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
}

.duello-art {
  width: min(100%, 420px);
  height: auto;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(123, 92, 219, 0.2);
  object-fit: contain;
  background: #fff;
}

.lobby-sizes {
  display: flex;
  gap: 0.65rem;
}

.lobby-chip {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(160deg, #9b82f0, #6b4fd4);
  box-shadow: 0 10px 20px rgba(123, 92, 219, 0.3);
  transition: transform 0.2s ease, outline 0.2s ease;
}

.lobby-chip.is-active {
  outline: 3px solid rgba(26, 42, 58, 0.2);
  transform: scale(1.08);
}

.lobby-caption {
  margin: 0;
  text-align: center;
  font-weight: 800;
  color: var(--muted);
}

/* —— How —— */
.steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.4rem 1.25rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.step-num {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  background: linear-gradient(145deg, #35b9ec, #1565c0);
}

.step h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

/* —— Gallery: phone carousel —— */
.gallery-showcase {
  text-align: center;
}

.gallery-kicker {
  letter-spacing: 0.14em;
}

.gallery-heading {
  margin-bottom: 1.75rem;
}

.phone-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 2rem);
  margin: 0 auto;
}

.phone-stage--hero {
  margin-top: 0.35rem;
  width: 100%;
}

.phone-meta--hero {
  margin-top: 0.55rem;
}

.phone-meta--hero .phone-label {
  font-size: 1.1rem;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.65);
}

.phone-meta--hero .phone-counter {
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.65);
}

.phone-frame {
  position: relative;
  width: min(260px, 58vw);
  padding: 11px;
  border-radius: 34px;
  background: linear-gradient(160deg, #2a3140, #12161f);
  box-shadow:
    0 28px 60px rgba(10, 20, 40, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 2;
  width: 38%;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0b0e14;
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #0b1220;
  aspect-ratio: 9 / 19.5;
}

.phone-screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: opacity 0.28s ease, transform 0.35s var(--ease-out);
}

.phone-screen > img[hidden] {
  display: none !important;
}

.phone-screen > img.is-swap,
.phone-split.is-swap {
  opacity: 0;
  transform: scale(0.985);
}

.phone-split {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transition: opacity 0.28s ease, transform 0.35s var(--ease-out);
}

.phone-split[hidden] {
  display: none !important;
}

.phone-split-dark,
.phone-split-light {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Diagonal TL → BR: bottom-left = dark, top-right = light */
.phone-split-dark {
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.phone-split-light {
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.phone-split-tag {
  position: absolute;
  z-index: 5;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.phone-split-tag--dark {
  bottom: 10px;
  left: 8px;
  top: auto;
  right: auto;
  background: rgba(12, 18, 36, 0.95);
}

.phone-split-tag--light {
  top: 12%;
  right: 8px;
  bottom: auto;
  left: auto;
  background: rgba(31, 143, 214, 0.95);
}

.phone-dark-badge {
  position: absolute;
  top: 28px;
  left: 10px;
  z-index: 3;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(20, 28, 48, 0.82);
}

.phone-dark-badge[hidden] {
  display: none !important;
}

.phone-nav {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  background: rgba(20, 28, 48, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 24px rgba(10, 20, 40, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.phone-nav:hover {
  transform: scale(1.06);
  background: rgba(20, 28, 48, 0.75);
}

.phone-nav:active {
  transform: scale(0.96);
}

.phone-meta {
  margin-top: 1.35rem;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.phone-counter {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.phone-label {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #145a86;
}

.phone-blurb {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .phone-nav {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
  }

  .phone-frame {
    width: min(230px, 56vw);
  }
}

/* —— Compete —— */
.compete-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(123, 92, 219, 0.28);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(26, 42, 58, 0.08);
}

.vs-mark {
  width: 88px;
  height: auto;
  margin-bottom: 0.75rem;
  animation: floaty 5.5s ease-in-out infinite;
}

.compete-copy p:last-child {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.55;
  max-width: 32rem;
}

.compete-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.compete-shots img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  border: 2px solid rgba(26, 42, 58, 0.1);
  background: #fff;
  box-shadow: 0 14px 28px rgba(26, 42, 58, 0.12);
}

/* —— CTA —— */
.cta-band {
  padding-bottom: 5rem;
}

.cta-panel {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(53, 185, 236, 0.18), transparent 60%),
    rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px rgba(26, 42, 58, 0.1);
}

.cta-logo {
  width: min(280px, 70vw);
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

.cta-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.cta-panel > p {
  margin: 0.75rem auto 1.5rem;
  max-width: 28rem;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

.cta-note {
  margin: 1rem 0 0 !important;
  font-size: 0.9rem !important;
  opacity: 0.8;
}

/* —— Footer —— */
.footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 1.25rem 2.25rem;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.25rem;
  text-align: center;
  color: var(--muted);
  font-weight: 800;
}

.footer-inner img {
  border-radius: 10px;
}

.footer-tag {
  width: 100%;
  margin: 0;
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .demo-panel,
  .compete-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-links,
  .nav-actions .btn-play--sm {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(26, 42, 58, 0.12);
  }

  .nav.is-open .nav-links a {
    padding: 0.75rem 0.5rem;
  }

  .floater {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .floater-d,
  .floater-e {
    display: none;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .floater,
  .hero-logo,
  .vs-mark,
  .hero-scroll span,
  .hero-content {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
