/* ============================================================
   SILOTICA — shared design system
   Brand tokens ported verbatim from the live src/index.css
   ============================================================ */

:root {
  --primary: #1F3CFF;
  --primary-glow: rgba(31, 60, 255, 0.55);
  --cyan: #4facfe;
  --cyan-2: #00f2fe;
  --purple: #8a2be2;

  --bg-color: #0B0E17;
  --navy-dark: #12182B;
  --bg-deep: #05070D;

  --text-main: #ffffff;
  --text-muted: #A0ABBA;
  --text-faint: #7A8BA0;

  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 16px;

  --grad-brand: linear-gradient(135deg, #1F3CFF 0%, #4facfe 100%);
  --blob-1: rgba(31, 60, 255, 0.28);
  --blob-2: rgba(43, 86, 226, 0.20);
  --blob-3: rgba(138, 43, 226, 0.28);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --font: 'Host Grotesk', sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  --nav-h: 76px;
  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
li { list-style: none; }
img { display: block; max-width: 100%; }

::selection { background: rgba(31, 60, 255, 0.4); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font); letter-spacing: -0.02em; }
h1 { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 700; line-height: 1.04; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; line-height: 1.08; }
h3 { font-size: 1.35rem; font-weight: 700; }
p  { color: var(--text-muted); font-size: 1.05rem; }

.grad-text {
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--cyan);
}
.eyebrow::before { content: ''; width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan)); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; width: 100%; }
.container-wide { max-width: 1340px; margin: 0 auto; padding: 0 24px; width: 100%; }
section { padding: 120px 0; position: relative; }

/* ---------- Background blobs ---------- */
.bg-blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.9;
  animation: float 22s infinite ease-in-out alternate; }
.blob.b1 { top: -12%; left: -10%; width: 60vw; height: 60vw; background: var(--blob-1); }
.blob.b2 { bottom: -22%; right: -10%; width: 52vw; height: 52vw; background: var(--blob-2); animation-delay: -6s; }
.blob.b3 { top: 32%; right: -22%; width: 46vw; height: 46vw; background: var(--blob-3); animation-delay: -11s; }

@keyframes float {
  0%   { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(26px, 34px) rotate(3deg); }
}

/* ---------- Glass / clay ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.clay-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(0,0,0,0.35));
  box-shadow: 4px 4px 12px rgba(0,0,0,0.45), -2px -2px 10px rgba(255,255,255,0.05),
              inset 1px 1px 2px rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.clay-icon svg { width: 24px; height: 24px; stroke-width: 1.6; }

.clay-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 100px; background: var(--primary);
  box-shadow: inset 2px 2px 6px rgba(255,255,255,0.3), inset -2px -2px 6px rgba(0,0,0,0.2);
  font-weight: 600; font-size: 0.8rem; color: #fff;
}

/* ---------- Glowing border card (conic gradient) ---------- */
.glow-card { position: relative; border-radius: var(--radius-md); }
.glow-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--glow-angle, 0deg) at 50% 50%,
    #1F3CFF, #4facfe 25%, #8a2be2 50%, #00f2fe 75%, #1F3CFF);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s var(--ease); pointer-events: none; z-index: 2;
}
.glow-card::before { opacity: var(--glow-strength, 0); }
.glow-card.lit::before { opacity: var(--glow-strength, 1); }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font); display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 28px; border-radius: 100px; font-weight: 600; font-size: 1rem;
  transition: var(--transition-smooth); cursor: pointer; border: 1px solid transparent;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { box-shadow: 0 0 24px var(--primary-glow); transform: translateY(-2px); }
.btn-glass { background: var(--glass-bg); border-color: var(--glass-border); color: #fff;
  backdrop-filter: blur(var(--glass-blur)); }
.btn-glass:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--primary); font-weight: 700; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(255,255,255,0.3); }
.btn-ghost { color: var(--text-muted); padding: 8px 0; }
.btn-ghost:hover { color: #fff; }
.btn span { position: relative; z-index: 2; }

@keyframes shimmer-sweep {
  0%   { transform: translateX(-200%) skew(-25deg); opacity: 0; }
  5%   { opacity: 1; }
  36%  { transform: translateX(300%) skew(-25deg); opacity: 0; }
  100% { transform: translateX(300%) skew(-25deg); opacity: 0; }
}
.btn-shine::before {
  content: ''; position: absolute; top: 0; left: -50%; width: 60%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
  z-index: 1; pointer-events: none; animation: shimmer-sweep 5.6s infinite ease-in-out;
}
.btn-shine.delay-1::before { animation-delay: 1.6s; }
.btn-shine:hover::before { animation-play-state: paused; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 200;
  padding: 22px 0; transition: var(--transition-smooth);
}
.nav.scrolled {
  padding: 13px 0; background: rgba(11,14,23,0.82);
  backdrop-filter: blur(var(--glass-blur)); border-bottom: 1px solid var(--glass-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.04em; display: flex; align-items: center; gap: 10px; }
.brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow); }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); position: relative; transition: color 0.3s; white-space: nowrap; }
.nav-links a:not(.btn)::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0;
  background: var(--primary); transition: width 0.3s ease; }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
