:root {
  --bg: #05070b;
  --bg-2: #080b11;
  --surface: rgba(12, 17, 25, .72);
  --surface-strong: #0b1018;
  --line: rgba(154, 184, 222, .14);
  --line-strong: rgba(80, 166, 255, .32);
  --text: #f4f8ff;
  --muted: #8f9bad;
  --blue: #48a4ff;
  --blue-2: #257be6;
  --cyan: #77c8ff;
  --green: #56e7a5;
  --max: 1480px;
  --pad: clamp(20px, 4vw, 72px);
  --radius: 28px;
  --header: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; color: var(--text); background: var(--bg); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
::selection { background: rgba(72,164,255,.32); color: #fff; }

body::before {
  content: ""; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% 8%, rgba(39,111,202,.13), transparent 68%),
    radial-gradient(900px 620px at 86% 14%, rgba(62,161,255,.08), transparent 70%),
    linear-gradient(180deg, #06080c 0%, #05070b 45%, #06080c 100%);
}
.noise { position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
.cursor-glow { position: fixed; width: 480px; height: 480px; border-radius: 50%; pointer-events: none; z-index: -1; filter: blur(28px); opacity: .12; background: radial-gradient(circle, var(--blue), transparent 67%); will-change: transform; }

.section-shell { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--pad); }

.site-header { height: var(--header); width: 100%; position: fixed; top: 0; left: 0; z-index: 100; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--pad); border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease; }
.site-header.is-scrolled { background: rgba(5,7,11,.78); border-color: var(--line); backdrop-filter: blur(20px); }
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; min-width: 0; }
.brand img { width: 47px; height: 47px; object-fit: contain; }
.brand-text { display: flex; align-items: baseline; gap: 8px; letter-spacing: .12em; }
.brand-text strong { font-size: 14px; }
.brand-text small { font-size: 9px; color: var(--muted); letter-spacing: .28em; }
.desktop-nav { display: flex; gap: 34px; font-size: 13px; color: #b7c0ce; }
.desktop-nav a { position: relative; transition: color .2s ease; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--blue); transition: right .25s ease; }
.desktop-nav a:hover { color: #fff; }
.desktop-nav a:hover::after { right: 0; }
.header-cta { justify-self: end; display: inline-flex; gap: 14px; align-items: center; height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(72,164,255,.06); transition: border-color .25s ease, background .25s ease, transform .18s ease; }
.header-cta:hover { border-color: rgba(99,184,255,.7); background: rgba(72,164,255,.12); }
.menu-button { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: rgba(9,13,20,.8); padding: 0; }
.menu-button span { display: block; width: 18px; height: 1px; background: white; margin: 6px auto; transition: transform .25s ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { display: none; }

.hero { min-height: 100svh; padding-top: calc(var(--header) + 70px); padding-bottom: 72px; position: relative; display: grid; grid-template-columns: minmax(0, .98fr) minmax(420px, .86fr); gap: clamp(48px, 6vw, 112px); align-items: center; isolation: isolate; }
.hero-grid { position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -3; opacity: .32; background-image: linear-gradient(rgba(122,159,203,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(122,159,203,.07) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, transparent 4%, black 28%, black 78%, transparent 100%); }
.hero-orb { position: absolute; border-radius: 50%; z-index: -2; pointer-events: none; filter: blur(2px); }
.hero-orb-a { width: min(58vw, 840px); aspect-ratio: 1; right: -18%; top: 3%; border: 1px solid rgba(72,164,255,.13); box-shadow: 0 0 160px rgba(24,91,174,.08) inset; }
.hero-orb-b { width: 420px; height: 420px; left: -260px; bottom: 6%; background: radial-gradient(circle, rgba(66,143,238,.10), transparent 70%); }
.eyebrow, .section-kicker { color: #90b8df; font-size: 11px; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow i { width: 7px; height: 7px; background: var(--blue); border-radius: 50%; box-shadow: 0 0 18px var(--blue); }
.hero h1 { margin: 26px 0 24px; max-width: 900px; font-size: clamp(54px, 6.8vw, 112px); line-height: .91; letter-spacing: -.065em; font-weight: 650; }
.hero h1 em, .about-title em, .section-head h2 em, .project-intro h2 em, .contact-card h2 em { color: var(--blue); font-style: normal; font-weight: 500; }
.hero-lead { max-width: 710px; color: #a9b4c5; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.button { height: 58px; padding: 0 24px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; font-size: 13px; font-weight: 800; letter-spacing: .02em; transition: transform .18s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.button-primary { color: #03101e; background: linear-gradient(120deg, #71b9ff 0%, #3f9cf8 55%, #77c8ff 100%); box-shadow: 0 14px 45px rgba(41,137,232,.16); }
.button-primary:hover { box-shadow: 0 18px 55px rgba(41,137,232,.28); }
.button-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.025); color: #dce7f4; }
.button-ghost:hover { border-color: rgba(122,179,237,.32); background: rgba(255,255,255,.045); }
.hero-proof { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); color: #758297; font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.hero-proof span { display: flex; align-items: center; gap: 9px; }
.hero-proof span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #46617e; }

.hero-visual { position: relative; min-width: 0; }
.visual-shell { border: 1px solid rgba(104,157,214,.19); border-radius: 24px; overflow: hidden; background: linear-gradient(155deg, rgba(15,22,33,.96), rgba(6,9,14,.96)); box-shadow: 0 45px 110px rgba(0,0,0,.46), inset 0 1px rgba(255,255,255,.03); transform: perspective(1100px) rotateY(-4deg) rotateX(1deg); }
.visual-topbar, .visual-footer { display: flex; align-items: center; gap: 7px; height: 46px; padding: 0 17px; border-bottom: 1px solid var(--line); color: #59667a; font: 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.visual-topbar span { width: 7px; height: 7px; border-radius: 50%; background: #273242; }
.visual-topbar b { margin-left: auto; margin-right: auto; font-weight: 500; letter-spacing: .08em; }
.visual-stage { min-height: 480px; position: relative; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; overflow: hidden; }
.visual-stage::before { content: ""; position: absolute; width: 340px; height: 340px; right: -100px; top: 30px; border-radius: 50%; background: radial-gradient(circle, rgba(66,160,255,.18), transparent 67%); filter: blur(18px); }
.visual-code { padding: 34px; display: grid; grid-template-columns: 28px 1fr; gap: 14px 10px; font: 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: #8996aa; }
.visual-code span { color: #3a4b61; user-select: none; }
.visual-code p { margin: 0; white-space: nowrap; }
.visual-code b { color: #74baff; font-weight: 500; }
.visual-brand { position: relative; z-index: 2; padding: 26px; }
.visual-brand img { width: 100%; max-width: 260px; margin: auto; filter: drop-shadow(0 25px 55px rgba(0,0,0,.4)); }
.visual-footer { border-top: 1px solid var(--line); border-bottom: 0; justify-content: space-between; }
.visual-footer span { display: flex; align-items: center; gap: 8px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
.scan-line { position: absolute; inset: 0 auto auto 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(91,176,255,.45), transparent); box-shadow: 0 0 20px rgba(91,176,255,.25); animation: scan 4.8s linear infinite; }
@keyframes scan { from { transform: translateY(40px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { transform: translateY(425px); opacity: 0; } }
.floating-chip { position: absolute; padding: 10px 13px; border: 1px solid rgba(94,171,248,.22); border-radius: 999px; background: rgba(7,12,18,.78); backdrop-filter: blur(14px); color: #8294aa; font: 9px ui-monospace, monospace; letter-spacing: .12em; box-shadow: 0 16px 40px rgba(0,0,0,.2); }
.chip-1 { top: -17px; right: 12%; animation: float 5s ease-in-out infinite; }
.chip-2 { left: -26px; bottom: 23%; animation: float 6.3s ease-in-out infinite -.6s; }
.chip-3 { right: -20px; bottom: 11%; animation: float 5.8s ease-in-out infinite -1.4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.scroll-cue { position: absolute; bottom: 26px; left: var(--pad); color: #526077; font: 9px ui-monospace, monospace; letter-spacing: .18em; text-transform: uppercase; display: flex; gap: 12px; align-items: center; }
.scroll-cue span { width: 42px; height: 1px; background: #405068; position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: translateX(-100%); animation: lineMove 2s ease infinite; }
@keyframes lineMove { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(100%); } }

.about, .services, .project, .process, .contact { padding-top: clamp(105px, 10vw, 180px); padding-bottom: clamp(80px, 8vw, 145px); }
.about { border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(42px, 8vw, 140px); margin-top: 40px; align-items: start; }
.about-title h2, .section-head h2, .project-intro h2, .contact-card h2 { margin: 0; font-size: clamp(44px, 5.4vw, 88px); line-height: .98; letter-spacing: -.055em; font-weight: 620; }
.about-copy { color: #a2adbd; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.85; }
.about-copy p { margin: 0 0 20px; }
.about-copy strong { color: white; }
.capability-strip { margin-top: 84px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability-strip article { min-height: 190px; padding: 28px 26px; border-right: 1px solid var(--line); }
.capability-strip article:last-child { border-right: 0; }
.capability-strip span, .process-grid span { color: #4e617a; font: 10px ui-monospace, monospace; }
.capability-strip h3 { margin: 48px 0 9px; font-size: 16px; }
.capability-strip p { margin: 0; color: #778599; font-size: 13px; line-height: 1.6; }

.services { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1.2fr .6fr; gap: 70px; align-items: end; margin-bottom: 72px; }
.section-head .section-kicker { margin-bottom: 24px; }
.section-head p { margin: 0 0 7px; color: #8b98aa; line-height: 1.75; max-width: 470px; }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 70px minmax(240px,.8fr) 1.1fr 36px; gap: 26px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); transition: padding .25s ease, background .25s ease; }
.service-row:hover { padding-left: 16px; padding-right: 16px; background: linear-gradient(90deg, rgba(72,164,255,.045), transparent); }
.service-number { color: #45556b; font: 11px ui-monospace, monospace; }
.service-name h3 { margin: 0 0 7px; font-size: clamp(20px,2vw,28px); letter-spacing: -.025em; }
.service-name span { color: #68778b; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.service-row p { margin: 0; color: #8995a7; font-size: 14px; line-height: 1.7; }
.service-arrow { color: #5faefc; font-size: 20px; transition: transform .2s ease; }
.service-row:hover .service-arrow { transform: translate(5px,-5px); }

.project { border-top: 1px solid var(--line); }
.project-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,.6fr); column-gap: 76px; align-items: end; }
.project-intro .section-kicker { grid-column: 1/-1; margin-bottom: 28px; }
.project-intro h2 { max-width: 850px; }
.project-intro > p { margin: 0 0 4px; color: #98a5b6; font-size: 17px; line-height: 1.8; }
.project-tags { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.project-tags span { border: 1px solid var(--line); color: #8291a5; padding: 9px 13px; border-radius: 999px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.015); }
.project-showcase { margin-top: 64px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.showcase-card { border: 1px solid var(--line); border-radius: 28px; padding: 16px; background: linear-gradient(180deg, rgba(10,14,21,.88), rgba(7,10,16,.94)); box-shadow: 0 22px 64px rgba(0,0,0,.22); }
.showcase-meta { margin: 2px 4px 14px; color: var(--blue); font: 10px ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; }
.browser { margin: 0; border: 1px solid rgba(101,151,207,.2); border-radius: 18px; overflow: hidden; background: #090d13; box-shadow: 0 38px 100px rgba(0,0,0,.38); }
.browser-bar { height: 42px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--line); color: #5b687a; font: 9px ui-monospace, monospace; }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #2a3545; }
.browser-bar span { margin-left: 10px; }
.browser img { width: 100%; height: auto; display: block; }
.showcase-copy { padding: 18px 4px 6px; }
.showcase-copy h3 { margin: 0 0 10px; font-size: 24px; }
.showcase-copy p { margin: 0; color: #90a0b3; font-size: 14px; line-height: 1.75; }
.showcase-card-admin { position: relative; }
.showcase-card-admin::before { content: ""; position: absolute; inset: 0; border-radius: 28px; pointer-events: none; background: radial-gradient(circle at 82% 12%, rgba(84,165,255,.09), transparent 32%); }
.admin-features { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.admin-features article { border: 1px solid var(--line); border-radius: 24px; padding: 26px; background: rgba(255,255,255,.018); }
.admin-features span { display: inline-block; margin-bottom: 16px; color: var(--gold); font: 10px ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.admin-features h4 { margin: 0 0 10px; font-size: 20px; }
.admin-features p { margin: 0; color: #90a0b3; font-size: 14px; line-height: 1.75; }
.case-section { margin-top: 64px; padding-top: 42px; border-top: 1px solid var(--line); }
.case-section.case-admin { margin-top: 86px; padding: clamp(28px, 3.2vw, 48px); border: 1px solid rgba(91,166,240,.18); border-radius: 28px; background: linear-gradient(145deg, rgba(12,18,28,.96), rgba(7,10,16,.98)); box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 32px 90px rgba(0,0,0,.24); position: relative; overflow: hidden; }
.case-section.case-admin::before { content:""; position:absolute; inset:0; pointer-events:none; background: radial-gradient(circle at 92% 0%, rgba(72,164,255,.12), transparent 34%), linear-gradient(rgba(90,145,205,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(90,145,205,.028) 1px, transparent 1px); background-size:auto, 44px 44px, 44px 44px; }
.case-section.case-admin > * { position: relative; z-index: 1; }
.case-heading { display:grid; grid-template-columns:minmax(0,1fr) minmax(320px,.65fr); gap:56px; align-items:end; margin-bottom:28px; }
.case-index { display:block; margin-bottom:14px; color:var(--blue); font:700 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing:.16em; }
.case-heading h3 { margin:0; font-size:clamp(30px,3.5vw,50px); line-height:1.02; letter-spacing:-.04em; }
.case-heading p { margin:0; color:#8f9bad; font-size:14px; line-height:1.75; }
.case-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.browser { margin:0; border:1px solid rgba(101,151,207,.2); border-radius:18px; overflow:hidden; background:#090d13; box-shadow:0 30px 85px rgba(0,0,0,.32); transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease; }
.browser:hover { transform:translateY(-4px); border-color:rgba(92,174,255,.34); box-shadow:0 36px 95px rgba(0,0,0,.4); }
.browser-bar { height:42px; display:flex; align-items:center; gap:6px; padding:0 14px; border-bottom:1px solid var(--line); color:#5b687a; font:9px ui-monospace,monospace; }
.browser-bar i { width:7px; height:7px; border-radius:50%; background:#2a3545; }
.browser-bar span { margin-left:10px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.browser img { width:100%; height:auto; display:block; }
.case-gallery-admin .browser { border-color:rgba(87,156,226,.22); }
.admin-controls { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:18px; }
.admin-controls article { display:flex; gap:16px; align-items:flex-start; min-height:170px; padding:22px; border:1px solid rgba(95,155,216,.13); border-radius:18px; background:rgba(255,255,255,.018); transition:border-color .25s ease,background .25s ease,transform .25s ease; }
.admin-controls article:hover { transform:translateY(-3px); border-color:rgba(91,170,249,.3); background:rgba(62,145,228,.045); }
.control-number { flex:0 0 38px; width:38px; height:38px; display:grid; place-items:center; border-radius:12px; color:#7cbcff; background:rgba(72,164,255,.08); border:1px solid rgba(72,164,255,.17); font:700 10px ui-monospace,monospace; }
.admin-controls h4 { margin:2px 0 10px; font-size:17px; letter-spacing:-.015em; }
.admin-controls p { margin:0; color:#8290a3; font-size:13px; line-height:1.65; }
.project-flow { margin-top:50px; display:grid; grid-template-columns:repeat(7,auto); align-items:center; gap:24px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:26px 0; }
.project-flow div { flex:1; }
.project-flow span { display:block; color:var(--blue); font:9px ui-monospace,monospace; margin-bottom:12px; }
.project-flow strong { display:block; font-size:14px; margin-bottom:6px; }
.project-flow small { display:block; color:#718097; line-height:1.55; }
.project-flow b { color:#3a4a60; font-weight:400; }

.process { border-top: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 62px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.process-grid article { min-height: 300px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.process-grid article::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -90px; bottom: -120px; background: radial-gradient(circle, rgba(67,160,255,.12), transparent 68%); transition: transform .35s ease; }
.process-grid article:hover::after { transform: translate(-25px,-25px) scale(1.35); }
.process-grid h3 { margin: 110px 0 14px; font-size: 22px; }
.process-grid p { margin: 0; color: #8190a4; font-size: 13px; line-height: 1.7; }

.contact { border-top: 1px solid var(--line); }
.contact-card { min-height: 590px; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: clamp(34px,6vw,90px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(15,24,37,.92), rgba(6,9,14,.92)); }
.contact-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(92,146,204,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(92,146,204,.055) 1px,transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg,black,transparent 72%); }
.contact-glow { position: absolute; width: 620px; height: 620px; right: -140px; top: -190px; border-radius: 50%; background: radial-gradient(circle, rgba(53,153,255,.2), rgba(53,153,255,.03) 42%, transparent 68%); filter: blur(10px); }
.contact-card > *:not(.contact-glow) { position: relative; z-index: 1; }
.contact-card h2 { max-width: 980px; margin-top: 26px; }
.contact-card p { max-width: 650px; margin: 30px 0; color: #98a5b8; font-size: 17px; line-height: 1.75; }
.button-large { min-height: 64px; padding-inline: 28px; }
.contact-note { margin-top: 14px; color: #5f6d80; }

.footer { padding-top: 68px; padding-bottom: 34px; display: grid; grid-template-columns: 1fr auto; gap: 50px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; gap: 18px; align-items: center; }
.footer-brand img { width: 84px; height: 84px; object-fit: contain; }
.footer-brand p { max-width: 390px; color: #718095; font-size: 13px; line-height: 1.7; }
.footer-links { display: flex; gap: 26px; align-items: center; color: #8896a8; font-size: 12px; }
.footer-links a:hover { color: white; }
.footer-bottom { grid-column: 1/-1; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: #4f5d70; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.contact-assistant { position: fixed; z-index: 120; right: 24px; bottom: 24px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.assistant-popover { width: min(330px, calc(100vw - 32px)); padding: 16px; border: 1px solid rgba(95,174,252,.24); border-radius: 20px; background: linear-gradient(145deg, rgba(12,18,28,.98), rgba(7,10,16,.98)); box-shadow: 0 28px 80px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.04); opacity: 0; visibility: hidden; transform: translateY(14px) scale(.96); transform-origin: 88% 100%; transition: opacity .32s ease, transform .32s cubic-bezier(.2,.8,.2,1), visibility .32s; position: relative; overflow: hidden; }
.assistant-popover::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 0 0, rgba(72,164,255,.12), transparent 42%); }
.contact-assistant.is-open .assistant-popover { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.assistant-head { position: relative; display: flex; align-items: center; gap: 11px; padding-right: 28px; }
.assistant-avatar { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 14px; color: #dff0ff; background: linear-gradient(135deg, rgba(72,164,255,.24), rgba(72,164,255,.06)); border: 1px solid rgba(95,174,252,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.assistant-avatar svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.assistant-head strong { display: block; font-size: 14px; letter-spacing: -.01em; }
.assistant-head span { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: #7f8da1; font-size: 10px; }
.assistant-head span i { width: 7px; height: 7px; border-radius: 50%; background: #56e7a5; box-shadow: 0 0 0 4px rgba(86,231,165,.08); }
.assistant-popover p { position: relative; margin: 14px 0; color: #aeb8c6; font-size: 13px; line-height: 1.6; }
.assistant-mobile-bubble { display: none; }
.assistant-mini-bot { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 12px; color: #dff0ff; background: linear-gradient(135deg, rgba(72,164,255,.25), rgba(72,164,255,.07)); border: 1px solid rgba(95,174,252,.26); }
.assistant-mini-bot svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.assistant-mini-copy { min-width: 0; display: grid; gap: 3px; }
.assistant-mini-copy strong { color: #f5f9ff; font-size: 12px; line-height: 1.15; white-space: nowrap; }
.assistant-mini-copy small { color: #8fa1b6; font-size: 10px; line-height: 1.15; white-space: nowrap; }
.assistant-mini-copy b { color: #69b6ff; font-weight: 700; }
.assistant-close { position: absolute; z-index: 2; top: 10px; right: 10px; width: 28px; height: 28px; border: 0; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.035); color: #7f8da1; font-size: 18px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.assistant-close:hover { background: rgba(255,255,255,.08); color: white; }
.assistant-cta { position: relative; min-height: 44px; padding: 0 14px; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #56e7a5; color: #04130c; font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; transition: transform .2s ease, filter .2s ease; }
.assistant-cta:hover { transform: translateY(-2px); filter: brightness(1.04); }
.whatsapp-float { position: relative; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #56e7a5; color: #04130c; box-shadow: 0 16px 42px rgba(86,231,165,.2); transition: transform .2s ease, box-shadow .2s ease; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 20px 48px rgba(86,231,165,.27); }
.whatsapp-float svg { position: relative; z-index: 2; width: 23px; height: 23px; fill: currentColor; }
.whatsapp-pulse { position: absolute; inset: -1px; border-radius: inherit; border: 1px solid rgba(86,231,165,.5); animation: whatsappPulse 2.4s ease-out infinite; }
@keyframes whatsappPulse { 0% { opacity: .55; transform: scale(1); } 70%,100% { opacity: 0; transform: scale(1.55); } }
@media (prefers-reduced-motion: reduce) { .whatsapp-pulse { animation: none; } .assistant-popover { transition: none; } }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .72s cubic-bezier(.2,.7,.2,1), transform .72s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .desktop-nav, .header-cta { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .menu-button { display: block; justify-self: end; }
  .mobile-menu { position: fixed; inset: var(--header) 0 auto; z-index: 99; padding: 24px var(--pad) 34px; background: rgba(5,7,11,.96); backdrop-filter: blur(22px); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; transform: translateY(-120%); opacity: 0; pointer-events: none; transition: transform .28s ease, opacity .28s ease; }
  .mobile-menu[aria-hidden="false"] { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-menu a { padding: 15px 0; border-bottom: 1px solid var(--line); color: #bdc7d5; }
  .mobile-menu .mobile-cta { border: 1px solid var(--line-strong); border-radius: 12px; padding: 16px 18px; margin-top: 8px; color: white; background: rgba(72,164,255,.08); }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: calc(var(--header) + 90px); }
  .hero-copy { max-width: 880px; }
  .hero-visual { width: min(100%, 760px); justify-self: center; }
  .visual-shell { transform: none; }
  .about-grid { grid-template-columns: 1fr; }
  .capability-strip { grid-template-columns: repeat(2,1fr); }
  .capability-strip article:nth-child(2) { border-right: 0; }
  .capability-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-head { grid-template-columns: 1fr; gap: 28px; }
  .service-row { grid-template-columns: 54px minmax(220px,.8fr) 1fr 24px; }
  .project-intro { grid-template-columns: 1fr; }
  .project-intro > p { margin-top: 26px; max-width: 760px; }
  .project-showcase { grid-template-columns: 1fr; }
  .admin-features { grid-template-columns: 1fr; }
  .project-flow { grid-template-columns: repeat(2,1fr); }
  .project-flow b { display: none; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 720px) {
  :root { --header: 72px; --pad: 20px; --radius: 20px; }
  .brand img { width: 41px; height: 41px; }
  .brand-text strong { font-size: 12px; }
  .brand-text small { display: none; }
  .hero { padding-top: calc(var(--header) + 70px); padding-bottom: 96px; gap: 58px; }
  .hero h1 { font-size: clamp(49px, 15vw, 74px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; justify-content: space-between; }
  .hero-proof { gap: 12px 18px; }
  .hero-proof span { font-size: 9px; }
  .hero-orb-a { width: 95vw; right: -55%; }
  .visual-stage { min-height: 360px; grid-template-columns: 1fr; }
  .visual-code { padding: 26px 22px 8px; font-size: 9px; gap: 10px 8px; }
  .visual-brand { padding: 0 40px 30px; }
  .visual-brand img { max-width: 190px; }
  .chip-2 { left: -7px; }
  .chip-3 { right: -6px; }
  .scroll-cue { bottom: 28px; }
  .about, .services, .project, .process, .contact { padding-top: 92px; padding-bottom: 86px; }
  .about-title h2, .section-head h2, .project-intro h2, .contact-card h2 { font-size: clamp(42px,12vw,60px); }
  .about-copy { font-size: 16px; }
  .capability-strip { grid-template-columns: 1fr; }
  .capability-strip article { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line); }
  .capability-strip article:last-child { border-bottom: 0; }
  .capability-strip h3 { margin-top: 34px; }
  .section-head { margin-bottom: 48px; }
  .service-row { grid-template-columns: 42px 1fr 20px; gap: 14px; padding: 27px 0; }
  .service-row p { grid-column: 2 / -1; }
  .service-arrow { grid-column: 3; grid-row: 1; }
  .project-showcase { grid-template-columns: 1fr; gap: 14px; }
  .showcase-card { padding: 14px; border-radius: 22px; }
  .showcase-copy h3 { font-size: 22px; }
  .browser { box-shadow: 0 24px 70px rgba(0,0,0,.35); }
  .browser-bar { height: 35px; }
  .admin-features { grid-template-columns: 1fr; gap: 10px; }
  .admin-features article { padding: 18px; border-radius: 18px; }
  .project-flow { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .project-flow div { padding: 22px 0; border-bottom: 1px solid var(--line); }
  .project-flow div:last-child { border-bottom: 0; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: 230px; }
  .process-grid h3 { margin-top: 70px; }
  .contact-card { min-height: 520px; padding: 32px 24px; }
  .contact-card p { font-size: 15px; }
  .footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .contact-assistant { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); gap: 10px; }
  .assistant-popover { display: none !important; }
  .assistant-mobile-bubble {
    display: flex; align-items: center; gap: 10px; width: auto; max-width: calc(100vw - 92px);
    padding: 9px 12px 9px 9px; border: 1px solid rgba(95,174,252,.22); border-radius: 16px;
    background: rgba(8,13,21,.96); box-shadow: 0 18px 55px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.035);
    opacity: 0; visibility: hidden; transform: translateY(10px) scale(.96); transform-origin: 100% 100%;
    transition: opacity .28s ease, transform .28s cubic-bezier(.2,.8,.2,1), visibility .28s;
  }
  .contact-assistant.is-open .assistant-mobile-bubble { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
  .whatsapp-float { width: 52px; height: 52px; }
}

@media (max-width: 420px) {
  .contact-assistant { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .assistant-mobile-bubble { max-width: calc(100vw - 82px); padding: 8px 10px 8px 8px; border-radius: 15px; }
  .assistant-mini-bot { width: 34px; height: 34px; flex-basis: 34px; }
  .assistant-mini-copy strong { font-size: 11px; }
  .assistant-mini-copy small { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* V10: mobile contact assistant — compact and non-blocking */
@media (max-width: 768px) {
  .contact-assistant { right: 12px !important; bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important; gap: 8px !important; }
  .assistant-popover { display: none !important; opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
  .assistant-mobile-bubble {
    display: flex !important; align-items: center !important; gap: 8px !important;
    width: auto !important; max-width: 176px !important; min-height: 44px !important;
    padding: 6px 10px 6px 7px !important; border-radius: 999px !important;
    background: rgba(8,13,21,.96) !important; border: 1px solid rgba(95,174,252,.22) !important;
    box-shadow: 0 12px 34px rgba(0,0,0,.38) !important;
  }
  .assistant-mini-bot { width: 32px !important; height: 32px !important; flex: 0 0 32px !important; border-radius: 50% !important; }
  .assistant-mini-bot svg { width: 19px !important; height: 19px !important; }
  .assistant-mini-copy { min-width: 0 !important; line-height: 1.05 !important; }
  .assistant-mini-copy strong { display: block !important; white-space: nowrap !important; font-size: 11px !important; }
  .assistant-mini-copy small { display: block !important; margin-top: 3px !important; white-space: nowrap !important; font-size: 8px !important; color: #8190a3 !important; }
  .whatsapp-float { width: 50px !important; height: 50px !important; }
}
@media (max-width: 390px) {
  .assistant-mobile-bubble { max-width: 160px !important; padding-right: 9px !important; }
  .assistant-mini-copy strong { font-size: 10px !important; }
  .assistant-mini-copy small { font-size: 7.5px !important; }
}


/* V11 MOBILE REDESIGN */
@media (max-width: 768px) {
  :root {
    --header: 68px;
    --pad: 18px;
    --radius: 18px;
  }

  body::before {
    background:
      radial-gradient(460px 330px at 82% 5%, rgba(40,122,219,.13), transparent 68%),
      radial-gradient(360px 300px at 0% 24%, rgba(41,108,190,.07), transparent 70%),
      linear-gradient(180deg, #06080c 0%, #05070b 48%, #06080c 100%);
  }

  .noise { opacity: .016; }
  .cursor-glow { display: none; }

  .site-header {
    height: 68px;
    padding: 0 18px;
    background: rgba(5,7,11,.82);
    border-bottom-color: rgba(154,184,222,.08);
    backdrop-filter: blur(18px);
  }
  .brand { gap: 9px; }
  .brand img { width: 38px; height: 38px; }
  .brand-text { gap: 6px; }
  .brand-text strong { font-size: 12px; letter-spacing: .14em; }
  .brand-text small { display: none; }
  .menu-button { width: 42px; height: 42px; background: rgba(10,15,23,.86); }

  .hero {
    min-height: auto !important;
    display: block !important;
    padding-top: 112px !important;
    padding-bottom: 64px !important;
    overflow: hidden;
  }
  .hero-grid {
    opacity: .18;
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, black 0%, black 62%, transparent 100%);
  }
  .hero-orb-a {
    width: 420px !important;
    height: 420px !important;
    right: -230px !important;
    top: 42px !important;
    opacity: .58;
    box-shadow: 0 0 110px rgba(24,91,174,.06) inset;
  }
  .hero-orb-b { display: none !important; }

  .hero-copy { width: 100%; max-width: none; position: relative; z-index: 2; }
  .eyebrow {
    max-width: 100%;
    gap: 8px;
    font-size: 9px;
    line-height: 1.45;
    letter-spacing: .18em;
  }
  .eyebrow i { width: 6px; height: 6px; flex: 0 0 6px; }

  .hero h1 {
    max-width: 355px;
    margin: 20px 0 20px;
    font-size: clamp(44px, 12.8vw, 56px) !important;
    line-height: .96 !important;
    letter-spacing: -.055em;
    font-weight: 650;
  }
  .hero-lead {
    max-width: 355px;
    margin: 0;
    color: #9ea9b9;
    font-size: 15px !important;
    line-height: 1.68;
  }

  .hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
  }
  .hero .button {
    width: 100%;
    height: 54px;
    padding: 0 18px;
    border-radius: 14px;
    justify-content: space-between;
    font-size: 12px;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 11px 16px;
    margin-top: 28px;
    padding-top: 18px;
    border-top-color: rgba(154,184,222,.11);
  }
  .hero-proof span {
    min-width: 0;
    gap: 7px;
    font-size: 8px !important;
    letter-spacing: .09em;
    line-height: 1.4;
  }

  /* O mockup de código funciona bem no desktop, mas pesa demais na primeira dobra mobile. */
  .hero-visual { display: none !important; }
  .scroll-cue { display: none !important; }

  .about, .services, .project, .process, .contact {
    padding-top: 76px !important;
    padding-bottom: 72px !important;
  }
  .about { border-top: 1px solid rgba(154,184,222,.08); }

  .about-title h2,
  .section-head h2,
  .project-intro h2,
  .contact-card h2 {
    font-size: clamp(38px, 11vw, 52px) !important;
    line-height: 1.01;
  }

  .project-showcase { gap: 18px; }
  .showcase-card { padding: 10px; }
  .showcase-copy { padding: 16px 6px 8px; }
  .showcase-copy h3 { font-size: 20px; }
  .showcase-copy p { font-size: 13px; }
  .browser { border-radius: 14px; }
  .browser-bar { height: 32px; padding-inline: 11px; }

  /* Mobile: só o botão WhatsApp. Sem cards/bolhas cobrindo o conteúdo. */
  .contact-assistant {
    right: 16px !important;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    gap: 0 !important;
  }
  .assistant-popover,
  .assistant-mobile-bubble {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .whatsapp-float {
    width: 54px !important;
    height: 54px !important;
    box-shadow: 0 14px 34px rgba(86,231,165,.18) !important;
  }
  .whatsapp-float svg { width: 23px; height: 23px; }
  .whatsapp-pulse { opacity: .45; }
}

@media (max-width: 390px) {
  :root { --pad: 16px; }
  .site-header { padding-inline: 16px; }
  .hero { padding-top: 104px !important; }
  .hero h1 { font-size: clamp(42px, 12vw, 50px) !important; max-width: 330px; }
  .hero-lead { font-size: 14px !important; line-height: 1.65; }
  .hero-proof { gap: 10px 12px; }
}


/* V12 — assistente mobile compacto + WhatsApp corrigido */
@media (max-width: 768px) {
  .contact-assistant {
    right: 14px !important;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    gap: 9px !important;
    align-items: flex-end !important;
  }

  .assistant-popover {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .assistant-mobile-bubble {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    width: auto !important;
    max-width: 205px !important;
    min-height: 50px !important;
    padding: 7px 12px 7px 8px !important;
    border-radius: 17px !important;
    border: 1px solid rgba(103,180,255,.24) !important;
    background: linear-gradient(145deg, rgba(13,20,31,.98), rgba(7,11,18,.98)) !important;
    box-shadow: 0 16px 44px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.04) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(8px) scale(.97) !important;
    transform-origin: 100% 100% !important;
    pointer-events: none !important;
    transition: opacity .28s ease, transform .28s ease, visibility .28s ease !important;
  }

  .contact-assistant.is-open .assistant-mobile-bubble {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
  }

  .assistant-mini-bot {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;
    border-radius: 12px !important;
    color: #dff0ff !important;
    background: linear-gradient(135deg, rgba(72,164,255,.28), rgba(72,164,255,.08)) !important;
    border: 1px solid rgba(95,174,252,.28) !important;
  }
  .assistant-mini-bot svg { width: 21px !important; height: 21px !important; }
  .assistant-mini-copy { display: block !important; min-width: 0 !important; }
  .assistant-mini-copy strong {
    display: block !important;
    color: #f5f9ff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }
  .assistant-mini-copy small {
    display: block !important;
    margin-top: 4px !important;
    color: #8d9caf !important;
    font-size: 9px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }
  .assistant-mini-copy b { color: #69b6ff !important; }

  .whatsapp-float {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    box-shadow: 0 14px 36px rgba(86,231,165,.22) !important;
  }
}

@media (max-width: 390px) {
  .assistant-mobile-bubble { max-width: 190px !important; }
  .assistant-mini-copy strong { font-size: 10.5px !important; }
  .assistant-mini-copy small { font-size: 8.5px !important; }
}
