/* Reveedo official site — shared styles
   品牌视觉跟随 App 图标：荧光黄绿 #C6F84E → 青 #29D3F5 → 蓝 #2A7CFF，深色底
   换域名：双击 替换域名.command
*/

:root {
  --lime: #C6F84E;
  --cyan: #29D3F5;
  --blue: #2A7CFF;
  --grad: linear-gradient(96deg, #C6F84E 0%, #29D3F5 62%, #2A7CFF 100%);
  --bg: #07090E;
  --bg-2: #0B0F16;
  --surface: rgba(255,255,255,.045);
  --surface-2: rgba(255,255,255,.07);
  --line: rgba(255,255,255,.10);
  --line-2: rgba(255,255,255,.16);
  --ink: #EEF3F7;
  --ink-2: #C2CBDA;
  --muted: #8E99AE;
  --radius: 18px;
  --max: 1160px;
}

/* ⚠️ 渐变 + 边框的坑（勿删）：
   默认 background-origin: padding-box、background-repeat: repeat。
   元素若有边框（如 .btn 的 1px 透明边框），渐变会先按 padding-box 尺寸画一遍，
   再平铺到 border-box，最外侧那 1px 边框就会露出「下一块渐变的起点色」——
   按钮边缘因此出现一条 1px 亮黄绿细线（看着像白条）。
   修法：background-origin: border-box; background-repeat: no-repeat;
   ⚠️ 这两行必须写在同一条规则的 background 简写「之后」，
      否则 background 简写会把它们重置回默认值，修复失效。 */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,9,14,.78);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 21px; font-weight: 800; letter-spacing: -.3px; color: #fff;
}
.logo:hover { text-decoration: none; }
.logo-mark { width: 32px; height: 32px; border-radius: 10px; object-fit: cover; box-shadow: 0 6px 18px rgba(41,211,245,.22); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a:not(.btn) { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn):hover, .nav-links a.active { color: #fff; text-decoration: none; }
.nav-links a.btn { color: #06131A; }
.nav-toggle { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 11px; font-size: 15px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; transition: .18s ease;
  flex: 0 0 auto; white-space: nowrap; line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:focus { outline: none; }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn-primary {
  background: var(--grad);
  background-origin: border-box;   /* 必须紧跟 background 之后，见文件顶部说明 */
  background-repeat: no-repeat;
  color: #06131A; box-shadow: 0 12px 30px rgba(41,211,245,.24);
}
.btn-primary:hover { box-shadow: 0 16px 38px rgba(41,211,245,.34); }
.btn-ghost { background: var(--surface); color: #fff; border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 9px 18px; font-size: 14px; gap: 8px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.play-ico { width: 18px; height: 18px; flex: none; }
.btn-sm .play-ico { width: 15px; height: 15px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 92px 0 84px;
  background:
    radial-gradient(760px 420px at 10% -12%, rgba(198,248,78,.13), transparent 62%),
    radial-gradient(820px 440px at 96% 4%, rgba(41,211,245,.16), transparent 62%),
    radial-gradient(700px 400px at 60% 110%, rgba(42,124,255,.14), transparent 60%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #06131A; background: var(--grad);
  background-origin: border-box; background-repeat: no-repeat;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 22px;
}
h1 {
  font-size: clamp(38px, 5.4vw, 62px); line-height: 1.08; letter-spacing: -1.6px; margin: 0 0 18px;
  background: linear-gradient(180deg, #FFFFFF 55%, #C0CCDE 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 20px; color: var(--ink); font-weight: 600; margin: 0 0 14px; }
.hero p.lead { font-size: 17px; color: var(--muted); margin: 0 0 32px; max-width: 570px; }

/* hero visual：手机框 + 真实 App 界面截图 */
.hero-visual { position: relative; width: 100%; max-width: 322px; margin: 0 auto; }
.hero-visual .glow {
  position: absolute; inset: -6% -14% -2% -14%;
  background: radial-gradient(closest-side, rgba(41,211,245,.34), transparent 72%);
  filter: blur(26px); z-index: 0;
}
.hero-visual .shot {
  position: relative; z-index: 1;
  border-radius: 32px; padding: 9px;
  background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.045) 46%, rgba(255,255,255,.10));
  border: 1px solid var(--line-2);
  box-shadow: 0 36px 84px rgba(0,0,0,.62), 0 0 0 1px rgba(0,0,0,.35);
}
.hero-visual .shot img {
  display: block; width: 100%; height: auto;
  border-radius: 24px; background: #05070B;
}
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px;
  background: rgba(12,16,23,.86); backdrop-filter: blur(8px);
  border: 1px solid var(--line-2); border-radius: 14px;
  padding: 10px 15px; font-size: 13px; font-weight: 600; color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
}
.float-card.a { top: 42px; left: -40px; }
.float-card.b { bottom: 52px; right: -34px; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-soft { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.8px; margin: 0 0 14px; color: #fff; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

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

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--surface-2); }
.card .ico {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  font-size: 24px; margin-bottom: 18px;
  background: linear-gradient(150deg, rgba(198,248,78,.22), rgba(41,211,245,.20));
  border: 1px solid var(--line);
}
.card h3 { margin: 0 0 10px; font-size: 19px; letter-spacing: -.2px; color: #fff; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step .num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad);
  background-origin: border-box; background-repeat: no-repeat;
  color: #06131A; font-weight: 800; margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; font-size: 18px; color: #fff; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* 公司官网：正文段 + 产品卡 */
.prose { max-width: 780px; margin: 0 auto; text-align: center; }
.prose p { color: var(--ink-2); font-size: 17px; margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }
.info-wrap { max-width: 880px; margin: 0 auto; }

.product-card {
  display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: 34px 32px; max-width: 880px; margin: 0 auto; transition: .2s ease;
}
.product-card:hover { text-decoration: none; transform: translateY(-4px); border-color: var(--line-2); background: var(--surface-2); }
.product-card .p-logo { width: 200px; height: 200px; border-radius: 40px; box-shadow: 0 20px 50px rgba(41,211,245,.20); }
.product-card h3 { font-size: 27px; margin: 0 0 10px; color: #fff; letter-spacing: -.4px; }
.product-card p { color: var(--muted); font-size: 16.5px; margin: 0 0 18px; }
.product-card .tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 13px; margin-bottom: 14px;
}
.product-card .link-arrow { color: var(--cyan); font-weight: 700; font-size: 15.5px; }

/* feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.feature-row + .feature-row { margin-top: 74px; }
.feature-row.reverse .feature-art { order: -1; }
.feature-art {
  aspect-ratio: 4/3; border-radius: 24px; border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(198,248,78,.10), rgba(41,211,245,.12));
  display: grid; place-items: center; font-size: 58px;
}
.feature-row h3 { font-size: 26px; margin: 0 0 12px; letter-spacing: -.4px; color: #fff; }
.feature-row p { color: var(--muted); font-size: 16.5px; margin: 0; }

/* CTA */
.cta {
  text-align: center; padding: 88px 0;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(41,211,245,.14), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.cta h2 { font-size: clamp(28px, 3.4vw, 38px); margin: 0 0 12px; letter-spacing: -.7px; color: #fff; }
.cta p { color: var(--muted); margin: 0 0 30px; }
.cta .btn-row { justify-content: center; }

/* ---------- Legal / text pages ---------- */
.doc { max-width: 800px; margin: 0 auto; padding: 72px 24px 96px; }
.doc h1 {
  font-size: 40px; margin: 0 0 10px; letter-spacing: -1px; color: #fff;
}
.doc .updated { color: var(--muted); font-size: 15px; margin: 0 0 42px; }
.doc h2 { font-size: 22px; margin: 46px 0 12px; letter-spacing: -.3px; color: #fff; }
.doc h3 { font-size: 17.5px; margin: 30px 0 8px; color: var(--ink); }
.doc p, .doc li { color: var(--ink-2); font-size: 16.2px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc address { font-style: normal; color: var(--ink-2); }
.info-table { width: 100%; border-collapse: collapse; margin: 8px 0 0; }
.info-table th, .info-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 16px; }
.info-table th { width: 240px; color: var(--muted); font-weight: 600; }
.info-table td { color: var(--ink); }
.note {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 20px; font-size: 15.5px; color: var(--ink-2); margin: 22px 0;
}
.note a { word-break: break-all; }

/* contact cards */
.mail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mail-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.mail-card h3 { margin: 0 0 10px; font-size: 18px; color: #fff; }
.mail-card p { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.mail-card .mail { font-weight: 700; font-size: 16px; word-break: break-all; }

/* ---------- Footer ---------- */
.site-footer { background: #05070B; border-top: 1px solid var(--line); color: var(--muted); padding: 66px 0 30px; }
/* 公司官网 4 栏：品牌 + Company + Products + Legal */
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 15px; margin: 0 0 16px; letter-spacing: .02em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--muted); font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { font-size: 20px; margin-bottom: 14px; }
.footer-desc { font-size: 14.5px; color: var(--muted); max-width: 300px; }
.footer-legal { border-top: 1px solid var(--line); margin-top: 46px; padding-top: 26px; font-size: 13.5px; color: #6E7889; }
.footer-legal p { margin: 0 0 6px; }
.footer-legal strong { color: var(--ink-2); }
.cn { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .grid-3, .steps, .mail-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row.reverse .feature-art { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-card.a { left: -12px; }
  .float-card.b { right: -12px; }
}
@media (max-width: 700px) {
  .nav-links {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: #080B11; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 10px 0; font-size: 16px; }
  .nav-links a.btn { padding: 11px 20px; font-size: 15px; margin-top: 8px; }
  .nav-toggle { display: block; }
  .grid-3, .steps, .mail-grid, .footer-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 1fr; gap: 22px; padding: 26px 22px; }
  .product-card .p-logo { width: 130px; height: 130px; border-radius: 30px; }
  section { padding: 62px 0; }
  .hero { padding: 62px 0 56px; }
  .doc h1 { font-size: 32px; }
  .info-table th { width: auto; display: block; padding-bottom: 2px; border: 0; }
  .info-table td { display: block; padding-top: 0; }
  .info-table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
}