/* primary CTA in nav must stay light — .nav-links a (muted) was out-specifying .btn */
.nav-links a.btn, .nav-links a.btn-primary { color: #fff; }
.nav-links a.btn::after { display: none; }

/* mobile burger — hidden on desktop */
.nav-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--glass-border); background: var(--glass-bg);
  border-radius: 10px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.nav-burger span { width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* scroll-reactive navbar light */
.nav-light { position: absolute; bottom: 0; left: 0; height: 2px; width: 140px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--primary), transparent);
  filter: blur(0.5px); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.nav.scrolled .nav-light { opacity: 0.8; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--glass-border); padding: 64px 0 48px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.footer h4 { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-muted); font-size: 0.98rem; transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
.footer-legal { margin-top: 48px; color: var(--text-faint); font-size: 0.8rem; line-height: 1.6; max-width: 720px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 24px; padding-top: 28px; border-top: 1px solid var(--glass-border);
  color: var(--text-faint); font-size: 0.85rem; }
.footer-bottom a { color: var(--text-faint); transition: color 0.3s; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Scroll reveal (visible by default; JS hides only below-fold, then animates in) ---------- */
.reveal { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .blob { animation: none; }
  .btn-shine::before { animation: none; }
}

/* ---------- Lamp / light bar ---------- */
.lamp { position: relative; height: 1px; width: 100%; display: flex; justify-content: center; pointer-events: none; }
.lamp .razor { position: absolute; top: 0; width: min(1000px, 86vw); height: 2px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  box-shadow: 0 0 20px 4px rgba(79,172,254,0.7); transform: scaleX(0.2); transform-origin: center;
  transition: transform 1.2s var(--ease); }
.lamp .bloom { position: absolute; top: -50px; width: min(560px, 70vw); height: 130px; border-radius: 50%;
  background: var(--primary); opacity: 0; filter: blur(46px); transform: scaleX(0.4); transform-origin: center;
  transition: transform 1.2s var(--ease), opacity 1.2s var(--ease); }
/* lamp animated open via inline styles from JS */

/* ---------- Generic UI helpers ---------- */
.tag {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(79,172,254,0.7); border: 1px solid rgba(79,172,254,0.18);
  background: rgba(31,60,255,0.07); padding: 6px 13px; border-radius: 100px;
}
.kicker-num { font-family: var(--mono); color: var(--cyan); font-size: 0.85rem; letter-spacing: 0.1em; }
.divider { width: 64px; height: 1px; background: linear-gradient(90deg, rgba(79,172,254,0.5), transparent); }

.section-head { max-width: 720px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.15rem; }

/* card surface used widely */
.surface {
  background: linear-gradient(180deg, rgba(26,37,76,0.55), rgba(8,11,21,0.7));
  border: 1px solid rgba(79,172,254,0.16); border-radius: var(--radius-lg);
}

/* ============================================================
   ANNOTATION LAYER
   ============================================================ */
.anno {
  position: absolute; z-index: 120; width: 26px; height: 26px;
  display: none; align-items: center; justify-content: center;
  transform: translate(-50%, -50%); cursor: help;
}
body.anno-on .anno { display: flex; }
.anno-dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(31,60,255,0.18); border: 1.5px solid var(--cyan);
  color: #fff; font-family: var(--mono); font-size: 0.72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 14px rgba(79,172,254,0.6); backdrop-filter: blur(4px);
}
.anno-dot::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(79,172,254,0.5); animation: annoPulse 2.4s infinite ease-out;
}
@keyframes annoPulse { 0% { transform: scale(0.7); opacity: 0.9; } 100% { transform: scale(1.7); opacity: 0; } }

