/* ==========================================================================
   Ocean Ads — v2 styles  (performance media buying agency)
   ========================================================================== */

:root {
  --navy: #08152f;
  --navy2: #12264f;
  --blue: #2563eb;
  --blue2: #4f8cff;
  --cyan: #22d3ee;
  --mint: #34d399;
  --ink: #0d1b2a;
  --ink2: #334155;
  --muted: #64748b;
  --line: #e6ebf2;
  --bg: #ffffff;
  --soft: #f6f9ff;
  --wash: #eef4ff;
  --radius: 18px;
  --max: 1200px;
  --shadow: 0 18px 50px rgba(9, 24, 54, .10);
  --shadow-sm: 0 6px 20px rgba(9, 24, 54, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.03em; font-size: 19px; }
.logo .mark {
  width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: grid; place-items: center; color: #fff; font-size: 16px; font-weight: 900;
  box-shadow: 0 6px 16px rgba(37,99,235,.35);
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 14.5px; color: var(--ink2); font-weight: 550; }
.nav-links a:hover { color: var(--blue); }
.nav-side { display: flex; align-items: center; gap: 14px; }
.lang {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 6px;
  background: #fff; font-size: 12.5px; font-weight: 700;
}
.lang button {
  border: 0; background: transparent; color: var(--muted);
  padding: 3px 9px; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 700;
}
.lang button.active { background: var(--blue); color: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px;
  font-size: 14.5px; font-weight: 650; border: 1px solid transparent;
  transition: .18s ease; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(37,99,235,.28); }
.btn-primary:hover { background: #1d4fd0; transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: #b9c6da; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eaf1ff; transform: translateY(-2px); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 21px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 460px at 82% -6%, rgba(34,211,238,.20), transparent 62%),
    radial-gradient(640px 420px at 8% 30%, rgba(37,99,235,.30), transparent 65%),
    linear-gradient(135deg, #07132e 0%, #0d224c 55%, #0a1a3c 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .28; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 88%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 88%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; padding: 84px 0 88px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(52,211,153,.18); }
.hero h1 { font-size: clamp(38px, 4.9vw, 60px); line-height: 1.06; letter-spacing: -.038em; margin: 0 0 20px; font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #7cc0ff, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 17px; color: #b9c8e0; max-width: 560px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: #fff; }
.hero .btn-ghost:hover { background: rgba(255,255,255,.12); }

/* platform badge row */
.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.platforms .pl {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 9px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  font-size: 13px; font-weight: 650; color: #e6eefc;
}
.platforms .pl i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.pl.g i { background: #ea4335; } .pl.m i { background: #1877f2; }
.pl.t i { background: #25f4ee; } .pl.b i { background: #ff6b35; }

/* dashboard mock */
.hero-visual { position: relative; }
.hero-visual::before {
  content:""; position:absolute; inset:-28px -18px; z-index:0;
  background: radial-gradient(420px 300px at 60% 45%, rgba(79,140,255,.35), transparent 70%);
}
.dash {
  position: relative; z-index: 1;
  background: #fff; color: var(--ink); border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.42); overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
}
.dash-top {
  display:flex; align-items:center; gap:8px; padding:12px 16px;
  background:#f8fafc; border-bottom:1px solid var(--line);
}
.dash-top .dots { display:flex; gap:5px; }
.dash-top .dots i { width:8px; height:8px; border-radius:50%; background:#d7dee8; }
.dash-top .dots i:first-child { background:#ff6b6b; }
.dash-top .dots i:nth-child(2) { background:#ffc14d; }
.dash-top .dots i:nth-child(3) { background:#4ac26b; }
.dash-top .t { font-size:11px; font-weight:700; color:var(--muted); margin-left:8px; }
.dash-body { padding:18px; }
.dash-kpis { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.kpi { background:var(--soft); border:1px solid var(--line); border-radius:10px; padding:12px; }
.kpi span { font-size:10px; color:var(--muted); display:block; }
.kpi b { font-size:19px; letter-spacing:-.03em; display:block; margin-top:3px; }
.kpi .up { font-size:10px; color:#0f9d63; font-weight:700; }
.kpi .down { font-size:10px; color:#e11d48; font-weight:700; }
.dash-chart { margin-top:14px; background:var(--soft); border:1px solid var(--line); border-radius:10px; padding:12px; }
.dash-chart .ct { display:flex; justify-content:space-between; font-size:10.5px; color:var(--muted); margin-bottom:6px; }
.dash-chart svg { width:100%; height:86px; display:block; }
.dash-rows { margin-top:12px; }
.dash-row { display:flex; align-items:center; gap:9px; padding:8px 4px; border-bottom:1px dashed var(--line); font-size:11px; }
.dash-row:last-child { border-bottom:0; }
.dash-row .flag { width:22px; height:15px; border-radius:3px; display:grid; place-items:center; font-size:9px; background:var(--wash); color:var(--blue); font-weight:800; }
.dash-row .nm { flex:1; color:var(--ink2); font-weight:600; }
.dash-row .v { font-weight:700; }
.dash-row .v.good { color:#0f9d63; } .dash-row .v.bad { color:#e11d48; }
.float-badge {
  position:absolute; z-index:2; right:-14px; bottom:-18px;
  background:#fff; color:var(--ink); border-radius:12px; padding:11px 15px;
  box-shadow:0 16px 40px rgba(0,0,0,.30); font-size:12px;
}
.float-badge b { color:#0f9d63; }

/* ---------- shared sections ---------- */
section { padding: 88px 0; }
.section-alt { background: var(--soft); border-block: 1px solid var(--line); }
.section-head { max-width: 700px; margin-bottom: 44px; }
.section-head.center { margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.14; letter-spacing: -.035em; margin: 0 0 14px; font-weight: 780; }
.section-head p { color: var(--muted); margin: 0; font-size: 16.5px; }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: .22s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: #cddcf3; }
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  display: grid; place-items: center; font-size: 19px; font-weight: 800;
  background: linear-gradient(135deg, var(--wash), #e2f5ff); color: var(--blue);
}
.card h3 { font-size: 18.5px; margin: 0 0 9px; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 14.2px; }
.card ul li { margin-bottom: 6px; }

/* platform cards */
.plat-card { position: relative; overflow: hidden; }
.plat-card .badge {
  display:inline-grid; place-items:center; width:46px; height:46px; border-radius:13px;
  font-weight:900; font-size:14px; color:#fff; margin-bottom:16px;
}
.plat-card.g .badge { background:linear-gradient(135deg,#ea4335,#fbbc05); }
.plat-card.m .badge { background:linear-gradient(135deg,#1877f2,#42b0ff); }
.plat-card.t .badge { background:linear-gradient(135deg,#111,#25f4ee); }
.plat-card.b .badge { background:linear-gradient(135deg,#ff6b35,#ffb03a); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 26px 22px 22px; background:#fff; border:1px solid var(--line); border-radius:14px; }
.step::before {
  counter-increment: s; content: "0" counter(s);
  position: absolute; top: 18px; right: 20px;
  font-size: 22px; font-weight: 800; color: #dce7fb; letter-spacing: -.03em;
}
.step .si { font-size: 20px; margin-bottom: 10px; }
.step h4 { margin: 0 0 7px; font-size: 16.5px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* split */
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center; }
.split h2 { font-size: clamp(26px, 3vw, 37px); letter-spacing: -.035em; margin: 0 0 16px; line-height: 1.16; }
.split p { color: var(--muted); }
.split ul.tick { list-style:none; padding:0; margin:20px 0 0; }
.split ul.tick li { position:relative; padding-left:28px; margin-bottom:11px; color:var(--ink2); font-size:15px; }
.split ul.tick li::before { content:"✓"; position:absolute; left:0; top:0; color:var(--mint); font-weight:900; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.panel-title { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.panel-title b { font-size:14px; }
.panel-title span { font-size:11px; color:#0f9d63; background:#e8fbf3; padding:4px 9px; border-radius:999px; font-weight:700; }
.panel-row { display:flex; justify-content:space-between; align-items:center; padding:12px 0; border-bottom:1px dashed var(--line); font-size:14px; }
.panel-row:last-child { border-bottom:0; }
.panel-row span { color: var(--muted); }
.panel-row b { font-weight: 700; }
.bar { height: 7px; border-radius: 99px; background: var(--wash); overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg,var(--blue),var(--cyan)); border-radius: 99px; }

/* stats strip */
.stats { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.stat { background:#fff; padding:26px 24px; }
.stat b { display:block; font-size:30px; letter-spacing:-.035em; line-height:1.1; }
.stat span { font-size:13px; color:var(--muted); }

/* CTA */
.cta {
  position:relative; overflow:hidden; color:#fff; border-radius:22px;
  padding:52px 48px; display:flex; align-items:center; justify-content:space-between;
  gap:32px; flex-wrap:wrap;
  background: radial-gradient(600px 300px at 90% 10%, rgba(34,211,238,.28), transparent 60%),
              linear-gradient(120deg,#0a1a3c,#123472);
}
.cta h2 { margin:0 0 10px; font-size:clamp(24px,2.7vw,33px); letter-spacing:-.03em; }
.cta p { margin:0; color:#b9c8e0; max-width:540px; }

/* prose / legal */
.prose { max-width: 800px; }
.prose h1 { font-size: clamp(30px, 3.6vw, 43px); margin-bottom: 10px; letter-spacing:-.03em; }
.prose .updated { color: var(--muted); font-size: 14px; margin-bottom: 34px; }
.prose h2 { font-size: 21px; margin: 36px 0 12px; letter-spacing: -.02em; }
.prose h3 { font-size: 16.5px; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--ink2); font-size: 15.2px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 7px; }
.prose .callout { background: var(--wash); border-left: 3px solid var(--blue); padding:16px 20px; border-radius:0 10px 10px 0; margin:20px 0; }
.prose .callout p { margin:0; color:#173a68; font-size:14.6px; }
.prose table { width:100%; border-collapse:collapse; font-size:14.4px; margin:12px 0 18px; }
.prose th, .prose td { border:1px solid var(--line); padding:10px 12px; text-align:left; vertical-align:top; }
.prose th { background:var(--soft); font-weight:700; }
.prose .zh { border-top:1px solid var(--line); margin-top:54px; padding-top:32px; }

/* contact */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.field { margin-bottom:16px; }
.field label { display:block; font-size:13.5px; font-weight:650; margin-bottom:7px; }
.field input, .field textarea, .field select {
  width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:10px;
  font:inherit; font-size:15px; color:var(--ink); background:#fff;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline:none; border-color:var(--blue); box-shadow:0 0 0 3px rgba(37,99,235,.14);
}
.contact-item { display:flex; gap:14px; padding:18px 0; border-bottom:1px solid var(--line); }
.contact-item:last-child { border-bottom:0; }
.contact-item .k { font-size:13px; color:var(--muted); min-width:104px; }
.contact-item .v { font-size:15px; font-weight:550; }

/* footer */
.site-footer { border-top:1px solid var(--line); padding:58px 0 34px; background:#fff; }
.foot-grid { display:grid; grid-template-columns:1.7fr 1fr 1fr 1fr; gap:34px; margin-bottom:42px; }
.foot-grid h5 { font-size:12px; text-transform:uppercase; letter-spacing:.12em; color:var(--muted); margin:0 0 14px; }
.foot-grid a { display:block; font-size:14.3px; color:var(--ink2); margin-bottom:9px; }
.foot-grid a:hover { color:var(--blue); }
.foot-brand p { color:var(--muted); font-size:14px; max-width:310px; margin:12px 0 0; }
.foot-bottom { display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; border-top:1px solid var(--line); padding-top:22px; font-size:13px; color:var(--muted); }

/* responsive */
@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid { grid-template-columns:1fr; gap:38px; }
  .hero-visual { max-width:520px; }
  .grid-3, .grid-4, .steps, .foot-grid { grid-template-columns:repeat(2,1fr); }
  .nav-links, .nav-side .lang { display:none; }
  .nav-links.open { display:flex; flex-direction:column; position:absolute; top:72px; left:0; right:0; background:#fff; border-bottom:1px solid var(--line); padding:20px 28px; gap:16px; align-items:flex-start; }
  .burger { display:block; }
  .cta { padding:38px 26px; }
  section { padding:66px 0; }
  .hero-grid { padding:60px 0 64px; }
}
@media (max-width: 620px) {
  .grid-3, .grid-4, .steps, .stats, .foot-grid { grid-template-columns:1fr; }
}
