/* ============ DESIGN TOKENS ============ */
:root {
  --bg: #ffffff;
  --surface: #f7f7f5;
  --surface-strong: #efefec;
  --text: #171717;
  --text-secondary: #626262;
  --text-muted: #969696;
  --border: #e5e5e2;
  --border-strong: #d4d4cf;
  --shadow-sm: 0 10px 30px rgba(23, 23, 23, 0.08);
  --shadow-soft: 0 24px 80px rgba(23, 23, 23, 0.08);
  --shadow-card: 0 4px 16px rgba(23, 23, 23, 0.06);
  --accent: #ff6a00;
  --accent-hover: #e85f00;
  --accent-ink: #1a120c;
  --accent-soft: #fff2e8;
  --green: #16a34a;
  --green-soft: #dcfce7;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --container: 1200px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ============ LAYOUT ============ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 800px; }

.section {
  padding: 96px 0;
  background: var(--bg);
}
.section--alt { background: var(--surface); }

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.section__title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section__title--left { text-align: left; }
.section__subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.section__subtitle--left { text-align: left; }
.section__footer {
  text-align: center;
  margin-top: 48px;
}
.text-accent { color: var(--accent); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 14px rgba(255, 106, 0, 0.25);
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 106, 0, 0.35);
}
.btn--secondary {
  background: white;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--secondary:hover { border-color: var(--text); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: transparent;
}
.btn--ghost:hover { background: var(--surface); }
.btn-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  padding: 6px 0;
  transition: gap 0.2s;
}
.btn-link:hover { gap: 8px; }
.btn-link--light { color: var(--accent); }
.link-ghost {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}
.link-ghost:hover { color: var(--text); }

