:root {
  --background: #fafafa;
  --foreground: #0f172a;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --accent: #0052ff;
  --accent-secondary: #4d7cff;
  --accent-foreground: #ffffff;
  --border: #e2e8f0;
  --card: #ffffff;
  --ring: #0052ff;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 10px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 18px 38px rgba(15, 23, 42, 0.1);
  --shadow-accent: 0 8px 24px rgba(0, 82, 255, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--foreground);
  background:
    radial-gradient(800px 360px at 7% -5%, rgba(0, 82, 255, 0.08), transparent 62%),
    radial-gradient(900px 380px at 96% 2%, rgba(77, 124, 255, 0.08), transparent 58%),
    var(--background);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.68;
}

a { color: inherit; }

.container { width: min(1120px, 92%); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(250, 250, 250, 0.82);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--foreground);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  box-shadow: var(--shadow-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  color: var(--muted-foreground);
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-link:hover { color: var(--foreground); transform: translateY(-1px); }

.language-select {
  min-height: 44px;
  padding: 0 36px 0 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--foreground);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  font: inherit;
  font-weight: 650;
}

.cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background 200ms ease, filter 200ms ease;
}

.cta-main {
  color: var(--accent-foreground);
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  box-shadow: var(--shadow-sm);
}

.cta-main:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: var(--shadow-accent);
}

.cta-main::after { content: "→"; transition: transform 200ms ease; }
.cta-main:hover::after { transform: translateX(3px); }

.cta-sub {
  color: var(--foreground);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}

.cta-sub:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 82, 255, 0.28);
  background: var(--card);
  box-shadow: var(--shadow-md);
}

.hero { padding: 104px 0 72px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  color: var(--foreground);
  font-weight: 700;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 820px;
  margin: 18px 0 20px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.03;
}

h2 {
  margin: 14px 0 18px;
  font-size: clamp(32px, 4.3vw, 54px);
  line-height: 1.12;
}

