/* 擎天財富 — AI 研究台：冷調深色、藍紫重點、圓角卡片 */
:root {
  --bg: #070b16;
  --surface: #10182c;
  --border: rgba(158, 180, 255, 0.22);
  --border-light: rgba(255, 255, 255, 0.08);
  --text: #e7eefb;
  --text-secondary: #b7c3d8;
  --muted: #8ea0bb;
  --text-on-dark: #e7eefb;
  --text-dim: #8ea0bb;
  --accent: #8aa4ff;
  --accent-hover: #c9b6ff;
  --gold: #8aa4ff;
  --gold-light: #c9b6ff;
  --gold-dark: #6d7cff;
  --cta: #7f93ff;
  --cta-hover: #9aa8ff;
  --profit: #5ddeaf;
  --profit-dark: #1f9d72;
  --loss: #ff8d8d;
  --wait: #c9b6ff;
  --radius: 12px;
  --radius-lg: 16px;
}

.theme-terminal {
  font-family: Manrope, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  background: #070b16;
  color: #e7eefb;
}

.theme-terminal .page-bg {
  background:
    radial-gradient(820px 420px at 8% -8%, rgba(98, 126, 255, 0.22), transparent 62%),
    radial-gradient(680px 380px at 96% 0%, rgba(164, 132, 255, 0.16), transparent 58%),
    #070b16;
}
.theme-terminal .page-bg__orb,
.theme-terminal .page-bg__market,
.theme-terminal .page-bg__shine,
.theme-terminal .page-bg__grid { display: none; }

