/* ============================================================
   SEO-INVOKE — Design System 2026
   Dark-first · Tech-forward · Product-led
   ============================================================ */

:root {
  /* Color tokens */
  --bg-0: #05060a;
  --bg-1: #0a0a0f;
  --bg-2: #0f0f1e;
  --bg-card: #101020;
  --bg-glass: rgba(16, 16, 34, 0.55);
  --border-0: #16162a;
  --border-1: #232342;
  --border-accent: rgba(108, 92, 231, 0.35);
  --txt-0: #f4f4f8;
  --txt-1: #b8b8cc;
  --txt-2: #82829a;
  --accent: #6c5ce7;
  --accent-2: #00d2ff;
  --accent-3: #00e5a0;
  --warn: #ffb020;
  --danger: #ff5c72;
  --grad-brand: linear-gradient(135deg, #6c5ce7 0%, #00d2ff 100%);
  --grad-text: linear-gradient(120deg, #8f7bff 0%, #00d2ff 55%, #00e5a0 100%);

  /* Type */
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', monospace;

  /* Layout */
  --container: 1280px;
  --radius: 14px;
  --radius-lg: 20px;
  --nav-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-1);
  color: var(--txt-1);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(108, 92, 231, 0.45); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--txt-0); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
a { color: var(--accent-2); text-decoration: none; }
img { max-width: 100%; display: block; }
.mono { font-family: var(--font-mono); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(6, 7, 12, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-0);
}
.nav-inner { max-width: var(--container); margin: 0 auto; padding: 0 28px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo { display: flex; align-items: center; gap: 11px; }
.nav-logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 800; font-size: 15px; color: #fff; }
.nav-logo-text { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: #fff; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links > a { color: var(--txt-1); font-size: 14.5px; font-weight: 500; transition: color .2s; }
.nav-links > a:hover, .nav-links > a.active { color: #fff; }
.nav-dd { position: relative; }
.nav-dd > a::after { content: ' ▾'; font-size: 10px; opacity: .6; }
.nav-dd-menu {
  position: absolute; top: calc(100% + 14px); left: -16px; min-width: 300px;
  background: #0c0c18; border: 1px solid var(--border-1); border-radius: var(--radius);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .22s ease; box-shadow: 0 24px 60px rgba(0,0,0,.55);
}
.nav-dd:hover .nav-dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dd-menu a { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-radius: 10px; transition: background .15s; }
.nav-dd-menu a:hover { background: rgba(108, 92, 231, 0.12); }
.nav-dd-menu .t { color: #fff; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.nav-dd-menu .d { color: var(--txt-2); font-size: 12.5px; }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-burger { display: none; background: none; border: 1px solid var(--border-1); border-radius: 8px; color: #fff; font-size: 18px; width: 40px; height: 40px; cursor: pointer; }

/* ---------- BADGES ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 100px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-family: var(--font-mono); border: 1px solid; }
.badge-live { color: var(--accent-3); border-color: rgba(0,229,160,.4); background: rgba(0,229,160,.08); }
.badge-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-3); animation: pulse 2s infinite; }
.badge-soon { color: var(--accent-2); border-color: rgba(0,210,255,.4); background: rgba(0,210,255,.08); }
.badge-dev { color: var(--warn); border-color: rgba(255,176,32,.4); background: rgba(255,176,32,.08); }
.badge-purple { color: #a99bff; border-color: var(--border-accent); background: rgba(108,92,231,.1); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 26px; border-radius: 10px; font-size: 15px; font-weight: 600; font-family: var(--font-body); cursor: pointer; transition: all .22s ease; border: none; white-space: nowrap; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 28px rgba(108,92,231,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(108,92,231,.5); }
.btn-secondary { background: transparent; color: var(--txt-0); border: 1.5px solid var(--border-1); }
.btn-secondary:hover { border-color: var(--accent); color: #fff; background: rgba(108,92,231,.08); }
.btn-ghost { background: transparent; color: var(--txt-1); padding: 13px 16px; }
.btn-ghost:hover { color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* ---------- HERO ---------- */
.hero { position: relative; padding: 110px 0 70px; text-align: center; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -260px; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 700px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(108,92,231,.16) 0%, rgba(0,210,255,.07) 45%, transparent 70%);
  animation: aurora 14s ease-in-out infinite alternate;
}
@keyframes aurora { 0% { transform: translateX(-54%) rotate(-2deg) scale(1); } 100% { transform: translateX(-46%) rotate(2deg) scale(1.08); } }
.hero-grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(108,92,231,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(108,92,231,.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 30%, transparent 75%); }
.hero-inner { position: relative; z-index: 2; max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 6px 16px; border-radius: 100px; border: 1px solid var(--border-1); background: rgba(15,15,30,.6); font-size: 13px; color: var(--txt-1); margin-bottom: 30px; font-family: var(--font-mono); }
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-3); animation: pulse 2s infinite; }
.hero h1 { font-size: clamp(38px, 6vw, 66px); margin-bottom: 24px; font-weight: 600; }
.hero-sub { font-size: clamp(16px, 2vw, 19.5px); color: var(--txt-1); max-width: 760px; margin: 0 auto 38px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 46px; }
.hero-metrics { display: flex; gap: 54px; justify-content: center; flex-wrap: wrap; }
.hero-metric .num { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: #fff; }
.hero-metric .num em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-metric .lbl { font-size: 13px; color: var(--txt-2); margin-top: 3px; }

/* ---------- SECTIONS ---------- */
.section { padding: 96px 0; position: relative; }
.section-darker { background: var(--bg-0); border-top: 1px solid var(--border-0); border-bottom: 1px solid var(--border-0); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 60px; }
.section-head .kicker { font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2); display: block; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.section-head p { font-size: 17px; color: var(--txt-1); }

/* ---------- BENTO ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.bento-card {
  position: relative; border: 1px solid var(--border-1); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--bg-2) 0%, var(--bg-card) 100%);
  padding: 34px; overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.bento-card:hover { transform: translateY(-4px); border-color: var(--border-accent); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.bento-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(108,92,231,.6), rgba(0,210,255,.6), transparent); opacity: 0; transition: opacity .3s; }
.bento-card:hover::before { opacity: 1; }
.bento-6 { grid-column: span 6; }
.bento-4 { grid-column: span 4; }
.bento-8 { grid-column: span 8; }
.bento-12 { grid-column: span 12; }
.bento-card h3 { font-size: 23px; margin: 16px 0 10px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bento-card p { font-size: 15px; color: var(--txt-1); }
.bento-card .link { margin-top: auto; padding-top: 22px; font-size: 14.5px; font-weight: 600; color: var(--accent-2); display: inline-flex; align-items: center; gap: 6px; }
.bento-card .link:hover { gap: 10px; }
.bento-card .link { transition: gap .2s; }
.card-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; background: rgba(108,92,231,.14); border: 1px solid var(--border-accent); }

/* product chips inside cards */
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 4px; }
.chip { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; padding: 4px 11px; border-radius: 100px; border: 1px solid var(--border-1); color: var(--txt-1); background: rgba(255,255,255,.02); }

/* ---------- MOCK WINDOW (product visual) ---------- */
.mock { border: 1px solid var(--border-1); border-radius: var(--radius); background: #0b0b16; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-bottom: 1px solid var(--border-0); background: #0d0d1a; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-url { margin-left: 10px; font-family: var(--font-mono); font-size: 11.5px; color: var(--txt-2); background: rgba(255,255,255,.04); padding: 3px 12px; border-radius: 6px; }
.mock-body { padding: 22px; }

/* score ring + bars demo */
.demo-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 22px; align-items: center; }
.score-ring { position: relative; width: 150px; height: 150px; margin: 0 auto; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring .val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-ring .val b { font-family: var(--font-display); font-size: 34px; color: #fff; }
.score-ring .val span { font-size: 11px; color: var(--txt-2); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; }
.demo-rows { display: flex; flex-direction: column; gap: 12px; }
.demo-row { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.demo-row .lbl { width: 110px; color: var(--txt-1); font-family: var(--font-mono); font-size: 11.5px; text-align: right; flex-shrink: 0; }
.demo-row .bar { flex: 1; height: 8px; border-radius: 100px; background: rgba(255,255,255,.06); overflow: hidden; }
.demo-row .bar i { display: block; height: 100%; border-radius: 100px; background: var(--grad-brand); width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.demo-row .pct { width: 40px; font-family: var(--font-mono); font-size: 12px; color: var(--txt-0); }

/* ---------- STEPS ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; border: 1px solid var(--border-1); border-radius: var(--radius-lg); background: var(--bg-2); padding: 34px 28px 30px; }
.step .n { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--accent-2); letter-spacing: .12em; }
.step h3 { font-size: 19px; margin: 12px 0 10px; }
.step p { font-size: 14.5px; }

/* ---------- FEATURE SPLIT ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split h3 { font-size: 30px; margin-bottom: 16px; }
.split p { margin-bottom: 14px; }
.split ul { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.split ul li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--txt-1); }
.split ul li::before { content: '✓'; color: var(--accent-3); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ---------- PRICING ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { border: 1px solid var(--border-1); border-radius: var(--radius-lg); background: var(--bg-2); padding: 36px 30px; display: flex; flex-direction: column; position: relative; }
.price-card.featured { border-color: var(--accent); background: linear-gradient(170deg, rgba(108,92,231,.12) 0%, var(--bg-2) 45%); box-shadow: 0 24px 70px rgba(108,92,231,.22); }
.price-card .tier { font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.price-card .amount { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: #fff; margin: 14px 0 2px; }
.price-card .amount span { font-size: 15px; font-weight: 500; color: var(--txt-2); }
.price-card .desc { font-size: 14px; color: var(--txt-2); margin-bottom: 22px; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.price-card ul li { display: flex; gap: 10px; font-size: 14px; color: var(--txt-1); }
.price-card ul li::before { content: '✓'; color: var(--accent-3); font-weight: 700; flex-shrink: 0; }
.price-card .btn { margin-top: auto; }
.price-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad-brand); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 16px; border-radius: 100px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

/* ---------- TIMELINE ---------- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--accent), var(--accent-2), var(--accent-3)); border-radius: 2px; }
.tl-item { position: relative; padding-bottom: 38px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ''; position: absolute; left: -32px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg-1); border: 3px solid var(--accent); }
.tl-item .when { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--accent-2); letter-spacing: .1em; text-transform: uppercase; }
.tl-item h3 { font-size: 19px; margin: 6px 0; }
.tl-item p { font-size: 14.5px; }

/* ---------- TABLE ---------- */
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmp-table th, .cmp-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--border-0); }
.cmp-table th { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--txt-2); font-weight: 600; }
.cmp-table td:first-child { color: var(--txt-0); font-weight: 600; }
.cmp-table .yes { color: var(--accent-3); }
.cmp-table .no { color: var(--txt-2); }
.table-wrap { border: 1px solid var(--border-1); border-radius: var(--radius); overflow: hidden; overflow-x: auto; background: var(--bg-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--border-1); border-radius: var(--radius); background: var(--bg-2); overflow: hidden; }
.faq summary { cursor: pointer; padding: 20px 24px; font-family: var(--font-display); font-size: 16.5px; font-weight: 600; color: var(--txt-0); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--accent-2); transition: transform .25s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 24px 22px; font-size: 15px; color: var(--txt-1); }

/* ---------- FORMS ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { font-size: 13px; font-weight: 600; color: var(--txt-0); display: block; margin-bottom: 7px; }
.form input, .form select, .form textarea {
  width: 100%; background: #0b0b16; border: 1px solid var(--border-1); border-radius: 10px;
  color: var(--txt-0); font-family: var(--font-body); font-size: 15px; padding: 13px 16px;
  transition: border-color .2s; outline: none;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); }
.form textarea { min-height: 130px; resize: vertical; }

/* inline URL analyzer */
.url-box { display: flex; gap: 10px; max-width: 560px; margin: 0 auto; background: #0b0b16; border: 1.5px solid var(--border-1); border-radius: 14px; padding: 8px; transition: border-color .25s, box-shadow .25s; }
.url-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(108,92,231,.15); }
.url-box input { flex: 1; background: transparent; border: none; outline: none; color: var(--txt-0); font-size: 15.5px; padding: 8px 12px; font-family: var(--font-mono); }
.url-box input::placeholder { color: var(--txt-2); }

/* ---------- CTA BAND ---------- */
.cta-band { position: relative; border: 1px solid var(--border-accent); border-radius: 24px; padding: 70px 40px; text-align: center; overflow: hidden; background: linear-gradient(150deg, rgba(108,92,231,.14), rgba(0,210,255,.06) 60%, transparent); }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 14px; }
.cta-band p { max-width: 680px; margin: 0 auto 30px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--bg-0); border-top: 1px solid var(--border-0); padding: 70px 0 36px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer p { font-size: 14.5px; color: var(--txt-2); max-width: 280px; }
.footer h4, .footer .footer-title { font-size: 13px; font-family: var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--txt-2); margin-bottom: 18px; font-weight: 600; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { color: var(--txt-1); transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer-brand p { color: var(--txt-2); margin-top: 14px; max-width: 300px; font-size: 13.5px; }
.footer-bottom { border-top: 1px solid var(--border-0); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--txt-2); font-size: 13px; }

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }

