/* ============================================================
   Berise Landing Page — dark tech style, aituber.app-inspired
   ============================================================ */

:root {
  --bg: #050505;
  --surface: #0d0d0f;
  --surface-2: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --text: #f5f5f7;
  --muted: #8a8a90;
  --border: #26262b;
  --accent-1: #ff6a2b;
  --accent-2: #e04018;
  --accent-grad: linear-gradient(135deg, #ff6a2b 0%, #e04018 100%);
  --accent-glow: rgba(255, 94, 32, 0.55);
  --radius: 14px;
  --pill: 9999px;
  --container: 1200px;
  --nav-h: 64px;
  --font-head: "Manrope", "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(var(--container), 100% - 48px); margin: 0 auto; }

/* ── Reusable headings ───────────────────────────────────── */
.section { padding: 96px 0; position: relative; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-1);
  background: rgba(255, 106, 43, 0.1);
  border: 1px solid rgba(255, 106, 43, 0.25);
  padding: 6px 14px;
  border-radius: var(--pill);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

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

.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--pill);
  padding: 12px 26px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 8px 24px -8px var(--accent-glow), 0 2px 6px -2px rgba(0,0,0,.3),
    inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -10px var(--accent-glow); }

.btn-ghost {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface-hover); }

.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 14px; }

/* ── Navbar ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}
.nav.scrolled {
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner {
  width: min(var(--container), 100% - 48px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.nav-logo img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--pill);
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.lang-toggle:hover { background: var(--surface-2); }

.nav-burger { display: none; background: none; border: none; color: var(--text); padding: 8px; }
.nav-burger svg { display: block; }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 99;
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  display: none;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 6px; border-bottom: 1px solid var(--surface-2); color: var(--text); font-weight: 500; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { padding: calc(var(--nav-h) + 72px) 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 620px;
  background:
    radial-gradient(600px 300px at 20% 10%, rgba(255, 106, 43, 0.12), transparent 60%),
    radial-gradient(700px 380px at 80% 20%, rgba(255, 106, 43, 0.08), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--pill);
  padding: 7px 16px;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 28px;
}
.hero-badge .stars { color: #ffb020; letter-spacing: 1px; font-size: 13px; }
.hero-badge strong { color: var(--text); font-weight: 600; }

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(38px, 6.2vw, 67px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 820px;
  margin-bottom: 22px;
}
.hero-title .grad {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  max-width: 620px;
  margin-bottom: 34px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-note { color: var(--muted); font-size: 13.5px; }

.platforms { margin-top: 44px; }
.platforms-label { font-size: 13px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.platform-list { display: flex; flex-wrap: wrap; gap: 10px; }
.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--pill);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.platform-chip:hover { border-color: rgba(255,106,43,.4); background: var(--surface-hover); }
.platform-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-grad); }

/* ── Showcase ────────────────────────────────────────────── */
.showcase { background: var(--surface); border-block: 1px solid var(--border); }
.showcase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.show-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.show-card:hover { transform: translateY(-4px); border-color: rgba(255,106,43,.4); }
.show-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.show-card .cap {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; font-size: 14.5px; font-weight: 500;
}
.show-card .cap .idx { color: var(--muted); font-size: 13px; font-family: var(--font-head); }
.show-card.span-2 { grid-column: span 2; }

/* ── Capability cards (Any Video. Any Language.) ────────── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { background: var(--surface-hover); border-color: rgba(255,106,43,.35); transform: translateY(-3px); }
.card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,106,43,.12); border: 1px solid rgba(255,106,43,.28);
  color: var(--accent-1); margin-bottom: 18px;
}
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-family: var(--font-head); font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card ul { margin-top: 12px; display: grid; gap: 7px; }
.card ul li { color: var(--muted); font-size: 13.8px; display: flex; gap: 8px; }
.card ul li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-1); margin-top: 8px; flex: none; }

/* ── How it works ────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  right: 18px; top: 10px;
  font-family: var(--font-head);
  font-size: 64px; font-weight: 700;
  color: rgba(255,106,43,.12);
  line-height: 1;
}
.step .ico { margin-bottom: 16px; color: var(--accent-1); }
.step .ico svg { width: 26px; height: 26px; }
.step h3 { font-family: var(--font-head); font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ── Why desktop ─────────────────────────────────────────── */
.why { background: var(--surface); border-block: 1px solid var(--border); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; color: var(--text);
  padding: 20px 22px;
  font-size: 16px; font-weight: 600; text-align: left;
}
.faq-q .chev { flex: none; transition: transform 0.25s ease; color: var(--muted); }
.faq-item.open .chev { transform: rotate(180deg); color: var(--accent-1); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }

/* ── CTA ─────────────────────────────────────────────────── */
.cta-band {
  text-align: center;
  border-block: 1px solid var(--border);
  background:
    radial-gradient(600px 260px at 50% 0%, rgba(255,106,43,.14), transparent 65%),
    var(--surface);
  padding: 96px 0;
}
.cta-band .section-title { max-width: 640px; margin-inline: auto; }
.cta-band .section-sub { margin: 0 auto 34px; }
.cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 300px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text); font-size: 14.5px; padding: 6px 0; opacity: 0.85; transition: opacity 0.15s ease; }
.footer-col a:hover { opacity: 1; color: var(--accent-1); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }

/* ── Scroll reveal ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 968px) {
  .cards-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-actions .btn { display: none; }
  .nav-burger { display: block; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .showcase-grid, .cards-grid, .steps { grid-template-columns: 1fr; }
  .show-card.span-2 { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding-top: calc(var(--nav-h) + 44px); }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .section-title { font-size: 28px; }
  .platform-list { gap: 8px; }
  .btn-lg { padding: 13px 26px; }
}