.theme-terminal .site-header {
  background: rgba(7, 11, 22, 0.78);
  border-bottom: 1px solid rgba(158, 180, 255, 0.14);
  box-shadow: none;
  backdrop-filter: blur(16px);
}
.theme-terminal .logo { gap: 0.7rem; align-items: center; }
.theme-terminal .logo-icon,
.theme-terminal .logo-icon svg,
.theme-terminal .logo--footer .logo-icon svg { width: 36px; height: 36px; }
.theme-terminal .logo-wordmark-main {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
}
.theme-terminal .site-header .logo-wordmark-qt { color: #f4f7ff !important; }
.theme-terminal .site-header .logo-wordmark-cf,
.theme-terminal .logo-wordmark-cf {
  background: linear-gradient(90deg, #9eb6ff, #cbb8ff) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}
.theme-terminal .logo-wordmark-en {
  color: #8ea0bb !important;
  letter-spacing: 0.18em;
  font-size: 0.58rem;
  margin-top: 0.28rem;
}
.theme-terminal .site-header .nav a {
  color: #c5d0e4;
  border-radius: 8px;
  font-size: 0.9rem;
}
.theme-terminal .site-header .nav a:hover {
  color: #f4f7ff;
  background: rgba(138, 164, 255, 0.1);
}
.theme-terminal .text-gold {
  background: linear-gradient(90deg, #9eb6ff, #cbb8ff) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}
.theme-terminal .btn,
.theme-terminal a.btn { border-radius: 10px !important; }
.theme-terminal .btn-gold,
.theme-terminal .btn-nav-cta,
.theme-terminal .fab-support {
  background: linear-gradient(135deg, #6f8cff 0%, #8a74f2 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 28px rgba(104, 118, 255, 0.28) !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
}
.theme-terminal .btn-gold:hover,
.theme-terminal .btn-nav-cta:hover { filter: brightness(1.08); color: #fff !important; }
.theme-terminal .btn-outline-light {
  background: rgba(255, 255, 255, 0.03) !important;
  color: #e7eefb !important;
  border: 1px solid rgba(158, 180, 255, 0.28) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
.theme-terminal .btn-outline-light:hover {
  border-color: #9eb6ff !important;
  color: #fff !important;
  background: rgba(138, 164, 255, 0.1) !important;
}

.ai-hero { padding: 2.4rem 0 1rem; }
.ai-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.5rem;
  align-items: center;
}
.ai-copy { max-width: 40rem; padding: 0.4rem 0 0.2rem; }
.ai-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
  color: #b7c6ff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.ai-kicker .ai-ico { width: 15px; height: 15px; }
.ai-ico { width: 18px; height: 18px; display: block; flex: none; }
.ai-ico-wrap {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #d7e2ff;
  background: rgba(127, 151, 255, 0.14);
  border: 1px solid rgba(168, 188, 255, 0.24);
}
.ai-ico-wrap--sm { width: 28px; height: 28px; border-radius: 8px; }
.ai-ico-wrap--sm .ai-ico { width: 15px; height: 15px; }
.ai-ico-wrap--lg { width: 52px; height: 52px; border-radius: 16px; }
.ai-ico-wrap--lg .ai-ico { width: 24px; height: 24px; }
.ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.ai-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 188, 255, 0.2);
  background: rgba(16, 24, 44, 0.55);
  color: #d5def0;
  font-size: 0.82rem;
}
.ai-chips .ai-ico { width: 15px; height: 15px; color: #cbb8ff; }
.theme-terminal .ai-actions .btn,
.theme-terminal .term-close .btn {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
}
.theme-terminal .btn .ai-ico { width: 16px; height: 16px; }
.ai-copy h1 {
  margin: 0 0 0.9rem;
  color: #f5f8ff;
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.ai-lead {
  margin: 0 0 1.4rem;
  max-width: 36rem;
  color: #a9b6cc;
  font-size: 1rem;
  line-height: 1.8;
}
.ai-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.ai-panel {
  padding: 1.1rem 1.1rem 0.95rem;
  border: 1px solid rgba(168, 188, 255, 0.2);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(22, 32, 62, 0.92), rgba(12, 18, 38, 0.92));
  box-shadow: 0 24px 60px rgba(4, 8, 24, 0.35);
}
.ai-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9aafd4;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.ai-panel__head span:first-child { display: inline-flex; align-items: center; gap: 0.4rem; }
.ai-panel__head .ai-ico { width: 15px; height: 15px; color: #cbb8ff; }
.ai-row-label { display: inline-flex; align-items: center; gap: 0.55rem; }
.ai-chart { display: block; width: 100%; height: auto; margin: 0.35rem 0 0.2rem; }
.ai-chart__area { fill: rgba(127, 151, 255, 0.16); }
.ai-chart__line {
  stroke: #b7c4ff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: aiDraw 2.8s ease forwards;
}
@keyframes aiDraw { to { stroke-dashoffset: 0; } }
.ai-panel__rows { list-style: none; margin: 0; padding: 0; }
.ai-panel__rows li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.62rem 0;
  border-top: 1px solid rgba(168, 188, 255, 0.12);
  color: #d5def0;
  font-size: 0.92rem;
}
.ai-panel__rows em {
  color: #cbb8ff;
  font-style: normal;
  font-weight: 600;
}
.ai-panel > p {
  margin: 0.35rem 0 0;
  color: #8ea0bb;
  font-size: 0.75rem;
  line-height: 1.55;
}
@media (prefers-reduced-motion: reduce) {
  .ai-chart__line { animation: none; stroke-dashoffset: 0; }
}

.term-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.term-flow article {
  padding: 1.15rem 1rem 1.2rem;
  border: 1px solid rgba(168, 188, 255, 0.16);
  border-radius: 16px;
  background: rgba(16, 24, 44, 0.72);
}
.term-flow .ai-time {
  display: inline-block;
  margin-top: 0.75rem;
  color: #b7c6ff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.term-flow h3 { margin: 0.45rem 0 0.4rem; color: #f4f7ff; font-size: 1.02rem; }
.term-flow p { margin: 0; color: #a9b6cc; font-size: 0.9rem; line-height: 1.7; }
.term-brief {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.term-brief ul {
  list-style: none;
  margin: 0;
  padding: 0.35rem 1.1rem 0.6rem;
  border: 1px solid rgba(168, 188, 255, 0.16);
  border-radius: 16px;
  background: rgba(16, 24, 44, 0.72);
}
.term-brief li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(168, 188, 255, 0.1);
  color: #a9b6cc;
  font-size: 0.92rem;
  line-height: 1.65;
}
.term-brief li:last-child { border-bottom: 0; }
.term-brief b { display: block; margin-bottom: 0.2rem; color: #f4f7ff; font-weight: 700; }

.term-block { padding: 2.4rem 0; }
.term-block--tight { padding-top: 0.2rem; }
.term-block__head { margin-bottom: 1rem; }
.term-block__head p {
  margin: 0 0 0.35rem;
  color: #b7c6ff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.term-block__head h2,
.term-close h2 {
  margin: 0;
  color: #f4f7ff;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.term-tape {
  border: 1px solid rgba(168, 188, 255, 0.16);
  border-radius: 16px;
  overflow: auto;
  background: rgba(16, 24, 44, 0.72);
}
.term-tape__row {
  display: grid;
  grid-template-columns: 0.7fr 1.4fr 0.7fr 0.7fr 0.7fr 0.7fr 0.7fr;
  min-width: 720px;
}
.term-tape__row span {
  padding: 0.75rem 0.8rem;
  border-bottom: 1px solid rgba(168, 188, 255, 0.1);
  font-size: 0.88rem;
  color: #e7eefb;
}
.term-tape__row--head span {
  color: #8ea0bb;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  background: rgba(8, 12, 26, 0.35);
}
.term-tape .is-up { color: #7eecc4; }
.term-note { margin: 0.7rem 0 0; color: #8ea0bb; font-size: 0.78rem; }

.ai-proof { padding: 0.6rem 0 0.4rem; }
.ai-proof__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.4rem;
  align-items: center;
  padding: 1.5rem 1.4rem;
  border-radius: 22px;
  border: 1px solid rgba(190, 204, 255, 0.42);
  background:
    radial-gradient(520px 180px at 0% 0%, rgba(127, 147, 255, 0.28), transparent 70%),
    radial-gradient(420px 200px at 100% 100%, rgba(176, 146, 255, 0.22), transparent 68%),
    rgba(16, 24, 48, 0.92);
  box-shadow: 0 18px 50px rgba(64, 84, 180, 0.18);
}
.ai-proof__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.7rem;
  color: #d5defe;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.ai-proof__kicker .ai-ico { width: 15px; height: 15px; }
.ai-proof__copy h2 {
  margin: 0 0 0.7rem;
  color: #f7f9ff;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.ai-proof__copy p:last-of-type {
  margin: 0 0 1.1rem;
  max-width: 28rem;
  color: #c5d0e6;
  font-size: 1rem;
  line-height: 1.75;
}
.ai-proof__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.ai-proof__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  min-height: 100%;
  padding: 1rem;
  border-radius: 16px;
  text-decoration: none;
  color: #e7eefb;
  border: 1px solid rgba(184, 198, 255, 0.22);
  background: rgba(7, 12, 28, 0.55);
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.ai-proof__card--hot {
  border-color: rgba(203, 184, 255, 0.55);
  background: rgba(28, 24, 58, 0.72);
}
.ai-proof__card:hover {
  transform: translate3d(0, -4px, 0);
  border-color: rgba(214, 224, 255, 0.7);
}
.ai-proof__sheet { width: 100%; height: auto; }
.ai-proof__card strong {
  color: #f7f9ff;
  font-size: 1.15rem;
}
.ai-proof__card > span:last-child {
  color: #b7c4de;
  font-size: 0.9rem;
  line-height: 1.6;
}
.ai-mosaic-wrap { padding: 0.4rem 0 0.2rem; }
.ai-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.ai-mosaic article {
  border: 1px solid rgba(168, 188, 255, 0.16);
  border-radius: 16px;
  background: rgba(16, 24, 44, 0.72);
  overflow: hidden;
}
.ai-illus {
  display: block;
  width: 100%;
  height: 132px;
  background:
    radial-gradient(120px 70px at 70% 30%, rgba(150, 130, 255, 0.2), transparent 70%),
    rgba(10, 16, 34, 0.55);
}
.ai-mosaic h3 {
  margin: 0.85rem 1rem 0.3rem;
  color: #f4f7ff;
  font-size: 1.02rem;
}
.ai-mosaic p {
  margin: 0 1rem 1rem;
  color: #a9b6cc;
  font-size: 0.9rem;
  line-height: 1.65;
}
.term-close__lead { display: flex; align-items: center; gap: 0.9rem; }
.term-close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 1.3rem;
  border: 1px solid rgba(168, 188, 255, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(420px 120px at 100% 0%, rgba(150, 130, 255, 0.18), transparent 70%),
    rgba(16, 24, 44, 0.8);
}
.term-close p {
  margin: 0 0 0.3rem;
  color: #b7c6ff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.theme-terminal .main-inner { color: #e7eefb; }
.theme-terminal .main-inner::before { display: none; }
.theme-terminal .page-title,
.theme-terminal .main-inner .page-title { color: #f4f7ff; letter-spacing: -0.03em; }
.theme-terminal .page-subtitle,
.theme-terminal .main-inner .page-subtitle,
.theme-terminal .muted,
.theme-terminal .main-inner .muted { color: #8ea0bb; }
.theme-terminal .main-inner form label { color: #c5d0e4; }
.theme-terminal .card,
.theme-terminal .plan-card,
.theme-terminal .auth-card,
.theme-terminal .panel,
.theme-terminal .history-panel,
.theme-terminal .history-card,
.theme-terminal .rec-card,
.theme-terminal .share-card,
.theme-terminal .table-wrap {
  background: rgba(16, 24, 44, 0.86) !important;
  color: #e7eefb !important;
  border: 1px solid rgba(168, 188, 255, 0.16) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}
.theme-terminal .card h2,
.theme-terminal .card h3,
.theme-terminal .plan-card h2,
.theme-terminal .plan-card h3,
.theme-terminal .auth-card h2 { color: #f4f7ff !important; }
.theme-terminal .plan-card .price,
.theme-terminal .plan-card .price--inquiry {
  background: none !important;
  -webkit-text-fill-color: #d5defe;
  background-clip: initial !important;
  -webkit-background-clip: initial !important;
  color: #d5defe !important;
}
.theme-terminal .plan-card__desc-wrap {
  background: rgba(7, 11, 22, 0.45) !important;
  border: 1px solid rgba(168, 188, 255, 0.12) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
.theme-terminal .plan-card__desc,
.theme-terminal .plan-card__type,
.theme-terminal .plan-meta { color: #a9b6cc !important; }
.theme-terminal .plan-card__desc-link {
  color: #d5defe !important;
  background: transparent !important;
  border: 1px solid rgba(168, 188, 255, 0.28) !important;
  border-radius: 10px !important;
}
.theme-terminal .plan-price__save {
  background: transparent !important;
  color: #cbb8ff !important;
  border: 1px solid rgba(203, 184, 255, 0.4) !important;
  border-radius: 999px !important;
}
.theme-terminal .history-table th,
.theme-terminal .table th {
  color: #b7c6ff !important;
  background: rgba(8, 12, 26, 0.45) !important;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.theme-terminal .history-table td,
.theme-terminal .table td { color: #e7eefb; }
.theme-terminal .badge { border-radius: 999px !important; }
.theme-terminal .badge-profit,
.theme-terminal .badge-glow {
  background: rgba(93, 222, 175, 0.1) !important;
  color: #7eecc4 !important;
  box-shadow: none !important;
  border: 1px solid rgba(126, 236, 196, 0.35);
}
.theme-terminal .badge-loss {
  background: rgba(255, 141, 141, 0.08) !important;
  color: #ffb4b4 !important;
  border: 1px solid rgba(255, 141, 141, 0.35);
}
.theme-terminal .badge-wait {
  background: rgba(203, 184, 255, 0.1) !important;
  color: #d7cbff !important;
  border: 1px solid rgba(203, 184, 255, 0.35);
}
.theme-terminal input,
.theme-terminal select,
.theme-terminal textarea {
  background: rgba(7, 11, 22, 0.72) !important;
  color: #f4f7ff !important;
  border: 1px solid rgba(168, 188, 255, 0.24) !important;
  border-radius: 10px !important;
}
.theme-terminal .site-footer {
  background: #070b16;
  border-top: 1px solid rgba(168, 188, 255, 0.12);
  color: #8ea0bb;
}
.theme-terminal .site-footer .footer-links h4 { color: #f4f7ff; }
.theme-terminal .site-footer .footer-links a { color: #a9b6cc; }
.theme-terminal .site-footer .footer-links a:hover { color: #d5defe; }
.theme-terminal .footer-legal {
  background: rgba(16, 24, 44, 0.72);
  border-color: rgba(168, 188, 255, 0.16);
  border-radius: 16px;
}
.theme-terminal .footer-legal__title { color: #b7c6ff; }
.theme-terminal .membership-modal__panel {
  border-radius: 18px;
  border-color: rgba(168, 188, 255, 0.2);
  background: #10182c;
}
.theme-terminal .alert { border-radius: 12px; }

.news-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 0;
}
.news-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(168, 188, 255, 0.16);
  border-radius: 16px;
  background: rgba(16, 24, 44, 0.72);
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.news-card a:hover {
  transform: translate3d(0, -4px, 0);
  border-color: rgba(186, 204, 255, 0.42);
}
.news-card__cover {
  display: block;
  width: 100%;
  height: 168px;
  flex: 0 0 168px;
  overflow: hidden;
  background:
    radial-gradient(120px 80px at 70% 30%, rgba(150, 130, 255, 0.25), transparent 70%),
    #0c1428;
}
.news-card__cover img,
.news-card__cover-empty {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.news-cover img,
.news-body img {
  display: block;
  width: 100%;
  height: auto;
}
.news-card__body { display: block; padding: 0.95rem 1rem 1.1rem; }
.news-card__body time,
.news-card__date,
.news-article time {
  display: block;
  margin-bottom: 0.35rem;
  color: #b7c6ff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.news-card__body h2 {
  margin: 0;
  color: #f4f7ff;
  font-size: 1.05rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 3.05em;
}
.news-cover { margin: 0 0 1.1rem; }
.news-cover img { border-radius: 16px; }
.news-body {
  color: #d5deee;
  font-size: 1rem;
  line-height: 1.8;
  overflow: visible;
  max-height: none;
}
.news-body img { margin: 0.8rem 0; border-radius: 12px; }
.news-body a { color: #c9d4ff; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid rgba(168, 188, 255, 0.24);
  border-radius: 10px;
  background: rgba(16, 24, 44, 0.8);
  position: relative;
}
.nav-toggle__bar {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: #d5defe;
}
.nav-toggle__bar:nth-child(1) { top: 14px; }
.nav-toggle__bar:nth-child(2) { top: 20px; }
.nav-toggle__bar:nth-child(3) { top: 26px; }

@media (max-width: 980px) {
  .ai-hero__grid,
  .ai-proof__panel,
  .ai-proof__cards,
  .ai-mosaic,
  .news-grid,
  .term-flow,
  .term-brief { grid-template-columns: 1fr; }
  .term-close { flex-direction: column; align-items: flex-start; }
}
@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -6px, 0); }
}
.ai-kicker,
.ai-copy h1,
.ai-lead,
.ai-actions,
.ai-chips {
  animation: rise 0.7s ease both;
}
.ai-copy h1 { animation-delay: 0.08s; }
.ai-lead { animation-delay: 0.16s; }
.ai-actions { animation-delay: 0.24s; }
.ai-chips { animation-delay: 0.32s; }
.ai-panel {
  animation: fadeIn 0.8s ease both, drift 7.5s ease-in-out 0.8s infinite alternate;
}
.ai-chart circle { animation: fadeIn 2.6s ease-in-out infinite alternate; }
.ai-illus { animation: drift 9s ease-in-out infinite alternate; }
.theme-terminal .is-in { animation: rise 0.65s ease backwards; animation-delay: var(--d, 0ms); }
.theme-terminal .term-flow article,
.theme-terminal .ai-mosaic article,
.theme-terminal .term-brief ul,
.theme-terminal .plan-card,
.theme-terminal .card,
.theme-terminal .auth-card,
.theme-terminal .history-card,
.theme-terminal .rec-card,
.theme-terminal .share-card {
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.theme-terminal .term-flow article:hover,
.theme-terminal .ai-mosaic article:hover,
.theme-terminal .term-brief ul:hover,
.theme-terminal .plan-card:hover,
.theme-terminal .card:hover,
.theme-terminal .auth-card:hover,
.theme-terminal .history-card:hover,
.theme-terminal .rec-card:hover,
.theme-terminal .share-card:hover {
  transform: translate3d(0, -4px, 0);
  border-color: rgba(186, 204, 255, 0.42) !important;
}
.theme-terminal .logo-icon svg { transition: transform 0.4s ease; }
.theme-terminal .logo:hover .logo-icon svg { transform: rotate(-6deg) scale(1.05); }
.theme-terminal .btn-gold,
.theme-terminal .btn-nav-cta {
  background-size: 180% 100% !important;
  animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.theme-terminal .ai-ico-wrap { transition: transform 0.35s ease, background 0.35s ease; }
.theme-terminal .term-flow article:hover .ai-ico-wrap,
.theme-terminal .term-brief li:hover .ai-ico-wrap {
  transform: translate3d(0, -2px, 0);
  background: rgba(127, 151, 255, 0.24);
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex !important; }
  .theme-terminal .site-header .nav { display: none !important; }
  body > #site-nav.nav { background: #0c1428 !important; }
  body.nav-open > #site-nav.nav { display: flex !important; }
  .theme-terminal .nav a,
  .theme-terminal .nav .nav-user { color: #e7eefb !important; }
  .theme-terminal .main-inner { padding-top: 1.2rem; }
  .theme-terminal table { min-width: 560px; }
  .theme-terminal .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-kicker,
  .ai-copy h1,
  .ai-lead,
  .ai-actions,
  .ai-chips,
  .ai-panel,
  .ai-chart circle,
  .ai-chart__line,
  .ai-illus,
  .theme-terminal .is-in,
  .theme-terminal .btn-gold,
  .theme-terminal .btn-nav-cta {
    animation: none !important;
  }
  .ai-chart__line { stroke-dashoffset: 0; }
}