.anno-note {
  position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: 252px; padding: 14px 16px; border-radius: 12px;
  background: rgba(8,11,21,0.96); border: 1px dashed rgba(79,172,254,0.5);
  box-shadow: 0 14px 40px rgba(0,0,0,0.6); opacity: 0; visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); pointer-events: none; z-index: 130;
}
.anno:hover .anno-note, .anno.pinned .anno-note { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.anno-note .lbl { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); display: block; margin-bottom: 6px; }
.anno-note .txt { font-size: 0.82rem; line-height: 1.5; color: #D4DCE8; }
.anno-note.flip { bottom: auto; top: calc(100% + 12px); }
.anno-note.flip { transform: translateX(-50%) translateY(-6px); }
.anno:hover .anno-note.flip, .anno.pinned .anno-note.flip { transform: translateX(-50%) translateY(0); }

/* annotation toggle control in nav */
.anno-toggle {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 100px;
  border: 1px solid var(--glass-border); background: var(--glass-bg); cursor: pointer;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--text-muted);
  transition: var(--transition-smooth); user-select: none;
}
.anno-toggle:hover { color: #fff; border-color: rgba(79,172,254,0.4); }
.anno-toggle .sw { width: 30px; height: 16px; border-radius: 100px; background: rgba(255,255,255,0.12);
  position: relative; transition: background 0.3s; flex-shrink: 0; }
.anno-toggle .sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; transition: transform 0.3s var(--ease); }
body.anno-on .anno-toggle .sw { background: var(--primary); box-shadow: 0 0 12px var(--primary-glow); }
body.anno-on .anno-toggle .sw::after { transform: translateX(14px); }
body.anno-on .anno-toggle { color: #fff; border-color: rgba(79,172,254,0.4); }

/* direction switcher (home only) */
.dir-bar {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 200;
  display: flex; align-items: center; gap: 4px; padding: 6px;
  background: rgba(8,11,21,0.85); border: 1px solid var(--glass-border); border-radius: 100px;
  backdrop-filter: blur(var(--glass-blur)); box-shadow: 0 16px 44px rgba(0,0,0,0.55);
}
.dir-bar .lbl { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint); padding: 0 10px 0 12px; }
.dir-bar a { font-family: var(--mono); font-size: 0.74rem; font-weight: 700; color: var(--text-muted);
  padding: 8px 14px; border-radius: 100px; transition: var(--transition-smooth); white-space: nowrap; }
.dir-bar a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.dir-bar a.active { color: #fff; background: var(--primary); box-shadow: 0 0 16px var(--primary-glow); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  section { padding: 84px 0; }
  .nav-burger { display: flex; }
  .nav-inner { position: relative; }
  .nav-links { position: absolute; top: calc(100% + 14px); right: 0; flex-direction: column; align-items: stretch;
    gap: 6px; padding: 14px; min-width: 230px; border-radius: var(--radius-md);
    background: rgba(8,11,21,0.96); border: 1px solid var(--glass-border); backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 24px 60px rgba(0,0,0,0.55); opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s; }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a.nav-page { padding: 11px 14px; border-radius: 10px; }
  .nav-links a.nav-page:hover, .nav-links a.nav-page.active { background: rgba(255,255,255,0.06); }
  .nav-links a.nav-page::after { display: none; }
  .nav-links .anno-toggle { justify-content: center; margin-top: 4px; }
  .nav-links .btn-primary { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .dir-bar { bottom: 14px; gap: 2px; padding: 5px; }
  .dir-bar .lbl { display: none; }
  .dir-bar a { padding: 7px 11px; font-size: 0.68rem; }
}

/* ============================================================
   SHARED HERO VISUALS (used on home + discipline pages)
   ============================================================ */
.mock-wrap { position: relative; perspective: 1200px; min-height: 580px; display: flex; align-items: center; justify-content: center; }
.mock { position: relative; width: 470px; max-width: 100%; transform-style: preserve-3d; will-change: transform; }

.dlabel { position: absolute; z-index: 6; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 100px; font-size: 0.74rem; font-weight: 600; color: #fff;
  background: rgba(10,14,24,0.78); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.5); white-space: nowrap; }
.dlabel .pip { width: 7px; height: 7px; border-radius: 50%; }

