/* S3 Web - public site styles. Colors are overridable from the admin panel via CSS variables. */
:root {
  --primary: #9b5cf6;
  --primary-light: #e9d5ff;
  --deep: #2a1d7a;
  --dark: #0b0b0d;
  --card: #141417;
  --card-2: #1a1a1f;
  --line: rgba(255, 255, 255, .08);
  --text: #f4f4f6;
  --muted: #9494a0;
  --head: 'Outfit', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--dark); color: var(--text); font-family: var(--body); line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.1; margin: 0; font-weight: 600; letter-spacing: -.01em; }
.container { width: min(1180px, 92%); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
::selection { background: var(--primary); color: #fff; }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, #c79dff, #7c4ae8, #4a2fbe); z-index: 200; transition: width .1s linear; }

/* ---------- Buttons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 13px/1 var(--body); padding: 13px 20px; border-radius: 11px; border: 0; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s; white-space: nowrap; }
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: #0a0a0a; color: #fff; }
.btn-dark:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .35); }
.btn-white { background: #fff; color: #0a0a0a; box-shadow: 0 8px 26px rgba(20, 0, 60, .25); }
.btn-white svg { transition: transform .25s; }
.btn-white:hover svg { transform: translateX(3px); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }
.link-arrow svg { transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header (fixed floating pill, 3 equal columns) ---------- */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; transition: top .3s var(--ease); }
.site-header.scrolled { top: 8px; }
.nav-pill { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 74px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(16px) saturate(1.4); border-radius: 22px; padding: 6px 14px 6px 16px; box-shadow: 0 10px 40px rgba(40, 10, 100, .18); color: #0a0a0a; transition: box-shadow .3s, background .3s, min-height .3s; }
.site-header.scrolled .nav-pill { box-shadow: 0 14px 50px rgba(30, 5, 90, .35); min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 700 20px/1.2 var(--head); justify-self: start; letter-spacing: -.02em; }
.brand img, .brand .site-logo-img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 3px 12px rgba(3, 14, 34, .25); transition: transform .3s ease, box-shadow .3s ease; }
.site-header.scrolled .brand img, .site-header.scrolled .brand .site-logo-img { width: 50px; height: 50px; }
.brand:hover img, .brand:hover .site-logo-img { transform: scale(1.06); box-shadow: 0 6px 20px rgba(3, 14, 34, .35); }
.foot-grid .brand img { width: 68px; height: 68px; border-radius: 50%; box-shadow: 0 4px 16px rgba(0, 0, 0, .4); }
@keyframes wiggle { 30% { transform: rotate(-8deg) scale(1.06); } 60% { transform: rotate(6deg); } }
.nav-links { display: flex; gap: 6px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 14px; font-weight: 500; position: relative; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 10px; color: #17151f; transition: background .2s, color .2s; }
.nav-links a:hover { background: rgba(155, 92, 246, .1); }
.nav-links a.active { background: rgba(155, 92, 246, .14); color: #4a22b8; font-weight: 600; }
.badge { font-size: 9px; font-weight: 700; padding: 3px 7px; border-radius: 99px; background: linear-gradient(90deg, #d9b8ff, #a67cf6); color: #3b1d8a; line-height: 1; }
.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: #111; margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 0; overflow: hidden; text-align: center; isolation: isolate;
  background: linear-gradient(180deg, #f6ecff 0%, #d4aaff 18%, #a56cf5 38%, #6b3fd8 58%, #3a2a94 78%, #120e2c 100%); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .14) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; animation: drift 14s ease-in-out infinite; }
.orb.a { width: 420px; height: 420px; background: #ff9ce8; opacity: .45; left: -120px; top: 180px; }
.orb.b { width: 480px; height: 480px; background: #6a8bff; opacity: .4; right: -140px; top: 320px; animation-delay: -5s; }
.orb.c { width: 300px; height: 300px; background: #fff; opacity: .5; left: 38%; top: -80px; animation-delay: -9s; }
@keyframes drift { 50% { transform: translate(40px, -30px) scale(1.12); } }
.hero h1 { font-size: clamp(40px, 6.2vw, 74px); color: #fff; font-weight: 600; max-width: 920px; margin: 0 auto 22px; text-shadow: 0 2px 40px rgba(120, 60, 220, .3); }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(30px) rotateX(-40deg); animation: wordin .8s var(--ease) forwards; }
@keyframes wordin { to { opacity: 1; transform: none; } }
.hero p.lead { color: rgba(255, 255, 255, .7); max-width: 640px; margin: 0 auto 28px; font-size: 15.5px; opacity: 0; animation: fadeup .9s .5s var(--ease) forwards; }
.hero .cta-row { opacity: 0; animation: fadeup .9s .65s var(--ease) forwards; }
@keyframes fadeup { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Stage keeps the giant word and the phone locked together */
.stage { position: relative; height: 640px; margin-top: 24px; }
.hero-word { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); font: 800 clamp(180px, 33vw, 470px)/.8 var(--head); color: #fff; letter-spacing: -.035em; white-space: nowrap; user-select: none; pointer-events: none; text-transform: uppercase; will-change: transform; }
.hero-phone { position: absolute; left: 50%; top: 0; z-index: 3; width: min(310px, 62vw); transform: translateX(-50%); filter: drop-shadow(0 50px 60px rgba(10, 0, 50, .5)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translate(-50%, -14px); } }
.chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .92); color: #14111f; border-radius: 14px; padding: 10px 14px 10px 10px; font: 600 12.5px/1.2 var(--body); box-shadow: 0 16px 40px rgba(30, 5, 90, .3); animation: bob 5s ease-in-out infinite; backdrop-filter: blur(8px); }
.chip i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #b78bff, #6a3fe0); }
.chip i svg { width: 16px; height: 16px; }
.chip small { display: block; font-weight: 500; color: #6b6880; font-size: 11px; }
.chip.c1 { left: calc(50% - 400px); top: 90px; }
.chip.c2 { right: calc(50% - 410px); top: 200px; animation-delay: -1.5s; }
.chip.c3 { left: calc(50% - 360px); top: 380px; animation-delay: -3s; }
.chip.c4 { right: calc(50% - 370px); top: 420px; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-12px); } }
.trusted { position: relative; z-index: 4; padding: 0 0 36px; }
.trusted small { display: block; color: rgba(255, 255, 255, .85); font-size: 12.5px; margin-bottom: 22px; }
.logos { display: flex; justify-content: center; align-items: center; gap: clamp(22px, 5vw, 64px); flex-wrap: wrap; }
.logos .logo { font: 700 19px var(--head); color: #fff; display: inline-flex; align-items: center; gap: 7px; opacity: .9; transition: opacity .2s, transform .25s; }
.logos .logo:hover { opacity: 1; transform: translateY(-3px) scale(1.05); }
.logos .logo img { height: 24px; width: auto; }
.logos .logo i { width: 17px; height: 17px; border-radius: 5px; background: linear-gradient(135deg, #b78bff, #5b8cff); display: inline-block; }
.logos .logo:nth-child(even) i { border-radius: 50%; background: linear-gradient(135deg, #ff9ce8, #9b5cf6); }

/* ---------- Sections ---------- */
section { position: relative; }
.sec { padding: 110px 0 30px; }
.sec .glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(155, 92, 246, .22), transparent 70%); pointer-events: none; z-index: 0; filter: blur(10px); }
.sec .container { position: relative; z-index: 1; }
.sec-head { text-align: center; margin-bottom: 58px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--primary-light); background: rgba(155, 92, 246, .12); border: 1px solid rgba(155, 92, 246, .3); padding: 7px 14px; border-radius: 99px; margin-bottom: 20px; }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 12px var(--primary); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 56px); max-width: 780px; margin: 0 auto 16px; }
.sec-head p { color: var(--muted); max-width: 660px; margin: 0 auto; font-size: 15px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, var(--card-2), var(--card)); overflow: hidden; margin-top: 70px; }
.stat { padding: 34px 20px; text-align: center; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat b { display: block; font: 700 clamp(30px, 4vw, 48px)/1 var(--head); background: linear-gradient(180deg, #fff, #b78bff); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: 13px; }

/* Cards: glow follows the cursor */
.cardx, .plan, .tcard, .pcard, .tpl { --mx: 50%; --my: 0%; }
.cardx::before, .plan::before, .tcard::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(167, 124, 246, .16), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; border-radius: inherit; }
.cardx:hover::before, .plan:hover::before, .tcard:hover::before { opacity: 1; }

/* Bento - equal heights, media pinned to the bottom */
.bento { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: stretch; }
.cardx { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: 24px; padding: 30px; position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 340px; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.cardx:hover { transform: translateY(-5px); border-color: rgba(167, 124, 246, .4); box-shadow: 0 24px 60px rgba(60, 20, 150, .25); }
.cardx h3 { font-size: 24px; margin-bottom: 10px; }
.cardx p { color: var(--muted); font-size: 14px; margin: 0; max-width: 460px; }
.cardx .media { margin-top: auto; padding-top: 24px; }
.cardx.purple { background: linear-gradient(160deg, #cfa6ff 0%, #8f56f2 45%, #4a2fbe 100%); border: 0; color: #fff; justify-content: flex-end; }
.cardx.purple::after { content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .35), transparent 70%); top: -140px; left: 50%; transform: translateX(-50%); }
.cardx.purple p { color: rgba(255, 255, 255, .85); }
.cardx.purple h3 { font-size: 28px; }
.sparkle { position: absolute; top: 34px; left: 50%; transform: translateX(-50%); z-index: 1; display: flex; gap: 14px; }
.sparkle span { width: 74px; height: 74px; border-radius: 22px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .4); animation: bob 5s ease-in-out infinite; }
.sparkle span:nth-child(2) { margin-top: 22px; animation-delay: -1.6s; }
.sparkle span:nth-child(3) { animation-delay: -3.2s; }
.sparkle svg { width: 30px; height: 30px; }
.avatars { display: flex; align-items: center; gap: 18px; }
.avatars .av { position: relative; width: 112px; height: 112px; border-radius: 50%; background: #333 center/cover; flex: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); animation: bob 6s ease-in-out infinite; }
.avatars .av.s { width: 58px; height: 58px; animation-delay: -2s; }
.avatars .av b { position: absolute; top: -5px; right: -5px; background: #3b82f6; color: #fff; border-radius: 50%; width: 24px; height: 24px; font: 600 11px/24px var(--body); text-align: center; }
.avatars .av i { position: absolute; bottom: 5px; right: 5px; width: 15px; height: 15px; background: #4ade80; border-radius: 50%; border: 2px solid var(--card); }
.mini-window { margin-left: auto; width: 200px; background: #0f0f12; border: 1px solid var(--line); border-radius: 16px; padding: 14px; font-size: 11px; color: #bbb; }
.mini-window .dots { display: flex; gap: 4px; margin-bottom: 10px; }
.mini-window .dots i { width: 6px; height: 6px; border-radius: 50%; background: #444; }
@property --pct { syntax: '<number>'; inherits: false; initial-value: 0; }
.donut { --pct: 0; width: 86px; height: 86px; border-radius: 50%; margin: 8px auto 0; background: conic-gradient(#a66cff calc(var(--pct) * 1%), #2a2a30 0); display: grid; place-items: center; transition: --pct 1.6s var(--ease); }
.in .donut, .donut.in { --pct: 80; }
.donut span { width: 66px; height: 66px; background: #0f0f12; border-radius: 50%; display: grid; place-items: center; font: 600 19px var(--head); color: #fff; }
.shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.shot img { width: 100%; height: 230px; object-fit: cover; object-position: center top; transition: transform .8s var(--ease); }
.cardx:hover .shot img { transform: scale(1.06); }
.chart svg { width: 100%; height: 100px; display: block; }
.chart path.line { stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 2.2s var(--ease); }
.in .chart path.line { stroke-dashoffset: 0; }
.toggle { display: inline-flex; background: #0e0e10; border: 1px solid var(--line); border-radius: 11px; padding: 3px; margin: 18px 0 20px; width: fit-content; }
.toggle span { padding: 7px 16px; font-size: 12px; font-weight: 600; border-radius: 9px; color: #999; }
.toggle span.on { background: #fff; color: #000; }

/* Templates gallery */
.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tpl { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--card); transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; display: block; }
.tpl:hover { transform: translateY(-8px); box-shadow: 0 30px 70px rgba(80, 30, 200, .35); border-color: rgba(167, 124, 246, .5); }
.tpl .img { aspect-ratio: 4/3; overflow: hidden; }
.tpl img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 1s var(--ease); }
.tpl:hover img { transform: scale(1.08); }
.tpl .cap { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; }
.tpl h3 { font-size: 18px; }
.tpl small { color: var(--muted); font-size: 12.5px; }
.tpl .go { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .3s, transform .3s; }
.tpl:hover .go { background: var(--primary); transform: rotate(-45deg); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1020px; margin: 0 auto; align-items: stretch; }
.plan { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.plan:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(60, 20, 150, .3); }
.plan.featured { background: linear-gradient(170deg, #cfa6ff 0%, #8f56f2 50%, #4a2fbe 100%); border: 0; }
.plan h3 { font: 600 14px var(--body); opacity: .9; margin-bottom: 10px; }
.plan .price { font: 600 44px/1 var(--head); margin-bottom: 12px; }
.plan .price small { font-size: 14px; opacity: .65; font-weight: 400; }
.plan .desc { font-size: 13px; color: var(--muted); margin: 0 0 22px; min-height: 60px; }
.plan.featured .desc { color: rgba(255, 255, 255, .85); }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 500; }
.plan li svg { flex: none; width: 16px; height: 16px; }
.plan li.locked { opacity: .55; }
.tag-pro { font-size: 9px; font-weight: 700; background: linear-gradient(90deg, #d9b8ff, #a67cf6); color: #2d1470; padding: 3px 8px; border-radius: 99px; }

/* Testimonials - equal rows */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 16px; }
.tcard { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: 20px; padding: 24px; transition: transform .4s var(--ease), box-shadow .4s; display: flex; flex-direction: column; }
.tcard:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(60, 20, 150, .22); }
.tcard.featured { background: linear-gradient(170deg, #cfa6ff 0%, #8f56f2 50%, #4a2fbe 100%); border: 0; }
.tcard header { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.tcard .pic { width: 40px; height: 40px; border-radius: 50%; background: #444 center/cover; display: grid; place-items: center; font: 600 14px var(--body); flex: none; }
.tcard strong { display: block; font: 600 14px var(--body); }
.tcard small { color: var(--muted); font-size: 12px; }
.tcard.featured small { color: rgba(255, 255, 255, .8); }
.tcard p { margin: 0; font-size: 13.5px; color: #adadb6; }
.tcard.featured p { color: rgba(255, 255, 255, .92); }
.stars { color: #fbbf24; letter-spacing: 2px; font-size: 13px; margin-bottom: 12px; }

/* Showcases - image and copy share the same height and vertical center */
.show-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px 56px; align-items: start; }
.show.first { grid-column: 1 / -1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.show .pic { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(80, 30, 200, .25); }
.show .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.show:hover .pic img { transform: scale(1.05); }
.show .pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(155, 92, 246, .18), transparent 50%); pointer-events: none; }
.show h3 { font-size: clamp(32px, 3.8vw, 50px); margin-bottom: 18px; }
.show.small { padding: 28px; border-radius: 22px; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); height: 100%; transition: transform .4s var(--ease), border-color .3s; }
.show.small:hover { transform: translateY(-5px); border-color: rgba(167, 124, 246, .4); }
.show.small h3 { font-size: 30px; }
.show p { color: var(--muted); font-size: 14.5px; margin: 0 0 22px; }

/* FAQ */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; transition: border-color .3s; }
.faq details[open], .faq details:hover { border-color: rgba(167, 124, 246, .4); }
.faq summary { cursor: pointer; font: 600 17px var(--head); list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--primary); font-size: 26px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); font-size: 14.5px; margin: 14px 0 0; }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #f1e3ff 0%, #b98bff 38%, #5b34c9 78%, var(--dark) 100%); padding: 170px 0 100px; text-align: center; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .45; background-image: linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, #000, transparent 75%); }
.page-hero h1 { font-size: clamp(36px, 5.2vw, 64px); color: #fff; max-width: 860px; margin: 0 auto 18px; animation: fadeup .8s var(--ease) both; }
.page-hero p { color: rgba(255, 255, 255, .8); max-width: 640px; margin: 0 auto; animation: fadeup .8s .15s var(--ease) both; }
.crumbs { font-size: 12.5px; color: rgba(255, 255, 255, .75); margin-bottom: 20px; }
.crumbs a:hover { color: #fff; }
.prose { max-width: 760px; margin: 0 auto; padding: 60px 0 40px; color: #c9c9d1; font-size: 16.5px; line-height: 1.8; }
.prose h2 { font-size: 32px; color: #fff; margin: 44px 0 14px; }
.prose h3 { font-size: 23px; color: #fff; margin: 32px 0 10px; }
.prose a { color: var(--primary-light); text-decoration: underline; }
.prose img { border-radius: 18px; margin: 28px 0; width: 100%; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose blockquote { border-left: 3px solid var(--primary); margin: 24px 0; padding: 4px 20px; color: #fff; font-style: italic; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-bottom: 40px; }
.pcard { position: relative; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s; display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-8px); border-color: rgba(167, 124, 246, .45); box-shadow: 0 28px 70px rgba(80, 30, 200, .3); }
.pcard .cover { display: block; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, #c79dff, #4a2fbe); }
.pcard .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard:hover .cover img { transform: scale(1.08); }
.pcard .in { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard .cat { font-size: 11px; font-weight: 700; color: var(--primary-light); text-transform: uppercase; letter-spacing: .1em; }
.pcard h2, .pcard h3 { font-size: 21px; line-height: 1.2; }
.pcard h2 a:hover, .pcard h3 a:hover { color: var(--primary-light); }
.pcard p { color: var(--muted); font-size: 14px; margin: 0; flex: 1; }
.pcard time { font-size: 12.5px; color: #75757f; }
.pagination { display: flex; gap: 8px; justify-content: center; padding: 20px 0 60px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 9px 16px; border-radius: 11px; background: var(--card); border: 1px solid var(--line); font-size: 13px; }
.pagination a:hover { border-color: var(--primary); }
.post-meta { color: rgba(255, 255, 255, .8); font-size: 13.5px; margin-top: 20px; }
.post-cover { border-radius: 24px; overflow: hidden; margin: -60px auto 0; max-width: 980px; box-shadow: 0 40px 90px rgba(40, 10, 120, .5); position: relative; z-index: 2; border: 1px solid var(--line); }
.post-cover img { width: 100%; aspect-ratio: 16/8.5; object-fit: cover; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding: 50px 0 40px; align-items: start; }
.contact-info { display: grid; gap: 16px; align-content: start; }
.contact-info .cardx { padding: 22px; min-height: 0; }
.contact-info h3 { font-size: 16px; margin-bottom: 6px; }
form.contact label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; color: #cfcfd6; }
form.contact input, form.contact textarea { width: 100%; background: #101013; border: 1px solid var(--line); color: #fff; padding: 14px 15px; border-radius: 12px; font: 14px var(--body); margin-bottom: 16px; transition: border-color .2s, box-shadow .2s; }
form.contact input:focus, form.contact textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(155, 92, 246, .25); }
form.contact .hp { position: absolute; left: -9999px; }
.alert-ok { background: rgba(74, 222, 128, .12); border: 1px solid rgba(74, 222, 128, .4); color: #86efac; padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-size: 14px; }
.err { color: #fca5a5; font-size: 12px; margin: -10px 0 12px; }

/* 404 */
.nf { text-align: center; padding: 200px 0 120px; }
.nf h1 { font-size: clamp(90px, 18vw, 220px); background: linear-gradient(180deg, #c79dff, #4a2fbe); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* CTA + footer */
.cta { position: relative; margin: 110px 0 50px; border-radius: 32px; padding: 76px 30px; text-align: center; background: radial-gradient(circle at 50% 0, #b98bff 0%, #6a3fe0 45%, #2a1d7a 100%); overflow: hidden; isolation: isolate; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .35; background-image: linear-gradient(rgba(255, 255, 255, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .2) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 0, #000, transparent 70%); }
.cta h2 { font-size: clamp(32px, 4.4vw, 54px); margin-bottom: 14px; }
.cta p { color: rgba(255, 255, 255, .85); max-width: 540px; margin: 0 auto 28px; }
.site-footer { padding: 30px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding: 44px 0; border-top: 1px solid var(--line); }
.foot-grid h4 { font: 600 12.5px var(--body); color: #fff; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .1em; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.foot-grid a { color: var(--muted); font-size: 14px; transition: color .2s, padding .2s; }
.foot-grid ul a:hover { color: #fff; padding-left: 4px; }
.foot-grid p { color: var(--muted); font-size: 14px; max-width: 330px; margin: 0 0 8px; }
.foot-grid .brand { color: #fff; }
.foot-pill { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; background: linear-gradient(90deg, #7c4ae8, #c4a0ff 50%, #7c4ae8); background-size: 200% 100%; animation: shimmer 8s linear infinite; border-radius: 20px; padding: 12px 18px; color: #0a0a0a; min-height: 64px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.foot-pill .brand { color: #0a0a0a; }
.foot-pill nav { display: flex; gap: 6px; font-size: 13.5px; font-weight: 500; flex-wrap: wrap; justify-content: center; }
.foot-pill nav a { padding: 8px 16px; border-radius: 10px; transition: background .2s; }
.foot-pill nav a:hover { background: rgba(255, 255, 255, .45); }
.socials { display: flex; gap: 8px; justify-content: flex-end; }
.socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .55); display: grid; place-items: center; transition: transform .25s, background .25s; }
.socials a:hover { transform: translateY(-3px); background: #fff; }
.socials svg { width: 16px; height: 16px; }
.copy { text-align: center; color: #66666f; font-size: 12.5px; margin-top: 24px; }

/* Reveal animations with stagger */
.reveal { opacity: 0; transform: translateY(34px) scale(.985); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal.left { transform: translateX(-40px); }
.reveal.right { transform: translateX(40px); }
.reveal.left.in, .reveal.right.in { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .chip.c1, .chip.c3 { left: 2%; } .chip.c2, .chip.c4 { right: 2%; } }
@media (max-width: 960px) {
  .nav-pill { grid-template-columns: auto 1fr; }
  .nav-links { position: fixed; inset: 88px 4% auto 4%; flex-direction: column; background: #fff; border-radius: 18px; padding: 14px; gap: 4px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); display: none; align-items: stretch; }
  .nav-links a { height: 46px; }
  .nav-links.open { display: flex; }
  .burger { display: block; }
  .nav-cta { display: none; }
  .nav-actions { justify-content: flex-end; }
  .hero { padding-top: 125px; }
  .stage { height: 520px; }
  .chip { display: none; }
  .bento, .plans, .t-grid, .post-grid, .contact-wrap, .show.first, .show-grid, .tpl-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-pill { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .socials { justify-content: center; }
  .avatars .mini-window { display: none; }
}
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } .logos .logo { font-size: 16px; } .stage { height: 460px; } }

/* =====================================================================
   Agency additions: services, tech marquee, process, pricing tabs,
   quote form, sticky mobile bar
   ===================================================================== */
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.hero-cta2 { position: relative; z-index: 3; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 26px 4% 44px; }

/* filters / tabs */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -20px auto 36px; }
.chipbtn { font: 600 13px var(--body); color: #cfcfd8; background: var(--card); border: 1px solid var(--line); padding: 11px 18px; min-height: 44px; border-radius: 99px; cursor: pointer; transition: all .25s var(--ease); }
.chipbtn:hover { border-color: rgba(167, 124, 246, .6); color: #fff; }
.chipbtn.on { background: linear-gradient(135deg, #b98bff, #7c4ae8); color: #fff; border-color: transparent; box-shadow: 0 8px 24px rgba(124, 74, 232, .35); }

/* services grid */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; border-radius: 22px; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; overflow: hidden; }
.svc::after { content: ''; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(167, 124, 246, .28), transparent 70%); opacity: 0; transition: opacity .4s; }
.svc:hover { transform: translateY(-6px); border-color: rgba(167, 124, 246, .55); box-shadow: 0 22px 54px rgba(60, 20, 150, .32); }
.svc:hover::after { opacity: 1; }
.svc[hidden] { display: none; }
.svc .ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(145deg, #c79dff, #6a3fe0); color: #fff; box-shadow: 0 10px 26px rgba(106, 63, 224, .4); transition: transform .35s var(--ease); }
.svc:hover .ico { transform: rotate(-6deg) scale(1.08); }
.svc .ico svg { width: 24px; height: 24px; }
.svc small { color: var(--primary-light); font-size: 11.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; margin-top: 6px; }
.svc h3 { font-size: 21px; }
.svc p { color: var(--muted); font-size: 14px; margin: 0; flex: 1; }
.svc .more { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; margin-top: 6px; }
.svc .more svg { transition: transform .25s; }
.svc:hover .more svg { transform: translateX(5px); }

/* tech marquee */
.tech { padding: 34px 0 6px; text-align: center; overflow: hidden; }
.tech > small { display: block; color: var(--muted); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; padding: 0 4%; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .track { display: flex; width: max-content; animation: marq 38s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee .set { display: flex; gap: 12px; padding-right: 12px; }
.marquee span { white-space: nowrap; font: 600 14px var(--head); color: #d9d9e2; padding: 10px 20px; border-radius: 99px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
@keyframes marq { to { transform: translateX(-50%); } }

/* process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px; transition: transform .35s var(--ease), border-color .3s; }
.step:hover { transform: translateY(-5px); border-color: rgba(167, 124, 246, .5); }
.step b { display: block; font: 700 46px/1 var(--head); background: linear-gradient(180deg, #d7b8ff, #6a3fe0); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

/* pricing */
.plan-tabs { margin: -20px auto 34px; }
.plans[hidden] { display: none; }
.plans { animation: fadeup .5s var(--ease) both; }
.plan .ribbon { position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 700; background: rgba(255, 255, 255, .95); color: #4a22b8; padding: 5px 11px; border-radius: 99px; }
.plan-note { text-align: center; color: var(--muted); font-size: 13.5px; margin: 28px 0 0; }
.plan-note a { color: var(--primary-light); text-decoration: underline; }

/* service detail */
.svc-detail { display: grid; grid-template-columns: 1.55fr 1fr; gap: 36px; align-items: start; }
.svc-detail .pic img { width: 100%; height: auto; border-radius: 24px; border: 1px solid var(--line); }
.svc-side { position: sticky; top: 100px; }
.svc-side .cardx { padding: 28px; min-height: 0; }
.svc-side h3 { font-size: 20px; margin-bottom: 14px; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.ticks svg { flex: none; width: 18px; height: 18px; margin-top: 2px; padding: 3px; border-radius: 50%; background: rgba(155, 92, 246, .25); color: #d7b8ff; }

/* lead form */
form.contact select { width: 100%; background: #101013; border: 1px solid var(--line); color: #fff; padding: 14px 15px; border-radius: 12px; font: 14px var(--body); margin-bottom: 16px; min-height: 48px; }
form.contact select:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(155, 92, 246, .25); }
form.contact .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.contact .err { color: #fca5a5; font-size: 12.5px; margin: -8px 0 12px; }
form.contact .fine { text-align: center; color: var(--muted); font-size: 12px; margin: 12px 0 0; }
.form-card { padding: 30px; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; text-align: left; }
.cta-grid h2, .cta-grid p { text-align: left; margin-left: 0; }
.cta-form { background: rgba(10, 8, 30, .55); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(14px); border-radius: 24px; padding: 26px; }
.cta-form form.contact label { color: rgba(255, 255, 255, .85); }
.cta-alt { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* sticky mobile action bar + whatsapp float */
.mbar { display: none; }
.wa-float { position: fixed; right: 18px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .45); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Mobile friendliness ---------- */
@media (max-width: 960px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .svc-detail, .cta-grid { grid-template-columns: 1fr; }
  .svc-side { position: static; }
  .cta-grid, .cta-grid h2, .cta-grid p { text-align: center; }
  .cta-grid p { margin-inline: auto; }
  .cta-alt { justify-content: center; }
  .page-hero { padding: 140px 0 70px; }
  .sec { padding-block: 70px; }
}
@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .wa-float { display: none; }
  .mbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(14, 12, 26, .92); backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; border-radius: 12px; font: 600 14px var(--body); color: #fff; background: rgba(255, 255, 255, .09); }
  .mbar a.primary { background: linear-gradient(135deg, #b98bff, #7c4ae8); }
  .mbar a.wa { background: #25d366; color: #06280f; }
  .mbar svg { width: 18px; height: 18px; }
}
@media (max-width: 640px) {
  .svc-grid, .process { grid-template-columns: 1fr; }
  form.contact .two { grid-template-columns: 1fr; gap: 0; }
  form.contact input, form.contact textarea, form.contact select { font-size: 16px; }
  .cta { padding: 44px 18px; margin: 70px 0 36px; border-radius: 24px; }
  .cta-form { padding: 18px; }
  .form-card { padding: 20px; }
  .hero { padding-top: 112px; }
  .hero h1 { font-size: clamp(34px, 10vw, 46px); }
  .hero p.lead { font-size: 15px; padding-inline: 4px; }
  .hero-cta2 .btn, .hero .cta-row .btn { min-height: 48px; }
  .sec-head { margin-bottom: 38px; }
  .sec-head h2 { font-size: clamp(27px, 8vw, 38px); }
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -4vw; padding: 4px 4vw 8px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chipbtn { flex: none; }
  .plan .price { font-size: 38px; }
  .svc { padding: 24px 20px; }
  .nav-pill { height: 58px; }
  .burger { min-width: 44px; min-height: 44px; }
  .foot-pill nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
  img, video { height: auto; }
}
.toast { position: fixed; top: 92px; left: 50%; transform: translateX(-50%); z-index: 150; max-width: min(560px, 92vw); display: flex; gap: 12px; align-items: center; padding: 14px 20px; border-radius: 14px; background: #0f2a1a; border: 1px solid rgba(74, 222, 128, .5); color: #bbf7d0; font-size: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .5); animation: toastin .5s var(--ease); transition: opacity .5s, transform .5s; }
.toast.err { background: #2a1010; border-color: rgba(248, 113, 113, .5); color: #fecaca; }
.toast.hide { opacity: 0; transform: translate(-50%, -10px); pointer-events: none; }
.toast b { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(74, 222, 128, .25); }
.toast.err b { background: rgba(248, 113, 113, .25); }
@keyframes toastin { from { opacity: 0; transform: translate(-50%, -16px); } }
