/* ============================================================
   PINKYCODE — main.css
   Dark theme, Pinky Creative Studio
   PINKY-MOBILE-SAFE-v2 + PINKY-MOBILE-FIT-v3 inline
   ============================================================ */

/* PINKY-MOBILE-SAFE-v2 */
*{box-sizing:border-box}
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
  touch-action: pan-y;
  overscroll-behavior-x: none;
  -webkit-overflow-scrolling: touch;
}
html { position: relative; scroll-behavior: smooth; }
body { position: relative; }
main, section, header, footer, nav { max-width: 100vw; }
img, video, svg, canvas, iframe { max-width: 100%; height: auto; }

:root {
  --bg: #08080c;
  --bg-2: #0c0c14;
  --bg-3: #11111c;
  --surface: #14141f;
  --surface-2: #1a1a28;
  --border: #22222e;
  --border-2: #2c2c3a;
  --ink: #f0f0fa;
  --ink-2: #c8c8d8;
  --ink-3: #8888a0;
  --ink-4: #5a5a72;
  --pink: #ff4d8f;
  --violet: #6c63ff;
  --cyan: #00e5ff;
  --green: #00d68f;
  --yellow: #ffc107;
  --red: #ff4757;
  --grad: linear-gradient(135deg, #ff4d8f 0%, #6c63ff 100%);
  --grad-2: linear-gradient(135deg, #6c63ff 0%, #00e5ff 100%);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-glow: 0 0 80px rgba(255, 77, 143, 0.15);
  --max: 1280px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--ink); text-decoration: none; transition: color .2s; }
a:hover { color: var(--pink); }

button { font-family: inherit; cursor: pointer; }

::selection { background: var(--pink); color: #fff; }

/* ====== NAV ====== */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 8, 12, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.logo-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 4px; flex: 1; margin-left: 12px; }
.nav-links a { padding: 8px 14px; border-radius: 8px; font-size: 0.9rem; color: var(--ink-2); font-weight: 500; }
.nav-links a:hover { background: var(--surface); color: var(--ink); }
.nav-links a.active { color: var(--ink); background: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 0.9rem;
  border: 1px solid transparent; cursor: pointer; transition: all .2s;
  text-decoration: none; line-height: 1;
}
.btn-sm { padding: 7px 12px; font-size: 0.82rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 30px rgba(255, 77, 143, 0.25); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 40px rgba(255, 77, 143, 0.35); color: #fff; }
.btn-ghost { color: var(--ink-2); border-color: var(--border); }
.btn-ghost:hover { color: var(--ink); border-color: var(--border-2); background: var(--surface); }
.btn-white { background: #fff; color: #0a0a0a; }
.btn-white:hover { transform: translateY(-1px); color: #0a0a0a; }

/* lang switcher */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); color: var(--ink-2); font-size: 0.8rem; font-weight: 600;
}
.lang-btn:hover { color: var(--ink); border-color: var(--border-2); }
.lang-current { letter-spacing: 0.05em; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 180px;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 12px;
  list-style: none; padding: 6px; margin: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: none;
}
.lang-switcher.open .lang-menu { display: block; }
.lang-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px; font-size: 0.88rem; color: var(--ink-2);
}
.lang-menu a:hover { background: var(--surface-2); color: var(--ink); }
.lang-menu a.active { color: var(--pink); }
.lang-menu .flag { font-size: 1.1rem; }

.nav-mobile-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: .2s; }

/* ====== HERO ====== */
.hero {
  position: relative;
  padding: 100px 24px 80px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.2em;
  color: var(--ink-3);
  padding: 6px 12px;
  border: 1px solid var(--border-2);
  border-radius: 100px;
  background: rgba(20, 20, 31, 0.6);
  backdrop-filter: blur(8px);
  margin-bottom: 28px;
}
.hero-kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: pulse 2s infinite; }
.hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0 0 32px;
  max-width: 14ch;
}
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 0 40px;
  line-height: 1.55;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-3);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ====== SECTIONS ====== */