h3 {
  margin: 0 0 10px;
  color: var(--foreground);
  font-size: 19px;
  font-weight: 760;
  letter-spacing: -0.015em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(0, 82, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 82, 255, 0.055);
  color: var(--accent);
  padding: 8px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

.sub {
  max-width: 760px;
  color: var(--muted-foreground);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-visual {
  position: relative;
  min-height: 460px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background:
    radial-gradient(circle at 35% 25%, rgba(0, 82, 255, 0.12), transparent 38%),
    linear-gradient(145deg, #ffffff, #f8fafc);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.gateway-visual { background: radial-gradient(circle at 50% 50%, rgba(231, 116, 44, .12), transparent 34%), linear-gradient(145deg, #171917, #101110); border-color: rgba(255,255,255,.13); color: #f7f4ef; }
.gateway-visual::before { display: none; }
.gateway-visual::after { z-index: 0; right: -110px; bottom: -110px; width: 250px; height: 250px; background: #2bd77a; opacity: .12; }
.gateway-connections { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.gateway-paths path { fill: none; stroke: rgba(214, 220, 211, .36); stroke-width: 1.7; stroke-dasharray: 4 8; }
.gateway-particles circle { filter: drop-shadow(0 0 7px currentColor); }
.gateway-card-area { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.gateway-card { position: absolute; display: flex; align-items: center; gap: 12px; box-sizing: border-box; height: 70px; border: 1px solid rgba(255,255,255,.17); border-radius: 16px; background: rgba(32,34,32,.9); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 15px 35px rgba(0,0,0,.2); backdrop-filter: blur(14px); pointer-events: auto; }
.model-card { width: 154px; padding: 11px; }
.distribution-card { width: 145px; padding: 11px; }
.model-icon, .distribution-icon { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #fff; font-size: 17px; font-weight: 800; }
.claude-icon { background: #dc7656; }.gemini-icon { background: linear-gradient(135deg,#4e88ef,#d44150); }.gpt-icon { background: #13ac88; }.distribution-icon { background: #ed7b20; }
.gateway-copy { display: flex; min-width: 0; flex-direction: column; }.gateway-copy strong { color: #f7f4ef; font-size: 14px; line-height: 1.1; white-space: nowrap; }.gateway-copy small { margin-top: 5px; color: rgba(247,244,239,.62); font-size: 11px; font-weight: 600; }
.status-dot { width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: #2bd77a; box-shadow: 0 0 0 7px rgba(43,215,122,.08); }
.claude-card, .gemini-card, .gpt-card { left: 2%; }.claude-card, .developer-card { top: 13%; }.gemini-card, .app-card { top: calc(50% - 35px); }.gpt-card, .enterprise-card { bottom: 13%; }.developer-card, .app-card, .enterprise-card { right: 2%; }
.gateway-node { position: absolute; z-index: 2; top: 50%; left: 50%; width: 140px; height: 140px; transform: translate(-50%,-50%); }
.gateway-circle { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px solid rgba(255,215,177,.82); border-radius: 50%; background: linear-gradient(145deg,#d9783d,#ff8c1e); box-shadow: 0 0 34px rgba(244,111,35,.28), 0 28px 58px rgba(104,49,19,.36); animation: gateway-breathe 3.2s ease-in-out infinite; }
.gateway-circle strong { font-size: 23px; }.gateway-circle span { margin-top: 8px; color: rgba(255,255,255,.86); font-size: 12px; white-space: nowrap; }
.gateway-ring { position: absolute; inset: -25px; border: 1px solid rgba(221,105,40,.27); border-radius: 50%; pointer-events: none; }.ring-two { inset: -11px; border-color: rgba(221,105,40,.38); animation: ring-pulse 3.2s ease-out infinite; }
@keyframes gateway-breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.025); } }
@keyframes ring-pulse { 0% { opacity:.3; transform:scale(.96); } 70%,100% { opacity:0; transform:scale(1.08); } }

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px dashed rgba(0, 82, 255, 0.28);
  border-radius: 999px;
  animation: slow-spin 60s linear infinite;
}

.hero-visual::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 230px;
  height: 230px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  filter: blur(8px);
  opacity: 0.88;
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 134px;
  height: 134px;
  transform: translate(-50%, -50%);
  border-radius: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  box-shadow: var(--shadow-accent);
}

.orbit-core::before,
.orbit-core::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
}

.orbit-core::before { width: 18px; height: 18px; top: 28px; left: 28px; }
.orbit-core::after { width: 46px; height: 8px; right: 28px; bottom: 34px; }

.floating-card {
  position: absolute;
  z-index: 2;
  width: min(230px, 46%);
  padding: 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  animation: float-card 4.8s ease-in-out infinite;
}

.floating-card strong { display: block; color: var(--foreground); font-size: 14px; }
.floating-card span { color: var(--muted-foreground); font-size: 13px; }
.floating-card.one { top: 62px; left: 34px; }
.floating-card.two { right: 32px; bottom: 78px; animation-duration: 5.6s; animation-delay: -1.2s; }

.status-pill {
  position: absolute;
  right: 34px;
  top: 44px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  background: var(--foreground);
  color: #ffffff;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 750;
  box-shadow: var(--shadow-lg);
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}

.section { padding: 92px 0; }

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.cards,
.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card,
.price,
.panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.card,
.price { padding: 26px; transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.card:hover,
.price:hover { transform: translateY(-5px); border-color: rgba(0, 82, 255, 0.22); box-shadow: var(--shadow-lg); }

.card::before {
  content: "✦";
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  box-shadow: 0 10px 24px rgba(0, 82, 255, 0.22);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 21px;
  font-weight: 850;
  line-height: 1;
}

.card[data-icon="gateway"]::before { content: "⌁"; }
.card[data-icon="developer"]::before { content: "</>"; font-size: 15px; }
.card[data-icon="security"]::before { content: "✓"; background: linear-gradient(135deg, #0f172a, #334155); }
.card[data-icon="saas"]::before { content: "↗"; }
.card[data-icon="team"]::before { content: "◎"; background: linear-gradient(135deg, #0052ff, #14b8a6); }
.card[data-icon="agent"]::before { content: "✦"; }
.card[data-icon="chat"]::before { content: "●"; }
.card[data-icon="claude"]::before { content: "◆"; background: linear-gradient(135deg, #b06a4f, #e4a47f); }
.card[data-icon="gemini"]::before { content: "✧"; background: linear-gradient(135deg, #0052ff, #8b5cf6); }
.card[data-icon="user"]::before { content: "人"; font-family: inherit; }
.card[data-icon="power"]::before { content: "⚡"; }
.card[data-icon="studio"]::before { content: "▣"; background: linear-gradient(135deg, #0f172a, #0052ff); }
.card[data-icon="wallet"]::before { content: "$"; }

/* Dark pricing feature panel on the Chinese landing page. */
#pricing {
  width: min(1440px, 92%);
  max-width: 1440px;
  color: #f3f4f6;
  background: #0d1117;
}

.feature-pricing .section-head { margin-bottom: 34px; }
.feature-pricing .section-label { color: #9ca3af; }
.feature-pricing .section-head h2 { color: #f3f4f6; }
.feature-pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1440px; margin: 0 auto; }
.feature-price-card { display: flex; min-height: 430px; flex-direction: column; padding: 32px; border: 1px solid #30363d; border-radius: 8px; background: #161b22; transition: transform 200ms ease, border-color 200ms ease; }
.feature-price-card:hover { transform: translateY(-2px); border-color: #6b7280; }
.feature-price-title { display: flex; align-items: center; gap: 12px; }
.feature-price-title i { width: 24px; height: 24px; stroke-width: 1.8; }
.feature-price-title h3 { margin: 0; color: #f3f4f6; font-size: 20px; }
.feature-price-stat { margin-top: 42px; color: #f9fafb; font-size: 68px; font-weight: 800; line-height: 1; letter-spacing: -0.05em; }
.feature-price-stat span { display: block; margin-top: 12px; color: #6b7280; font-size: 24px; font-weight: 500; letter-spacing: 0; }
.feature-price-card p { min-height: 61px; margin: 32px 0 22px; color: #d1d5db; font-size: 18px; line-height: 1.7; }
.feature-price-card hr { width: 100%; margin: 0 0 22px; border: 0; border-top: 1px solid #30363d; }
.feature-price-card ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; color: #9ca3af; font-size: 18px; }
.feature-price-card li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 12px 3px 2px; border-radius: 50%; background: currentColor; }
.feature-price-card--yellow .feature-price-title { color: #facc15; }
.feature-price-card--cyan .feature-price-title { color: #22d3ee; }
.feature-price-card--green .feature-price-title { color: #4ade80; }

.card p,
.price li,
.panel li,
.faq p { color: var(--muted-foreground); }
.card p { margin: 0; }

.inverted {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
  color: rgba(255, 255, 255, 0.88);
  background:
    radial-gradient(circle at 15% 10%, rgba(77, 124, 255, 0.22), transparent 28%),
    radial-gradient(circle at 85% 80%, rgba(0, 82, 255, 0.18), transparent 32%),
    var(--foreground);
}

.inverted::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.22;
}

.inverted > .container { position: relative; z-index: 1; }
.inverted h2,
.inverted h3 { color: #ffffff; }
.inverted .sub { color: rgba(255, 255, 255, 0.72); }
.inverted .section-label { color: #ffffff; border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08); }
.inverted .section-label::before { background: #ffffff; }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.proof-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.proof-card strong { display: block; color: #ffffff; font-size: 18px; margin-bottom: 8px; }
.proof-card span { color: rgba(255, 255, 255, 0.68); }

.service-visual {
  position: relative;
  min-height: 460px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 82, 255, 0.14), transparent 36%),
    linear-gradient(145deg, #ffffff, #f8fafc);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.service-visual::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px dashed rgba(0, 82, 255, 0.24);
  border-radius: 34px;
}

.service-ticket {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: min(310px, 72%);
  padding: 24px;
  transform: translate(-50%, -50%) rotate(-2deg);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

.service-ticket strong { display: block; margin-bottom: 10px; font-size: 22px; letter-spacing: -0.02em; }
.service-ticket span { color: var(--muted-foreground); }

.service-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  box-shadow: var(--shadow-accent);
  font-size: 13px;
  font-weight: 800;
}

.service-badge.one { top: 58px; left: 34px; }
.service-badge.two { right: 32px; bottom: 72px; }

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.step-card .step-number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  font-weight: 850;
}

.notice-panel {
  padding: 34px;
  border: 1px solid rgba(0, 82, 255, 0.18);
  border-radius: 26px;
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 82, 255, 0.08), transparent 32%),
    var(--card);
  box-shadow: var(--shadow-md);
}

.notice-panel p { margin: 0; color: var(--muted-foreground); }

.playground-hero { padding-bottom: 34px; }
.playground-hero h1 { max-width: 960px; }

.playground-shell {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding-bottom: 92px;
}

.playground-form,
.playground-result { overflow: hidden; }

.playground-form { padding: 26px; }

.playground-note {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 82, 255, 0.16);
  border-radius: 18px;
  color: var(--muted-foreground);
  background: rgba(0, 82, 255, 0.055);
  font-size: 14px;
  line-height: 1.6;
}

.playground-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
  padding: 0;
  border: 0;
  background: transparent;
}

.playground-mode button {
  position: relative;
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--muted-foreground);
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 82, 255, 0.055), transparent 38%),
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.playground-mode button:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 82, 255, 0.24);
  color: var(--foreground);
  box-shadow: var(--shadow-md);
}

.playground-mode button.active {
  color: var(--foreground);
  border-color: rgba(0, 82, 255, 0.38);
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 82, 255, 0.16), transparent 42%),
    linear-gradient(145deg, #ffffff, #f8fbff);
  box-shadow: 0 14px 32px rgba(0, 82, 255, 0.12);
}

.playground-mode button.active::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(0, 82, 255, 0.12);
}

.playground-mode-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  box-shadow: 0 10px 24px rgba(0, 82, 255, 0.18);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 850;
}

.playground-mode button:not(.active) .playground-mode-icon {
  color: var(--accent);
  background: rgba(0, 82, 255, 0.08);
  box-shadow: none;
}

.playground-mode strong,
.playground-mode small {
  display: block;
}

.playground-mode strong {
  margin-bottom: 2px;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.playground-mode small {
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 650;
}

.is-hidden { display: none !important; }

.playground-field {
  display: grid;
  gap: 8px;
  margin-bottom: 15px;
}

.playground-field label {
  color: var(--foreground);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.01em;
}

.playground-field input,
.playground-field textarea,
.playground-field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--foreground);
  box-shadow: var(--shadow-sm);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.playground-field input,
.playground-field select { min-height: 46px; padding: 0 14px; }
.playground-field textarea { min-height: 158px; padding: 13px 14px; resize: vertical; line-height: 1.58; }

.playground-field input:focus,
.playground-field textarea:focus,
.playground-field select:focus {
  border-color: rgba(0, 82, 255, 0.42);
  background: var(--card);
  box-shadow: 0 0 0 4px rgba(0, 82, 255, 0.12);
}

.playground-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.playground-upload {
  display: grid;
  min-height: 126px;
  place-items: center;
  gap: 7px;
  padding: 20px;
  border: 1px dashed rgba(0, 82, 255, 0.32);
  border-radius: 22px;
  color: var(--muted-foreground);
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 82, 255, 0.12), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(248, 250, 252, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--shadow-sm);
  cursor: pointer;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.playground-upload:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 82, 255, 0.56);
  color: var(--foreground);
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 82, 255, 0.16), transparent 42%),
    #ffffff;
  box-shadow: 0 16px 32px rgba(0, 82, 255, 0.1);
}

.playground-upload input { display: none; }

.playground-upload-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  box-shadow: var(--shadow-accent);
  font-size: 20px;
  font-weight: 850;
  line-height: 1;
}

.playground-upload strong {
  color: var(--foreground);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.playground-upload small {
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 650;
}

.playground-reference-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--muted-foreground);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  overflow: hidden;
}

.playground-reference-preview img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.playground-reference-preview span {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playground-reference-preview strong {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(0, 82, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.playground-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.playground-button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.playground-button.cta-main::after { content: none; }
.playground-button:disabled { cursor: not-allowed; opacity: 0.68; transform: none; filter: none; }

.playground-task-lookup { margin-top: 18px; }

.playground-inline-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.playground-status {
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.playground-status.ok { color: #047857; }
.playground-status.error { color: #b42318; }

.playground-preview {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 12% 4%, rgba(0, 82, 255, 0.08), transparent 28%),
    linear-gradient(145deg, #ffffff, #f8fafc);
}

.playground-empty {
  max-width: 420px;
  padding: 28px;
  border: 1px dashed rgba(0, 82, 255, 0.24);
  border-radius: 22px;
  color: var(--muted-foreground);
  background: rgba(255, 255, 255, 0.76);
  text-align: center;
  line-height: 1.6;
  box-shadow: var(--shadow-sm);
}

.playground-images {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.playground-image-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow-md);
}

.playground-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #ffffff;
}

.playground-download {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  border: 1px solid rgba(226, 232, 240, 0.72);
  border-radius: 999px;
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.playground-download:hover {
  transform: translateY(-1px);
  color: var(--accent);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.playground-open {
  display: block;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  color: var(--accent);
  font-weight: 750;
  text-decoration: none;
}

.playground-open:hover { color: var(--foreground); }

.playground-raw {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.playground-raw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.playground-raw h2 { margin: 0; font-size: 22px; }

.playground-raw pre {
  min-height: 190px;
  max-height: 380px;
  margin: 0;
  overflow: auto;
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: #0f172a;
  color: #dbeafe;
  font-size: 12px;
  line-height: 1.58;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.price .amount {
  margin: 12px 0 18px;
  font-size: 32px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.price ul,
.panel ul { margin: 0; padding-left: 20px; }
.highlight { padding: 2px; border: 0; background: linear-gradient(135deg, var(--accent), var(--accent-secondary)); box-shadow: var(--shadow-accent); }
.highlight > * { position: relative; z-index: 1; }
.highlight::after { content: ""; position: absolute; inset: 2px; border-radius: 22px; background: var(--card); }
.highlight h3,
.highlight .amount,
.highlight ul { position: relative; z-index: 2; }

.faq details {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
  margin-bottom: 12px;
}

.faq summary { cursor: pointer; color: var(--foreground); font-weight: 760; }

.final-cta .panel {
  overflow: hidden;
  padding: 48px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 82, 255, 0.14), transparent 30%),
    var(--card);
}

.footer {
  margin-top: 0;
  padding: 30px 0 46px;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.footer-links a {
  color: inherit;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-links a:hover {
  color: var(--foreground);
  transform: translateY(-1px);
}

.footer-badges {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.footer-badges a {
  display: inline-flex;
  transition: opacity 180ms ease, transform 180ms ease;
}

.footer-badges a:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

.footer-badges img { display: block; }
.turbo0-badge { width: auto; height: 54px; }

select:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(0, 82, 255, 0.28);
  outline-offset: 3px;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.68; }
}

@keyframes slow-spin { to { transform: rotate(360deg); } }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .gateway-particles { display: none; }
}

@media (max-width: 1200px) {
  .hero-grid { grid-template-columns: 1fr; }
  .gateway-visual { min-height: 430px; }
}

@media (max-width: 960px) {
  .nav-inner { flex-wrap: wrap; }
  .nav-links { width: 100%; justify-content: flex-end; flex-wrap: wrap; }
  .hero-grid,
  .cards,
  .pricing,
  .proof-grid,
  .playground-shell,
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 48px; }
  .hero-visual { min-height: 360px; }
  .service-visual { min-height: 360px; }
  .section { padding: 72px 0; }
}

@media (max-width: 640px) {
  .nav-inner { flex-wrap: wrap; }
  .nav-links { width: 100%; justify-content: space-between; gap: 10px; }
  .language-select { max-width: 132px; }
  h1 { font-size: clamp(40px, 14vw, 58px); }
  .hero-visual,
  .service-visual { display: none; }
  .cta { width: 100%; }
  .hero-actions { width: 100%; }
  .playground-row { grid-template-columns: 1fr; }
  .playground-preview { min-height: 360px; }
  .playground-form { padding: 20px; }
  .playground-actions .cta,
  .playground-inline-action .cta,
  .playground-raw-head .cta { width: auto; }
  .playground-inline-action { grid-template-columns: 1fr; }
  .final-cta .panel { padding: 30px 20px; }
  .footer-inner { flex-wrap: wrap; }
  .footer-links { width: 100%; }
  .footer-badges { width: 100%; justify-content: flex-start; }
  #pricing { width: 100%; padding: 64px 20px; }
  .feature-pricing .section-head { margin-bottom: 28px; }
  .feature-pricing-grid { gap: 16px; }
  .feature-price-card { min-height: 0; padding: 24px; }
  .feature-price-stat { margin-top: 32px; font-size: 58px; }
  .feature-price-stat span { font-size: 20px; }
}
