/* Mega Biblioteca GPT — design system */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #070b14;
  --surface: #0e1524;
  --surface-2: #131c30;
  --border: rgba(255, 255, 255, 0.09);
  --text: #e8eef8;
  --muted: #a3b1c6;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --gradient: linear-gradient(100deg, #8b5cf6 0%, #22d3ee 100%);
  --cta: #22c55e;
  --cta-hover: #16a34a;
  --amber: #fbbf24;
  --radius: 14px;
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { color: var(--muted); }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: var(--text); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1080px; margin: 0 auto;
}
.logo {
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 10px;
}
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--gradient);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.logo-mark svg { width: 18px; height: 18px; stroke: #fff; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 0.92rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  padding: 16px 34px; border-radius: 999px; border: none; cursor: pointer;
  text-decoration: none; transition: background-color 0.2s, box-shadow 0.2s, color 0.2s;
  min-height: 44px;
}
.btn:hover { text-decoration: none; }
.btn:focus-visible, a:focus-visible, input:focus-visible, button:focus-visible {
  outline: 3px solid var(--cyan); outline-offset: 2px;
}
.btn-cta {
  background: var(--cta); color: #04120a;
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.35);
}
.btn-cta:hover { background: var(--cta-hover); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-sm { font-size: 0.9rem; padding: 10px 22px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head p { margin-top: 14px; font-size: 1.08rem; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color 0.2s, background-color 0.2s;
}
a.card { display: block; color: inherit; }
a.card:hover { border-color: var(--violet); background: var(--surface-2); text-decoration: none; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.95rem; }
.card-icon {
  width: 44px; height: 44px; border-radius: 11px; background: rgba(139, 92, 246, 0.15);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; stroke: var(--violet); }
.card-count { font-size: 0.8rem; font-weight: 600; color: var(--cyan); margin-top: 12px; display: inline-block; }

/* ---------- Prompt cards (product) ---------- */
.prompt-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; margin-bottom: 22px;
}
.prompt-card h3 { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 6px; font-size: 1.1rem; }
.prompt-num { color: var(--violet); flex: none; }
.prompt-desc { font-size: 0.93rem; margin-bottom: 14px; }
.prompt-body {
  position: relative; background: #0a101d; border: 1px solid var(--border);
  border-radius: 10px; padding: 18px 88px 18px 18px; font-size: 0.9rem;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  color: #c9d6ea; white-space: pre-wrap; word-break: break-word; line-height: 1.6;
}
.prompt-body .ph { color: var(--amber); font-weight: 600; }
.copy-btn {
  position: absolute; top: 10px; right: 10px;
  background: var(--surface-2); color: var(--muted); border: 1px solid var(--border);
  border-radius: 8px; font-size: 0.75rem; font-weight: 600; font-family: var(--font-body);
  padding: 6px 12px; cursor: pointer; transition: color 0.2s, border-color 0.2s;
  min-height: 32px;
}
.copy-btn:hover { color: var(--cyan); border-color: var(--cyan); }
.copy-btn.copied { color: var(--cta); border-color: var(--cta); }
.prompt-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
.tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted);
}
.tag-gpt { color: #6ee7b7; border-color: rgba(110, 231, 183, 0.35); }
.tag-gemini { color: #93c5fd; border-color: rgba(147, 197, 253, 0.35); }
.tag-claude { color: #fdba74; border-color: rgba(253, 186, 116, 0.35); }
.prompt-tip {
  margin-top: 14px; font-size: 0.88rem; color: var(--muted);
  border-left: 3px solid var(--violet); padding: 6px 0 6px 14px;
}
.prompt-tip strong { color: var(--violet); }

/* ---------- Product layout ---------- */
.page-header { padding: 64px 0 40px; border-bottom: 1px solid var(--border); margin-bottom: 48px; }
.page-header p { margin-top: 14px; font-size: 1.08rem; max-width: 680px; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--cyan); }

.toc {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 26px; margin-bottom: 40px; font-size: 0.93rem;
}
.toc strong { display: block; margin-bottom: 10px; font-family: var(--font-head); }
.toc ol { margin-left: 20px; color: var(--muted); }
.toc li { margin: 4px 0; }

.content h2 { margin: 56px 0 18px; }
.content h3 { margin: 36px 0 12px; }
.content p { margin-bottom: 16px; }
.content ul, .content ol { margin: 0 0 18px 24px; color: var(--muted); }
.content li { margin-bottom: 8px; }
.content table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 0.92rem; }
.content th, .content td { text-align: left; padding: 12px 14px; border: 1px solid var(--border); vertical-align: top; }
.content th { background: var(--surface-2); font-family: var(--font-head); font-size: 0.85rem; }
.content td { color: var(--muted); }
.table-wrap { overflow-x: auto; }

.callout {
  background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; font-size: 0.95rem;
}
.callout-green { background: rgba(34, 197, 94, 0.08); border-color: rgba(34, 197, 94, 0.35); }
.callout-amber { background: rgba(251, 191, 36, 0.08); border-color: rgba(251, 191, 36, 0.35); }
.callout p:last-child { margin-bottom: 0; }

.pager { display: flex; justify-content: space-between; gap: 16px; margin: 64px 0 0; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border); padding: 40px 0; margin-top: 88px;
  font-size: 0.85rem; color: var(--muted); text-align: center;
}
.footer a { color: var(--muted); }

