:root {
  --blue-950: #3b2a0c;
  --blue-800: #5d4718;
  --blue-600: #f3b43c;
  --blue-400: #ffe3a1;
  --yellow-500: #f7c948;
  --yellow-300: #ffe7a8;
  --mint-200: #f7f0cc;
  --cloud-100: #fff9e6;
  --ink-900: #2f240b;
  --ink-700: #5c4a22;
  --card: #fffdf7;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 16px 34px rgba(197, 140, 32, 0.22);
  --shadow-card: 0 10px 20px rgba(187, 133, 31, 0.18);
  --line-soft: rgba(225, 170, 54, 0.35);
  --line-strong: rgba(196, 140, 35, 0.55);
  --font-display: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif;
  color: var(--ink-900);
  letter-spacing: 0;
  background: radial-gradient(circle at top, #fff2b6 0%, #ffe395 35%, #ffd977 60%, #ffe8b7 100%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("assets/penguin-pattern.svg");
  background-repeat: repeat;
  background-size: 360px;
  opacity: 0.05;
  filter: saturate(0.8) blur(0.6px);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.4), transparent 50%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.35), transparent 45%),
    radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0.4), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(transparent 92%, var(--line-soft) 92%),
    linear-gradient(90deg, transparent 92%, var(--line-soft) 92%);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
}

.bg-cloud {
  position: absolute;
  width: 260px;
  height: 130px;
  background: rgba(255, 255, 255, 0.75);
  filter: blur(0.6px);
  border-radius: 999px;
  box-shadow: 40px 10px 0 rgba(255, 255, 255, 0.6), -30px 20px 0 rgba(255, 255, 255, 0.65);
  animation: float 14s ease-in-out infinite;
  z-index: 0;
}

.cloud-1 { top: 70px; left: 8%; animation-delay: 0s; }
.cloud-2 { top: 280px; right: 8%; animation-delay: 1.6s; }
.cloud-3 { bottom: 140px; left: 16%; animation-delay: 3s; }

.cloud-particle {
  position: fixed;
  width: 90px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 20px 6px 0 rgba(255, 255, 255, 0.55), -14px 12px 0 rgba(255, 255, 255, 0.5);
  filter: blur(0.4px);
  animation: drift 18s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.cloud-particle.p1 { top: 18%; left: 12%; animation-delay: 0s; }
.cloud-particle.p2 { top: 34%; right: 12%; animation-delay: 2s; }
.cloud-particle.p3 { bottom: 30%; left: 24%; animation-delay: 4s; }
.cloud-particle.p4 { bottom: 18%; right: 18%; animation-delay: 6s; }
.cloud-particle.p5 { top: 12%; right: 40%; animation-delay: 8s; }

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 6vw;
  background: rgba(255, 250, 232, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  z-index: 2;
}

.logo {
  display: flex;
  gap: 12px;
  align-items: center;
}

.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--yellow-500);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 20px rgba(187, 132, 24, 0.28);
}

.logo-text {
  display: grid;
  gap: 2px;
}

.logo-title {
  font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif;
  font-size: 18px;
  letter-spacing: 0;
}

.logo-sub {
  font-size: 12px;
  color: var(--ink-700);
}

.icon {
  width: 18px;
  height: 18px;
  fill: var(--ink-900);
}

.nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif;
}

.nav a {
  text-decoration: none;
  color: var(--ink-900);
  font-size: 16px;
  position: relative;
  padding-bottom: 4px;
}

.nav a.active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow-300), var(--yellow-500));
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  padding: 60px 6vw 30px;
  align-items: center;
}

.hero-copy h1 {
  font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif;
  font-size: clamp(32px, 4.4vw, 48px);
  margin: 12px 0;
  letter-spacing: 0;
}

.hero-copy p {
  font-size: 16px;
  max-width: 520px;
  line-height: 1.7;
  color: var(--ink-700);
}

.eyebrow {
  font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif;
  color: var(--ink-700);
  letter-spacing: 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 22px 0 16px;
  flex-wrap: wrap;
}

.cta {
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta.primary {
  background: var(--yellow-500);
  color: var(--ink-900);
  box-shadow: 0 12px 20px rgba(187, 132, 24, 0.3);
}

.cta.primary .icon { fill: var(--ink-900); }

.cta.ghost {
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink-900);
  border: 1px solid var(--line-strong);
}

.cta:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 24px rgba(187, 132, 24, 0.22);
}

.cta:active {
  transform: translateY(1px) scale(0.99);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.stat {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line-soft);
  padding: 12px 14px;
  border-radius: 14px;
}

.stat-title {
  font-size: 12px;
  color: var(--ink-700);
  margin-bottom: 4px;
}

.stat-value {
  font-size: 14px;
  font-weight: 600;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.visual-card::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 231, 123, 0.7) 0%, rgba(255, 231, 123, 0.2) 60%, transparent 70%);
  top: -40px;
  right: -20px;
}

.visual-card::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 236, 160, 0.9);
  bottom: 20px;
  left: 26px;
  box-shadow: 0 0 12px rgba(255, 220, 120, 0.8);
}

.penguin-illustration {
  width: min(320px, 80vw);
  height: auto;
  border-radius: 20px;
  background: #fff8de;
  padding: 8px;
  box-shadow: 0 10px 20px rgba(187, 132, 24, 0.18);
  animation: bob 6s ease-in-out infinite;
  display: block;
  object-fit: cover;
}

.visual-tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.tag {
  background: var(--cloud-100);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--line-soft);
}

.section {
  padding: 44px 6vw;
}

.section-title h2 {
  font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif;
  font-size: 28px;
  margin-bottom: 8px;
}

