/* ─────────────────────────────────────────
   PEREHDYTYSPELIT.FI – sivusto.css
   Aesthetic: Editorial warmth × modern B2B
   Fonts: Fraunces (display) + DM Sans (body)
───────────────────────────────────────── */

/* ═══ TOKENS ═══ */
:root {
  --cream:      #FAF7F2;
  --parchment:  #F2EDE4;
  --ink:        #1A1510;
  --ink-mid:    #3D3529;
  --ink-soft:   #7A6E62;
  --gold:       #C9963A;
  --gold-light: #F0D898;
  --gold-pale:  #FBF3DC;
  --forest:     #1E4035;
  --forest-mid: #2D5E50;
  --forest-pale:#E4EFEC;
  --error:      #C0392B;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm:  0 2px 8px rgba(26,21,16,.06);
  --shadow-md:  0 6px 24px rgba(26,21,16,.10);
  --shadow-lg:  0 16px 48px rgba(26,21,16,.14);

  --header-h:   68px;
  --max-w:      1160px;

  --ease-out:   cubic-bezier(.22,.68,0,1.2);
}

/* ═══ RESET ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}
img, iframe, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ═══ UTILITIES ═══ */
.container {
  width: min(var(--max-w), 100% - 3rem);
  margin-inline: auto;
}
.section { padding-block: clamp(4rem, 8vw, 7rem); }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .01em;
  border-radius: 100px;
  padding: .65rem 1.4rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease-out), box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary   { background: var(--forest); color: #fff; border-color: var(--forest); }
.btn-primary:hover { background: var(--forest-mid); border-color: var(--forest-mid); }

.btn-secondary { background: var(--gold-pale); color: var(--ink-mid); border-color: var(--gold-light); }
.btn-secondary:hover { background: var(--gold-light); }

.btn-outline   { background: transparent; color: var(--ink); border-color: var(--ink-mid); }
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-lg  { font-size: 1rem; padding: .85rem 1.8rem; }
.btn-full { width: 100%; justify-content: center; }

/* ═══ SECTION SHARED ═══ */
.section-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--ink);
}
.section-title em { font-style: italic; font-weight: 300; color: var(--forest-mid); }
.section-lead { margin-top: 1rem; font-size: 1.1rem; color: var(--ink-soft); max-width: 560px; margin-inline: auto; }

/* ═══ HEADER ═══ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,242,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,150,58,.18);
  height: var(--header-h);
}
.header-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -.01em;
  color: var(--ink);
  flex-shrink: 0;
}
.logo span { color: var(--gold); }

.main-nav { display: flex; gap: 1.8rem; margin-inline: auto; }
.main-nav a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-mid);
  transition: color .15s;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .2s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }

.header-ctas { display: flex; gap: .75rem; }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .2s;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--parchment);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1rem; font-weight: 500; }

/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding-block: 5rem 4rem;
  padding-inline: max(1.5rem, (100% - var(--max-w)) / 2);
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,150,58,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,150,58,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .4;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--gold-light), transparent 70%);
  top: -100px; left: -100px;
  animation: floatOrb 12s ease-in-out infinite;
}
.orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--forest-pale), transparent 70%);
  bottom: 0; right: 10%;
  animation: floatOrb 9s ease-in-out infinite reverse;
}
.orb-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--gold-pale), transparent 70%);
  top: 40%; left: 40%;
  animation: floatOrb 15s ease-in-out infinite 3s;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(30px, -30px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: contents;
}
.hero-content > * { /* children are grid items */ }

.hero-badge {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  padding: .35rem .85rem;
  border-radius: 100px;
  width: fit-content;
  animation: fadeUp .6s var(--ease-out) both;
}

.hero-title {
  grid-column: 1;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  line-height: 1.0;
  letter-spacing: -.03em;
  color: var(--ink);
  animation: fadeUp .6s var(--ease-out) .1s both;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--forest-mid);
}

.hero-sub {
  grid-column: 1;
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 42ch;
  animation: fadeUp .6s var(--ease-out) .2s both;
}

.hero-ctas {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  animation: fadeUp .6s var(--ease-out) .3s both;
}

.hero-stats {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  animation: fadeUp .6s var(--ease-out) .4s both;
}
.stat { display: flex; flex-direction: column; gap: .15rem; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: -.02em;
}
.stat-label { font-size: .75rem; color: var(--ink-soft); line-height: 1.3; }
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--parchment);
  flex-shrink: 0;
}

/* Hero visual */
.hero-visual {
  grid-column: 2;
  grid-row: 1 / 6;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  animation: fadeUp .8s var(--ease-out) .2s both;
}

