/*
  PukPuk Landing Styles
  Mobile-first, bright and friendly design with rounded shapes and subtle motion
*/

/* CSS Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { height: 100%; scroll-behavior: smooth; }
body { min-height: 100%; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }

:root {
  --brand: #ff6600; /* primary */
  --brand-600: #e65c00;
  --brand-700: #cc5200;
  --secondary: #39d2c0;
  --accent: var(--secondary);
  --accent-600: #24b8a7;
  --white: #ffffff;
  --black: #090f13;
  --grey: #abb3ba;
  --lightGrey: #eeeeee;
  --bg: var(--white);
  --bg-hero: radial-gradient(1200px 600px at 20% 10%, rgba(255, 102, 0, 0.12), transparent 60%),
             radial-gradient(1000px 500px at 80% 20%, rgba(57, 210, 192, 0.13), transparent 60%),
             linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
  --card: #ffffff;
  --text: var(--black);
  --muted: var(--grey);
  --ring: rgba(255, 102, 0, 0.35);
  --shadow: 0 10px 25px rgba(2, 6, 23, 0.08), 0 2px 6px rgba(2, 6, 23, 0.04);
  --radius: 16px;
  --store-badge-height: 56px;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section { padding: 64px 0; }
.section-title { font-size: 28px; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 20px; }
.section-subtitle { color: var(--muted); margin-bottom: 28px; }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid rgba(2, 6, 23, 0.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { font-weight: 800; color: var(--text); font-size: 18px; letter-spacing: -0.02em; }
.logo { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--brand); color: white; font-weight: 800; }
.logo.big { width: 64px; height: 64px; font-size: 18px; }
.logo.small { width: 22px; height: 22px; font-size: 12px; }
.logo-img { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; box-shadow: 0 4px 10px rgba(2,6,23,0.12); }
.logo-img.big { width: 72px; height: 72px; border-radius: 16px; }
.logo-img.small { width: 18px; height: 18px; border-radius: 4px; box-shadow: none; }