.section-title p {
  color: var(--ink-700);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.flow-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
}

.flow-index {
  font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif;
  color: var(--ink-700);
  font-size: 22px;
  margin-bottom: 8px;
}

.dream-input {
  background: rgba(255, 255, 255, 0.65);
  border-top: 1px dashed var(--line-soft);
  border-bottom: 1px dashed var(--line-soft);
}

.chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 12px;
}

.chip {
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  padding: 8px 14px;
  font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(197, 140, 32, 0.18);
}

.dream-panel {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 2px solid var(--line-strong);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.dream-panel::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 6px;
  height: calc(100% - 36px);
  background: linear-gradient(var(--yellow-300), var(--yellow-500));
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(247, 201, 72, 0.7);
}

.dream-textarea {
  width: 100%;
  min-height: 180px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 16px;
  font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif;
  font-size: 15px;
  line-height: 1.6;
  background: rgba(255, 253, 245, 0.95);
  outline: none;
  resize: vertical;
}

.dream-textarea:focus {
  border-color: var(--yellow-500);
  box-shadow: 0 0 0 3px rgba(247, 201, 72, 0.25);
}

.input-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.analysis-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.step {
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 251, 233, 0.9);
  border: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--ink-700);
  transition: all 0.2s ease;
}

.step.is-active {
  background: var(--yellow-300);
  border-color: var(--yellow-500);
  color: #6a4700;
  animation: pulse 1.2s ease-in-out infinite;
}

.step.is-done {
  background: rgba(255, 244, 212, 0.9);
  border-color: rgba(206, 158, 61, 0.6);
  color: #6a4700;
}

.tip {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-700);
}

.results {
  opacity: 0;
  transform: translateY(18px);
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.6s ease;
}

.results.is-visible {
  opacity: 1;
  transform: translateY(0);
  max-height: 2000px;
  pointer-events: auto;
}

.dream-zone {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 244, 210, 0.8), rgba(255, 255, 255, 0.9));
  border-top: 1px dashed var(--line-soft);
  border-bottom: 1px dashed var(--line-soft);
}

.dream-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.75), transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.7), transparent 55%),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.65), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}

.dream-zone > * {
  position: relative;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.result-card {
  background: #fff;
  border: 1.5px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
  position: relative;
  transform: translateY(8px);
  opacity: 0;
}

.results.is-visible .result-card {
  animation: fade-up 0.6s ease forwards;
}

.results.is-visible .result-card:nth-child(2) { animation-delay: 0.12s; }
.results.is-visible .result-card:nth-child(3) { animation-delay: 0.24s; }

.result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 26px rgba(187, 132, 24, 0.22);
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--cloud-100);
  display: grid;
  place-items: center;
  color: var(--ink-900);
  font-weight: 700;
}

.stamp {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 11px;
  color: var(--ink-700);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 4px 8px;
  font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif;
  background: rgba(255, 250, 230, 0.8);
}

.professor-quote {
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.85);
  border-left: 4px solid var(--yellow-500);
  padding: 16px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.brand-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
}

.symbol-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}

.symbol-row svg {
  width: 30px;
  height: 14px;
  stroke: var(--ink-700);
  stroke-width: 2;
  fill: none;
}

.symbol-row .gate {
  width: 24px;
}

.swatches {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.swatch {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.swatch.blue { background: #f3b43c; }
.swatch.sky { background: #ffe3a1; }
.swatch.yellow { background: #f7c948; }
.swatch.cloud { background: #fff9e6; }

.cta-strip {
  margin: 30px 6vw 60px;
  padding: 24px 30px;
  background: linear-gradient(90deg, #ffe6a3 0%, #f7c948 100%);
  border-radius: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 14px 30px rgba(247, 201, 72, 0.25);
}

.cta-strip-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer {
  background: rgba(255, 255, 255, 0.75);
  padding-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-note {
  margin-top: 20px;
  font-size: 12px;
  color: #6d5a2a;
}

.page-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: center;
  padding: 40px 6vw 10px;
}

.page-hero-visual {
  display: flex;
  justify-content: center;
}

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
}

.timeline-index {
  font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif;
  font-size: 22px;
  color: var(--ink-700);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.guide-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
}

.alt {
  background: rgba(255, 255, 255, 0.65);
}

.table-wrap {
  overflow-x: auto;
  margin-top: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

table th,
table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(205, 160, 60, 0.2);
}

table th {
  background: rgba(255, 241, 199, 0.9);
  font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif;
}

.quote-box {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px;
  border-left: 4px solid var(--yellow-500);
  box-shadow: var(--shadow-card);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes drift {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.5; }
  50% { transform: translateY(-12px) translateX(18px) scale(1.03); opacity: 0.85; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  .nav { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 720px) {
  .site-header { flex-direction: column; gap: 12px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-cloud,
  .penguin-illustration,
  .cloud-particle {
    animation: none;
  }
  * { scroll-behavior: auto !important; }
}


.demo-notice{position:relative;z-index:30;padding:10px 16px;text-align:center;background:#edf7f6;color:#164d4a;font:600 12px/1.5 system-ui,sans-serif;border-bottom:1px solid #cfe7e3}.input-privacy,.private-consent{font-size:12px;line-height:1.6;color:#385b65}.private-consent[hidden]{display:none}

.legal-links{font-size:12px;text-align:center;padding:12px 0;color:#5c4a22}.legal-links a{color:inherit}

[hidden]{display:none!important}.cta:disabled{opacity:.6;cursor:wait}

@media(prefers-reduced-motion:reduce){.results .result-card{animation:none!important;opacity:1!important;transform:none!important}.results{transition:none!important}}