/* ============ NAVIGATION ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  height: 68px;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
}
.nav__logo-mark {
  font-size: 22px;
  filter: hue-rotate(-5deg);
}
.nav__logo-en {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.nav__links {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s;
}
.nav__links a:hover { color: var(--text); }
.nav__cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav__toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 148px 0 96px;
  overflow: hidden;
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(255, 106, 0, 0.08), transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(255, 106, 0, 0.04), transparent 50%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: white;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.15);
}
.hero__title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
}
.hero__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero__trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============ HERO VISUAL ============ */
.hero__visual {
  position: relative;
  height: 520px;
}
.hero__card {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.hero__card--main {
  top: 20px;
  left: 0;
  right: 40px;
  bottom: 60px;
  overflow: hidden;
}
.hero__card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.dots {
  display: flex;
  gap: 5px;
}
.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}
.dots span:nth-child(1) { background: #ff5f57; }
.dots span:nth-child(2) { background: #febc2e; }
.dots span:nth-child(3) { background: #28c840; }
.hero__card-tab {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.hero__card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.skill-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.skill-row:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.skill-row__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-size: 18px;
  flex-shrink: 0;
}
.skill-row__main { flex: 1; min-width: 0; }
.skill-row__title {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.skill-row__meta {
  font-size: 12px;
  color: var(--text-muted);
}
.skill-row__price { text-align: right; flex-shrink: 0; }
.skill-row__buy {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.skill-row__rent {
  font-size: 11px;
  color: var(--text-muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.badge--verified {
  background: var(--accent-soft);
  color: var(--accent);
}

.hero__card--api {
  bottom: 0;
  right: 0;
  width: 280px;
  padding: 14px;
  z-index: 2;
}
.hero__card--provider {
  top: 0;
  right: -10px;
  width: 200px;
  padding: 14px;
  z-index: 2;
}
.hero__card-mini-title {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.hero__card-mini-text {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.status-dot--green {
  box-shadow: 0 0 0 3px var(--green-soft);
}

.code-block {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin: 0;
  color: var(--text);
  line-height: 1.6;
  overflow-x: auto;
}
.code-block--dark {
  background: #1a120c;
  color: #f5f5f0;
  border-color: #2a1f17;
  font-size: 13px;
  padding: 20px;
  margin-top: 20px;
}
.code-block--mini { font-size: 11px; padding: 12px; }
.t-green { color: var(--green); }
.code-block--dark .t-green { color: #5dd68a; }
.t-gray { color: var(--text-muted); }

/* ============ TRUST BAR ============ */
.trust-bar {
  background: var(--accent-ink);
  color: white;
  padding: 32px 0;
}
.trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-bar__item {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.trust-bar__item:last-child { border-right: none; }
.trust-bar__num {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.trust-bar__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* ============ PAIN POINTS ============ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.2s;
}
.pain-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.pain-card__icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.pain-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.pain-card p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* ============ STEPPER ============ */
.stepper {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
}
.step {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.step__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-weight: 600;
}
.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--text-secondary);
}
.step__connector {
  width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.step__connector::before {
  content: '';
  width: 100%;
  height: 1px;
  background: var(--border-strong);
  border-top: 1px dashed var(--border-strong);
  background: none;
}

/* ============ VERIFIED GRID ============ */
.verified-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.verified-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.verified-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
}
.verified-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.verified-card:hover::before { opacity: 1; }
.verified-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.verified-card__rating {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}
.verified-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.verified-card p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 16px;
}
.verified-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.verified-card__tags span {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--surface);
  padding: 4px 10px;
  border-radius: 99px;
}

/* ============ CATEGORY GRID ============ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.category-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.2s;
}
.category-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.category-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius);
  font-size: 24px;
  margin-bottom: 16px;
}
.category-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.category-card p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.6;
}
.category-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.category-card__tags span {
  font-size: 11px;
  color: var(--text-secondary);
  background: var(--surface);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 500;
}

/* ============ DUAL ACCESS ============ */
.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.dual-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
}
.dual-card--dark {
  background: var(--accent-ink);
  color: white;
  border-color: var(--accent-ink);
}
.dual-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  background: var(--surface-strong);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.dual-card__tag--dark {
  background: rgba(255, 106, 0, 0.15);
  color: var(--accent);
}
.dual-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}
.dual-card__sub {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-weight: 500;
}
.dual-card--dark .dual-card__sub {
  color: rgba(255, 255, 255, 0.6);
}
.dual-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
}
.dual-card--dark p {
  color: rgba(255, 255, 255, 0.75);
}

.mock-ui {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 24px;
}
.mock-ui__header {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: white;
}
.mock-ui__body { padding: 20px; }
.mock-ui__title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
}
.mock-ui__row {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.mock-ui__bar {
  display: flex;
  gap: 10px;
}
.mock-ui__btn {
  padding: 8px 14px;
  border-radius: 6px;
  background: white;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
}
.mock-ui__btn--primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.api-flow {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.api-flow__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  text-align: center;
}
.api-flow__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.api-flow__step {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
}
.api-flow__arrow {
  color: var(--accent);
  font-weight: 700;
}

/* ============ PROOF ============ */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.proof-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.proof-card__media {
  height: 180px;
  background: var(--surface);
  border-radius: var(--radius);
  margin-bottom: 20px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.proof-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.proof-card p {
  color: var(--text-secondary);
  font-size: 14px;
}

.proof-doc {
  width: 100%;
  padding: 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.proof-doc__line {
  height: 6px;
  background: var(--surface-strong);
  border-radius: 3px;
}
.proof-doc__line--title {
  height: 10px;
  width: 60%;
  background: var(--accent);
}
.proof-doc__line--short { width: 50%; }
.proof-doc__table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 6px 0;
}
.proof-doc__table div {
  height: 12px;
  background: var(--surface-strong);
  border-radius: 2px;
}

.proof-compare {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.proof-compare__col {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
}
.proof-compare__col--before {
  background: white;
  border: 1px solid var(--border);
}
.proof-compare__col--after {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
}
.proof-compare__label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.proof-compare__value {
  font-size: 22px;
  font-weight: 700;
}
.proof-compare__col--after .proof-compare__value { color: var(--accent); }
.proof-compare__arrow {
  font-size: 20px;
  color: var(--accent);
  font-weight: 700;
}

/* ============ PROVIDER ============ */
.section--provider { background: var(--surface); }
.provider-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.provider-left { position: sticky; top: 96px; }
.provider-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.provider-feature {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.provider-feature__icon {
  font-size: 24px;
  margin-bottom: 12px;
}
.provider-feature h4 {
  font-size: 16px;
  margin-bottom: 8px;
}
.provider-feature p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============ PRICING ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.2s;
}
.pricing-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.pricing-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.pricing-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  background: var(--surface);
  color: var(--text-secondary);
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.pricing-card__tag--accent {
  background: var(--accent-soft);
  color: var(--accent);
}
.pricing-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.pricing-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}
.pricing-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pricing-card__list li {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ============ SECURITY ============ */
.security-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.security-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
}
.security-item__icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.security-item h4 {
  font-size: 15px;
  margin-bottom: 8px;
}
.security-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ============ ECOSYSTEM ============ */
.section--ecosystem {
  background: var(--accent-ink);
  color: white;
}
.section--ecosystem .section__title { color: white; }
.section--ecosystem .section__subtitle { color: rgba(255, 255, 255, 0.7); }
.section--ecosystem .section__eyebrow {
  background: rgba(255, 106, 0, 0.15);
  color: var(--accent);
}
.ecosystem-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.ecosystem-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 32px 0 24px;
}
.ecosystem-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
}

/* ============ FAQ ============ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--text-muted);
  font-weight: 400;
  transition: transform 0.2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* ============ FINAL CTA ============ */
.final-cta {
  padding: 96px 0;
  background: linear-gradient(135deg, #fffaf5 0%, #ffe8d4 100%);
  text-align: center;
}
.final-cta__title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.final-cta__subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.65;
}
.final-cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ FOOTER ============ */
.footer {
  background: #0e0905;
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__brand .nav__logo-text { color: white; }
.footer__brand .nav__logo-en { color: rgba(255, 255, 255, 0.5); }
.footer__tagline {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col h5 {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}
.footer__col a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.15s;
}
.footer__col a:hover { color: white; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}
.footer__links { display: flex; gap: 24px; }
.footer__links a { color: rgba(255, 255, 255, 0.4); }
.footer__links a:hover { color: white; }

/* ============ HERO PRICING LINE ============ */
.hero__pricing-line {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.pricing-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  background: white;
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 99px;
  font-weight: 500;
}
.pricing-pill strong {
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
}
.pricing-pill--accent {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.pricing-pill--accent strong { color: var(--accent); }

/* ============ HERO LOBSTER MINI GRID ============ */
.lobster-grid-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.lobster-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  transition: all 0.2s;
}
.lobster-mini:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}
.lobster-mini span {
  font-size: 22px;
  line-height: 1;
}
.lobster-mini div {
  font-size: 12px;
  font-weight: 600;
}
.lobster-mini small {
  font-size: 10px;
  color: var(--text-muted);
}

/* ============ HERO PROGRESS ============ */
.hero__progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.hero__progress-bar {
  flex: 1;
  height: 6px;
  background: var(--surface-strong);
  border-radius: 3px;
  overflow: hidden;
}
.hero__progress-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
}
.hero__progress-meta {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-mono);
}

/* ============ LOBSTER GRID (6 cards) ============ */
.lobster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lobster-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.lobster-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.lobster-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.lobster-card:hover::before { transform: scaleX(1); }
.lobster-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.lobster-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius);
  font-size: 28px;
}
.lobster-card__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.lobster-card h3 {
  font-size: 22px;
  margin-bottom: 6px;
}
.lobster-card__sub {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}
.lobster-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}
.lobster-card__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin-bottom: 18px;
  padding: 14px;
  background: var(--surface);
  border-radius: var(--radius-sm);
}
.lobster-card__features div {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.lobster-card__fit {
  font-size: 12px;
  color: var(--text-secondary);
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.lobster-card__fit-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 6px;
  border-radius: 3px;
  margin-right: 6px;
  letter-spacing: 0.05em;
}

/* ============ PRICING TWO ============ */
.pricing-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.pricing-card-big {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card-big--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.pricing-card-big__tag {
  position: absolute;
  top: -12px;
  left: 32px;
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  background: var(--text);
  color: white;
  padding: 6px 12px;
  border-radius: 99px;
  letter-spacing: 0.02em;
}
.pricing-card-big__tag--accent {
  background: var(--accent);
}
.pricing-card-big h3 {
  font-size: 28px;
  margin-bottom: 8px;
}
.pricing-card-big__sub {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}
.pricing-card-big__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}
.pricing-card-big__currency {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-secondary);
}
.pricing-card-big__num {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pricing-card-big__unit {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}
.btn--block {
  display: flex;
  width: 100%;
}
.pricing-card-big__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 28px 0 20px;
  flex: 1;
}
.pricing-card-big__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.pricing-card-big__list .check { margin-top: 2px; }
.pricing-card-big__bundle {
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ============ COMPARE TABLE ============ */
.compare-table {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-table__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.compare-table__row:last-child { border-bottom: none; }
.compare-table__row > div:first-child {
  font-weight: 600;
  color: var(--text);
}
.compare-table__row > div:not(:first-child) {
  color: var(--text-secondary);
}
.compare-table__row--head {
  background: var(--surface);
  font-weight: 700;
}
.compare-table__row--head > div:not(:first-child) {
  color: var(--text);
}

/* ============ TRIAL BOX ============ */
.trial-box {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px;
  box-shadow: var(--shadow-soft);
}
.trial-box__left .section__title {
  font-size: 36px;
  margin-bottom: 16px;
}
.trial-box__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.trial-box__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}

.trial-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.trial-form__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.trial-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.trial-form label span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.trial-form input,
.trial-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: white;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.15s;
}
.trial-form input:focus,
.trial-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.trial-form__note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}
.trial-form__note a { color: var(--accent); }