.game-mockup {
  width: 340px;
  border-radius: var(--radius-xl);
  background: var(--ink);
  box-shadow: 
    0 0 0 1px rgba(201,150,58,.3),
    var(--shadow-lg),
    inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden;
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.game-mockup-screen {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #0d1f1b 0%, #1a3830 50%, #0d1f1b 100%);
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
}
.game-mockup-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='1' height='1' x='0' y='0' fill='rgba(255,255,255,.03)'/%3E%3C/svg%3E");
  background-size: 20px 20px;
}
.pixel-scene {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pixel-hero {
  font-size: 2rem;
  animation: heroWalk 1s steps(2) infinite;
}
@keyframes heroWalk {
  0% { transform: translateX(0); }
  50% { transform: translateX(4px); }
  100% { transform: translateX(0); }
}
.pixel-dungeon {
  display: flex;
  justify-content: center;
}
.pixel-challenge {
  background: rgba(201,150,58,.15);
  border: 1px dashed rgba(201,150,58,.4);
  border-radius: var(--radius-md);
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,150,58,.3); }
  50% { box-shadow: 0 0 0 8px rgba(201,150,58,0); }
}
.pixel-icon { font-size: 1.5rem; }
.pixel-text { font-size: .72rem; color: rgba(255,255,255,.85); font-weight: 500; line-height: 1.3; }
.pixel-xp {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  color: var(--gold-light);
  text-align: right;
  animation: floatXP 1.5s ease-out infinite;
}
@keyframes floatXP {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-20px); opacity: 0; }
}
.pixel-bar {
  height: 6px;
  background: rgba(255,255,255,.1);
  border-radius: 3px;
  overflow: hidden;
}
.pixel-bar-fill {
  height: 100%;
  width: 65%;
  background: linear-gradient(90deg, var(--forest-mid), var(--gold));
  border-radius: 3px;
  animation: growBar 3s ease-in-out infinite;
}
@keyframes growBar {
  0% { width: 45%; }
  50% { width: 72%; }
  100% { width: 45%; }
}
.game-mockup-label {
  padding: .85rem 1.2rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: rgba(255,255,255,.5);
  text-align: center;
  text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* ═══ WHY SECTION ═══ */
.why-section { background: var(--parchment); }
.why-section .section-title em { color: var(--gold); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--cream);
  border: 1px solid rgba(26,21,16,.08);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  transition: transform .2s var(--ease-out), box-shadow .2s ease;
  opacity: 0;
  transform: translateY(20px);
}
.card.visible { opacity: 1; transform: translateY(0); transition: opacity .5s ease, transform .5s var(--ease-out); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.card--accent {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}
.card--accent .card-number { color: rgba(255,255,255,.25); }
.card--accent h3 { color: #fff; }
.card--accent p { color: rgba(255,255,255,.75); }
.card--accent .card-arrow { color: var(--gold-light); }

.card-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--parchment);
  position: absolute;
  top: 1.5rem;
  right: 1.8rem;
  letter-spacing: -.05em;
}
.card-icon { font-size: 2.2rem; margin-bottom: 1.2rem; }
.card h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; margin-bottom: .8rem; line-height: 1.25; }
.card p { font-size: .93rem; color: var(--ink-soft); line-height: 1.65; }
.card-arrow { font-size: 1.3rem; margin-top: 1.5rem; opacity: .4; }

/* ═══ GAMIFICATION SECTION ═══ */
.gamification-section { background: var(--cream); }

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.split-text { display: flex; flex-direction: column; gap: 0; }
.split-text .section-title { margin-bottom: 2rem; text-align: left; }
.split-text .section-tag { text-align: left; }

.split-block {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: .5rem;
  transition: background .2s ease;
  opacity: 0;
  transform: translateX(-20px);
}
.split-block.visible { opacity: 1; transform: translateX(0); transition: opacity .5s ease, transform .5s var(--ease-out); }
.split-block:hover { background: var(--parchment); }
.split-block-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gold-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-block h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: .4rem; }
.split-block p { font-size: .93rem; color: var(--ink-soft); }
.split-block em { color: var(--forest-mid); font-style: italic; }

/* Gamification diagram */
.split-visual { display: flex; justify-content: center; align-items: center; }

.gamification-diagram {
  position: relative;
  width: 300px;
  height: 300px;
}
.diagram-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--gold);
}
.diagram-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: var(--forest);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  color: #fff;
  font-size: .65rem;
  font-weight: 600;
  text-align: center;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}
.diagram-center .diagram-emoji { font-size: 1.6rem; }
.diagram-node {
  position: absolute;
  width: 70px;
  height: 70px;
  background: var(--cream);
  border: 2px solid var(--parchment);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .1rem;
  font-size: 1.4rem;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  animation: nodePulse 3s ease-in-out infinite;
}
.diagram-node small { font-size: .62rem; font-weight: 600; color: var(--ink-soft); }
.diagram-node--1 { top: 10px; left: 10px; animation-delay: 0s; }
.diagram-node--2 { top: 10px; right: 10px; animation-delay: .75s; }
.diagram-node--3 { bottom: 10px; left: 10px; animation-delay: 1.5s; }
.diagram-node--4 { bottom: 10px; right: 10px; animation-delay: 2.25s; }
@keyframes nodePulse {
  0%, 100% { transform: scale(1); box-shadow: var(--shadow-sm); }
  50% { transform: scale(1.08); box-shadow: var(--shadow-md); }
}