section { padding: 80px 24px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 16px; }
.section-head p { font-size: 1.05rem; color: var(--ink-2); margin: 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.feat-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(108, 99, 255, 0.08), transparent 40%);
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.feat-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.feat-card:hover::before { opacity: 1; }
.feat-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--grad); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feat-icon svg { width: 22px; height: 22px; color: #fff; }
.feat-card h3 { font-size: 1.15rem; margin: 0 0 10px; letter-spacing: -0.01em; }
.feat-card p { color: var(--ink-2); margin: 0; font-size: 0.94rem; line-height: 1.55; }

/* ====== DEMO ====== */
.demo-section { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.demo-box {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.demo-output {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  min-height: 180px;
  white-space: pre-wrap;
  margin-bottom: 16px;
  overflow: auto;
  max-height: 360px;
}
.demo-input { display: flex; gap: 10px; }
.demo-input input {
  flex: 1; background: var(--bg); border: 1px solid var(--border-2); border-radius: 12px;
  padding: 14px 18px; color: var(--ink); font-family: var(--font-sans); font-size: 0.95rem;
}
.demo-input input:focus { outline: none; border-color: var(--violet); }

/* ====== PRICING ====== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: all .25s;
}
.price-card.featured { border-color: var(--violet); background: linear-gradient(180deg, rgba(108, 99, 255, 0.08), var(--surface)); }
.price-card .badge {
  position: absolute; top: -12px; right: 24px;
  background: var(--grad); color: #fff;
  padding: 5px 14px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em;
}
.price-card h3 { font-size: 1.5rem; margin: 0 0 4px; }
.price-card .price { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 16px 0 4px; }
.price-card .period { color: var(--ink-3); font-size: 0.92rem; margin-bottom: 24px; }
.price-card ul { list-style: none; padding: 0; margin: 24px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.price-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--ink-2); }
.price-card li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.price-card .btn { width: 100%; }

.byok-note {
  max-width: 880px; margin: 60px auto 0;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.byok-note h3 { font-size: 1.2rem; margin: 0 0 8px; }
.byok-note p { color: var(--ink-2); margin: 0; max-width: 60ch; margin-inline: auto; font-size: 0.95rem; }

/* ====== AUTH FORMS ====== */
.auth-wrap { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 60px 24px; }
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  max-width: 440px;
  width: 100%;
}
.auth-card h1 { font-size: 1.8rem; letter-spacing: -0.02em; margin: 0 0 6px; }
.auth-card .auth-subtitle { color: var(--ink-3); margin: 0 0 28px; font-size: 0.94rem; }
.auth-card form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.82rem; color: var(--ink-2); font-weight: 500; }
.field input, .field textarea, .field select {
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet); }
.field-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--ink-2); cursor: pointer; }
.field-checkbox input { margin-top: 3px; }
.auth-error { background: rgba(255, 71, 87, 0.1); border: 1px solid var(--red); border-radius: 10px; padding: 10px 14px; color: var(--red); font-size: 0.88rem; margin-bottom: 14px; }
.auth-foot { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); text-align: center; font-size: 0.88rem; color: var(--ink-3); }
.auth-foot a { color: var(--pink); font-weight: 600; }

/* ====== DASHBOARD ====== */
.dash-wrap { max-width: var(--max); margin: 0 auto; padding: 60px 24px; }
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; flex-wrap: wrap; gap: 16px; }
.dash-head h1 { margin: 0; font-size: 2.2rem; letter-spacing: -0.02em; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 36px; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.stat-card .stat-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--ink-3); margin-bottom: 8px; }
.stat-card .stat-value { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; }

.dash-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 24px; }
.dash-section h2 { font-size: 1.3rem; margin: 0 0 6px; }
.dash-section .dash-section-sub { color: var(--ink-3); margin: 0 0 24px; font-size: 0.92rem; }

.byok-form { display: grid; grid-template-columns: 1fr 2fr 1fr auto; gap: 10px; align-items: end; }
.byok-list { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.byok-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; }
.byok-item .byok-meta { display: flex; flex-direction: column; gap: 2px; }
.byok-item .byok-provider { font-weight: 600; }
.byok-item .byok-label { font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink-3); }

