/* =========================================================
   SASZEL STUDIO — IASER page styles
   AI battlefield command section (tactical teal theme)
   ========================================================= */

/* ---------- IASER Hero ---------- */
.iaser-hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: clamp(120px, 16vh, 160px) 0 clamp(80px, 12vh, 120px); overflow: hidden;
}
.iaser-hero__bg { position: absolute; inset: 0; z-index: -2; }
.iaser-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.iaser-hero__bg::after {
  content:""; position:absolute; inset:0;
  background: radial-gradient(1200px 700px at 72% 60%, rgba(92,224,184,0) 0%, rgba(7,12,18,.35) 45%, rgba(7,12,18,.9) 100%);
}
.iaser-hero__scan { position:absolute; inset:0; z-index:-1; pointer-events:none;
  background: repeating-linear-gradient(0deg, var(--scan) 0 2px, transparent 2px 4px); mix-blend-mode: overlay; }
.iaser-hero__content { position: relative; max-width: 760px; }
.iaser-hero__title { font-family: var(--font-display, sans-serif); font-weight: 700; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.02; color: var(--ink); margin: 18px 0 26px; letter-spacing: .5px; }
.iaser-hero__title .grad { background: linear-gradient(120deg, var(--teal), var(--teal-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.iaser-hero__lead { font-size: clamp(1rem, 1.6vw, 1.25rem); color: var(--ink-60); max-width: 640px; margin-bottom: 34px; }
.iaser-hero__lead strong { color: var(--ink); font-weight: 600; }
.iaser-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.iaser-hero__stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 44px); }
.iaser-hero__stats li { display: flex; flex-direction: column; }
.iaser-hero__stats strong { font-family: var(--font-display, sans-serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--teal); font-weight: 700; line-height: 1; }
.iaser-hero__stats span { font-family: var(--font-mono, monospace); font-size: .7rem; letter-spacing: 2px; color: var(--ink-25); text-transform: uppercase; margin-top: 8px; }

.iaser-hero .hero__scroll { display: block; }

/* IASER strip */
.iaser-strip { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }

/* ---------- IASER sections ---------- */
.iaser-section { padding: clamp(64px, 9vw, 128px) 0; }
.iaser-split { align-items: center; }
.iaser-split h3 { font-weight: 600; }
.iaser-split p { margin-bottom: 16px; }
.iaser-split em { color: var(--amber); font-style: normal; font-weight: 500; }

.iaser-split .art-frame { border-color: var(--teal-deep); }

/* checklist */
.iaser-checklist { padding-left: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.iaser-checklist li { position: relative; padding-left: 26px; }
.iaser-checklist li::before { content:"▸"; position:absolute; left:0; color: var(--teal); font-weight: 700; }
.iaser-checklist li strong { color: var(--ink); }

/* ---------- Layer cards ---------- */
.iaser-card { position: relative; padding-top: 26px; }
.iaser-card__num { font-family: var(--font-mono, monospace); font-size: .8rem; letter-spacing: 2px; color: var(--teal); position:absolute; top: 8px; right: 18px; opacity: .6; }
.iaser-card h4 { font-family: var(--font-display, sans-serif); color: var(--ink); font-size: 1.25rem; margin-bottom: 10px; font-weight: 600; }
.iaser-card p { color: var(--ink-40); font-size: .95rem; }

/* ---------- Comparison table ---------- */
.compare-table { width: 100%; border-collapse: collapse; font-size: .92rem; display: block; }
.compare-table thead { display: table; width: 100%; table-layout: fixed; }
.compare-table tbody { display: table; width: 100%; table-layout: fixed; }
.compare-table th { text-align: left; font-family: var(--font-mono, monospace); font-size: .7rem; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-25); padding: 12px 14px; border-bottom: 1px solid var(--border); }
.compare-table td { padding: 14px; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.compare-table td:first-child { font-family: var(--font-display, sans-serif); font-weight: 600; color: var(--teal); width: 20%; }
.compare-table td:nth-child(2) { color: var(--ink-50); font-style: italic; }
.compare-table td:nth-child(3) { font-weight: 600; color: var(--ink); }
.compare-table code { font-family: var(--font-mono, monospace); font-size: .82rem; background: var(--bg-1); padding: 2px 6px; border-radius: 4px; color: var(--teal); }

/* ---------- Architecture layers list ---------- */
.iaser-layers { display: grid; gap: 16px; }
.iaser-layers li { display: flex; gap: 20px; align-items:flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 18px 22px; }
.iaser-layers .lyr-num { font-family: var(--font-mono, monospace); font-size: 1.4rem; color: var(--teal); font-weight: 700; line-height: 1; flex-shrink: 0; width: 44px; }
.iaser-layers h4 { font-family: var(--font-display, sans-serif); color: var(--ink); font-size: 1.2rem; margin-bottom: 4px; font-weight: 600; }
.iaser-layers p { color: var(--ink-40); font-size: .92rem; margin: 0; }

/* ---------- Code card ---------- */
.iaser-codecard { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #0d1117; }
.iaser-codecard__bar { display:flex; gap: 8px; padding: 14px 16px; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--border-soft); }
.iaser-codecard__bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.iaser-codecard__bar .dot--r { background: #FF7A6A; }
.iaser-codecard__bar .dot--y { background: #FFB63C; }
.iaser-codecard__bar .dot--g { background: #5CE0B8; }
.iaser-codecard pre { margin: 0; padding: 22px; overflow:auto; }
.iaser-codecard code { font-family: 'Consolas', monospace; font-size: .82rem; line-height: 1.6; color: #C6D4DF; white-space: pre; }
.iaser-codecard code .mdc { color: var(--teal); }

/* ---------- Docs grid ---------- */
.iaser-docs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.iaser-doc { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 26px; transition: transform .3s var(--ease), border-color .3s; display: flex; flex-direction: column; }
.iaser-doc:hover { transform: translateY(-5px); border-color: var(--teal-deep); }
.iaser-doc__head { display:flex; justify-content: space-between; align-items:center; margin-bottom: 14px; }
.iaser-doc__tag { font-family: var(--font-mono, monospace); font-size: .66rem; letter-spacing: 1px; text-transform: uppercase; color: var(--teal); background: rgba(92,224,184,.08); border: 1px solid var(--border-soft); padding: 5px 10px; border-radius: 20px; }
.iaser-doc__count { font-family: var(--font-mono, monospace); font-size: .66rem; color: var(--ink-25); }
.iaser-doc h4 { font-family: var(--font-display, sans-serif); color: var(--ink); font-size: 1.25rem; margin-bottom: 8px; font-weight: 600; }
.iaser-doc p { color: var(--ink-40); font-size: .92rem; flex: 1; }
.iaser-doc__link { display:inline-block; margin-top: 16px; font-family: var(--font-display, sans-serif); font-size: .9rem; font-weight: 600; color: var(--teal); letter-spacing: .5px; transition: color .2s; }
.iaser-doc__link:hover { color: var(--amber); }

/* ---------- Stages ---------- */
.iaser-stages { position: relative; padding-left: 40px; display: grid; gap: 22px; }
.iaser-stages::before { content:""; position:absolute; left: 12px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--teal), var(--amber)); }
.iaser-stage { position: relative; display: flex; gap: 20px; align-items:flex-start; }
.iaser-stage::before { content:""; position:absolute; left: -34px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--teal); border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--teal); }
.iaser-stage__num { font-family: var(--font-mono, monospace); font-size: .8rem; letter-spacing: 2px; color: var(--teal); background: rgba(92,224,184,.1); border: 1px solid var(--border-soft); border-radius: 6px; padding: 4px 8px; flex-shrink: 0; }
.iaser-stage h4 { font-family: var(--font-display, sans-serif); color: var(--ink); font-size: 1.15rem; margin-bottom: 4px; font-weight: 600; }
.iaser-stage p { color: var(--ink-40); font-size: .92rem; margin: 0; }

/* ---------- IASER CTA block ---------- */
.iaser-cta-block { max-width: 640px; margin-inline: auto; }
.iaser-cta-row { display:flex; gap: 16px; flex-wrap: wrap; justify-content:center; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .iaser-split { grid-template-columns: 1fr; gap: 2rem; }
  .iaser-split .reverse > * { direction: ltr; }
  .compare-table td:first-child { width: 26%; }
}
@media (max-width: 600px) {
  .iaser-docs-grid { grid-template-columns: 1fr; }
  .iaser-cta-row { flex-direction: column; }
  .iaser-cta-row .btn { width: 100%; }
}
