/* Shared styles for the AI-agent / MCP landing pages
   (mcp-server, make-videos-with-claude, chatgpt-video-maker). */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --bg: #0a0a0a; --surface: #111214; --surface2: #16171a; --border: rgba(255,255,255,0.1); --accent: #7be4d4; --text: #f4f5f7; --muted: rgba(244,245,247,0.6); --mono: 'JetBrains Mono', 'Fira Mono', ui-monospace, 'Courier New', monospace; }
html, body { background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; min-height: 100vh; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; background-image: linear-gradient(rgba(123,228,212,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(123,228,212,0.03) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; z-index: 0; }
a { color: var(--accent); }
code { font-family: var(--mono); font-size: .92em; background: rgba(255,255,255,0.06); border: 1px solid var(--border); border-radius: 5px; padding: 1px 5px; }
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 40px; background: rgba(10,10,10,0.85); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
.nav-logo { display: inline-flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 22px; align-items: center; font-size: 13px; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.nav-cta { border: 1px solid var(--border); color: var(--text) !important; font-family: var(--mono); padding: 8px 16px; border-radius: 8px; }
.nav-cta:hover { border-color: var(--accent); color: var(--accent) !important; }
main { position: relative; z-index: 1; max-width: 960px; margin: 0 auto; padding: 0 32px 100px; }
.crumbs { padding-top: 104px; font-size: 12px; font-family: var(--mono); color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.hero { padding-top: 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero-tag { display: inline-flex; gap: 8px; background: rgba(123,228,212,0.08); border: 1px solid rgba(123,228,212,0.2); border-radius: 99px; padding: 6px 16px; font-size: 12px; font-family: var(--mono); color: var(--accent); letter-spacing: 0.08em; }
.hero h1 { font-size: clamp(32px, 5.4vw, 60px); font-weight: 750; line-height: 1.07; letter-spacing: -0.035em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-sub { font-size: clamp(16px, 1.9vw, 19px); color: var(--muted); line-height: 1.6; max-width: 660px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: #0a0a0a; font-size: 16px; font-weight: 700; padding: 15px 30px; border-radius: 12px; text-decoration: none; border: none; cursor: pointer; }
.btn-primary:hover { opacity: .92; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); color: var(--text); font-size: 15px; font-weight: 600; padding: 14px 24px; border-radius: 12px; text-decoration: none; }
.btn-ghost:hover { border-color: var(--accent); }
.url-box { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid rgba(123,228,212,0.3); border-radius: 12px; padding: 10px 10px 10px 18px; font-family: var(--mono); font-size: 15px; max-width: 100%; }
.url-box code { background: none; border: 0; padding: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.copy { background: var(--accent); color: #0a0a0a; border: none; border-radius: 8px; padding: 8px 14px; font-weight: 700; font-size: 13px; cursor: pointer; flex-shrink: 0; font-family: inherit; }
.note { font-size: 12px; color: var(--muted); font-family: var(--mono); letter-spacing: 0.05em; }
.logos { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.logos span { font-size: 12.5px; font-family: var(--mono); color: var(--muted); border: 1px solid var(--border); border-radius: 99px; padding: 5px 12px; }
section { margin-top: 92px; }
.section-label { font-size: 11px; font-family: var(--mono); color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; text-align: center; margin-bottom: 12px; }
h2.section-title { font-size: clamp(24px, 3.2vw, 36px); font-weight: 700; letter-spacing: -0.025em; text-align: center; margin-bottom: 14px; line-height: 1.15; }
.section-sub { color: var(--muted); text-align: center; max-width: 640px; margin: 0 auto 36px; line-height: 1.6; font-size: 15.5px; }
h3 { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
.prose { max-width: 720px; margin: 0 auto; font-size: 16px; line-height: 1.75; color: rgba(244,245,247,0.82); }
.prose p { margin-bottom: 16px; }
.prose h3 { margin: 28px 0 8px; color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; }
.chat { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; font-size: 14.5px; line-height: 1.55; max-width: 760px; margin: 0 auto; }
.msg { max-width: 85%; padding: 12px 16px; border-radius: 14px; }
.msg.you { align-self: flex-end; background: rgba(123,228,212,0.12); border: 1px solid rgba(123,228,212,0.25); }
.msg.ai { align-self: flex-start; background: rgba(255,255,255,0.04); border: 1px solid var(--border); }
.tool { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.step::before { counter-increment: s; content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: rgba(123,228,212,0.12); color: var(--accent); font-weight: 700; display: grid; place-items: center; font-size: 14px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card p, .card li { font-size: 14px; color: var(--muted); line-height: 1.6; }
.card ol, .card ul { padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.card .ico { font-size: 24px; }
pre { background: #050506; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; font-family: var(--mono); font-size: 12px; color: var(--text); overflow-x: auto; line-height: 1.55; white-space: pre; max-width: 100%; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 18px; }
.tabs button { background: transparent; border: 1px solid var(--border); color: var(--muted); border-radius: 99px; padding: 8px 14px; font-size: 13px; cursor: pointer; font-family: inherit; }
.tabs button[aria-selected="true"] { background: rgba(123,228,212,0.12); border-color: rgba(123,228,212,0.4); color: var(--text); }
.tabpanel { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 26px; max-width: 760px; margin: 0 auto; }
.tabpanel[hidden] { display: none; }
.tabpanel ol { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: rgba(244,245,247,0.85); font-size: 15px; line-height: 1.6; margin-bottom: 12px; }
.tabpanel p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 10px 0; }
.prompts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.prompt { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; font-size: 14.5px; line-height: 1.55; position: relative; }
.prompt b { display: block; font-size: 11px; font-family: var(--mono); color: var(--accent); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; font-weight: 500; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.5; }
th { font-size: 12px; font-family: var(--mono); color: var(--muted); font-weight: 500; letter-spacing: .05em; }
tr:last-child td { border-bottom: 0; }
td code { white-space: nowrap; }
.yes { color: #5fcf9b; } .no { color: rgba(244,245,247,0.35); }
details.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 8px; }
details.faq-item[open] { border-color: rgba(123,228,212,0.22); }
details.faq-item summary { padding: 18px 22px; font-size: 15.5px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: '+'; color: var(--muted); font-size: 20px; line-height: 1; }
details.faq-item[open] summary::after { content: '−'; color: var(--accent); }
.faq-answer { padding: 0 22px 18px; font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; background: linear-gradient(180deg, rgba(123,228,212,0.07), transparent); border: 1px solid rgba(123,228,212,0.18); border-radius: 22px; padding: 48px 24px; }
.related { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.related a { border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; font-size: 13.5px; color: var(--muted); text-decoration: none; background: var(--surface); }
.related a:hover { color: var(--accent); border-color: rgba(123,228,212,0.3); }
footer { position: relative; z-index: 1; border-top: 1px solid var(--border); padding: 32px 40px; font-size: 12px; color: var(--muted); font-family: var(--mono); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
footer a { color: var(--muted); text-decoration: none; margin-right: 18px; line-height: 2; }
footer a:hover { color: var(--text); }
@media (max-width: 760px) {
  nav { padding: 14px 16px; } .nav-links a:not(.nav-cta) { display: none; }
  main { padding: 0 16px 80px; } .crumbs { padding-top: 88px; }
  .grid, .grid3, .steps, .prompts { grid-template-columns: 1fr; }
  .msg { max-width: 100%; } footer { padding: 24px 16px; }
  .url-box, .url-box code { font-size: 12.5px; }
  section { margin-top: 72px; }
}
