/* =========================================================
   Ponte World — site styles
   ========================================================= */
:root {
  --ink: #0b1024;
  --ink-2: #141a36;
  --ink-3: #1d2550;
  --text: #1a1f36;
  --muted: #5b6386;
  --line: #e4e7f2;
  --bg: #ffffff;
  --bg-soft: #f6f7fc;
  --brand: #4f5dff;
  --brand-2: #7b5cff;
  --accent: #ff7a59;
  --accent-2: #ffb347;
  --ok: #16b47e;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 40px -12px rgba(20, 26, 60, .18);
  --shadow-lg: 0 30px 80px -20px rgba(20, 26, 60, .35);
  --grad: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 55%, var(--accent) 100%);
  --max: 1200px;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.section { padding: 110px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--ink); color: #e8eaff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.dark .eyebrow { color: #a9b1ff; }

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(40px, 6.2vw, 74px); font-weight: 800; }
h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 700; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); }
.dark .lead { color: #b5bbe0; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 14px 0 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 16px;
  border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(79, 93, 255, .6); }
.btn-ghost { border-color: rgba(255,255,255,.22); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--line); color: var(--text); background: #fff; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.header.scrolled { background: rgba(11, 16, 36, .82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.logo-mark { width: 38px; height: 38px; }
.logo small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .28em; color: #9aa3e8; margin-top: -3px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: #c9cdf0; font-weight: 600; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { padding: 11px 20px; font-size: 15px; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; }
.menu-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--ink); color: #fff;
  padding: 150px 0 120px; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 120%;
  background:
    radial-gradient(600px 400px at 15% 20%, rgba(79,93,255,.35), transparent 70%),
    radial-gradient(500px 380px at 85% 30%, rgba(255,122,89,.22), transparent 70%),
    radial-gradient(700px 500px at 60% 100%, rgba(123,92,255,.25), transparent 70%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0; opacity: .18; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px;
  border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  font-size: 14px; color: #d7dbff; margin-bottom: 26px;
}
.hero-badge span { background: var(--grad); color: #fff; font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { color: #b9bfe6; max-width: 580px; margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 22px; color: #aab1de; font-size: 15px; }
.hero-points li { display: flex; align-items: center; gap: 8px; list-style: none; }
.hero-points svg { width: 18px; height: 18px; color: var(--ok); }
.hero-points ul { padding: 0; margin: 0; display: contents; }

/* Hero visual (bridge + floating cards) */
.hero-visual { position: relative; min-height: 520px; }
.bridge-svg { position: absolute; inset: 40px 0 auto 0; width: 100%; height: auto; }
.float-card {
  position: absolute; background: rgba(255,255,255,.96); color: var(--text);
  border-radius: 16px; box-shadow: var(--shadow-lg); padding: 16px 18px;
  animation: floaty 7s ease-in-out infinite;
}
.float-card .fc-title { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.fc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(22,180,126,.18); }
.fc-crm { top: 10px; left: 0; width: 290px; animation-delay: -1s; }
.fc-ai { top: 190px; right: 0; width: 270px; animation-delay: -3s; }
.fc-flow { bottom: 10px; left: 40px; width: 300px; animation-delay: -5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.mini-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.mini-row:last-child { border-bottom: 0; }
.avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; flex: none; }
.pill { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pill.new { background: #eef0ff; color: var(--brand); }
.pill.won { background: #e6f8f1; color: #0d8a60; }
.pill.hot { background: #fff1ec; color: #d9542f; }
.chat-bubble { font-size: 13.5px; padding: 9px 12px; border-radius: 14px; margin-bottom: 8px; line-height: 1.45; }
.chat-bubble.in { background: var(--bg-soft); border-bottom-left-radius: 4px; }
.chat-bubble.out { background: var(--grad); color: #fff; border-bottom-right-radius: 4px; margin-left: 24px; }
.flow-steps { display: flex; align-items: center; gap: 6px; }
.flow-node { flex: 1; text-align: center; font-size: 11.5px; font-weight: 700; padding: 10px 4px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); }
.flow-node i { display: block; font-style: normal; font-size: 18px; margin-bottom: 2px; }
.flow-arrow { color: var(--brand); font-weight: 800; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink-2); color: #c3c8ee; border-block: 1px solid rgba(255,255,255,.06); overflow: hidden; padding: 20px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; white-space: nowrap; }
.marquee-track span::before { content: "✦"; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; padding: 30px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.icon-box {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(79,93,255,.12), rgba(255,122,89,.12)); color: var(--brand); margin-bottom: 20px;
}
.icon-box svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 15.5px; }
.service-card ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 14.5px; }
.service-card li { display: flex; gap: 8px; align-items: baseline; }
.service-card li::before { content: "→"; color: var(--brand); font-weight: 800; }

/* ---------- Tabs (solutions) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.tab-btn {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--line); background: #fff; color: var(--text);
  padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: all .2s;
}
.tab-btn svg { width: 18px; height: 18px; }
.tab-btn:hover { border-color: var(--brand); color: var(--brand); }
.tab-btn[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.dark .tab-btn { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); color: #d4d8ff; }
.dark .tab-btn[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }

.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; animation: fadeUp .45s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tab-copy h3 { font-size: clamp(26px, 3vw, 36px); margin: 10px 0 16px; }
.tab-copy > p { color: var(--muted); font-size: 18px; margin-bottom: 26px; }
.dark .tab-copy > p { color: #b5bbe0; }
.feature-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.check { flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(22,180,126,.14); color: var(--ok); display: grid; place-items: center; margin-top: 2px; }
.check svg { width: 14px; height: 14px; }
.feature-list strong { display: block; }
.feature-list span { color: var(--muted); font-size: 15px; }
.dark .feature-list span { color: #a9afd8; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 8px; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.dark .tag { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); color: #b9bfe6; }

/* ---------- Mock UI frames ---------- */
.mock {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden;
  border: 1px solid var(--line); color: var(--text);
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff6159; }
.mock-bar i:nth-child(2) { background: #ffbd2e; }
.mock-bar i:nth-child(3) { background: #28c941; }
.mock-bar b { margin-left: 10px; font-size: 12.5px; color: var(--muted); font-weight: 600; background: #fff; border: 1px solid var(--line); padding: 3px 12px; border-radius: 8px; flex: 1; max-width: 300px; }
.mock-body { padding: 20px; }

/* CRM board */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.kpi small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.kpi b { font-size: 20px; }
.kpi em { font-style: normal; font-size: 11.5px; color: var(--ok); font-weight: 700; }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.col { background: var(--bg-soft); border-radius: 12px; padding: 10px; }
.col h5 { margin: 0 0 8px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); display: flex; justify-content: space-between; }
.card-mini { background: #fff; border-radius: 10px; padding: 9px 10px; margin-bottom: 8px; border: 1px solid var(--line); font-size: 12.5px; }
.card-mini b { display: block; font-size: 13px; }
.card-mini span { color: var(--muted); font-size: 11.5px; }
.bar-track { height: 5px; background: #eceefa; border-radius: 4px; margin-top: 6px; overflow: hidden; }
.bar-track i { display: block; height: 100%; background: var(--grad); border-radius: 4px; }

/* Timeline (customer tracking) */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 16px 46px; font-size: 14px; }
.timeline li .t-ic { position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; background: #fff; border: 2px solid var(--line); }
.timeline li b { display: block; font-size: 14.5px; }
.timeline li span { color: var(--muted); font-size: 12.5px; }

/* Workflow canvas */
.canvas { position: relative; background:
  radial-gradient(circle, #d9dcef 1px, transparent 1px) 0 0 / 18px 18px, #fbfbfe; border-radius: 14px; padding: 22px; min-height: 300px; }
.wf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; position: relative; }
.wf-node { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; box-shadow: 0 6px 18px -10px rgba(20,26,60,.3); font-size: 12.5px; position: relative; }
.wf-node b { display: block; font-size: 13px; margin: 6px 0 2px; }
.wf-node span { color: var(--muted); }
.wf-node .wf-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 16px; }
.wf-node::after { content: ""; position: absolute; right: -27px; top: 50%; width: 26px; height: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 6px, transparent 6px 10px); animation: dash 1s linear infinite; }
.wf-node.end::after, .wf-node:nth-child(3n)::after { display: none; }
@keyframes dash { to { background-position: 10px 0; } }

/* Phone mock */
.phones { display: flex; justify-content: center; gap: 22px; align-items: flex-end; }
.phone { width: 220px; border-radius: 34px; background: var(--ink); padding: 10px; box-shadow: var(--shadow-lg); }
.phone.tilt { transform: translateY(30px) rotate(4deg); width: 200px; }
.phone-screen { background: #fff; border-radius: 26px; overflow: hidden; min-height: 400px; }
.phone-top { background: var(--grad); color: #fff; padding: 26px 16px 18px; }
.phone-top small { opacity: .8; font-size: 11px; }
.phone-top b { display: block; font-size: 17px; }
.phone-list { padding: 12px; display: grid; gap: 8px; }
.phone-item { border: 1px solid var(--line); border-radius: 12px; padding: 10px; font-size: 12px; display: flex; gap: 10px; align-items: center; }
.phone-item .avatar { width: 30px; height: 30px; border-radius: 9px; }
.phone-item b { display: block; font-size: 12.5px; }
.phone-item span { color: var(--muted); font-size: 11px; }

/* Social calendar */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .d { font-size: 10.5px; font-weight: 700; color: var(--muted); text-align: center; padding-bottom: 4px; }
.cal .c { min-height: 64px; border: 1px solid var(--line); border-radius: 9px; padding: 5px; font-size: 10px; color: var(--muted); }
.post { display: block; margin-top: 4px; border-radius: 6px; padding: 3px 5px; font-size: 9.5px; font-weight: 700; color: #fff; line-height: 1.3; }
.post.ig { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af); }
.post.li { background: #0a66c2; }
.post.tt { background: #111; }
.post.fb { background: #1877f2; }
.social-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 14px; }

/* Game mock */
.game { background: linear-gradient(160deg,#1b1f4a,#3a1f5c 60%,#ff7a59 140%); color: #fff; border-radius: 16px; padding: 18px; min-height: 300px; position: relative; overflow: hidden; }
.game-hud { display: flex; justify-content: space-between; font-weight: 800; font-size: 13px; }
.game-q { margin: 26px 0 16px; font-size: 20px; font-weight: 800; text-align: center; }
.game-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.game-opts span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 12px; text-align: center; font-weight: 700; font-size: 14px; }
.game-opts span.right { background: var(--ok); border-color: var(--ok); }
.game-xp { margin-top: 18px; height: 10px; background: rgba(255,255,255,.15); border-radius: 6px; overflow: hidden; }
.game-xp i { display: block; width: 68%; height: 100%; background: linear-gradient(90deg,var(--accent-2),var(--accent)); }

/* Integrations hub */
.hub { position: relative; height: 340px; }
.hub-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 110px; height: 110px; border-radius: 30px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 20px 50px -14px rgba(79,93,255,.7); }
.hub-core svg { width: 62px; height: 62px; }
.hub-item { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow); white-space: nowrap; }
.hub svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Quote card */
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.qf { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.qf small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.qf b { font-size: 14px; }
.quote-lines { border-top: 1px dashed var(--line); padding-top: 10px; display: grid; gap: 6px; font-size: 13.5px; }
.quote-lines div { display: flex; justify-content: space-between; }
.quote-total { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 14px; }
.quote-total b { font-size: 22px; }

/* ---------- AI section ---------- */
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ai-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.ai-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 20px; }
.ai-card .emoji { font-size: 24px; margin-bottom: 10px; display: block; }
.ai-card b { display: block; color: #fff; margin-bottom: 4px; }
.ai-card p { font-size: 14.5px; color: #a9afd8; }
.chat-window { background: #fff; color: var(--text); border-radius: 22px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.chat-head .bot { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.chat-head b { display: block; font-size: 15px; }
.chat-head span { font-size: 12.5px; color: var(--ok); font-weight: 600; }
.chat-body { padding: 18px; display: grid; gap: 10px; min-height: 360px; align-content: start; }
.msg { max-width: 85%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; opacity: 0; transform: translateY(8px); transition: all .45s ease; }
.msg.show { opacity: 1; transform: none; }
.msg.user { background: var(--bg-soft); border-bottom-left-radius: 5px; }
.msg.bot { background: var(--ink); color: #fff; border-bottom-right-radius: 5px; justify-self: end; }
.msg.bot .q-chip { display: inline-block; margin-top: 8px; background: rgba(255,255,255,.12); padding: 6px 10px; border-radius: 9px; font-size: 13px; }
.msg-meta { font-size: 11.5px; color: var(--muted); justify-self: end; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; background: var(--ink); border-radius: 16px; justify-self: end; opacity: 0; transition: opacity .3s; }
.typing.show { opacity: 1; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,80%,100% { opacity: .25; } 40% { opacity: 1; } }

/* ---------- Industries ---------- */
.industry-panel { display: none; }
.industry-panel.active { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; animation: fadeUp .45s ease; }
.industry-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.industry-box h3 { font-size: 28px; margin-bottom: 12px; }
.industry-box > p { color: var(--muted); margin-bottom: 24px; }
.use-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.use-case { border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.use-case b { display: block; margin-bottom: 4px; font-size: 15.5px; }
.use-case span { color: var(--muted); font-size: 14px; }
.outcome { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 36px; position: relative; overflow: hidden; }
.outcome::after { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; bottom: -80px; background: var(--grad); filter: blur(60px); opacity: .5; }
.outcome h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #a9b1ff; margin-bottom: 18px; }
.outcome ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; position: relative; z-index: 1; }
.outcome li { display: flex; gap: 12px; }
.outcome li span:first-child { font-size: 20px; }
.outcome p { color: #c3c8ee; font-size: 15px; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font-size: 44px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 14px; letter-spacing: -.04em; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
.step small { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 13px; color: var(--brand); }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.why .emoji { font-size: 28px; display: block; margin-bottom: 14px; }
.why h3 { color: #fff; margin-bottom: 8px; font-size: 20px; }
.why p { color: #a9afd8; font-size: 15.5px; }

/* ---------- Engagement models ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 34px 30px; border-radius: 22px; border: 1px solid var(--line); background: #fff; position: relative; }
.plan.featured { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-10px); }
.plan .badge { position: absolute; top: -13px; left: 30px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; letter-spacing: .04em; }
.plan h3 { font-size: 24px; margin-bottom: 8px; }
.plan .plan-sub { color: var(--muted); margin-bottom: 22px; font-size: 15.5px; }
.plan.featured .plan-sub { color: #b5bbe0; }
.plan .price { font-size: 15px; font-weight: 700; margin-bottom: 22px; }
.plan .price b { font-size: 30px; letter-spacing: -.02em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; font-size: 15px; flex: 1; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 900; }
.plan .btn { width: 100%; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 4px 24px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 17.5px; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; color: var(--brand); transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; }

/* ---------- CTA / Contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(600px 400px at 0% 0%, rgba(79,93,255,.35), transparent 70%),
  radial-gradient(600px 400px at 100% 100%, rgba(255,122,89,.25), transparent 70%); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; color: #c9cdf0; }
.contact-list .ci { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; flex: none; font-size: 18px; }
.contact-list b { display: block; color: #fff; }
.form { background: #fff; color: var(--text); border-radius: 24px; padding: 34px; box-shadow: var(--shadow-lg); }
.form h3 { margin-bottom: 6px; }
.form > p { color: var(--muted); margin-bottom: 22px; font-size: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 700; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15.5px; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg-soft); color: var(--text); width: 100%; transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; transition: all .15s; }
.chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.form .btn { width: 100%; margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: center; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; display: none; }
.form-status.ok { display: block; background: #e6f8f1; color: #0d6e4c; }
.form-status.err { display: block; background: #fff1ec; color: #b2401f; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.footer { background: #070a19; color: #9aa0c8; padding: 70px 0 34px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; margin-bottom: 50px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer .logo { margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner, .ai-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; max-width: 560px; margin-inline: auto; width: 100%; }
  .tab-panel.active, .industry-panel.active { grid-template-columns: 1fr; }
  .services-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); padding: 12px 20px 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-links .nav-cta { margin-top: 14px; border-bottom: 0; }
  .menu-toggle { display: block; }
  .header { background: rgba(11, 16, 36, .92); backdrop-filter: blur(14px); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .container { width: min(var(--max), 100% - 32px); }
  .hero { padding: 120px 0 80px; }
  .hero-visual { min-height: 560px; }
  .fc-crm { width: 230px; }
  .fc-ai { top: 200px; width: 240px; }
  .fc-flow { left: 0; width: 100%; max-width: 320px; }
  .services-grid, .why-grid, .process, .use-cases, .ai-cards, .form-row { grid-template-columns: 1fr; }
  .board { grid-template-columns: 1fr 1fr; }
  .board .col:nth-child(3) { display: none; }
  .wf { grid-template-columns: 1fr 1fr; gap: 20px; }
  .wf-node::after { display: none; }
  .phone.tilt { display: none; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab-btn { flex: none; }
  .industry-box, .outcome, .form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cal .c { min-height: 48px; }
  .hub { height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .msg { opacity: 1; transform: none; }
}

/* Skip link */
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 16px; }

/* Booking schedule mock */
.sched { display: grid; gap: 6px; font-size: 12px; }
.sched-head, .sched-row { display: grid; grid-template-columns: 46px repeat(3, 1fr); gap: 6px; align-items: stretch; }
.sched-head b { font-size: 12px; text-align: center; padding: 6px; background: var(--bg-soft); border-radius: 8px; }
.sched-row > span { font-size: 11px; color: var(--muted); font-weight: 700; padding-top: 8px; }
.slot { font-style: normal; font-weight: 700; font-size: 11.5px; padding: 9px 8px; border-radius: 9px; color: #fff; line-height: 1.25; }
.slot.s1 { background: linear-gradient(135deg, #4f5dff, #7b5cff); }
.slot.s2 { background: linear-gradient(135deg, #16b47e, #36c99a); }
.slot.s3 { background: linear-gradient(135deg, #ff7a59, #ffb347); }
.slot.s4 { background: linear-gradient(135deg, #7b5cff, #c06cff); }
.slot.free { background: #fff; color: var(--muted); border: 1px dashed #cfd3e8; font-weight: 600; }

/* More industries */
.more-industries { margin-top: 44px; text-align: center; }
.more-industries p { color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 980px; margin-inline: auto; }
.chip-cloud span { padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text); }
.services-grid { grid-template-columns: repeat(4, 1fr); }
.service-card { padding: 26px; }
@media (max-width: 1080px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } .sched-head, .sched-row { grid-template-columns: 38px repeat(3, 1fr); } .slot { font-size: 10.5px; padding: 7px 5px; } }

/* Language switcher */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; border-radius: 999px; padding: 8px 12px; font-weight: 700; font-size: 13px; }
.lang-btn svg { width: 16px; height: 16px; }
.lang-menu { display: none; position: absolute; top: calc(100% + 8px); inset-inline-end: 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; min-width: 190px; z-index: 60; grid-template-columns: 1fr 1fr; gap: 2px; }
.lang.open .lang-menu { display: grid; }
.lang-menu a { color: var(--text) !important; padding: 8px 10px; border-radius: 9px; font-size: 14px; font-weight: 600; }
.lang-menu a:hover { background: var(--bg-soft); }
.lang-menu a[aria-current="true"] { background: var(--ink); color: #fff !important; }
@media (max-width: 860px) {
  .nav-links .lang { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .lang-menu { position: static; display: grid; box-shadow: none; margin-top: 10px; }
  .lang-btn { display: none; }
}

/* Right-to-left (Arabic) */
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .btn svg, [dir="rtl"] .flow-arrow { transform: scaleX(-1); }
[dir="rtl"] .service-card li::before { content: "←"; }
[dir="rtl"] .eyebrow::before { order: 2; }
[dir="rtl"] .timeline::before { left: auto; right: 15px; }
[dir="rtl"] .timeline li { padding: 0 46px 16px 0; }
[dir="rtl"] .timeline li .t-ic { left: auto; right: 0; }
[dir="rtl"] .chat-bubble.out { margin-left: 0; margin-right: 24px; }
[dir="rtl"] .plan .badge { left: auto; right: 30px; }
[dir="rtl"] .skip-link { left: auto; right: 16px; }
[dir="rtl"] .wf-node::after { right: auto; left: -27px; }
[lang="ja"] body, [lang="zh-Hans"] body { line-break: strict; word-break: normal; }
[lang="ar"] h1, [lang="ar"] h2, [lang="ja"] h1, [lang="zh-Hans"] h1 { letter-spacing: 0; }

/* Flags in language switcher */
.lang-menu a { display: flex; align-items: center; gap: 8px; }
.flag { font-size: 17px; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.lang-btn .flag { font-size: 15px; }
.lang-menu { min-width: 240px; }

/* ===== Why Ponte — bridge story ===== */
.bridge-story { position: relative; overflow: hidden; color: #fff; background: var(--ink); padding: clamp(80px, 11vw, 140px) 0; isolation: isolate; }
.bridge-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); animation: slowZoom 24s ease-in-out infinite alternate; }
.bridge-story::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11,16,36,.92) 0%, rgba(11,16,36,.72) 45%, rgba(11,16,36,.25) 100%); }
[dir="rtl"] .bridge-story::before { background: linear-gradient(260deg, rgba(11,16,36,.92) 0%, rgba(11,16,36,.72) 45%, rgba(11,16,36,.25) 100%); }
.bridge-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.bridge-story .eyebrow { color: #c9ceff; }
.bridge-story h2 { margin: 14px 0 18px; }
.bridge-story .lead { color: #d5d9f5; max-width: 560px; }
.bridge-links { display: grid; gap: 14px; }
.bl { display: grid; grid-template-columns: 1fr 70px 1fr; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 15px; }
.bl > span { color: #c9ceff; font-weight: 600; }
.bl > b { color: #fff; }
.bl > i { position: relative; height: 3px; border-radius: 3px; background: linear-gradient(90deg, rgba(169,177,255,.25), rgba(255,122,89,.6)); }
.bl > i::after { content: ""; position: absolute; top: 50%; left: 0; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px #a9b1ff; animation: crossBridge 2.4s ease-in-out infinite; }
.bl:nth-child(2) > i::after { animation-delay: .8s; }
.bl:nth-child(3) > i::after { animation-delay: 1.6s; }
[dir="rtl"] .bl > i::after { animation-name: crossBridgeRtl; }
@keyframes crossBridge { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 9px); opacity: 0; } }
@keyframes crossBridgeRtl { 0% { left: calc(100% - 9px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 0; opacity: 0; } }
@keyframes slowZoom { from { transform: scale(1.06); } to { transform: scale(1.14) translateX(-1.5%); } }

/* ===== Real demo video ===== */
.demo-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.demo-grid h2 { margin: 14px 0 18px; }
.demo-steps { list-style: none; counter-reset: st; margin: 26px 0 30px; display: grid; gap: 12px; padding: 0; }
.demo-steps li { counter-increment: st; display: flex; gap: 14px; align-items: center; font-weight: 600; }
.demo-steps li::before { content: counter(st); flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 14px; font-weight: 800; }
.video-frame { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 40px 80px -30px rgba(20,26,54,.35); }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--bg-soft); }

/* ===== Industries: photo + WhatsApp scenario ===== */
.ind-more { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: stretch; }
.ind-photo { margin: 0; border-radius: var(--radius); overflow: hidden; min-height: 320px; position: relative; }
.ind-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.ind-more:hover .ind-photo img { transform: scale(1.04); }
.wa { border-radius: var(--radius); overflow: hidden; background: #efeae2; border: 1px solid var(--line); display: flex; flex-direction: column; }
.wa-head { display: flex; gap: 12px; align-items: center; padding: 14px 18px; background: #075e54; color: #fff; }
.wa-head b { display: block; font-size: 15px; }
.wa-head small { display: block; font-size: 12.5px; opacity: .8; }
.wa-ico { width: 34px; height: 34px; border-radius: 50%; background: #25d366; display: grid; place-items: center; flex: none; }
.wa-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.wa-msg { max-width: 85%; padding: 9px 13px; border-radius: 12px; font-size: 14.5px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wa-msg.in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.wa-msg.out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 4px; }
[dir="rtl"] .wa-msg.in { align-self: flex-end; }
[dir="rtl"] .wa-msg.out { align-self: flex-start; }
.wa.reveal .wa-msg { opacity: 0; transform: translateY(10px) scale(.98); }
.wa.reveal.in .wa-msg { animation: waIn .45s ease forwards; }
.wa.reveal.in .wa-msg:nth-child(1) { animation-delay: .2s; }
.wa.reveal.in .wa-msg:nth-child(2) { animation-delay: 1.1s; }
.wa.reveal.in .wa-msg:nth-child(3) { animation-delay: 2s; }
.wa.reveal.in .wa-msg:nth-child(4) { animation-delay: 2.9s; }
@keyframes waIn { to { opacity: 1; transform: none; } }
.ind-also { margin: 0; padding: 14px 18px; background: #fff; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.ind-also b { color: var(--text); }

@media (max-width: 960px) {
  .bridge-inner, .demo-grid, .ind-more { grid-template-columns: 1fr; }
  .ind-photo { min-height: 240px; }
}
@media (max-width: 520px) {
  .bl { grid-template-columns: 1fr 40px 1fr; font-size: 14px; padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .bridge-bg, .bl > i::after { animation: none; }
  .wa.reveal .wa-msg { opacity: 1; transform: none; animation: none; }
}

/* ===== Hero background video ===== */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .26; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(11,16,36,.92) 0%, rgba(11,16,36,.6) 55%, rgba(11,16,36,.35) 100%); }
[dir="rtl"] .hero::after { background: linear-gradient(270deg, rgba(11,16,36,.92) 0%, rgba(11,16,36,.6) 55%, rgba(11,16,36,.35) 100%); }
.hero-inner { z-index: 1; }

/* ===== The film ===== */
.film-frame { position: relative; margin: 0 auto; max-width: 1080px; border-radius: 22px; overflow: hidden; background: var(--ink); box-shadow: 0 40px 90px -35px rgba(20,26,54,.55); }
.film-video { display: block; width: 100%; height: auto; }
.film-v { display: none; }
.film-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px 16px 20px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 800; font-size: 17px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2) 55%, var(--accent)); box-shadow: 0 18px 40px -12px rgba(79,93,255,.7); transition: transform .2s; }
.film-play:hover { transform: translate(-50%, -50%) scale(1.05); }
.film-play::before { content: ""; position: absolute; inset: -10px; border-radius: inherit; border: 2px solid rgba(255,255,255,.5); animation: pulseRing 2s ease-out infinite; }
@keyframes pulseRing { from { opacity: .9; transform: scale(.92); } to { opacity: 0; transform: scale(1.18); } }
.film-frame.playing .film-play { display: none; }
.film-note { text-align: center; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 640px) {
  .film-h { display: none; }
  .film-v { display: block; }
  .film-frame { max-width: 420px; }
}
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }

/* ---------- Automation examples ---------- */
.flows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.flow { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .25s, box-shadow .25s; }
.flow:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.flow-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.flow-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(135deg, rgba(79,93,255,.12), rgba(255,122,89,.12)); }
.flow-head h3 { font-size: 18px; margin: 0 0 2px; }
.flow-head p { margin: 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.flow-steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 12px; counter-reset: fs; }
.flow-steps::before { content: ""; position: absolute; inset-inline-start: 13px; top: 14px; bottom: 14px; width: 2px; background: var(--line); }
.flow-steps::after { content: ""; position: absolute; inset-inline-start: 10px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(79,93,255,.18); opacity: 0; }
.flow.in .flow-steps::after { animation: flowDot 3.2s ease-in-out .6s infinite; }
@keyframes flowDot { 0% { top: 10px; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 18px); opacity: 0; } }
.flow-steps li { position: relative; padding-inline-start: 40px; font-size: 14.5px; line-height: 1.45; color: var(--text); counter-increment: fs; opacity: .35; transition: opacity .5s ease; }
.flow-steps li::before { content: counter(fs); position: absolute; inset-inline-start: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 800; background: #fff; border: 2px solid var(--line); color: var(--muted); transition: all .4s ease; z-index: 1; }
.flow.in .flow-steps li { opacity: 1; }
.flow.in .flow-steps li::before { border-color: var(--brand); color: var(--brand); }
.flow.in .flow-steps li:last-child::before { background: var(--ok); border-color: var(--ok); color: #fff; content: "✓"; }
.flow.in .flow-steps li:nth-child(2), .flow.in .flow-steps li:nth-child(2)::before { transition-delay: .35s; }
.flow.in .flow-steps li:nth-child(3), .flow.in .flow-steps li:nth-child(3)::before { transition-delay: .7s; }
.flow.in .flow-steps li:nth-child(4), .flow.in .flow-steps li:nth-child(4)::before { transition-delay: 1.05s; }
.flow-steps li:last-child { font-weight: 700; }
.flow-foot { margin-top: 40px; text-align: center; }
.flow-foot-label { color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.flow-foot .chip-cloud span { background: #fff; }
.flow-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: center; text-align: center; }
.flow-cta p { margin: 0; font-size: 18px; }
@media (max-width: 1080px) { .flows { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .flows { grid-template-columns: 1fr; } }

/* ---------- Social card link ---------- */
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: 14.5px; color: var(--brand); text-decoration: none; }
.card-link svg { width: 16px; height: 16px; }
[dir="rtl"] .card-link svg, [dir="rtl"] .flow-cta svg { transform: scaleX(-1); }

/* ---------- Ponte Studios ---------- */
.studios { position: relative; overflow: hidden; background: radial-gradient(1000px 500px at 85% 0%, rgba(123,92,255,.28), transparent 60%), radial-gradient(800px 500px at 0% 100%, rgba(255,122,89,.18), transparent 60%), var(--ink); }
.studio-grid { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: center; }
.studio-phone { margin: 0; text-align: center; }
.phone-shell { position: relative; width: 300px; max-width: 100%; aspect-ratio: 9 / 16; margin-inline: auto; border-radius: 38px; padding: 10px; background: linear-gradient(160deg, #2a3170, #0e1230); box-shadow: 0 40px 90px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08) inset; }
.phone-shell video { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; display: block; background: #000; }
.phone-chip { position: absolute; top: 24px; inset-inline-start: 24px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); }
.studio-phone figcaption { margin-top: 16px; font-size: 14px; color: #b5bbe0; }
.studio-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.st-card { padding: 20px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: background .25s, transform .25s; }
.st-card:hover { background: rgba(255,255,255,.08); transform: translateY(-3px); }
.st-ico { font-size: 24px; }
.st-card h3 { color: #fff; font-size: 17px; margin: 10px 0 6px; }
.st-card p { margin: 0; color: #b5bbe0; font-size: 14.5px; }
.stills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.still { margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 5; }
.still img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.still:hover img { transform: scale(1.06); }
.still::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,10,30,.85), transparent 55%); }
.still figcaption { position: absolute; z-index: 1; inset-inline: 14px; bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; color: #fff; font-size: 14px; }
.still figcaption span { font-size: 11.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.18); }
.social-box { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: 36px; border-radius: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); align-items: center; }
.social-box h3 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); margin: 12px 0 12px; }
.social-box p { color: #b5bbe0; margin: 0 0 22px; }
.social-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.social-list li { position: relative; padding-inline-start: 32px; color: #e8eaff; }
.social-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--grad); color: #fff; }
.studio-steps { list-style: none; margin: 48px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.studio-steps li { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: #e8eaff; font-weight: 600; font-size: 14.5px; }
[dir="rtl"] .studio-steps li { padding: 10px 10px 10px 16px; }
.studio-steps b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 13px; }
.studios .film-note { color: #9aa1cc; }
@media (max-width: 960px) {
  .studio-grid, .social-box { grid-template-columns: 1fr; }
  .stills { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .studio-services { grid-template-columns: 1fr; }
  .social-box { padding: 24px; }
  .phone-shell { width: 250px; }
}
@media (prefers-reduced-motion: reduce) {
  .flow.in .flow-steps::after { animation: none; }
  .flow-steps li, .flow-steps li::before { transition: none; }
}
