/* Porka Studio — studio.porka-ai.com */
:root {
  --bg: #0d0820;
  --bg-2: #150d2e;
  --panel: #1b1239;
  --panel-2: #22174a;
  --line: rgba(255, 255, 255, 0.09);
  --ink: #f5f1ff;
  --muted: #b3a8d4;
  --dim: #8478a8;
  --pink: #ff5c8a;
  --pink-2: #ff8fb0;
  --cyan: #4be8ff;
  --violet: #8b5cf6;
  --gold: #ffc83d;
  --radius: 18px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---------- nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 8, 32, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: 0.3px; }
.brand:hover { text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.brand span b { color: var(--pink); font-weight: 800; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 600; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav .btn { margin-left: 4px; }
.menu-toggle { display: none; }
.brand, .btn { white-space: nowrap; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; padding: 10px 16px; font-size: 14px; }
}
@media (max-width: 420px) {
  .nav .container { gap: 12px; height: 64px; }
  .brand { font-size: 17px; gap: 10px; }
  .brand img { width: 36px; height: 36px; }
  .nav .btn { padding: 9px 14px; font-size: 13px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.8px; }
}

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.2px;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--pink), #ff7a59); color: #1a0710; box-shadow: 0 8px 30px rgba(255, 92, 138, .35); }
.btn-primary:hover { box-shadow: 0 10px 36px rgba(255, 92, 138, .5); }
.btn-ghost { background: rgba(255, 255, 255, 0.05); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }

/* ---------- hero */
.hero { position: relative; padding: 88px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 120%;
  background:
    radial-gradient(600px 400px at 78% 30%, rgba(139, 92, 246, .35), transparent 70%),
    radial-gradient(500px 360px at 15% 10%, rgba(75, 232, 255, .14), transparent 70%),
    radial-gradient(520px 380px at 60% 90%, rgba(255, 92, 138, .16), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(75, 232, 255, .08); border: 1px solid rgba(75, 232, 255, .25);
  color: var(--cyan); font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.05; margin: 20px 0 18px; font-weight: 800; letter-spacing: -1px; }
.hero h1 .grad { background: linear-gradient(90deg, var(--pink), var(--pink-2) 40%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

.phones { position: relative; height: 560px; }
.phone {
  position: absolute; width: 230px; aspect-ratio: 9 / 16;
  border-radius: 30px; padding: 8px;
  background: linear-gradient(160deg, #2b2050, #120b26);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .4) inset;
}
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 23px; background: #000; }
.phone .tag {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
  background: var(--panel-2); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--ink);
}
.phone.p1 { left: 2%; top: 60px; transform: rotate(-7deg); }
.phone.p2 { left: 33%; top: 0; z-index: 2; }
.phone.p3 { right: 0; top: 80px; transform: rotate(7deg); }
@media (max-width: 960px) {
  .hero { padding: 56px 0 48px; }
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .phones { height: 420px; max-width: 460px; margin: 0 auto; width: 100%; }
  .phone { width: 168px; border-radius: 24px; padding: 6px; }
  .phone video { border-radius: 19px; }
  .phone.p1 { left: 0; top: 40px; }
  .phone.p2 { left: calc(50% - 84px); }
  .phone.p3 { right: 0; top: 52px; }
}
@media (max-width: 420px) {
  .phones { height: 330px; }
  .phone { width: 126px; }
  .phone.p2 { left: calc(50% - 63px); }
}

/* ---------- facts strip */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.facts .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 20px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact b { display: block; font-size: 22px; font-weight: 800; }
.fact span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) {
  .facts .container { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- sections */
section.block { padding: 96px 0; }
section.block.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head .kicker { color: var(--pink); font-weight: 800; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; margin: 10px 0 12px; letter-spacing: -0.5px; }
.section-head p { color: var(--muted); margin: 0; }
@media (max-width: 600px) { section.block { padding: 64px 0; } }

/* channels */
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.channel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}
.channel:hover { transform: translateY(-4px); border-color: rgba(255, 92, 138, .35); }
.channel .media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #000; }
.channel .media video { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.channel .badge {
  position: absolute; top: 14px; left: 14px; padding: 5px 11px; border-radius: 999px;
  background: rgba(13, 8, 32, .75); backdrop-filter: blur(6px); font-size: 12px; font-weight: 700;
}
.channel .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.channel h3 { margin: 0; font-size: 21px; }
.channel p { margin: 0; color: var(--muted); font-size: 15.5px; }
.channel .meta { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); color: var(--muted); font-size: 12.5px; font-weight: 600; }
@media (max-width: 960px) { .channels { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .channels { grid-template-columns: 1fr; } }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 1px;
  color: var(--cyan); background: rgba(75, 232, 255, .08); border: 1px solid rgba(75, 232, 255, .22);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* about */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.about .logo-big { width: 100%; max-width: 340px; border-radius: 50%; box-shadow: 0 0 80px rgba(75, 232, 255, .25); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.value { padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); }
.value b { display: block; margin-bottom: 4px; }
.value span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about .logo-big { max-width: 220px; margin: 0 auto; }
}
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* contact */
.contact-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: 44px; border-radius: 24px;
  background:
    radial-gradient(400px 220px at 0% 0%, rgba(255, 92, 138, .25), transparent 70%),
    radial-gradient(400px 220px at 100% 100%, rgba(75, 232, 255, .18), transparent 70%),
    var(--panel);
  border: 1px solid var(--line);
}
.contact-card h2 { margin: 0 0 6px; font-size: clamp(26px, 3vw, 34px); }
.contact-card p { margin: 0; color: var(--muted); }
@media (max-width: 600px) { .contact-card { padding: 28px 22px; } }

/* ---------- footer */
footer.site {
  border-top: 1px solid var(--line); padding: 44px 0 36px; color: var(--dim); font-size: 14px;
  background: var(--bg);
}
footer.site .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
footer.site .brand { font-size: 16px; }
footer.site .brand img { width: 34px; height: 34px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer.site nav a { color: var(--muted); }
footer.site .copy { width: 100%; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* ---------- legal pages */
.legal-hero { padding: 64px 0 28px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.legal-hero h1 { margin: 10px 0 6px; font-size: clamp(32px, 4vw, 46px); letter-spacing: -0.5px; }
.legal-hero p { margin: 0; color: var(--muted); }
.legal { max-width: 780px; padding: 48px 24px 88px; margin: 0 auto; }
.legal h2 { font-size: 22px; margin: 40px 0 10px; color: var(--ink); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #ddd5f5; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal code { background: rgba(255, 255, 255, .07); padding: 2px 6px; border-radius: 6px; font-size: 15px; }
.legal .note { padding: 18px 20px; border-radius: 14px; background: rgba(75, 232, 255, .06); border: 1px solid rgba(75, 232, 255, .2); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .channel { transition: none; }
}