.nav-links { position: fixed; inset: 64px 0 auto 0; background: rgba(255,255,255,0.98); padding: 16px; display: grid; gap: 4px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.nav-links a { padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 600; }
.lang-switch { display: inline-flex; gap: 6px; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid rgba(2,6,23,0.06); margin-top: 6px; }
.lang-btn { appearance: none; border: 0; background: transparent; padding: 6px 10px; border-radius: 999px; font-weight: 700; color: var(--text); cursor: pointer; }
.lang-btn[aria-pressed="true"] { background: #fff3e8; color: var(--brand-700); }
.nav-links a:hover { background: #fff3e8; color: var(--brand-700); }
.nav-links.active { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav-links .active-link { color: var(--brand-700); background: #fff3e8; }

.nav-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(2,6,23,0.08); background: #fff; box-shadow: var(--shadow); }
.nav-toggle .bar { width: 18px; height: 2px; background: var(--text); margin: 2px 0; border-radius: 2px; display: block; }
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-links { position: static; display: flex; gap: 8px; align-items: center; transform: none; opacity: 1; background: transparent; padding: 0; pointer-events: auto; }
  .lang-switch { margin: 0 0 0 8px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; font-weight: 700; transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.btn-primary { background: var(--brand); color: white; box-shadow: 0 10px 25px rgba(255, 102, 0, .25), 0 2px 6px rgba(255, 102, 0, .2); }
.btn-primary:hover { background: var(--brand-600); }
.btn-ghost { background: #fff; border-color: rgba(2,6,23,0.08); color: var(--text); }
.btn-ghost:hover { background: #fff7f0; }

.btn-store { background: #0f172a; color: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow); }
.btn-store:hover { background: #111827; }
.btn-store .store-icon { display: grid; place-items: center; }
.btn-store .store-text { display: grid; line-height: 1.1; }
.btn-store small { font-weight: 500; opacity: .8; }
.btn-store strong { font-weight: 800; letter-spacing: .2px; }
.store-buttons { display: grid; grid-template-columns: 1fr; gap: 12px; justify-content: center; }
@media (min-width: 520px) { .store-buttons { grid-template-columns: repeat(2, max-content); } }

/* Official store badges */
.store-badges { display: grid; grid-template-columns: 1fr; gap: 10px; justify-content: center; align-items: center; }
.store-badges a { line-height: 0; }
@media (min-width: 520px) { .store-badges { grid-template-columns: repeat(2, max-content); } }
.store-badge { height: var(--store-badge-height); width: auto; filter: drop-shadow(0 8px 18px rgba(2,6,23,.08)); transition: transform .12s ease, filter .2s ease; display: block; }
.store-badge:hover { transform: translateY(-2px); filter: drop-shadow(0 14px 28px rgba(2,6,23,.12)); }

/* Hero */
.hero { padding: 88px 0 72px; background: var(--bg-hero); position: relative; overflow: hidden; }
.hero-inner { display: grid; place-items: center; text-align: center; gap: 16px; }
.hero-title { font-size: 36px; letter-spacing: -0.03em; line-height: 1.1; max-width: 780px; }
.hero-subtitle { max-width: 680px; color: var(--muted); }
.cta-group { display: grid; grid-template-columns: 1fr; gap: 10px; justify-content: center; margin-top: 6px; }
@media (min-width: 520px) { .cta-group { grid-template-columns: max-content max-content; } }

.shape { position: absolute; border-radius: 999px; filter: blur(40px); opacity: 0.6; }
.shape-1 { width: 320px; height: 320px; background: rgba(255, 102, 0, 0.28); left: -80px; top: -80px; }
.shape-2 { width: 280px; height: 280px; background: rgba(57, 210, 192, 0.22); right: -60px; top: -40px; }
.shape-3 { width: 200px; height: 200px; background: rgba(255, 102, 0, 0.18); right: 10%; bottom: -60px; }

.hero-badge { display: grid; place-items: center; }

/* Features */
.section-features .cards { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 10px; }
@media (min-width: 640px) { .section-features .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .section-features .cards { grid-template-columns: repeat(4, 1fr); } }

.card { background: var(--card); border: 1px solid rgba(2,6,23,0.06); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: grid; gap: 8px; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(2, 6, 23, 0.10), 0 6px 12px rgba(2,6,23,0.06); }
.card-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--brand-700); background: #fff3e8; }
.card h3 { font-size: 18px; letter-spacing: -0.01em; }
.card p { color: var(--muted); }

/* How */
.section-how .steps { list-style: none; display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 10px; padding: 0; }
@media (min-width: 768px) { .section-how .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: linear-gradient(180deg, #ffffff 0%, #fff8f3 100%); border: 1px solid rgba(2,6,23,0.06); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: grid; gap: 8px; }
.step-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--brand-700); background: #fff3e8; }
.step h3 { font-size: 18px; letter-spacing: -0.01em; }
.step p { color: var(--muted); }

/* Screenshots */
.section-shots .shots-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
@media (min-width: 640px) { .section-shots .shots-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .section-shots .shots-grid { grid-template-columns: repeat(4, 1fr); } }
.phone-frame { background: var(--card); border: 1px solid var(--lightGrey); border-radius: 22px; box-shadow: 0 12px 28px rgba(2,6,23,.08); padding: 10px; }
.phone-frame img { width: 100%; height: auto; display: block; border-radius: 16px; }
.section-shots .optional { display: none; }
@media (min-width: 640px) { .section-shots .optional { display: block; } }

/* Download */
.section-download { text-align: center; }

/* Footer */
.site-footer { padding: 28px 0; color: var(--muted); border-top: 1px solid rgba(2,6,23,0.06); background: #fff; }
.site-footer .brand-inline { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Active section link */
.active-link { color: var(--brand-700); }


