html {
  scroll-behavior: smooth;
}

:root {
  --bg-deep: #050816;
  --bg-card: rgba(15, 23, 42, 0.65);
  --border: rgba(99, 102, 241, 0.12);
  --border-hover: rgba(99, 102, 241, 0.35);
  --text: #e2e8f0;
  --text-dim: #94a3b8;
  --text-bright: #f8fafc;
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-glow: rgba(99, 102, 241, 0.25);
  --accent: #10b981;
  --accent-light: #34d399;
  --danger: #f87171;
  --ring: rgba(99, 102, 241, 0.25);
  --input-bg: rgba(2, 6, 23, 0.5);
  --input-border: rgba(148, 163, 184, 0.2);
  --radius: 18px;
  --radius-sm: 12px;
}

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

html,
body {
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg-deep);
}

body {
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

/* ====== Background Orbs ====== */

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.bg-orb-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; left: -180px; }
.bg-orb-2 { width: 450px; height: 450px; background: var(--accent); top: 50%; right: -160px; }
.bg-orb-3 { width: 400px; height: 400px; background: #8b5cf6; bottom: -120px; left: 30%; }

/* ====== Page System ====== */

.page { display: none; position: relative; z-index: 1; min-height: 100vh; }
.page.active { display: flex; animation: pageIn 0.45s ease-out; }

@keyframes pageIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ====== Global Navbar ====== */

.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 48px;
  background: rgba(5, 8, 22, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-navbar.scrolled {
  background: rgba(5, 8, 22, 0.92);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  cursor: pointer;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo svg {
  width: 46px;
  height: 46px;
}

.brand-text {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
}

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

.navbar-link {
  padding: 12px 28px;
  font-size: 1.5rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.25s;
  cursor: pointer;
  position: relative;
}

.navbar-link::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 28px;
  right: 28px;
  height: 2.5px;
  background: var(--primary-light);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.navbar-link:hover {
  color: #fff;
}

.navbar-link:hover::after {
  transform: scaleX(1);
}

.navbar-link.active {
  color: #fff;
  font-weight: 600;
}

.navbar-link.active::after {
  transform: scaleX(1);
}

.navbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  margin-left: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #7dd3fc;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  border-radius: 10px;
  transition: color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

/* animated border via pseudo-element */
.navbar-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 1.5px;
  background: linear-gradient(90deg, #38bdf8, #818cf8, #c084fc, #38bdf8);
  background-size: 250% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderSpin 3s linear infinite;
}

@keyframes borderSpin {
  0%   { background-position: 0% 50%; }
  100% { background-position: 250% 50%; }
}

.navbar-cta:hover {
  color: #e0f2fe;
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.3);
}

/* ====== Landing Page ====== */

.landing {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 126px 32px 48px;
}

.landing-content {
  max-width: 1060px;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--primary-light);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  animation: fadeUp 0.6s ease-out 0.1s both;
}

.title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 36px 0 24px;
  animation: fadeUp 0.6s ease-out 0.2s both;
}

.landing-title {
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 1.08;
  margin: 0;
  color: #fff;
}

.title-row .btn-hero {
  align-self: center;
  margin-bottom: 0;
}

.gradient-text {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #e879f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-subtitle {
  font-size: 1.55rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  animation: fadeUp 0.6s ease-out 0.25s both;
}

.landing-desc {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  max-width: 720px;
  margin: 0 auto 14px;
  animation: fadeUp 0.6s ease-out 0.3s both;
}

/* Decorative molecule illustrations */

.mol-illustrations {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  margin: 0 auto 56px;
  padding-top: 60px;
  animation: fadeUp 0.8s ease-out 0.4s both;
}

.mol-illust {
  opacity: 0.85;
  padding: 24px 20px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(99, 102, 241, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: opacity 0.3s, transform 0.4s, border-color 0.3s, box-shadow 0.3s;
}

.mol-illust:hover {
  opacity: 1;
  animation-play-state: paused;
  transform: scale(1.05) translateY(-4px);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15), 0 4px 24px rgba(0, 0, 0, 0.2);
}

.mol-illust-1 svg { width: 200px; height: 156px; filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.2)); }
.mol-illust-2 svg { width: 210px; height: 166px; filter: drop-shadow(0 2px 8px rgba(192, 132, 252, 0.2)); }
.mol-illust-3 svg { width: 200px; height: 156px; filter: drop-shadow(0 2px 8px rgba(52, 211, 153, 0.2)); }

.mol-illust-1 { animation: molFloat 6s ease-in-out infinite; }
.mol-illust-2 { animation: molFloat 6s ease-in-out 1s infinite; }
.mol-illust-3 { animation: molFloat 6s ease-in-out 2s infinite; }

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

/* Feature highlights */

.feature-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 720px;
  margin: 0 auto 56px;
  animation: fadeUp 0.6s ease-out 0.5s both;
}

