/* ————— Pumpkin Studio landing ————— */
:root {
  --bg: #0b0910;
  --surface: #14111c;
  --surface-2: #1b1626;
  --line: rgba(255, 255, 255, 0.07);
  --text: #ede9f3;
  --muted: #9b94a8;
  --pumpkin: #ff8a3d;
  --amber: #ffb347;
  --grad: linear-gradient(92deg, #ffb347, #ff8a3d 55%, #ff6a2b);
  --radius: 18px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ————— animated sky ————— */
.sky {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(1200px 700px at 85% -10%, #221433 0%, transparent 60%),
    radial-gradient(1000px 600px at -10% 30%, #1a0f24 0%, transparent 55%),
    var(--bg);
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  animation: drift 26s ease-in-out infinite alternate;
}
.blob-a { width: 520px; height: 520px; top: -180px; right: -80px;
  background: radial-gradient(circle, rgba(255,138,61,.55), transparent 65%); }
.blob-b { width: 460px; height: 460px; top: 35%; left: -180px;
  background: radial-gradient(circle, rgba(139,92,246,.4), transparent 65%);
  animation-delay: -8s; }
.blob-c { width: 420px; height: 420px; bottom: -160px; right: 15%;
  background: radial-gradient(circle, rgba(244,63,94,.3), transparent 65%);
  animation-delay: -16s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(60px, 40px, 0) scale(1.15); }
}
.stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,.35), transparent),
    radial-gradient(1.5px 1.5px at 60% 20%, rgba(255,255,255,.4), transparent),
    radial-gradient(1px 1px at 80% 50%, rgba(255,255,255,.3), transparent),
    radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,.3), transparent),
    radial-gradient(1.5px 1.5px at 90% 85%, rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 70% 90%, rgba(255,255,255,.25), transparent),
    radial-gradient(1px 1px at 30% 10%, rgba(255,255,255,.3), transparent);
}

/* ————— nav ————— */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(20px, 5vw, 56px);
  background: rgba(11, 9, 16, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--text); text-decoration: none; letter-spacing: 0.01em;
}
.brand-mark { width: 32px; height: 32px; object-fit: cover; border-radius: 8px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ————— buttons ————— */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  background: var(--grad); color: #241103; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: none;
  box-shadow: 0 8px 30px rgba(255, 138, 61, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(255, 138, 61, 0.45); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: none;
}
.btn-ghost:hover { border-color: var(--pumpkin); box-shadow: none; color: var(--amber); }
.btn-small { padding: 9px 18px; font-size: 0.85rem; }

/* ————— hero ————— */
.hero {
  position: relative;
  max-width: 980px; margin: 0 auto; padding: clamp(80px, 14vh, 150px) 24px 60px;
  text-align: center;
}
.hero-flourish {
  position: absolute; left: -150px; bottom: -40px;
  width: clamp(260px, 30vw, 420px); height: auto;
  opacity: 0.9; pointer-events: none; user-select: none;
  filter: drop-shadow(0 14px 40px rgba(0, 0, 0, 0.55));
  animation: flourish-in 1.4s 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes flourish-in {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to   { opacity: 0.9; transform: none; }
}
@media (max-width: 1180px) { .hero-flourish { left: -60px; width: clamp(220px, 26vw, 320px); } }
@media (max-width: 860px)  { .hero-flourish { display: none; } }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber);
  border: 1px solid rgba(255, 179, 71, 0.35); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 26px;
  background: rgba(255, 179, 71, 0.06);
}
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.9rem, 8.5vw, 5.6rem); line-height: 1.04;
  letter-spacing: -0.02em; margin-bottom: 26px;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede {
  max-width: 620px; margin: 0 auto 38px; color: var(--muted);
  font-size: clamp(1.02rem, 2.2vw, 1.18rem);
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-vine { margin-top: 70px; }
.hero-vine svg { width: min(900px, 92%); height: 60px; }
.vine-path {
  stroke-dasharray: 1200; stroke-dashoffset: 1200;
  animation: draw 2.4s 0.5s ease forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ————— sections ————— */
.section {
  max-width: 1120px; margin: 0 auto; padding: clamp(70px, 11vh, 120px) 24px 30px;
}
.section h2 {
  font-family: var(--font-display); font-weight: 800; text-align: center;
  font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.15; letter-spacing: -0.015em;
  margin-bottom: clamp(40px, 7vh, 64px);
}
.section-lede {
  text-align: center; color: var(--muted); max-width: 560px;
  margin: -30px auto 46px;
}

/* ————— app cards ————— */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  transform-style: preserve-3d; will-change: transform;
}
.card:hover { border-color: rgba(255, 255, 255, 0.16); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.card-snt:hover  { box-shadow: 0 24px 60px rgba(139, 92, 246, 0.18); }
.card-afc:hover  { box-shadow: 0 24px 60px rgba(45, 212, 191, 0.15); }
.card-ktube:hover{ box-shadow: 0 24px 60px rgba(244, 63, 94, 0.16); }
.shot { padding: 22px 22px 0; }
.shot svg { width: 100%; height: auto; display: block; border-radius: 10px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.4); }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title { display: flex; align-items: center; gap: 12px; }
.card-title h3 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em;
}
.chip {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px;
}
.chip-live { color: #4ade80; border-color: rgba(74, 222, 128, 0.4);
  background: rgba(74, 222, 128, 0.08); }
.card-sub { color: var(--amber); font-weight: 600; font-size: 0.92rem; margin-top: -6px; }
.card-body > p:not(.card-sub) { color: var(--muted); font-size: 0.95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tags span {
  font-size: 0.76rem; color: var(--muted); background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px;
}
.card-link {
  margin-top: auto; padding-top: 14px; color: var(--amber); font-weight: 600;
  text-decoration: none; font-size: 0.95rem;
}
.card-link:hover span { transform: translateX(4px); }
.card-link span { display: inline-block; transition: transform 0.2s; }

/* ————— values ————— */
.values {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.value {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
}
.value-ico { font-size: 1.6rem; margin-bottom: 12px; }
.value h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 0.92rem; }

/* ————— patch ————— */
.patch-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.seed {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255, 255, 255, 0.025); border: 1px dashed rgba(255, 179, 71, 0.3);
  border-radius: var(--radius); padding: 22px;
}
.seed-ico { font-size: 1.5rem; line-height: 1.2; }
.seed p { color: var(--muted); font-size: 0.95rem; }
.seed a { color: var(--amber); }

/* ————— footer ————— */
.footer {
  max-width: 1120px; margin: 60px auto 0; padding: 30px 24px 44px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.footer-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-mark { width: 26px; height: 26px; object-fit: cover; border-radius: 6px; }
.footer-brand { font-family: var(--font-display); font-weight: 700; margin-right: 8px; }
.footer-copy { color: var(--muted); font-size: 0.9rem; }
.footer a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.footer a:hover { color: var(--amber); }

/* ————— reveal on scroll ————— */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ————— responsive ————— */
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { padding-top: 64px; }
  .hero-vine { margin-top: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob, .vine-path, .hero-flourish { animation: none; }
  .vine-path { stroke-dashoffset: 0; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card { transition: none; }
}
