/* ============================================================
   吉鷗 GEO · 活潑美式 · 明亮大膽視覺系統
   配色：電光蓝 / 珊瑚紅 / 暖陽黃 / 青綠，白底深藍字
   字體：Montserrat（英文標題）+ 思源黑體（中文）
   ============================================================ */

:root {
  /* 明亮大膽配色 */
  --paper:        #FFFBF4;   /* 暖白 */
  --mist:         #EAF2FF;   /* 晴空藍 */
  --ink:          #15243F;   /* 深海藍（文字） */
  --primary:      #2F6BFF;   /* 電光蓝 */
  --primary-deep: #1B4ED8;
  --coral:        #FF5A5F;   /* 珊瑚紅 */
  --sun:          #FFC53D;   /* 暖陽黃 */
  --teal:         #12B5A5;   /* 青綠 */
  --gull:         #92A0B4;   /* 霧灰 */

  --ink-70: rgba(21, 36, 63, 0.72);
  --ink-50: rgba(21, 36, 63, 0.52);
  --ink-12: rgba(21, 36, 63, 0.12);
  --ink-08: rgba(21, 36, 63, 0.08);
  --primary-12: rgba(47, 107, 255, 0.12);
  --primary-20: rgba(47, 107, 255, 0.20);
  --sun-20: rgba(255, 197, 61, 0.22);
  --coral-12: rgba(255, 90, 95, 0.12);

  --font-sans: "Montserrat", "Noto Sans TC", -apple-system, "PingFang SC", "Microsoft JhengHei", "微軟正黑體", sans-serif;
  --font-en:   "Montserrat", "Noto Sans TC", sans-serif;

  --maxw: 1180px;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow: 0 22px 50px -22px rgba(21, 36, 63, 0.32);
  --shadow-sm: 0 12px 28px -16px rgba(21, 36, 63, 0.30);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  font-size: 17px;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: .012;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.28;
  letter-spacing: .01em;
  margin: 0 0 .55em;
}
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.1vw, 1.5rem); }
p { margin: 0 0 1em; }
a { color: var(--primary-deep); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--coral); }
img, svg { max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.eyebrow {
  font-family: var(--font-en); font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; font-size: .76rem;
  color: #fff; background: linear-gradient(135deg, var(--primary), var(--teal));
  padding: .45em 1em; border-radius: 999px; display: inline-block; margin-bottom: .9em;
}
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section-alt { background: var(--mist); }
.lead { color: var(--ink-70); font-size: 1.08rem; max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-sans); font-weight: 800;
  font-size: 1rem; padding: .85em 1.8em; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  text-decoration: none; line-height: 1;
}
.btn-bamboo { background: var(--primary); color: #fff; box-shadow: 0 12px 28px -12px var(--primary); }
.btn-bamboo:hover { background: var(--primary-deep); color: #fff; transform: translateY(-2px); }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 12px 28px -12px var(--coral); }
.btn-coral:hover { background: #ef474c; color: #fff; transform: translateY(-2px); }
.btn-gold { background: var(--sun); color: #4a3500; box-shadow: 0 12px 28px -12px var(--sun); }
.btn-gold:hover { background: #f0b524; color: #4a3500; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--ink-12); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-deep); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
@keyframes breathe { 0%,100% { box-shadow: 0 12px 28px -12px var(--primary), 0 0 0 0 var(--primary-20); } 50% { box-shadow: 0 16px 36px -10px var(--primary), 0 0 0 16px rgba(47,107,255,0); } }
.btn-breathe { animation: breathe 3.4s var(--ease) infinite; }
@keyframes pulseCoral { 0%,100% { box-shadow: 0 12px 28px -12px var(--coral), 0 0 0 0 var(--coral-12); } 50% { box-shadow: 0 16px 36px -10px var(--coral), 0 0 0 16px rgba(255,90,95,0); } }
.btn-pulse { animation: pulseCoral 3.4s var(--ease) infinite; }

/* ---------- 頂部公告條 ---------- */
.announce {
  background: linear-gradient(90deg, var(--primary), var(--teal));
  color: #fff; font-size: .85rem; font-weight: 600; text-align: center;
  padding: .5em 1em; letter-spacing: .04em; position: relative; z-index: 60;
}
.announce b { font-weight: 800; }

/* ---------- 頂部導覽 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 251, 244, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink); }
.brand .seal { width: 40px; height: 40px; flex: none; }
.brand .name { font-size: 1.2rem; letter-spacing: .06em; font-weight: 800; }
.brand .name small { display: block; font-family: var(--font-en); font-size: .6rem; letter-spacing: .28em; color: var(--primary); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-70); font-size: .98rem; font-weight: 600; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-deep); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 3px; transition: .3s var(--ease); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    linear-gradient(115deg, rgba(27,78,216,.78), rgba(18,181,165,.62)),
    url("../img/hero.webp") center/cover no-repeat;
  padding: clamp(84px, 12vw, 140px) 0 clamp(90px, 10vw, 130px);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C240,10 480,110 720,60 C960,10 1200,110 1440,60 L1440,120 L0,120 Z' fill='%23FFFBF4'/%3E%3C/svg%3E") no-repeat center bottom / cover;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .4em; text-shadow: 0 2px 18px rgba(0,0,0,.18); }
.hero .glow-word { color: var(--sun); }
.hero-sub { color: rgba(255,255,255,.92); font-size: 1.14rem; max-width: 540px; font-weight: 500; }
.hero-en { font-family: var(--font-en); font-weight: 800; letter-spacing: .02em; font-size: 1.05rem; color: #fff; opacity: .92; margin-bottom: 8px; }
.rotator { min-height: 1.9em; margin: 22px 0 28px; font-size: 1.16rem; color: var(--sun); font-weight: 700; }
.rotator span { display: inline-block; }
.hero-visual { position: relative; aspect-ratio: 1/1; display: grid; place-items: center; }
.float-badge {
  position: absolute; background: #fff; color: var(--ink); border-radius: 16px;
  padding: 12px 16px; box-shadow: var(--shadow); font-weight: 700; font-size: .9rem;
  display: flex; align-items: center; gap: 8px;
}
.float-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.float-badge.b1 { top: 6%; left: -4%; }
.float-badge.b2 { bottom: 10%; right: -2%; }
.hero-visual .gull-stack { position: relative; width: 100%; max-width: 420px; }

/* ---------- 首屏 · AI 問答情景（動態動畫） ---------- */
.ai-scene {
  position: relative; z-index: 2; width: 100%; height: 100%;
  color: var(--ink);   /* 覆蓋 .hero 的白字繼承 */
  background: #fff; border: 1px solid var(--ink-08); border-radius: 24px;
  box-shadow: var(--shadow); padding: 14px 16px 16px;
  display: flex; flex-direction: column; gap: 10px; overflow: hidden;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.ai-scene.is-fading { opacity: 0; transform: scale(.985); }
/* 徽章懸浮在卡片邊緣外，避免遮擋場景內容 */
.float-badge.b1 { top: -7%; left: -3%; z-index: 3; }
.float-badge.b2 { bottom: -7%; right: -3%; z-index: 3; }

/* 視窗頂列 */
.scene-bar { display: flex; align-items: center; gap: 5px; padding-bottom: 10px; border-bottom: 1px solid var(--ink-08); }
.scene-bar .sdot { width: 9px; height: 9px; border-radius: 50%; }
.scene-title { font-family: var(--font-en); font-weight: 800; font-size: .68rem; letter-spacing: .1em; color: var(--gull); margin-left: 6px; }
.scene-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-en); font-weight: 800; font-size: .6rem; letter-spacing: .08em;
  color: var(--coral); background: var(--coral-12); padding: 3px 8px; border-radius: 999px;
}
.scene-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); animation: liveDot 1.4s infinite; }
@keyframes liveDot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.scene-replay {
  font: inherit; font-family: var(--font-en); font-size: .62rem; font-weight: 800; letter-spacing: .06em;
  color: var(--ink-70); background: #fff; border: 1px solid var(--ink-12);
  padding: 3px 9px; border-radius: 999px; cursor: pointer; transition: .2s var(--ease);
}
.scene-replay:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* 對話 */
.scene-chat { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.msg { display: flex; gap: 8px; align-items: flex-end; opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.msg.on { opacity: 1; transform: none; }
.msg.user { justify-content: flex-end; }
.ava {
  width: 26px; height: 26px; border-radius: 9px; flex: 0 0 auto;
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-en); font-weight: 800; font-size: .56rem; letter-spacing: .04em;
}
.ava.you { background: linear-gradient(135deg, var(--primary), var(--primary-deep)); }
.ava.ai  { background: linear-gradient(135deg, var(--teal), #0b8b7f); }
.bubble { position: relative; max-width: 84%; background: var(--mist); border-radius: 15px; padding: 10px 13px; font-size: .84rem; font-weight: 600; line-height: 1.62; }
.msg.user .bubble { background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff; }
.msg.user .bubble small { display: block; font-family: var(--font-en); font-weight: 800; font-size: .54rem; letter-spacing: .1em; opacity: .72; margin-top: 3px; }
.msg.ai .bubble { background: #F4F7FF; border: 1px solid var(--ink-08); }
.bubble b { color: var(--primary-deep); font-weight: 900; }

/* 思考中 */
.think { position: absolute; top: 11px; left: 13px; display: inline-flex; align-items: center; gap: 4px; transition: opacity .25s var(--ease); }
.think i { width: 6px; height: 6px; border-radius: 50%; background: var(--gull); animation: thinkUp 1.15s infinite; }
.think i:nth-child(2) { animation-delay: .15s; }
.think i:nth-child(3) { animation-delay: .3s; }
@keyframes thinkUp { 0%,60%,100% { opacity: .32; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* 逐行吐字 */
.ansline { display: block; clip-path: inset(0 100% 0 0); transition: clip-path .72s var(--ease); }
.ansline.on { clip-path: inset(0 0 0 0); }
.caret { display: inline-block; width: 2px; height: .92em; vertical-align: -.12em; background: var(--primary); opacity: 0; }
.caret.on { opacity: 1; animation: caretBlink .9s steps(1) infinite; }
@keyframes caretBlink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }

/* 來源標籤 */
.src-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.chip {
  font-family: var(--font-en); font-weight: 800; font-size: .56rem; letter-spacing: .06em;
  color: var(--gull); background: #fff; border: 1px dashed var(--ink-12);
  padding: 3px 8px; border-radius: 999px;
  opacity: 0; transform: translateY(6px); transition: .4s var(--ease);
}
.chip.on { opacity: 1; transform: none; color: var(--teal); border: 1px solid rgba(18,181,165,.45); }

/* 三問體檢 */
.scene-checkhead {
  font-size: .7rem; font-weight: 900; letter-spacing: .02em; color: var(--gull);
  display: flex; align-items: center; gap: 7px;
  opacity: 0; transition: opacity .4s var(--ease);
}
.scene-checkhead.on { opacity: 1; }
.scene-checkhead em { font-family: var(--font-en); font-style: normal; font-weight: 800; letter-spacing: .1em; }
.scene-checks { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.chk {
  display: flex; align-items: center; gap: 9px;
  background: #F7F9FF; border: 1px solid var(--ink-08); border-radius: 13px; padding: 7px 11px;
  opacity: 0; transform: translateX(-12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), border-color .3s var(--ease);
}
.chk.on { opacity: 1; transform: none; border-color: rgba(18,181,165,.28); }
.chk .tick {
  width: 20px; height: 20px; border-radius: 50%; flex: 0 0 auto;
  background: var(--teal); color: #fff; font-size: .66rem; font-weight: 900;
  display: grid; place-items: center;
  transform: scale(.35); transition: transform .5s cubic-bezier(.34,1.56,.64,1);
}
.chk.on .tick { transform: scale(1); }
.chk .q { font-size: .79rem; font-weight: 800; }
.chk .a { margin-left: auto; font-size: .72rem; font-weight: 700; color: var(--teal); white-space: nowrap; }
.chk .a b { font-family: var(--font-en); font-size: .88rem; font-weight: 900; }

/* AI 爬蟲到訪連線 */
.scene-wire { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px dashed var(--ink-12); opacity: 0; transition: opacity .45s var(--ease); }
.scene-wire.on { opacity: 1; }
.node {
  display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
  font-family: var(--font-en); font-weight: 800; font-size: .56rem; letter-spacing: .06em; color: var(--ink-70);
  background: #fff; border: 1px solid var(--ink-12); border-radius: 10px; padding: 4px 8px;
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.node img { width: 24px; height: 16px; border-radius: 4px; object-fit: cover; display: block; }
.node.site em { font-family: var(--font-sans); font-style: normal; font-size: .66rem; font-weight: 800; letter-spacing: 0; }
.scene-wire.on .node.site { animation: siteHit .95s 1.05s both; }
@keyframes siteHit {
  0% { box-shadow: 0 0 0 0 rgba(18,181,165,.42); }
  100% { box-shadow: 0 0 0 9px rgba(18,181,165,0); border-color: rgba(18,181,165,.5); }
}
.wire { position: relative; flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--primary-20), rgba(18,181,165,.4)); }
.wire .pulse {
  position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(18,181,165,.2);
  opacity: 0;
}
.scene-wire.on .pulse { animation: wireRun 1.5s var(--ease) .2s both; }
@keyframes wireRun {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@media (max-width: 900px) {
  .ai-scene { padding: 12px; gap: 8px; border-radius: 20px; }
  .bubble { font-size: .78rem; }
  .chk .q { font-size: .74rem; }
  .chk .a { font-size: .68rem; }
  .scene-title { display: none; }
  .node.site em { font-size: .6rem; }
}
@media (max-width: 620px) {
  .hero-visual { aspect-ratio: auto; }
  .ai-scene { height: auto; }
  .float-badge { font-size: .78rem; padding: 9px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .msg, .chip, .chk, .scene-wire, .scene-checkhead, .ansline, .caret, .ai-scene {
    transition: none !important; opacity: 1; transform: none; clip-path: none;
  }
  .pulse, .think i, .scene-live i { animation: none !important; }
}

/* ---------- logo 跑馬燈 ---------- */
.marquee { overflow: hidden; background: #fff; border-top: 1px solid var(--ink-08); border-bottom: 1px solid var(--ink-08); padding: 18px 0; }
.marquee .track { display: flex; gap: 48px; white-space: nowrap; animation: scroll 26s linear infinite; width: max-content; }
.marquee .track span { font-family: var(--font-en); font-weight: 800; color: var(--gull); font-size: 1.05rem; letter-spacing: .04em; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 通用卡片 ---------- */
.card {
  background: #fff; border: 1px solid var(--ink-08); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary); }

/* 痛點共鳴 */
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.pain-col h3 { display: flex; align-items: center; gap: .5em; }
.pain-col .tag { font-size: .8rem; padding: .25em .9em; border-radius: 999px; font-weight: 700; }
.pain-col.past .tag { background: var(--coral-12); color: var(--coral); }
.pain-col.now .tag { background: var(--primary-12); color: var(--primary-deep); }
.pain-col ul li { padding: .55em 0 .55em 1.9em; position: relative; border-bottom: 1px dashed var(--ink-08); font-weight: 500; }
.pain-col.past li::before { content: "✕"; position: absolute; left: 0; color: var(--coral); font-weight: 800; }
.pain-col.now li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.pain-quote { text-align: center; font-size: 1.3rem; color: var(--ink); margin-top: 44px; font-weight: 700; }
.pain-quote b { color: var(--primary-deep); }

/* 三大服務模組 */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.module .ico { width: 54px; height: 54px; color: #fff; background: linear-gradient(135deg, var(--primary), var(--teal)); border-radius: 16px; padding: 12px; margin-bottom: 14px; box-shadow: 0 10px 22px -12px var(--primary); }
.module h3 { margin-bottom: .4em; }
.module p { color: var(--ink-70); font-size: .98rem; }

/* 數據展示 */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 8px 0 30px; }
/* ===== 賽博霓虹數據卡 ===== */
.stat {
  text-align: center; padding: 30px 14px 26px; border-radius: 18px;
  color: #fff; position: relative; overflow: hidden;
  background:
    radial-gradient(120% 130% at 50% -20%, var(--neon-soft), transparent 62%),
    linear-gradient(165deg, #131A33, #080C1A);
  box-shadow:
    0 0 0 1.5px var(--neon-line),
    0 14px 34px var(--neon-glow),
    inset 0 0 26px var(--neon-inset);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.stat:hover { transform: translateY(-7px); box-shadow: 0 0 0 2px var(--neon), 0 20px 46px var(--neon-glow), inset 0 0 30px var(--neon-inset); }
.stat::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(130% 95% at 50% 0%, #000 34%, transparent 100%);
  mask-image: radial-gradient(130% 95% at 50% 0%, #000 34%, transparent 100%);
}
.stat::after {
  content: ""; position: absolute; top: 0; left: -70%; width: 42%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.16), transparent);
  transform: skewX(-18deg); animation: statSweep 4.8s var(--ease) infinite;
}
.stat:nth-child(2)::after { animation-delay: 1.1s; }
.stat:nth-child(3)::after { animation-delay: 2.2s; }
.stat:nth-child(4)::after { animation-delay: 3.3s; }
@keyframes statSweep { 0%, 52% { left: -70%; } 86%, 100% { left: 135%; } }
.stat .num {
  font-family: var(--font-en); font-size: clamp(1.65rem, 3.3vw, 2.45rem);
  font-weight: 800; line-height: 1; letter-spacing: .01em;
  color: var(--neon); text-shadow: 0 0 6px var(--neon-glow), 0 0 22px var(--neon-glow);
  font-variant-numeric: tabular-nums;
}
.stat .lbl { opacity: .88; font-size: .9rem; margin-top: .62em; font-weight: 600; letter-spacing: .08em; color: #EAF2FF; }
.stat .unit { font-size: .5em; font-weight: 700; letter-spacing: .04em; opacity: .9; margin-left: .18em; }
/* 四色霓虹 */
.stat--cyan { --neon: #26E9FF; --neon-line: rgba(38,233,255,.55); --neon-glow: rgba(38,233,255,.30); --neon-soft: rgba(38,233,255,.20); --neon-inset: rgba(38,233,255,.13); }
.stat--mag  { --neon: #FF46D0; --neon-line: rgba(255,70,208,.55); --neon-glow: rgba(255,70,208,.30); --neon-soft: rgba(255,70,208,.20); --neon-inset: rgba(255,70,208,.13); }
.stat--lime { --neon: #B9FF3D; --neon-line: rgba(185,255,61,.55); --neon-glow: rgba(185,255,61,.28); --neon-soft: rgba(185,255,61,.18); --neon-inset: rgba(185,255,61,.12); }
.stat--viol { --neon: #A074FF; --neon-line: rgba(160,116,255,.60); --neon-glow: rgba(160,116,255,.32); --neon-soft: rgba(160,116,255,.22); --neon-inset: rgba(160,116,255,.14); }
.brands-cloud { font-size: .84rem; color: var(--gull); line-height: 2.2; text-align: center; font-weight: 500; }
.brands-cloud b { color: var(--ink-70); font-weight: 800; }

/* 情境圖區塊 */
.scene { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.scene img { width: 100%; display: block; }
.scene .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; color: #fff; background: linear-gradient(0deg, rgba(21,36,63,.7), transparent); }
.scene .cap h3 { color: #fff; margin: 0; }

/* 行業資訊 */
.news-list { max-width: 820px; margin: 0 auto; }
.news-item { display: flex; gap: 20px; align-items: baseline; padding: 18px 4px; border-bottom: 1px solid var(--ink-08); }
.news-item .date { font-family: var(--font-en); color: var(--primary-deep); font-weight: 700; font-size: .95rem; flex: none; width: 110px; }
.news-item a { font-size: 1.06rem; font-weight: 600; }
.news-item .tag { margin-left: auto; font-size: .72rem; color: var(--primary-deep); border: 1px solid var(--primary-20); padding: .15em .7em; border-radius: 999px; flex: none; font-weight: 700; }

/* 價值六宮格 */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-cell { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--ink-08); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.value-cell .vico { font-size: 1.7rem; flex: none; }
.value-cell h4 { margin: .1em 0 .3em; font-size: 1.08rem; }
.value-cell p { color: var(--ink-70); font-size: .94rem; margin: 0; }

/* 對比表 */
.compare { width: 100%; border-collapse: collapse; margin-top: 10px; overflow: hidden; border-radius: var(--radius); }
.compare th, .compare td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--ink-08); }
.compare thead th { background: var(--mist); font-weight: 800; }
.compare td:first-child, .compare th:first-child { text-align: left; color: var(--ink); font-weight: 600; }
.compare .col-geo { background: linear-gradient(135deg, var(--primary-12), rgba(18,181,165,.14)); font-weight: 800; color: var(--primary-deep); }
.compare .yes { color: var(--teal); font-weight: 800; }
.compare .no { color: var(--gull); }

/* 訂閱方案 */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan .ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--coral); color: #fff; font-size: .74rem; font-weight: 800; padding: .3em 1em; border-radius: 999px; letter-spacing: .1em; white-space: nowrap; }
.plan h3 { margin-bottom: .2em; }
.plan .price { font-family: var(--font-en); font-size: 2.2rem; font-weight: 800; color: var(--ink); line-height: 1; margin: 8px 0 4px; }
.plan .price small { font-size: .9rem; color: var(--ink-50); font-family: var(--font-sans); font-weight: 600; }
.plan .who { color: var(--ink-70); font-size: .9rem; min-height: 2.6em; font-weight: 500; }
.plan ul { margin: 16px 0 22px; }
.plan ul li { padding: .4em 0 .4em 1.5em; position: relative; font-size: .92rem; color: var(--ink-70); border-bottom: 1px dashed var(--ink-08); font-weight: 500; }
.plan ul li::before { content: "·"; position: absolute; left: .4em; color: var(--primary); font-weight: 800; }
.plan .btn { width: 100%; justify-content: center; margin-top: auto; }
.plan.featured { border-color: var(--primary); box-shadow: var(--shadow); }

/* 行動召喚 */
.cta { text-align: center; background: linear-gradient(120deg, var(--primary), var(--teal)); color: #fff; border-radius: var(--radius-lg); padding: clamp(48px, 7vw, 80px) 24px; }
.cta .eyebrow { background: rgba(255,255,255,.18); color: #fff; }
.cta h2 { color: #fff; }
.cta .lead { color: rgba(255,255,255,.9); }
.cta .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.cta .wechat { margin-top: 26px; color: rgba(255,255,255,.85); font-size: .95rem; font-weight: 500; }
.cta .wechat b { color: var(--sun); font-family: var(--font-en); letter-spacing: .1em; }

/* 頁腳 */
.site-footer { background: linear-gradient(135deg, #0E1B33, #15243F); color: rgba(255,255,255,.8); padding: 60px 0 34px; position: relative; z-index: 2; }
.site-footer .f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; letter-spacing: .06em; }
.site-footer a { color: rgba(255,255,255,.72); display: block; padding: 5px 0; font-size: .94rem; font-weight: 500; }
.site-footer a:hover { color: var(--sun); }
.site-footer .f-about { font-size: .92rem; line-height: 1.8; color: rgba(255,255,255,.62); font-weight: 500; }
.site-footer .seal-footer { width: 56px; height: 56px; margin-bottom: 14px; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; font-size: .84rem; color: rgba(255,255,255,.5); flex-wrap: wrap; }

/* --- 頁腳 · 極簡版 --- */
.site-footer.is-min { padding: 54px 0 30px; }
.site-footer .f-min { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.site-footer .f-min .seal-footer { width: 50px; height: 50px; margin: 0; }
.site-footer .f-min .f-about { font-size: .95rem; line-height: 1.95; color: rgba(255,255,255,.7); font-weight: 500; max-width: 660px; margin: 0; }
.site-footer .f-min .f-about b { color: #fff; }
.site-footer .f-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 34px; }
.site-footer .f-links a { display: inline-block; padding: 6px 2px; color: #fff; font-size: .98rem; font-weight: 700; letter-spacing: .02em; position: relative; }
.site-footer .f-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; border-radius: 2px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .26s var(--ease); }
.site-footer .f-links a:hover { color: var(--sun); }
.site-footer .f-links a:hover::after { transform: scaleX(1); }
.site-footer .f-links a.is-active { color: var(--sun); }
.site-footer .f-links a.is-active::after { transform: scaleX(1); }

/* ============================================================
   內頁（關於我們 / 免費檢測 / 技術中心 / 常見問題）
   ============================================================ */
.page-hero { padding: 54px 0 8px; }
.page-hero .crumb { font-size: .86rem; font-weight: 700; color: var(--ink-50); letter-spacing: .05em; margin-bottom: 14px; }
.page-hero .crumb a { color: var(--ink-50); }
.page-hero .crumb a:hover { color: var(--primary); }
.page-hero .eyebrow { display: inline-block; font-family: var(--font-en); font-weight: 800; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); background: var(--primary-12); border-radius: 999px; padding: 5px 14px; margin-bottom: 14px; }
.page-hero h1 { margin-bottom: .35em; }
.page-hero .page-sub { font-size: 1.06rem; line-height: 1.85; color: var(--ink-70); max-width: 760px; margin: 0; }
.page { position: relative; z-index: 2; }
.prose { max-width: 760px; }
.prose p { line-height: 1.95; color: var(--ink-70); }
.prose h3 { margin-top: 1.6em; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mini-grid.two { grid-template-columns: repeat(2, 1fr); }
.mini-card { background: #fff; border: 1px solid var(--ink-08); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.mini-card .big { font-family: var(--font-en); font-weight: 900; font-size: 2rem; color: var(--primary); line-height: 1.1; }
.mini-card h4 { margin: 10px 0 6px; font-size: 1.05rem; }
.mini-card p { margin: 0; font-size: .92rem; color: var(--ink-70); line-height: 1.75; }
.field { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; max-width: 660px; }
.field input { flex: 1 1 300px; min-width: 0; border: 2px solid var(--ink-12); border-radius: 14px; padding: 15px 18px; font-size: 1rem; font-family: var(--font-sans); color: var(--ink); background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-12); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 22px; }
.check-list li { position: relative; padding-left: 30px; color: var(--ink-70); line-height: 1.7; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.qa { border: 1px solid var(--ink-08); border-radius: 14px; background: #fff; margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.qa summary { cursor: pointer; padding: 17px 20px; font-weight: 700; font-size: 1.02rem; list-style: none; display: flex; align-items: center; gap: 12px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "?"; flex: none; width: 24px; height: 24px; border-radius: 8px; background: var(--primary-12); color: var(--primary); font-family: var(--font-en); font-weight: 900; font-size: .86rem; display: grid; place-items: center; }
.qa[open] summary { color: var(--primary); }
.qa[open] summary::before { background: var(--primary); color: #fff; }
.qa .a { padding: 0 20px 19px 56px; color: var(--ink-70); line-height: 1.9; }
.qa .a p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .mini-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .mini-grid, .check-list { grid-template-columns: 1fr; }
  .site-footer .f-links { gap: 4px 16px; }
  .page-hero { padding: 34px 0 4px; }
}

/* 印章 */
.seal-mark { font-family: "KaiTi", "STKaiti", serif; }

/* ============================================================
   應用介面：控制台 / 後台（共用骨架）
   ============================================================ */
.app { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; position: relative; z-index: 2; }
.sidebar {
  background: linear-gradient(180deg, var(--primary), var(--teal));
  color: #fff; padding: 22px 16px; display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
}
.sidebar .brand { color: #fff; margin-bottom: 6px; padding: 6px 8px 18px; border-bottom: 1px solid rgba(255,255,255,.18); }
.sidebar .brand .name small { color: var(--sun); }
.side-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.side-nav a { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.82); padding: 11px 12px; border-radius: 10px; font-size: .96rem; font-weight: 600; transition: .2s var(--ease); }
.side-nav a .ic { width: 18px; height: 18px; flex: none; opacity: .85; }
.side-nav a:hover { background: rgba(255,255,255,.14); color: #fff; }
.side-nav a.active { background: #fff; color: var(--primary-deep); }
.side-nav a.active .ic { opacity: 1; }
.side-nav .group { font-size: .72rem; letter-spacing: .16em; color: rgba(255,255,255,.6); padding: 18px 12px 6px; text-transform: uppercase; font-weight: 800; }
.side-user { margin-top: auto; padding: 14px 10px 4px; border-top: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; gap: 10px; }
.side-user .av { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; color: #fff; font-weight: 800; flex: none; }
.side-user .un { font-size: .9rem; color: #fff; font-weight: 700; }
.side-user .ur { font-size: .74rem; color: rgba(255,255,255,.7); }

.main { display: flex; flex-direction: column; min-width: 0; background: var(--paper); }
.topbar { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; border-bottom: 1px solid var(--ink-08); background: rgba(255,251,244,.9); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 20; }
.topbar .crumb { color: var(--ink-50); font-size: .9rem; font-weight: 500; }
.topbar .crumb b { color: var(--ink); }
.topbar .tools { display: flex; align-items: center; gap: 14px; }
.topbar .pill { font-size: .82rem; font-weight: 700; padding: .35em .9em; border-radius: 999px; background: var(--primary-12); color: var(--primary-deep); }
.topbar .avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--teal)); display: grid; place-items: center; color: #fff; font-weight: 800; }
.content { padding: 28px; flex: 1; }
.page-title { font-size: 1.5rem; margin-bottom: 4px; font-weight: 800; }
.page-sub { color: var(--ink-50); font-size: .94rem; margin-bottom: 24px; font-weight: 500; }

/* KPI 明亮配色 */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
.kpi { border-radius: var(--radius); padding: 20px 22px; position: relative; overflow: hidden; color: #fff; box-shadow: var(--shadow-sm); background: linear-gradient(135deg, var(--primary), var(--teal)); }
.kpi.is-blue { background: linear-gradient(135deg, var(--primary), var(--primary-deep)); }
.kpi.is-coral { background: linear-gradient(135deg, var(--coral), #ef474c); }
.kpi.is-sun { background: linear-gradient(135deg, var(--sun), #f0b524); color: #4a3500; }
.kpi.is-teal { background: linear-gradient(135deg, var(--teal), #0e9486); }
.kpi .k-lbl { color: inherit; opacity: .9; font-size: .85rem; font-weight: 600; }
.kpi .k-num { font-family: var(--font-en); font-size: 1.9rem; font-weight: 800; line-height: 1.1; margin: 6px 0 4px; }
.kpi .k-trend { font-size: .82rem; font-weight: 700; }
.kpi .up { color: #d6ffe9; }
.kpi.is-sun .up { color: #2f5a00; }
.kpi .down { color: #ffe0e0; }
.kpi .k-ico { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; opacity: .85; }

/* 面板 */
.panel { background: #fff; border: 1px solid var(--ink-08); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.panel-head h3 { margin: 0; font-size: 1.1rem; font-weight: 800; }
.panel-head .link { font-size: .85rem; font-weight: 700; }
.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.grid-2b { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* 表格 */
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--ink-08); }
.table th { color: var(--ink-50); font-weight: 800; font-size: .8rem; letter-spacing: .03em; background: var(--mist); }
.table tbody tr:hover { background: var(--primary-12); }
.badge { display: inline-block; font-size: .76rem; font-weight: 700; padding: .2em .7em; border-radius: 999px; }
.badge.green { background: rgba(18,181,165,.16); color: #0e7a6e; }
.badge.gold { background: var(--sun-20); color: #8a6400; }
.badge.gray { background: rgba(146,160,180,.18); color: var(--gull); }
.badge.red { background: var(--coral-12); color: var(--coral); }
.bar { height: 9px; border-radius: 999px; background: var(--mist); overflow: hidden; min-width: 90px; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--teal)); border-radius: 999px; }

/* 表單 */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; color: var(--ink-70); margin-bottom: 6px; font-weight: 600; }
.input, .select, textarea.input { width: 100%; padding: 10px 12px; border: 1px solid var(--ink-12); border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: .95rem; color: var(--ink); background: #fff; transition: .2s var(--ease); }
.input:focus, .select:focus, textarea.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* 登入 */
.login-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr .9fr; position: relative; z-index: 2; }
.login-aside { background: linear-gradient(160deg, var(--primary), var(--teal)); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login-aside::after { content:""; position:absolute; right:-60px; top:-60px; width:300px; height:300px; border-radius:50%; background: radial-gradient(circle, rgba(255,197,61,.5), transparent 65%); }
.login-aside h1 { color: #fff; }
.login-aside p { color: rgba(255,255,255,.82); font-weight: 500; }
.login-form-side { display: grid; place-items: center; padding: 40px; background: var(--paper); }
.login-card { width: 100%; max-width: 450px; }
.login-card h2 { margin-bottom: 6px; }
.login-card .sub { color: var(--ink-50); margin-bottom: 26px; }
.login-tabs { display: flex; gap: 8px; margin-bottom: 22px; }
.login-tabs button { flex: 1; padding: 10px; border: 1px solid var(--ink-12); background: #fff; border-radius: var(--radius-sm); cursor: pointer; font-family: var(--font-sans); font-weight: 700; color: var(--ink-70); }
.login-tabs button.active { border-color: var(--primary); color: var(--primary-deep); background: var(--primary-12); }

/* 登入 / 註冊：標籤與輸入框改為上下排列、字級整體放大 */
.login-card h2 { font-size: 2.2rem; }
.login-card .sub { font-size: 1.05rem; line-height: 1.7; }
.login-card .field { display: block; margin-bottom: 20px; }
.login-card .field label { font-size: 1rem; margin-bottom: 9px; }
.login-card .field .input { font-size: 1.08rem; padding: 15px 18px; border-width: 1.5px; }
.login-tabs button { font-size: 1.04rem; padding: 13px 10px; }
.login-card form .btn { font-size: 1.08rem; padding: 17px 22px; border-radius: 999px; }
.login-card .foot-note { text-align: center; margin: 16px 0 0; font-size: 1rem; color: var(--ink-50); }
/* 提示條（錯誤 / 寄信成功） */
.login-card .auth-notice { background: var(--sun-20); border: 1px solid rgba(255,197,61,.5); color: #8a6400; border-radius: 14px; padding: 13px 16px; font-size: 1rem; line-height: 1.65; margin-bottom: 20px; }
.login-card .auth-notice.is-ok { background: rgba(18,181,165,.13); border-color: rgba(18,181,165,.42); color: #0e7a6e; }
/* 獲取信箱驗證碼（整行，不與輸入框並排） */
.login-card .field .code-send { display: flex; width: 100%; margin-top: 12px; font-size: 1rem; padding: 14px 18px; border-radius: 999px; justify-content: center; }
.login-card .field .code-send[disabled] { opacity: .72; cursor: default; }

/* 分頁 */
.pager { display: flex; gap: 6px; justify-content: flex-end; margin-top: 16px; }
.pager button { min-width: 34px; height: 34px; border: 1px solid var(--ink-12); background: #fff; border-radius: 8px; cursor: pointer; font-family: var(--font-en); font-weight: 700; color: var(--ink-70); }
.pager button.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* 清單 */
.todo li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px dashed var(--ink-08); }
.todo .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--teal); flex: none; margin-top: 3px; display: grid; place-items: center; font-size: .7rem; color: var(--teal); font-weight: 800; }
.todo .done { background: var(--teal); color: #fff; }
.todo .txt b { display: block; font-weight: 700; }
.todo .txt span { font-size: .85rem; color: var(--ink-50); }

/* 滾動揭示 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
/* 進場方向變體（PPT 式動效） */
.reveal.rv-left { transform: translateX(-36px); }
.reveal.rv-right { transform: translateX(36px); }
.reveal.rv-pop { transform: scale(.9) translateY(20px); }
.reveal.rv-flip { transform: perspective(900px) rotateX(14deg) translateY(24px); transform-origin: 50% 100%; }
/* 情境圖緩慢推近（代替 GIF 的輕量動態） */
.scene img { width: 100%; display: block; transform-origin: 62% 38%; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.075) translate(-1.6%, -1.4%); }
}
.scene .cap h3 { animation: capFloat 5.5s ease-in-out infinite; }
@keyframes capFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) {
  .stat::after, .scene img, .scene .cap h3 { animation: none; }
  .reveal { transition: none; transform: none; opacity: 1; }
}

/* ---------- 響應式 ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
  .modules, .value-grid, .plans { grid-template-columns: 1fr 1fr; }
  .stat-row, .kpis { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-2b { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; z-index: 80; transform: translateX(-100%); transition: transform .3s var(--ease); width: 248px; }
  .sidebar.open { transform: none; }
  .side-toggle { display: inline-grid; }
  .login-wrap { grid-template-columns: 1fr; }
  .login-aside { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
  .pain-grid, .modules, .value-grid, .plans, .stat-row, .kpis { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; }
  .compare { font-size: .85rem; }
  .compare th, .compare td { padding: 11px 8px; }
  .news-item { flex-direction: column; gap: 4px; }
  .news-item .tag { margin-left: 0; }
  .content { padding: 18px; }
}
.side-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; color: var(--ink); font-size: 1.2rem; }