/* browser */
.browser { width: 100%; background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md); box-shadow: 0 40px 90px rgba(0,0,0,0.6); overflow: hidden; }
.browser-bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 15px; background: rgba(0,0,0,0.3); border-bottom: 1px solid var(--glass-border); }
.browser-bar .d { width: 10px; height: 10px; border-radius: 50%; }
.browser-bar .url { height: 16px; flex: 1; margin-left: 12px; background: rgba(255,255,255,0.07); border-radius: 8px; }
.browser-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 16px; }
.bnav { display: flex; align-items: center; justify-content: space-between; }
.bnav .logo { width: 58px; height: 11px; border-radius: 5px; background: rgba(255,255,255,0.28); }
.bnav .links { display: flex; gap: 9px; align-items: center; }
.bnav .links i { width: 28px; height: 7px; border-radius: 4px; background: rgba(255,255,255,0.1); }
.bnav .links .pill { width: 50px; height: 20px; border-radius: 100px; background: var(--primary); box-shadow: 0 0 12px rgba(31,60,255,0.5); }
.bhero { display: flex; flex-direction: column; gap: 9px; padding: 6px 0; }
.bhero .t { height: 17px; border-radius: 6px; background: linear-gradient(90deg,#1F3CFF,#4facfe); }
.bhero .t.w70 { width: 70%; } .bhero .t.w50 { width: 50%; }
.bhero .l { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.1); }
.bhero .l.w85 { width: 85%; } .bhero .l.w60 { width: 60%; }
.bhero .row { display: flex; gap: 9px; margin-top: 6px; }
.bhero .row .pill { width: 74px; height: 24px; border-radius: 100px; background: var(--primary); box-shadow: 0 0 12px rgba(31,60,255,0.4); }
.bhero .row .ghost { width: 64px; height: 24px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.2); }
.bcards { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.bcards .c { height: 74px; border-radius: 9px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.05); padding: 11px; }
.bcards .c .ic { width: 20px; height: 20px; border-radius: 6px; margin-bottom: 9px; opacity: 0.7; }
.bcards .c .ln2 { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.12); margin-bottom: 5px; }
.bband { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; align-items: center; padding-top: 4px; border-top: 1px solid rgba(255,255,255,0.05); }
.bband .col { display: flex; flex-direction: column; gap: 7px; }
.bband .col i { height: 7px; border-radius: 4px; background: rgba(255,255,255,0.1); }
.bband .col i.w90 { width: 90%; } .bband .col i.w70 { width: 70%; } .bband .col i.w40 { width: 40%; }
.bband .block { height: 64px; border-radius: 10px; background: linear-gradient(135deg, rgba(31,60,255,0.25), rgba(79,172,254,0.12)); border: 1px solid rgba(79,172,254,0.18); }