.highlight-item {
  text-align: center;
  padding: 36px 28px;
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: border-color 0.3s, transform 0.3s;
}

.highlight-item:hover {
  border-color: rgba(99, 102, 241, 0.25);
  transform: translateY(-4px);
}

.highlight-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 20px;
}

.hl-predict { background: rgba(99, 102, 241, 0.12); color: var(--primary-light); }
.hl-generate { background: rgba(16, 185, 129, 0.12); color: var(--accent-light); }

.highlight-item h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.highlight-item p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

/* Hero CTA button */

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 36px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 50%, #818cf8 100%);
  color: #fff;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(56, 189, 248, 0.3), 0 0 48px rgba(96, 165, 250, 0.12);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-hero:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 48px rgba(56, 189, 248, 0.5), 0 0 80px rgba(96, 165, 250, 0.25);
}

/* ====== Contact Section ====== */

.contact-section {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 72px;
  text-align: center;
}

.contact-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 14px;
}

.contact-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.25), transparent);
}

.contact-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.contact-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 32px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  padding: 32px 24px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(56, 189, 248, 0.1);
  transition: border-color 0.3s, transform 0.3s;
}

.contact-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-3px);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.1);
  color: #7dd3fc;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
}

.contact-card-icon svg {
  width: 28px;
  height: 28px;
}

.contact-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.contact-card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.45);
}

.landing-footer {
  padding-top: 40px;
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ====== App Page ====== */

.app-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 110px 32px 64px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding: 10px 0;
}

.app-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-spacer { flex: 1; }

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  background: var(--input-bg);
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.back-btn:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: rgba(99, 102, 241, 0.08);
}

/* ====== Tab Bar ====== */

.tab-bar {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid var(--border);
  border-radius: 18px;
  margin-bottom: 32px;
}

.tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 32px;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tab-btn:hover:not(.active) {
  color: var(--text);
  background: rgba(99, 102, 241, 0.06);
}

.tab-btn.active {
  background: linear-gradient(135deg, #38bdf8, #60a5fa);
  color: #fff;
  box-shadow: 0 4px 24px rgba(56, 189, 248, 0.4);
}

.tab-panel { animation: tabIn 0.3s ease-out; }

@keyframes tabIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ====== Content Card ====== */

.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* ====== Forms ====== */

.form-layout { display: flex; flex-direction: column; gap: 28px; }
.form-group { display: flex; flex-direction: column; gap: 10px; }

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.label-actions { display: flex; align-items: center; gap: 10px; }

label {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.section-label {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-bright);
}

input,
textarea,
select {
  width: 100%;
  font-family: inherit;
  font-size: 1.05rem;
  color: var(--text);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--ring);
}

textarea { resize: vertical; line-height: 1.65; }

.example-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 18px;
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.07);
  color: var(--primary-light);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.example-btn:hover {
  background: rgba(99, 102, 241, 0.16);
  border-color: rgba(99, 102, 241, 0.4);
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.icon-btn:hover {
  color: var(--primary-light);
  border-color: var(--border-hover);
  background: rgba(99, 102, 241, 0.06);
}

.text-btn {
  border: none;
  background: none;
  color: var(--primary-light);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
  transition: color 0.2s;
}

.text-btn:hover { color: #a5b4fc; }

.action-sep {
  color: rgba(148, 163, 184, 0.3);
  font-size: 0.85rem;
  user-select: none;
}

/* ====== Preset Tags ====== */

.preset-section { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }

.preset-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.preset-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dim);
}

.preset-actions { display: flex; align-items: center; gap: 6px; }

.preset-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.preset-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.06);
  color: var(--accent-light);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.preset-tag:hover {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.4);
}

.preset-tag.used {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.55);
  color: #6ee7b7;
}

.param-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.param-item { display: flex; flex-direction: column; gap: 8px; }
.param-item label { font-size: 0.95rem; font-weight: 500; color: var(--text-dim); }

/* ====== Buttons ====== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: var(--radius-sm);
  padding: 16px 32px;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn:hover:not(:disabled) { transform: translateY(-2px); }

.btn-primary {
  color: #022c22;
  background: linear-gradient(135deg, #10b981, #34d399);
  box-shadow: 0 4px 24px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover:not(:disabled) { box-shadow: 0 8px 36px rgba(16, 185, 129, 0.45); }

.btn-accent {
  color: #022c22;
  background: linear-gradient(135deg, #10b981, #34d399);
  box-shadow: 0 4px 24px rgba(16, 185, 129, 0.3);
}

.btn-accent:hover:not(:disabled) { box-shadow: 0 8px 36px rgba(16, 185, 129, 0.45); }

/* ====== Chips (Property List) ====== */

.chips { display: flex; flex-wrap: wrap; gap: 10px; min-height: 44px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.05);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}

.chip:hover { border-color: rgba(16, 185, 129, 0.4); background: rgba(16, 185, 129, 0.1); }
.chip.disabled { opacity: 0.35; cursor: not-allowed; }
.chip input[type="checkbox"] { width: auto; padding: 0; accent-color: var(--accent); }