/* ═══ PRODUCT SECTION ═══ */
.product-section { background: var(--forest); color: #fff; }
.product-section .section-tag { color: var(--gold-light); }
.product-section .section-title { color: #fff; }
.product-section .section-lead { color: rgba(255,255,255,.65); }
.product-section .section-title em { color: var(--gold-light); }

.demo-wrapper { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }

.demo-frame-wrap {
  position: relative;
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(201,150,58,.25);
  box-shadow: 0 0 0 1px rgba(255,255,255,.05), var(--shadow-lg);
}
.demo-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: var(--ink);
}
.demo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,31,27,.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(6px);
}
.demo-overlay-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; color: #fff; }
.demo-play-icon { font-size: 3.5rem; animation: float 3s ease-in-out infinite; }
.demo-overlay-inner h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.demo-overlay-inner p { color: rgba(255,255,255,.6); font-size: .95rem; }

.demo-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.product-section .btn-outline { border-color: rgba(255,255,255,.3); color: #fff; }
.product-section .btn-outline:hover { background: #fff; color: var(--ink); }
.product-section .btn-secondary { background: rgba(201,150,58,.15); border-color: rgba(201,150,58,.35); color: var(--gold-light); }
.product-section .btn-secondary:hover { background: rgba(201,150,58,.25); }

/* ═══ CONTACT SECTION ═══ */
.contact-section { background: var(--parchment); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-text { padding-top: .5rem; }
.contact-text .section-title { margin-bottom: 1.2rem; text-align: left; }
.contact-text .section-tag { text-align: left; }
.contact-text p { color: var(--ink-soft); max-width: 36ch; margin-bottom: 2rem; }

.contact-perks { display: flex; flex-direction: column; gap: .65rem; }
.perk {
  font-size: .9rem;
  font-weight: 600;
  color: var(--forest-mid);
  opacity: 0;
  transform: translateX(-15px);
}
.perk.visible { opacity: 1; transform: translateX(0); transition: opacity .4s ease, transform .4s var(--ease-out); }

.contact-form {
  background: var(--cream);
  border: 1px solid rgba(26,21,16,.08);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-mid);
  letter-spacing: .02em;
}
.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid rgba(26,21,16,.14);
  border-radius: var(--radius-sm);
  padding: .7rem .95rem;
  transition: border-color .15s, box-shadow .15s;
  resize: vertical;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--forest-mid);
  box-shadow: 0 0 0 3px rgba(30,64,53,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-soft); opacity: .6; }

.form-success {
  display: none;
  padding: .85rem 1rem;
  background: var(--forest-pale);
  color: var(--forest);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
}

/* ═══ FOOTER ═══ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.6);
  padding-block: 3rem 2rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer-brand { display: flex; flex-direction: column; gap: .7rem; }
.footer-brand .logo { color: rgba(255,255,255,.85); }
.footer-brand p { font-size: .88rem; max-width: 42ch; line-height: 1.65; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  transition: color .15s;
}
.footer-links a:hover { color: rgba(255,255,255,.9); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══ KOHDERYHMÄ ═══ */
.target-section { background: var(--forest); color: #fff; }
.target-section .section-tag { color: var(--gold-light); }
.target-section .section-title { color: #fff; }
.target-section .section-lead { color: rgba(255,255,255,.65); }

.target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.target-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: background .2s, transform .2s var(--ease-out);
}
.target-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-5px);
}
.target-icon {
  font-size: 2.2rem;
  margin-bottom: 1.1rem;
}
.target-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .75rem;
  line-height: 1.3;
}
.target-card p {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .main-nav, .header-ctas { display: none; }
  .mobile-menu-btn { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    padding-block: 3rem;
    min-height: auto;
  }
  .hero-badge, .hero-title, .hero-sub, .hero-ctas, .hero-stats {
    grid-column: 1;
  }
  .hero-visual {
    grid-column: 1;
    grid-row: auto;
    order: -1;
  }
  .game-mockup { width: 100%; max-width: 340px; margin-inline: auto; }

  .hero-stats { flex-wrap: wrap; gap: 1.2rem; }

  .split-layout,
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }

  .split-visual { order: -1; }
  .gamification-diagram { width: 240px; height: 240px; }
  .diagram-center { width: 80px; height: 80px; font-size: .6rem; }
  .diagram-node { width: 58px; height: 58px; font-size: 1.2rem; }

  .contact-text .section-title { font-size: 2rem; }

  .demo-frame-wrap { aspect-ratio: 4/3; }
}

@media (max-width: 600px) {
  .hero-title { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

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

  .contact-form { padding: 1.5rem; }

  .demo-frame-wrap { aspect-ratio: 1; }

  .footer-links { flex-direction: column; gap: .75rem; }
}