/* phone */
.phone { position: absolute; left: -56px; bottom: -34px; width: 150px; height: 312px; z-index: 5;
  border-radius: 28px; background: #0A0E18; border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 36px 70px rgba(0,0,0,0.6); padding: 9px; transform: translateZ(90px); overflow: hidden; }
.phone .notch { width: 46px; height: 5px; border-radius: 100px; background: rgba(255,255,255,0.18); margin: 4px auto 10px; }
.phone .screen { display: flex; flex-direction: column; gap: 9px; }
.phone .pbar { height: 44px; border-radius: 12px; background: linear-gradient(135deg,#1F3CFF,#4facfe); }
.phone .prow { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 10px; background: rgba(255,255,255,0.04); }
.phone .prow .av { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.14); flex-shrink: 0; }
.phone .prow .tx { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.phone .prow .tx i { height: 5px; border-radius: 3px; background: rgba(255,255,255,0.13); }
.phone .prow .tx i.s { width: 60%; }
.phone .ptabs { display: flex; justify-content: space-around; margin-top: 4px; padding-top: 9px; border-top: 1px solid rgba(255,255,255,0.06); }
.phone .ptabs span { width: 16px; height: 16px; border-radius: 5px; background: rgba(255,255,255,0.1); }
.phone .ptabs span.on { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* AI answer + citation card */
.card-ai { position: absolute; right: -52px; top: -6px; width: 212px; z-index: 5; transform: translateZ(62px);
  padding: 15px; border-radius: 14px; background: rgba(10,14,24,0.82); border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px); box-shadow: 0 28px 60px rgba(0,0,0,0.55); }
.card-ai .head { display: flex; align-items: center; gap: 8px; margin-bottom: 11px; }
.card-ai .head .spark { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg,#8a2be2,#4facfe); display: flex; align-items: center; justify-content: center; }
.card-ai .head .spark svg { width: 13px; height: 13px; stroke: #fff; }
.card-ai .head .ttl { font-size: 0.7rem; font-weight: 600; color: rgba(255,255,255,0.75); }
.card-ai .lines { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.card-ai .lines i { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.13); }
.card-ai .lines i.w90 { width: 90%; } .card-ai .lines i.w75 { width: 75%; }
.card-ai .cite { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 100px;
  background: rgba(79,172,254,0.14); border: 1px solid rgba(79,172,254,0.3); }
.card-ai .cite .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.card-ai .cite span { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; color: var(--cyan); text-transform: uppercase; }

/* automation node card */
.node-auto { position: absolute; right: -40px; bottom: 28px; width: 186px; z-index: 5; transform: translateZ(78px);
  padding: 15px 16px; border-radius: 14px; background: rgba(10,14,24,0.82); border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px); box-shadow: 0 28px 60px rgba(0,0,0,0.55); }
.node-auto .flow { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.node-auto .flow .n { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; }
.node-auto .flow .n i { width: 9px; height: 9px; border-radius: 50%; }
.node-auto .flow .wire { flex: 1; height: 1.5px; background: linear-gradient(90deg, rgba(79,172,254,0.6), rgba(0,242,254,0.6)); margin: 0 2px; }
.node-auto .cap { display: flex; align-items: center; gap: 7px; }
.node-auto .cap .tick { width: 16px; height: 16px; border-radius: 50%; background: var(--cyan); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 10px var(--cyan); }
.node-auto .cap .tick svg { width: 9px; height: 9px; }
.node-auto .cap span { font-size: 0.7rem; font-weight: 600; color: rgba(255,255,255,0.8); }

/* ============================================================
   DISCIPLINE PAGE TEMPLATE
   ============================================================ */
.disc-hero { padding: calc(var(--nav-h) + 70px) 0 60px; }
.disc-hero .grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 60px; align-items: center; }
.disc-hero .crumb { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.16em; color: var(--text-faint); text-transform: uppercase; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.disc-hero .crumb a { color: var(--text-faint); transition: color 0.3s; }
.disc-hero .crumb a:hover { color: #fff; }
.disc-hero .crumb .n { color: var(--cyan); }
.disc-hero h1 { font-size: clamp(2.8rem, 5.2vw, 4.6rem); }
.disc-hero .lede { font-size: 1.25rem; max-width: 480px; margin: 24px 0 36px; }
.disc-hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.disc-section { padding: 90px 0; }
.disc-section.tint { background: linear-gradient(180deg, #080B15, #05070D); }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.cap-card { padding: 32px 28px; border-radius: var(--radius-md); background: var(--glass-bg); border: 1px solid var(--glass-border); transition: var(--transition-smooth); }
.cap-card:hover { transform: translateY(-5px); border-color: rgba(79,172,254,0.3); }
.cap-card .clay-icon { width: 48px; height: 48px; margin-bottom: 20px; }
.cap-card .clay-icon svg { width: 22px; height: 22px; }
.cap-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.cap-card p { font-size: 0.96rem; line-height: 1.6; }

.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; counter-reset: st; }
.step-card { padding: 28px 24px; border-radius: var(--radius-md); background: var(--glass-bg); border: 1px solid var(--glass-border); position: relative; }
.step-card .n { font-family: var(--mono); color: var(--cyan); font-size: 0.8rem; margin-bottom: 14px; }
.step-card h4 { font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; line-height: 1.55; }

.cross { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.cross a { display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; border-radius: var(--radius-md);
  background: var(--glass-bg); border: 1px solid var(--glass-border); transition: var(--transition-smooth); }
.cross a:hover { transform: translateY(-5px); border-color: rgba(79,172,254,0.35); }
.cross a .k { font-family: var(--mono); color: var(--cyan); font-size: 0.76rem; }
.cross a h4 { font-size: 1.12rem; }
.cross a p { font-size: 0.9rem; }
.cross a .go { margin-top: 6px; font-size: 0.82rem; font-weight: 600; color: var(--cyan); display: inline-flex; align-items: center; gap: 6px; transition: gap 0.3s var(--ease); }
.cross a:hover .go { gap: 11px; }

@media (max-width: 940px) {
  .disc-hero .grid { grid-template-columns: 1fr; gap: 30px; }
  .disc-hero .mock-wrap { min-height: 500px; }
  .cap-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .cross { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .disc-hero .mock { width: 300px; }
  .disc-hero .phone { left: -26px; width: 118px; height: 248px; }
  .disc-hero .card-ai { right: -26px; width: 168px; }
  .disc-hero .node-auto { right: -16px; width: 160px; }
  .steps-row { grid-template-columns: 1fr; }
}

/* image-slot drop hint (empty state) */
.work-thumb:has(image-slot:not([data-filled])) { border: 1.5px dashed rgba(79,172,254,0.35); }
.work-thumb:has(image-slot:not([data-filled])):hover { border-color: rgba(79,172,254,0.6); }

/* shared CTA banner */
.cta-banner { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--grad-brand); padding: 84px 40px; text-align: center; box-shadow: 0 24px 60px rgba(31,60,255,0.4); }
.cta-banner::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.22), transparent 60%); animation: float 16s infinite linear alternate; }
.cta-banner h2 { color: #fff; position: relative; z-index: 1; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.85); position: relative; z-index: 1; margin-bottom: 32px; font-size: 1.15rem; }
.cta-banner .btn { position: relative; z-index: 1; }