.chip-skeleton {
  display: inline-block;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ====== Results ====== */

.result-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.result-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-bright);
}

.result-table-wrap {
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-sm);
  overflow: auto;
  min-height: 100px;
  max-height: 500px;
  background: var(--input-bg);
}

.result-table-wrap.empty {
  display: grid;
  place-items: center;
  color: var(--text-dim);
  font-size: 1rem;
}

table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }

th, td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(99, 102, 241, 0.07);
  white-space: nowrap;
  text-align: left;
}

th {
  position: sticky;
  top: 0;
  background: rgba(15, 23, 42, 0.96);
  font-weight: 600;
  color: var(--text-dim);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

tr:hover td { background: rgba(99, 102, 241, 0.04); }

/* ====== Molecule Structure ====== */

.mol-cell { padding: 6px 10px !important; vertical-align: middle; white-space: normal; }

.cell-bool { text-align: center; font-size: 1.1rem; font-weight: 600; }
.cell-ok { color: #4ade80; }
.cell-no { color: #f87171; }

.mol-render {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  min-height: 75px;
  border-radius: 8px;
  background: rgba(8, 14, 36, 0.6);
  border: 1px solid rgba(99, 102, 241, 0.08);
  overflow: hidden;
}

.mol-render svg { display: block; max-width: 100%; height: auto; }
.mol-placeholder { color: var(--text-dim); font-size: 0.85rem; }

/* ====== Export Buttons ====== */

.export-btns {
  display: flex;
  gap: 8px;
}

.export-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.07);
  color: var(--primary-light);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.export-btn:hover {
  background: rgba(99, 102, 241, 0.16);
  border-color: rgba(99, 102, 241, 0.4);
}

.export-btn-xl {
  border-color: rgba(16, 185, 129, 0.22);
  background: rgba(16, 185, 129, 0.07);
  color: var(--accent-light);
}

.export-btn-xl:hover {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.4);
}

/* ====== Status ====== */

.status-text { font-size: 0.92rem; color: var(--text-dim); }
.status-error { color: var(--danger) !important; }
.status-ok { color: var(--accent-light) !important; }
.muted { color: var(--text-dim); font-size: 0.92rem; }

/* ====== Responsive ====== */

@media (max-width: 768px) {
  .site-navbar { padding: 0 20px; }
  .navbar-inner { height: 70px; }
  .brand-text { font-size: 1.8rem; }
  .brand-logo svg { width: 36px; height: 36px; }
  .navbar-link { padding: 8px 16px; font-size: 1.15rem; }
  .navbar-link::after { left: 16px; right: 16px; }
  .navbar-cta { font-size: 1.15rem; padding: 8px 18px; }
  .landing { padding: 100px 20px 36px; }
  .title-row { gap: 24px; }
  .landing-title { font-size: 3.5rem; }
  .landing-subtitle { font-size: 1.2rem; }
  .landing-desc { font-size: 1.05rem; }
  .mol-illustrations { gap: 16px; }
  .mol-illust-1 svg, .mol-illust-3 svg { width: 140px; height: 110px; }
  .mol-illust-2 svg { width: 150px; height: 120px; }
  .feature-highlights { grid-template-columns: 1fr; max-width: 420px; }
  .contact-cards { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .contact-title { font-size: 2rem; }
  .btn-hero { padding: 12px 28px; font-size: 1rem; }
  .app-container { padding: 80px 14px 48px; }
  .content-card { padding: 28px 20px; }
  .param-grid { grid-template-columns: 1fr; }
  .tab-btn { padding: 14px 16px; font-size: 0.98rem; gap: 8px; }
}

@media (max-width: 480px) {
  .site-navbar { padding: 0 14px; }
  .navbar-inner { height: 60px; }
  .navbar-link { padding: 6px 12px; font-size: 1rem; }
  .navbar-link::after { left: 12px; right: 12px; }
  .navbar-cta { font-size: 1rem; padding: 7px 14px; margin-left: 4px; }
  .brand-logo svg { width: 30px; height: 30px; }
  .brand-text { font-size: 1.5rem; }
  .landing { padding: 82px 16px 36px; }
  .title-row { flex-direction: column; gap: 16px; }
  .landing-title { font-size: 2.8rem; }
  .landing-subtitle { font-size: 1.05rem; }
  .mol-illustrations { flex-direction: column; gap: 12px; }
  .content-card { padding: 20px 14px; }
  .back-btn { padding: 8px 12px; font-size: 0.88rem; }
  .tab-btn { gap: 6px; font-size: 0.85rem; padding: 12px 10px; }
  .tab-btn svg { display: none; }
  .btn-hero { padding: 12px 24px; font-size: 0.95rem; }
  .contact-title { font-size: 1.6rem; }
  .contact-card h3 { font-size: 1.1rem; }
}