/* ====== CHAT ====== */
.chat-wrap { display: grid; grid-template-columns: 280px 1fr; min-height: calc(100vh - 60px); }
.chat-sidebar { background: var(--bg-2); border-right: 1px solid var(--border); padding: 20px 14px; overflow-y: auto; }
.chat-sidebar .new-chat { width: 100%; margin-bottom: 16px; }
.chat-sidebar h4 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.15em; color: var(--ink-4); margin: 16px 8px 8px; text-transform: uppercase; }
.chat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.chat-list li a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 0.9rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-list li a:hover { background: var(--surface); color: var(--ink); }
.chat-list li.active a { background: var(--surface); color: var(--ink); }

.chat-main { display: flex; flex-direction: column; height: calc(100vh - 60px); }
.chat-messages { flex: 1; overflow-y: auto; padding: 24px; max-width: 880px; width: 100%; margin: 0 auto; }
.chat-msg { padding: 18px 22px; border-radius: 14px; margin-bottom: 12px; max-width: 100%; word-wrap: break-word; }
.chat-msg.user { background: var(--surface); border: 1px solid var(--border); }
.chat-msg.assistant { background: transparent; border: 1px solid var(--border); }
.chat-msg.assistant pre { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 14px; overflow-x: auto; font-family: var(--font-mono); font-size: 0.86rem; }
.chat-msg.assistant code:not(pre code) { background: var(--bg); padding: 2px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: 0.86em; }
.chat-msg .role { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 6px; }

.chat-empty { text-align: center; padding: 80px 20px; }
.chat-empty h2 { font-size: 2rem; letter-spacing: -0.02em; margin: 0 0 10px; }
.chat-empty p { color: var(--ink-2); margin: 0 0 28px; }
.chat-examples { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 720px; margin: 0 auto; }
.chat-examples button { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; color: var(--ink-2); text-align: left; font-size: 0.9rem; transition: all .2s; }
.chat-examples button:hover { border-color: var(--violet); color: var(--ink); }

.chat-input-wrap { padding: 20px 24px; border-top: 1px solid var(--border); background: var(--bg-2); }
.chat-input-inner { max-width: 880px; margin: 0 auto; display: flex; gap: 10px; align-items: end; }
.chat-input-inner textarea {
  flex: 1; background: var(--surface); border: 1px solid var(--border-2); border-radius: 14px;
  padding: 14px 18px; color: var(--ink); font-family: var(--font-sans); font-size: 0.95rem;
  resize: none; min-height: 52px; max-height: 240px; line-height: 1.5;
}
.chat-input-inner textarea:focus { outline: none; border-color: var(--violet); }
.chat-send-btn { background: var(--grad); color: #fff; border: 0; border-radius: 14px; padding: 0 22px; height: 52px; font-weight: 600; }

/* ====== LEGAL ====== */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 80px 24px; }
.legal-wrap h1 { font-size: 2.4rem; letter-spacing: -0.02em; margin: 0 0 6px; }
.legal-wrap .legal-meta { color: var(--ink-3); font-size: 0.88rem; margin-bottom: 32px; }
.legal-wrap h2 { font-size: 1.4rem; margin: 32px 0 12px; }
.legal-wrap p, .legal-wrap li { color: var(--ink-2); line-height: 1.7; }
.legal-wrap a { color: var(--pink); }

/* ====== FOOTER ====== */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 60px 24px 28px; margin-top: 60px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer-tagline { color: var(--ink-2); margin: 16px 0 12px; max-width: 36ch; font-size: 0.95rem; }
.footer-poweredby { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-4); }
.footer-poweredby a { color: var(--ink-3); border-bottom: 1px dotted var(--ink-4); }
.footer-poweredby a:hover { color: var(--pink); }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 0.9rem; color: var(--ink-2); }
.footer-col a:hover { color: var(--pink); }
.footer-bottom { max-width: var(--max); margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--border); text-align: center; }
.footer-bottom p { color: var(--ink-4); font-size: 0.82rem; margin: 0 0 12px; }
.footer-disclaimer { font-size: 0.74rem; color: var(--ink-4); max-width: 720px; margin-inline: auto; line-height: 1.5; }

