/* ============================================================
   en-landing.css — English landing page only
   remove.bg-inspired marketing layout for /en/index.html.
   Scoped to html so no other locale is affected.
   All functional nodes (dropzone/result/editor/scenes) are kept;
   this file only restyles and adds presentational sections.
   ============================================================ */

/* ── 紫色品牌主题（与中文站 styles.css 完全一致）───────────────
   2026-11-21：原先英文页单独走 #2f6fed 蓝，中文站是紫，全站观感割裂。
   现在两套皮肤共用同一份调色板，改色只改这一处 + styles.css。 */
html {
  --accent: #7c3aed;        /* 主紫 */
  --accent-2: #a855f7;      /* 紫粉 */
  /* 与 styles.css 同一条品牌渐变：品红 → 紫 → 深紫 */
  --grad-brand: linear-gradient(118deg, #d61f7a 0%, #8b2fe0 54%, #5b21b6 100%);
  --shadow: 0 10px 30px rgba(124, 58, 237, 0.10);
  --shadow-hover: 0 16px 40px rgba(124, 58, 237, 0.16);
  --panel-2: #f4f2fb;
  --border: #e8e4f3;
  --text: #1f2233;
  --muted: #6c7088;
}

/* 背景光晕与中文站一致（右上淡紫 + 左侧极淡紫粉） */
html body {
  background:
    radial-gradient(1200px 520px at 88% -60px, rgba(167, 139, 250, 0.12), transparent 62%),
    radial-gradient(950px 440px at -12% 34%, rgba(168, 85, 247, 0.07), transparent 60%),
    #ffffff;
  background-attachment: fixed;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

html a { color: var(--accent); }

/* ── topbar: keep the functional nav, make it flatter ───────── */
html .topbar {
  padding: 12px 30px;
  border-bottom: 1px solid #ece7f6;
  background: #fff;
}
html .brand { font-size: 22px; letter-spacing: -0.6px; }
/* 品牌区变成 <a> 后会被 html a 的蓝色规则覆盖，这里按同等权重改回深色 */
html .topbar .brand { color: var(--text); text-decoration: none; }
html .topbar .brand:hover { text-decoration: none; opacity: 0.88; }

html .brand .logo-dot {
  background: var(--grad-brand);
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.35);
}
html .topbar nav a { font-size: 13.5px; color: #5f6379; }
html .nav-cta .primary { border-radius: 999px; }

/* ── announcement bar (blue, like remove.bg) ────────────────── */
.rb-announce {
  margin: 0;
  padding: 11px 20px;
  background: #f3ebff;
  color: #6d28d9;
  font-size: 13.5px;
  line-height: 1.5;
  text-align: center;
}
.rb-announce b { color: #4c1d95; }
.rb-announce a { color: #6d28d9; text-decoration: underline; }

/* ── hero ===================================================== */
.rb-hero {
  text-align: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 20px 8px;
}
.rb-hero-figure {
  margin: 0 auto 14px;
  width: 268px;
  max-width: 70vw;
  height: 268px;
  max-height: 70vw;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(45deg, #ece7f6 25%, transparent 25%) 0 0/18px 18px,
    linear-gradient(-45deg, #ece7f6 25%, transparent 25%) 0 9px/18px 18px,
    linear-gradient(45deg, transparent 75%, #ece7f6 75%) 9px -9px/18px 18px,
    linear-gradient(-45deg, transparent 75%, #ece7f6 75%) -9px 0/18px 18px,
    #fff;
  box-shadow: 0 8px 30px rgba(38, 30, 72, 0.08);
  position: relative;
}
.rb-hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rb-hero-figure .rb-fig-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(31, 34, 51, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.rb-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(38px, 6.2vw, 64px);
  line-height: 1.06;
  letter-spacing: -1.6px;
  font-weight: 800;
  color: #1f2233;
}
.rb-free {
  margin: 0 0 12px;
  font-size: clamp(17px, 2.4vw, 23px);
  font-weight: 600;
  color: #2e3145;
}
.rb-free b { font-weight: 800; color: #1f2233; }
/* 首屏小字（P2-13）：预览上限与「不可下载」必须在第一屏说清，
   别让用户点开预览才发现拿不走成品 —— 这是退款与差评的主要来源。 */
.rb-hero-micro {
  margin: -14px auto 24px;
  max-width: 560px;
  font-size: 13px;
  line-height: 1.6;
  color: #6b6f85;
}
.rb-pill {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.82em;
  font-weight: 800;
  padding: 3px 14px;
  border-radius: 999px;
  vertical-align: 2px;
  margin-left: 4px;
}
.rb-hero-sub {
  margin: 0 auto 26px;
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
}

/* upload panel: the dropzone becomes the big blue button */
.rb-upload {
  max-width: 620px;
  margin: 0 auto;
  padding: 22px 22px 16px;
  border-radius: 18px;
  border: 1px solid #e8e4f3;
  box-shadow: 0 14px 40px rgba(48, 38, 92, 0.07);
}
.rb-upload .dropzone {
  border: 0;
  background: var(--grad-brand);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 17px 24px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.32);
  transition: transform 0.15s, box-shadow 0.15s;
}
.rb-upload .dropzone:hover,
.rb-upload .dropzone.dragover {
  background: var(--grad-brand);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.38);
}
.rb-upload .dropzone.locked { opacity: 0.7; transform: none; }
.rb-drop-hint {
  margin: 12px 0 4px;
  color: var(--muted);
  font-size: 13.5px;
}
.rb-upload .progress { max-width: 420px; margin: 10px auto 0; }
.rb-upload .status { margin: 8px 0 0; }
.rb-upload .auto-note { max-width: 460px; margin: 8px auto 0; text-align: center; }

/* try-these thumbnails */
.rb-tries { margin: 26px auto 0; max-width: 620px; }
.rb-tries > p { margin: 0 0 10px; color: #3a3d50; font-size: 13.5px; font-weight: 600; }
.rb-thumbs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.rb-thumbs .example-card {
  display: block;
  width: 62px;
  height: 62px;
  padding: 0;
  border: 2px solid #e8e4f3;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}
.rb-thumbs .example-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.rb-thumbs .example-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── generic marketing section =============================== */
.rb-section { max-width: 1180px; margin: 0 auto; padding: 64px 20px; }
.rb-section--soft { background: #fbf9ff; max-width: none; }
.rb-section--soft > .rb-inner { max-width: 1180px; margin: 0 auto; }
.rb-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}
.rb-section h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -1px;
  font-weight: 800;
  color: #1f2233;
}
.rb-lead {
  margin: 0 auto;
  max-width: 700px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

/* quality tabs + showcase */
.rb-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 26px 0 22px; }
.rb-tab {
  border: 1px solid #e6e1f2;
  background: #fff;
  color: #4e5167;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}
.rb-tab:hover { border-color: var(--accent); color: var(--accent); }
.rb-tab.is-active { background: #f3ebff; border-color: #ddd0fb; color: #6d28d9; }
.rb-showcase {
  max-width: 760px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e8e4f3;
  box-shadow: 0 14px 40px rgba(48, 38, 92, 0.08);
  background: #fff;
}
.rb-showcase-img { width: 100%; height: auto; display: block; }
.rb-showcase-cap {
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid #ece7f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.rb-showcase-cap button { font-size: 13.5px; }

/* feature cards */
.rb-cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 30px; }
.rb-card {
  background: #fff;
  border: 1px solid #e8e4f3;
  border-radius: 16px;
  padding: 24px 22px;
  text-align: left;
  box-shadow: 0 6px 20px rgba(48, 38, 92, 0.05);
}
.rb-card .rb-ico {
  width: 42px; height: 42px; border-radius: 12px;
  background: #f3ebff; color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 14px;
}
.rb-card h3 { margin: 0 0 8px; font-size: 17px; color: #1f2233; }
.rb-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* editorial split */
.rb-split { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; align-items: center; }
.rb-split h2 { text-align: left; }
.rb-split .rb-lead { margin: 0; text-align: left; }
.rb-split-visual {
  border-radius: 18px; overflow: hidden; border: 1px solid #e8e4f3;
  box-shadow: 0 14px 40px rgba(48, 38, 92, 0.08); background: #fff;
}
.rb-split-visual img { width: 100%; height: auto; display: block; }

/* final CTA */
.rb-cta { text-align: center; padding: 70px 20px 78px; }
.rb-cta h2 { margin-bottom: 14px; }
.rb-cta-btn {
  display: inline-block;
  border: 0;
  background: var(--grad-brand);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  padding: 15px 48px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.32);
}
.rb-cta-btn:hover { color: #fff; box-shadow: 0 12px 28px rgba(124, 58, 237, 0.4); }

/* ── make existing functional sections blend in ─────────────── */
html main { max-width: 1180px; }
html .panel { border-radius: 18px; border-color: #e8e4f3; }
html .scenes h2,
html .feature-split h3 { letter-spacing: -0.5px; }

/* ── responsive =============================================== */
@media (max-width: 760px) {
  html .topbar { padding: 10px 16px; }
  html .topbar nav a { padding: 6px 8px; margin-left: 2px; }
  .rb-hero { padding: 18px 16px 4px; }
  .rb-hero-figure { width: 200px; height: 200px; max-width: 62vw; max-height: 62vw; }
  .rb-hero h1 { letter-spacing: -1px; }
  .rb-section { padding: 46px 16px; }
  .rb-split { grid-template-columns: 1fr; }
  .rb-split h2, .rb-split .rb-lead { text-align: center; }
  .rb-split .rb-lead { margin: 0 auto; }
}
