/* IndigoBe.info — hoja de estilos original (índigo, violeta, azul y verde) */

:root {
  --bg0: #130a36;
  --bg1: #1d0f55;
  --bg2: #2c1580;
  --violet: #7c4dff;
  --violet-2: #a58bff;
  --lav: #e3dbff;
  --lav-2: #b9a9f2;
  --panel: rgba(255,255,255,.07);
  --panel-2: rgba(255,255,255,.12);
  --line: rgba(190,170,255,.22);
  --line-2: rgba(190,170,255,.38);
  --ink: #e7e0ff;
  --hi: #ffffff;
  --blue: #3d6dff;
  --blue-2: #7a9bff;
  --green: #17c47d;
  --green-2: #5ce8aa;
  --wrap: 1160px;
  --font: "Space Grotesk", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.72;
  background:
    radial-gradient(760px 520px at 6% 4%, rgba(196,92,255,.30), rgba(196,92,255,0) 70%),
    radial-gradient(720px 560px at 100% 26%, rgba(61,109,255,.30), rgba(61,109,255,0) 70%),
    radial-gradient(700px 520px at 0% 70%, rgba(124,77,255,.28), rgba(124,77,255,0) 70%),
    linear-gradient(180deg, #2b1480 0, #1d0f55 38%, #160b40 72%, #130a36 100%);
  background-color: var(--bg1);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 990px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green-2); color: #04281a; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ============ HEADER ============ */
.site-header { position: sticky; top: 0; z-index: 60; background: #110830; box-shadow: 0 10px 30px rgba(6,2,24,.5); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--violet), var(--blue), var(--green-2)); }
.bar { position: relative; z-index: 62; display: flex; align-items: center; gap: 22px; min-height: 70px; }
.brand { flex: none; display: inline-flex; align-items: center; color: #fff; }
.mark { font-size: 1.75rem; font-weight: 700; font-style: italic; letter-spacing: -.045em; line-height: 1; }
.mark i { font-style: inherit; color: var(--green-2); }
.menu { flex: 1; }
.menu ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a { display: inline-block; padding: 9px 16px; border-radius: 10px; color: var(--lav-2); font-weight: 500; font-size: .95rem; transition: background .15s ease, color .15s ease; }
.menu a:hover { background: var(--panel-2); color: #fff; }
.menu a[aria-current="true"] { background: var(--violet); color: #fff; }
.bar-cta { margin-left: auto; }

.hamburger { display: none; margin-left: auto; width: 46px; height: 46px; flex-direction: column; justify-content: center; gap: 5px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); cursor: pointer; padding: 0; }
.hamburger span { display: block; width: 18px; height: 2px; margin: 0 auto; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer { display: none; position: fixed; inset: 0; z-index: 61; background: #110830; overflow-y: auto; padding: 100px 20px 40px; }
.drawer.is-open { display: block; }
.drawer ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.drawer ul a { display: block; padding: 16px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); color: #fff; font-weight: 500; font-size: 1.08rem; }
.drawer ul a[aria-current="true"] { background: var(--violet); border-color: transparent; }
.drawer .d-cta { display: grid; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  padding: 13px 26px; border-radius: 12px; font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  transition: transform .15s ease, filter .15s ease, background .15s ease; text-align: center;
}
.btn:focus-visible, a:focus-visible, summary:focus-visible, .hamburger:focus-visible { outline: 3px solid var(--green-2); outline-offset: 2px; }
.btn-green { background: linear-gradient(135deg, var(--green), var(--green-2)); color: #04281a; box-shadow: 0 8px 24px rgba(23,196,125,.4); }
.btn-green:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-blue { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; box-shadow: 0 8px 24px rgba(61,109,255,.45); }
.btn-blue:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid var(--line-2); }
.btn-ghost:hover { background: var(--panel-2); }
.btn-sm { padding: 10px 20px; font-size: .94rem; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ============ HERO ============ */
.hero { padding: 46px 0 18px; scroll-margin-top: 70px; }
.hero-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 46px; align-items: start; }
.hero-copy h1 { margin: 0 0 22px; color: #fff; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; }
.hero-copy h1::after { content: ""; display: block; width: 84px; height: 6px; margin-top: 22px; border-radius: 3px; background: linear-gradient(90deg, var(--violet-2), var(--blue-2), var(--green-2)); }
.hero-text p { color: var(--lav); font-size: 1.07rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-actions .btn { padding: 14px 22px; font-size: 1rem; }
.hero-art { padding-top: 10px; }
.window { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: #0f0829; box-shadow: 0 34px 80px rgba(6,2,24,.6), 0 0 90px rgba(124,77,255,.35); }
.window-bar { display: flex; gap: 8px; padding: 12px 16px; background: linear-gradient(180deg, #2a1a6e, #1f1257); border-bottom: 1px solid var(--line); }
.window-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff6b8a; }
.window-bar i:nth-child(2) { background: #ffd166; }
.window-bar i:nth-child(3) { background: var(--green-2); }
.window img { width: 100%; height: auto; aspect-ratio: 1380 / 752; background: #a9d6e8; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.chip { padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; line-height: 1.2; border: 1px solid var(--line-2); background: var(--panel-2); color: #fff; }
.chip.c1 { background: linear-gradient(135deg, var(--green), var(--green-2)); border-color: transparent; color: #04281a; }
.chip.c2 { background: linear-gradient(135deg, var(--blue), var(--blue-2)); border-color: transparent; }

/* ============ SECTIONS (paneles de cristal) ============ */
.sec { padding: 18px 0; scroll-margin-top: 82px; }
.panel { border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04)); box-shadow: 0 24px 56px rgba(6,2,24,.4); overflow: hidden; }
.panel-head { display: flex; align-items: center; gap: 18px; padding: 24px 38px; background: linear-gradient(100deg, rgba(124,77,255,.55), rgba(61,109,255,.30)); border-bottom: 1px solid var(--line); }
.no { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--green), var(--green-2)); color: #04281a; font-weight: 700; font-size: 1.1rem; transform: rotate(-6deg); }
.panel-head h2 { margin: 0; color: #fff; font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.16; font-weight: 700; letter-spacing: -.02em; }
.panel-body { padding: 32px 38px 30px; }
.panel-body > :last-child { margin-bottom: 0; }
.panel-body p { font-size: 1.04rem; line-height: 1.78; }
.panel-body h3 { margin: 32px 0 12px; color: var(--green-2); font-size: 1.22rem; line-height: 1.3; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.panel-body h3::before { content: ""; flex: none; width: 26px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--violet-2), var(--green-2)); }
.panel-body h3:first-child { margin-top: 0; }
.panel-body strong { color: #fff; font-weight: 700; }

.panel-body ul { list-style: none; margin: 16px 0 22px; padding: 0; display: grid; gap: 10px; }
.panel-body ul li { position: relative; padding: 13px 16px 13px 50px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); font-size: 1rem; line-height: 1.6; }
.panel-body ul li::before { content: ""; position: absolute; left: 16px; top: 16px; width: 20px; height: 20px; border-radius: 6px; background: var(--green-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.4l3.2 3.2 6.6-7' fill='none' stroke='%2304281a' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.panel-body ul.cards { grid-template-columns: 1fr 1fr; }

.panel-body ol { list-style: none; counter-reset: s; margin: 16px 0 22px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.panel-body ol li { position: relative; counter-increment: s; padding: 54px 18px 18px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); font-size: 1rem; line-height: 1.6; overflow: hidden; }
.panel-body ol li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 16px; top: 8px; color: transparent; -webkit-text-stroke: 1.5px var(--green-2); font-size: 2.1rem; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }

.table-wrap { margin: 22px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(14,6,44,.6); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.table-wrap.wide table { min-width: 580px; }
.table-wrap th { text-align: left; padding: 14px 18px; background: rgba(124,77,255,.5); color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; }
.table-wrap td { padding: 12px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.table-wrap tbody tr:first-child td { border-top: 0; }
.table-wrap tbody tr:nth-child(even) td { background: rgba(255,255,255,.04); }
.table-wrap td:first-child { color: #fff; font-weight: 600; }

.cta { margin: 28px 0 6px; padding: 26px 20px; border-radius: 18px; display: flex; justify-content: center; background: linear-gradient(120deg, rgba(61,109,255,.30), rgba(23,196,125,.22)); border: 1px solid var(--line-2); }

.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.faq details[open] { border-color: var(--green-2); background: var(--panel-2); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 18px 62px 18px 22px; color: #fff; font-weight: 600; font-size: 1.04rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 1.4rem; font-weight: 500; line-height: 1; }
.faq details[open] summary::after { content: "−"; background: var(--green-2); color: #04281a; }
.faq .ans { padding: 0 22px 20px; }
.faq .ans p { margin: 0; }

/* ============ FOOTER ============ */
.site-footer { margin-top: 56px; padding: 46px 0 26px; background: #0d0626; color: #c9bdf2; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--violet), var(--blue), var(--green-2)); }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.f-brand p { margin: 14px 0 0; color: var(--lav-2); font-size: .96rem; max-width: 340px; }
.f-col h3 { margin: 0 0 12px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-2); }
.f-col ul { list-style: none; margin: 0; padding: 0; }
.f-col a { display: inline-block; padding: 5px 0; font-size: .97rem; color: #e9e2ff; }
.f-col a:hover { color: #fff; text-decoration: underline; }
.f-bottom { padding-top: 20px; border-top: 1px solid var(--line); }
.f-bottom p { margin: 0; font-size: .88rem; color: var(--lav-2); }

/* ============ PÁGINA 404 ============ */
.nf { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.nf-card { max-width: 520px; width: 100%; padding: 44px 32px; text-align: center; border-radius: 26px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: 0 30px 70px rgba(6,2,24,.55); }
.nf-code { margin: 0 0 6px; color: var(--green-2); font-size: 4rem; font-weight: 700; letter-spacing: .04em; line-height: 1; }
.nf-card h1 { margin: 0 0 12px; color: #fff; font-size: 1.7rem; line-height: 1.2; }
.nf-card p { color: var(--lav); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1060px) {
  .menu, .bar-cta { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .hero { padding-top: 30px; }
  .hero-actions .btn { width: 100%; }
  .window { border-radius: 16px; }
  .chip { font-size: .82rem; padding: 7px 14px; }
  .panel { border-radius: 22px; }
  .panel-head { padding: 18px 18px; gap: 14px; }
  .no { width: 44px; height: 44px; border-radius: 13px; }
  .panel-body { padding: 24px 18px 22px; }
  .panel-body ul.cards { grid-template-columns: 1fr; }
  .panel-body ol { grid-template-columns: 1fr; }
  .panel-body h3 { font-size: 1.1rem; }
  .btn { white-space: normal; }
  .cta .btn { width: 100%; }
  .f-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