/* ============ FINAL CTA CONTACT ============ */
.final-cta__contact {
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-secondary);
}
.final-cta__contact strong {
  color: var(--text);
  font-weight: 600;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { height: 480px; max-width: 560px; }
  .lobster-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(3, 1fr); }
  .stepper { grid-template-columns: 1fr 1fr; }
  .step__connector { display: none; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .trial-box { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
}
@media (max-width: 768px) {
  .nav__links, .nav__cta .link-ghost { display: none; }
  .nav__toggle { display: flex; }
  .hero { padding: 120px 0 64px; }
  .hero__title { font-size: 40px; }
  .section { padding: 64px 0; }
  .section__title, .final-cta__title { font-size: 32px; }
  .hero__trust { grid-template-columns: 1fr; }
  .pain-grid, .proof-grid, .lobster-grid, .pricing-two { grid-template-columns: 1fr; }
  .trial-box { padding: 24px; }
  .pricing-card-big { padding: 32px 24px; }
  .pricing-card-big__num { font-size: 44px; }
  .compare-table__row { grid-template-columns: 1fr; gap: 4px; padding: 12px 16px; }
  .compare-table__row > div:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    color: var(--text-muted);
  }
  .hero__pricing-line { flex-direction: column; align-items: flex-start; }
  .provider-grid { grid-template-columns: 1fr; gap: 32px; }
  .provider-left { position: static; }
  .stepper { grid-template-columns: 1fr; }
  .trust-bar__inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .trust-bar__item:nth-child(2) { border-right: none; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; gap: 12px; }
  .api-flow__steps { flex-direction: column; }
  .api-flow__arrow { transform: rotate(90deg); }
  .hero__card--api { width: 240px; }
  .hero__card--provider { width: 160px; }
}