/* ---------- Landing specifics ---------- */
.hero { padding: 100px 0 80px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -40% 20% auto;
  height: 520px; background: radial-gradient(ellipse, rgba(139, 92, 246, 0.22), transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 860px; margin: 0 auto; }
.hero p.sub { font-size: 1.2rem; margin: 22px auto 36px; max-width: 640px; }
.hero .btn-cta { font-size: 1.15rem; padding: 20px 44px; }
.hero-note { margin-top: 16px; font-size: 0.88rem; color: var(--muted); }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); border-radius: 999px; padding: 7px 16px;
  font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-bottom: 26px;
  background: var(--surface);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cta); flex: none; }

.check-list { list-style: none; margin: 0; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: var(--muted);
}
.check-list svg { width: 22px; height: 22px; flex: none; stroke: var(--cta); margin-top: 2px; }
.check-list strong { color: var(--text); }

.price-box {
  background: var(--surface); border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: 20px; padding: 44px 36px; text-align: center; max-width: 520px; margin: 0 auto;
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
}
.price-old { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; }
.price-now { font-family: var(--font-head); font-size: 3.4rem; font-weight: 800; margin: 6px 0 2px; }
.price-now sup { font-size: 1.3rem; font-weight: 700; }
.price-terms { font-size: 0.88rem; color: var(--muted); margin-bottom: 26px; }

.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; background: var(--surface); }
.faq-item summary {
  cursor: pointer; padding: 20px 24px; font-family: var(--font-head); font-weight: 600;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--violet); flex: none; }
.faq-item[open] summary::after { content: '–'; }
.faq-item .faq-body { padding: 0 24px 20px; font-size: 0.95rem; color: var(--muted); }

.testimonial { font-size: 0.95rem; }
.testimonial .who { margin-top: 16px; font-weight: 600; color: var(--text); font-size: 0.88rem; }
.testimonial .who span { display: block; font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 12px; }

.form-box { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.form-box input[type='email'], .form-box input[type='text'] {
  flex: 1 1 220px; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 999px; padding: 15px 22px; color: var(--text); font-size: 1rem;
  font-family: var(--font-body); min-height: 44px;
}
.form-box input::placeholder { color: var(--muted); }

.guarantee-badge {
  width: 88px; height: 88px; border-radius: 50%; background: var(--gradient);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 22px;
}
.guarantee-badge svg { width: 44px; height: 44px; stroke: #fff; }

/* ---------- Language switcher ---------- */
.lang-switch { display: flex; gap: 4px; margin-left: 18px; }
.lang-switch a {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em;
  color: var(--muted); padding: 5px 9px; border-radius: 7px;
  border: 1px solid transparent; text-decoration: none;
}
.lang-switch a:hover { color: var(--text); text-decoration: none; }
.lang-switch a.active { color: var(--cyan); border-color: var(--border); background: var(--surface-2); }

/* ---------- Checkout modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(4, 7, 14, 0.8); backdrop-filter: blur(6px);
}
.modal-overlay.open { display: flex; }
.modal {
  position: relative; width: 100%; max-width: 440px;
  background: var(--surface); border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: 20px; padding: 36px 32px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}
.modal h3 { font-size: 1.4rem; margin-bottom: 8px; }
.modal .modal-sub { font-size: 0.92rem; margin-bottom: 22px; }
.modal-form { display: flex; flex-direction: column; gap: 12px; }
.modal-form input {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 999px; padding: 15px 22px; color: var(--text);
  font-size: 1rem; font-family: var(--font-body); min-height: 44px;
}
.modal-form input::placeholder { color: var(--muted); }
.modal-msg { font-size: 0.85rem; margin-top: 14px; min-height: 1.2em; }
.modal-close {
  position: absolute; top: 12px; right: 16px; background: none; border: none;
  color: var(--muted); font-size: 1.8rem; cursor: pointer; line-height: 1;
  min-width: 44px; min-height: 44px;
}
.modal-close:hover { color: var(--text); }
.sr-only { position: absolute; left: -9999px; }

.spinner {
  width: 40px; height: 40px; margin: 0 auto 20px;
  border: 3px solid var(--border); border-top-color: var(--cyan);
  border-radius: 50%; animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .hero { padding: 64px 0 56px; }
  body { font-size: 16px; }
  .nav-inner { flex-wrap: wrap; gap: 8px; }
  .lang-switch { margin-left: 0; }
}