/* ---------- MISC ---------- */
.logos-band { display: flex; gap: 40px; justify-content: center; align-items: center; flex-wrap: wrap; opacity: .8; }
.logos-band .tech { font-family: var(--font-mono); font-size: 13px; color: var(--txt-2); border: 1px solid var(--border-0); padding: 8px 18px; border-radius: 10px; background: rgba(255,255,255,.015); }
.kbd { font-family: var(--font-mono); font-size: 12px; border: 1px solid var(--border-1); border-bottom-width: 2px; border-radius: 6px; padding: 2px 7px; color: var(--txt-1); background: #0b0b16; }
.notice { border: 1px solid rgba(255,176,32,.35); background: rgba(255,176,32,.06); color: #ffd27a; border-radius: 12px; padding: 14px 18px; font-size: 14px; }

/* briefing mock (ExecutiveBox) */
.brief { font-family: var(--font-mono); font-size: 12.8px; line-height: 1.75; color: var(--txt-1); }
.brief .hd { color: var(--accent-2); }
.brief .ok { color: var(--accent-3); }
.brief .warn { color: var(--warn); }
.brief .bad { color: var(--danger); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1020px) {
  .bento-4, .bento-6, .bento-8 { grid-column: span 12; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; background: #0a0a14; border-bottom: 1px solid var(--border-1); flex-direction: column; align-items: flex-start; padding: 20px 28px; gap: 18px; }
  .nav-links.open { display: flex; }
  .nav-dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: transparent; padding: 6px 0 0 12px; display: none; }
  .nav-dd.open .nav-dd-menu { display: block; }
  .nav-burger { display: block; }
  .nav-cta .btn-secondary { display: none; }
  .section { padding: 70px 0; }
  .hero { padding: 70px 0 50px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Dashboard demo embed — iframe aislado 1080x640 escalado al ancho del contenedor */
.dash-embed { width: 100%; overflow: hidden; border-radius: 16px; border: 1px solid var(--border-0); box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.dash-embed iframe { display: block; width: 1080px; height: 640px; border: 0; transform-origin: top left; }

/* Logo real en nav y footer (wordmark blanco) */
.nav-logo-img { height: 30px; width: 145px; flex: none; display: block; object-fit: contain; }
.footer-brand .nav-logo-img { height: 32px; width: 155px; }

/* Imágenes de contenido y aurora de hero */
.media-img { width: 100%; border-radius: 16px; border: 1px solid var(--border-0); display: block; }
.hero-aurora { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: .30; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 28%, #000 18%, transparent 72%);
  mask-image: radial-gradient(ellipse 85% 70% at 50% 28%, #000 18%, transparent 72%); }

/* Chips de motores de IA (logos sobre fondo claro para contraste) */
.ia-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ia-chips span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; background: #fff; border-radius: 10px; }
.ia-chips img { height: 18px; width: auto; display: block; }

/* Artículo de blog (prosa) */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { font-size: clamp(23px,3.4vw,31px); margin: 46px 0 14px; line-height: 1.25; }
.article h3 { font-size: 21px; margin: 34px 0 10px; }
.article h4 { font-size: 17.5px; margin: 26px 0 8px; color: var(--txt-0); }
.article p { color: var(--txt-1); line-height: 1.8; margin: 0 0 18px; font-size: 17px; }
.article ul, .article ol { color: var(--txt-1); line-height: 1.8; margin: 0 0 18px; padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.article img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--border-0); margin: 26px 0; }
.article blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; margin: 24px 0; color: var(--txt-0); font-size: 18px; }
.article strong { color: var(--txt-0); }
.article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.article th, .article td { border: 1px solid var(--border-1); padding: 10px 12px; text-align: left; vertical-align: top; }
.article th { background: var(--bg-2); color: var(--txt-0); }
.article-cover { width: 100%; max-height: 440px; object-fit: cover; border-radius: 16px; border: 1px solid var(--border-0); margin-bottom: 12px; }
.article-meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--txt-2); text-transform: uppercase; letter-spacing: .1em; }


/* Redes sociales en el footer */
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border-1); display: inline-flex; align-items: center; justify-content: center; color: var(--txt-1); transition: color .2s, border-color .2s, background .2s; }
.footer-social a:hover { color: var(--txt-0); border-color: var(--border-accent); background: rgba(255,255,255,.04); }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }

/* Índice de la página legal */
.legal-toc { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.legal-toc a { font-family: var(--font-mono); font-size: 12.5px; padding: 7px 15px; border: 1px solid var(--border-1); border-radius: 100px; color: var(--txt-1); }
.legal-toc a:hover { color: var(--txt-0); border-color: var(--border-accent); }
.article h2[id] { scroll-margin-top: 90px; padding-top: 20px; border-top: 1px solid var(--border-0); }
.article h2[id]:first-of-type { border-top: none; }

/* RAG & AEO Utilities */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* Botón flotante de Lupin (avatar SEOsyx, glassmorphism) */
#lupin-btn { position: fixed; bottom: 22px; right: 22px; width: 62px; height: 62px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); background: rgba(2,28,56,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 0 3px rgba(108,92,231,.18); cursor: pointer; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 0; transition: transform .18s, box-shadow .18s; }
#lupin-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(0,0,0,.55), 0 0 0 4px rgba(108,92,231,.32); }
#lupin-btn img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
#lupin-btn-badge { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: linear-gradient(135deg, #6C5CE7, #00D2FF); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); box-shadow: 0 2px 8px rgba(0,0,0,.4); }
@media (max-width: 480px) { #lupin-btn { width: 54px; height: 54px; bottom: 16px; right: 16px; } }


/* Boton CTA dentro del chat de Lupin (agendar llamada) */
.lupin-cta-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 9px 16px; border: none; border-radius: 100px; background: linear-gradient(135deg, #6C5CE7, #00D2FF); color: #fff; font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: inherit; }
.lupin-cta-btn:hover { filter: brightness(1.08); }