/* ====== COOKIE BANNER ====== */
.cookie-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px;
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--radius); padding: 18px 22px;
  z-index: 1000; max-width: 720px; margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cookie-inner strong { display: block; margin-bottom: 4px; font-size: 0.95rem; }
.cookie-inner p { margin: 0; color: var(--ink-3); font-size: 0.85rem; max-width: 56ch; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ====== WHATSAPP FAB ====== */
.whatsapp-fab {
  position: fixed; bottom: 22px; right: 22px;
  width: 62px; height: 62px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: all .2s;
  animation: wa-pulse 2.4s infinite;
}
.whatsapp-fab:hover { transform: scale(1.08); color: #fff; }
@keyframes wa-pulse { 0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); } 50% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0); } }

.night-badge {
  position: fixed; top: 80px; right: 24px;
  background: rgba(108, 99, 255, 0.15); backdrop-filter: blur(12px);
  border: 1px solid var(--violet);
  border-radius: 100px; padding: 8px 16px;
  color: var(--ink); font-size: 0.82rem;
  z-index: 998;
  animation: drop-in .6s ease-out;
}
@keyframes drop-in { from { transform: translateY(-30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ====== KONAMI OVERLAY ====== */
.konami-overlay {
  position: fixed; inset: 0;
  background: rgba(8, 8, 12, 0.95); backdrop-filter: blur(20px);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  animation: fade-in .4s;
}
.konami-content { text-align: center; max-width: 500px; padding: 40px; }
.konami-content h1 { font-size: 4rem; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin: 0 0 16px; letter-spacing: -0.04em; }
.konami-content p { color: var(--ink-2); margin: 0 0 24px; font-size: 1.1rem; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ====== PINKY DEV OVERLAY (?pinky=1) ====== */
.pinky-dev-overlay {
  position: fixed; bottom: 24px; left: 24px;
  background: var(--surface); border: 1px solid var(--violet);
  border-radius: 12px; padding: 16px 20px;
  font-family: var(--font-mono); font-size: 0.78rem;
  z-index: 999; max-width: 320px;
  box-shadow: 0 0 40px rgba(108, 99, 255, 0.3);
}
.pinky-dev-overlay h5 { margin: 0 0 8px; color: var(--pink); font-size: 0.86rem; }
.pinky-dev-overlay div { display: flex; justify-content: space-between; padding: 2px 0; color: var(--ink-2); }
.pinky-dev-overlay div span:first-child { color: var(--ink-4); }

/* ====== PINKY-MOBILE-FIT-v3 ====== */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .chat-wrap { grid-template-columns: 1fr; }
  .chat-sidebar { display: none; }
  .byok-form { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container, .nav-inner, .section-inner, .footer-inner, .hero-inner, .auth-wrap, .dash-wrap, .legal-wrap { padding-left: 16px; padding-right: 16px; }
  h1, h2, h3, h4 { word-break: break-word; overflow-wrap: break-word; hyphens: auto; max-width: 100%; }
  p, li, a, span, label, button { overflow-wrap: break-word; word-wrap: break-word; }
  .hero { padding: 80px 20px 60px; min-height: auto; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.6rem) !important; line-height: 1.05 !important; }
  .hero-subtitle { font-size: 0.98rem !important; line-height: 1.55 !important; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  section, header, footer, main, .hero { min-width: 0; }
  [style*="letter-spacing"][style*="uppercase"], .hero-kicker { white-space: normal !important; font-size: 0.62rem !important; letter-spacing: 0.15em !important; line-height: 1.35 !important; max-width: 100% !important; }
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .feat-card { padding: 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 16px; }
  .price-card { padding: 28px 22px; }
  .price-card .price { font-size: 2.6rem; }
  .chat-input-wrap { padding: 14px 16px; }
  .chat-messages { padding: 16px; }
  .auth-card { padding: 28px 22px; }
  .whatsapp-fab { width: 54px; height: 54px; bottom: 16px; right: 16px; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 14px 16px; }
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  table, pre, code { max-width: 100%; overflow-x: auto; }
}
