/* DM Results — base styles */
:root {
  --bg: #eef3ff;
  --bg-2: #ffffff;
  --line: #d9e3fb;
  --text: #0b1b3f;
  --muted: #52607e;
  --accent: #1f55f0;
  --accent-soft: #e2eaff;
  --accent-ink: #ffffff;
  --green: #16a34a;
  --green-soft: #e3f6ea;
  --red: #e5484d;
  --amber: #f59e0b;
  --meta: #7c3aed;
  --shadow: 0 1px 2px rgba(15,23,41,.04), 0 12px 32px -12px rgba(15,23,41,.14);
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 48px);
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.eyebrow { font: 500 13px/1 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 22px; }
.section-title { font-size: clamp(34px, 5.4vw, 72px); max-width: 16ch; margin-bottom: 56px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 52ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 16px 28px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font: 600 16px/1 var(--body); text-decoration: none;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
  will-change: transform;
}
.btn:hover { box-shadow: 0 0 0 6px rgba(37,84,245,.14); }
.btn-ghost { background: var(--bg-2); color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--text); box-shadow: none; }
.btn-small { padding: 11px 18px; font-size: 14px; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px var(--gutter);
  transition: background .3s, backdrop-filter .3s, transform .4s;
}
.nav.scrolled { background: rgba(238,243,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav.hidden { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 18px/1 var(--display); text-decoration: none; letter-spacing: -.01em; }
.logo-mark { display: inline-flex; align-items: flex-end; gap: 3px; height: 20px; }
.logo-mark i { width: 5px; border-radius: 2px; background: var(--accent); }
.logo-mark i:nth-child(1) { height: 8px; opacity: .45; }
.logo-mark i:nth-child(2) { height: 14px; opacity: .7; }
.logo-mark i:nth-child(3) { height: 20px; }
.nav-links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 820px) { .nav-links { display: none; } }

/* Hero */
.hero { position: relative; padding: 130px var(--gutter) 90px; overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(#c3d2f7 1px, transparent 1px); background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); opacity: .7; }
.hero-grid { position: relative; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; min-height: calc(100svh - 220px); }
.hero-title { font-size: clamp(38px, 5.2vw, 76px); line-height: 1.02; margin-bottom: 24px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .word { display: inline-block; }
.hero-title .accent { color: var(--accent); }
.hero-title .muted { color: #9aa3b5; }
.hero-sub { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 46ch; margin-bottom: 22px; }
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 56px; } }

/* Hero illustration cards */
.hero-art { position: relative; height: 540px; }
.acard { position: absolute; background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.9); border-radius: 16px; padding: 16px;
  box-shadow: 0 0 0 1px rgba(31,85,240,.12), 0 30px 60px -20px rgba(12,42,143,.35), 0 0 40px -10px rgba(56,189,248,.35);
  --z: 0px; --ry: 0deg; --px: 0px; --py: 0px; transform: translate3d(var(--px),var(--py),var(--z)) rotateY(var(--ry));
  animation: float 7s ease-in-out infinite; }
.acard::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.7) 45%, transparent 60%) no-repeat;
  background-size: 250% 100%; animation: sheen 6s ease-in-out infinite; opacity: .5; }
@keyframes sheen { 0%,60% { background-position: 150% 0; } 100% { background-position: -100% 0; } }
@keyframes float { 0%,100% { transform: translate3d(var(--px),var(--py),var(--z)) rotateY(var(--ry)); } 50% { transform: translate3d(var(--px),calc(var(--py) - 12px),var(--z)) rotateY(var(--ry)); } }

/* 3D scene (AR/VR style) */
.hero-art { perspective: 1400px; perspective-origin: 50% 40%; }
.scene { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(8deg) rotateY(-14deg); will-change: transform; }
.floor { position: absolute; left: -30%; right: -30%; bottom: -120px; height: 420px; transform: rotateX(78deg) translateZ(-60px); transform-origin: 50% 100%;
  background-image: linear-gradient(rgba(31,85,240,.35) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(31,85,240,.35) 1.5px, transparent 1.5px);
  background-size: 48px 48px; animation: floor 4s linear infinite;
  -webkit-mask-image: radial-gradient(50% 60% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(50% 60% at 50% 30%, #000 20%, transparent 75%); }
@keyframes floor { to { background-position: 0 48px, 0 0; } }
.holo-ring { position: absolute; left: 50%; bottom: -10px; width: 420px; height: 420px; margin-left: -210px; border-radius: 50%;
  border: 2px solid rgba(56,189,248,.55); box-shadow: 0 0 30px rgba(56,189,248,.35), inset 0 0 30px rgba(56,189,248,.2);
  transform: rotateX(78deg) translateZ(-40px); animation: ring 10s linear infinite; }
.holo-ring::before { content: ""; position: absolute; inset: 40px; border-radius: 50%; border: 1px dashed rgba(31,85,240,.45); }
@keyframes ring { to { transform: rotateX(78deg) translateZ(-40px) rotateZ(360deg); } }
.scanline { position: absolute; left: -5%; right: -5%; top: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(56,189,248,.9), transparent);
  box-shadow: 0 0 18px 4px rgba(56,189,248,.35); transform: translateZ(80px); animation: scan 5s ease-in-out infinite; opacity: .7; }
@keyframes scan { 0% { top: 0; opacity: 0; } 10%,90% { opacity: .7; } 100% { top: 100%; opacity: 0; } }
.chip { position: absolute; top: -12px; right: 16px; font: 600 12px/1 var(--body); padding: 7px 11px; border-radius: 999px; color: #fff; box-shadow: 0 4px 10px -4px rgba(15,23,41,.3); }
.chip-seo { background: var(--accent); } .chip-ads { background: var(--amber); } .chip-meta { background: var(--meta); }

.acard-search { left: 8%; top: 40px; width: 64%; padding: 0 0 18px; animation-duration: 8s; --z: 40px; }
.acard-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.acard-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e3e7ef; }
.search-field { display: flex; align-items: center; gap: 10px; margin: 16px 18px 14px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--text); }
.search-field svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.typing { display: inline-block; white-space: nowrap; border-right: 2px solid var(--accent); padding-right: 2px; min-height: 1.2em; animation: caret .8s step-end infinite; }
@keyframes caret { 50% { border-color: transparent; } }
.serp { position: relative; margin: 0 18px; height: 176px; }
.res { position: absolute; left: 0; right: 0; height: 40px; display: flex; align-items: center; gap: 12px; padding: 0 12px; border-radius: 10px; }
.res:nth-child(2) { top: 44px; } .res:nth-child(3) { top: 88px; } .res:nth-child(4) { top: 132px; }
.res-pos { width: 22px; height: 22px; border-radius: 6px; background: #eef1f6; color: var(--muted); font: 600 12px/22px var(--body); text-align: center; flex-shrink: 0; }
.res-lines { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.res-lines b { height: 7px; width: 70%; border-radius: 4px; background: #d9dfea; }
.res-lines i { height: 6px; width: 45%; border-radius: 4px; background: #eceff5; }
.res-client { top: 0; z-index: 2; background: var(--green-soft); animation: climb 8s cubic-bezier(.6,0,.2,1) infinite; }
.res-client .res-pos { background: var(--green); color: #fff; }
.res-client .res-lines b { background: #9ad7b0; }
.res-up { color: var(--green); font-size: 12px; }
.res:not(.res-client) { animation: pushdown 8s cubic-bezier(.6,0,.2,1) infinite; }
@keyframes climb { 0%,25% { transform: translateY(132px); } 45%,90% { transform: translateY(0); } 100% { transform: translateY(132px); } }
@keyframes pushdown { 0%,25% { transform: translateY(-44px); } 45%,90% { transform: translateY(0); } 100% { transform: translateY(-44px); } }

.acard-ads { right: 0; top: 0; width: 42%; animation-duration: 6.5s; animation-delay: -2s; --z: 140px; --ry: 6deg; }
.ads-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.ad-badge { font: 600 11px/1 var(--body); padding: 5px 8px; border-radius: 6px; background: #fff4dd; color: #a16207; }
.ads-stat { font: 700 18px/1 var(--display); color: var(--green); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(to top, #fbbf24, #f59e0b); transform-origin: bottom; animation: grow 6s ease-in-out infinite; }
.bars i:nth-child(1) { height: 25%; } .bars i:nth-child(2) { height: 38%; animation-delay: .1s; } .bars i:nth-child(3) { height: 34%; animation-delay: .2s; }
.bars i:nth-child(4) { height: 55%; animation-delay: .3s; } .bars i:nth-child(5) { height: 72%; animation-delay: .4s; } .bars i:nth-child(6) { height: 100%; animation-delay: .5s; }
@keyframes grow { 0%,8% { transform: scaleY(.15); } 30%,85% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }

.acard-meta { left: 0; bottom: 10px; width: 40%; animation-duration: 7.5s; animation-delay: -4s; --z: 110px; --ry: -8deg; }
.post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #a78bfa, #7c3aed); flex-shrink: 0; }
.post-img { position: relative; height: 88px; border-radius: 10px; overflow: hidden; background: linear-gradient(160deg, #ede9fe, #ddd6fe); }
.post-img .sun { position: absolute; right: 18px; top: 14px; width: 18px; height: 18px; border-radius: 50%; background: #fbbf24; }
.post-img .hill { position: absolute; left: -10%; right: -10%; bottom: -40px; height: 80px; border-radius: 50%; background: #a78bfa; }
.post-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-size: 13px; color: var(--muted); }
.heart svg { width: 20px; height: 20px; fill: #f43f5e; animation: beat 2.4s ease-in-out infinite; }
@keyframes beat { 0%,60%,100% { transform: scale(1); } 10% { transform: scale(1.3); } 20% { transform: scale(.95); } 30% { transform: scale(1.15); } }

.acard-map { right: 4%; bottom: 40px; width: 38%; animation-duration: 6s; animation-delay: -1s; --z: 70px; --ry: 10deg; }
.map { position: relative; height: 96px; border-radius: 10px; overflow: hidden; background: #e9f3ec; }
.road { position: absolute; background: #fff; }
.road.r1 { left: -10%; right: -10%; top: 58%; height: 10px; transform: rotate(-8deg); }
.road.r2 { top: -10%; bottom: -10%; left: 30%; width: 8px; transform: rotate(12deg); }
.pin { position: absolute; left: 50%; top: 22px; width: 24px; margin-left: -12px; animation: drop 4s cubic-bezier(.3,1.4,.5,1) infinite; }
.pin path { fill: var(--red); } .pin circle { fill: #fff; }
@keyframes drop { 0% { transform: translateY(-60px); opacity: 0; } 15%,85% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }
.ripple { position: absolute; left: 50%; top: 50px; width: 14px; height: 6px; margin-left: -7px; border-radius: 50%; border: 2px solid rgba(229,72,77,.5); animation: ripple 4s ease-out infinite; }
@keyframes ripple { 0%,15% { transform: scale(.5); opacity: 0; } 25% { opacity: 1; } 70%,100% { transform: scale(4); opacity: 0; } }
.map-label { margin-top: 10px; font-size: 13px; color: var(--muted); } .map-label strong { color: var(--green); }

@media (max-width: 980px) { .hero-art { height: 500px; max-width: 560px; width: 100%; margin: 0 auto; } }
@media (max-width: 520px) {
  .hero-art { height: 460px; }
  .acard-search { left: 0; width: 82%; top: 56px; }
  .acard-ads { width: 52%; }
  .acard-meta { width: 50%; bottom: 0; }
  .acard-map { width: 46%; right: 0; bottom: 20px; }
  .acard { padding: 12px; }
  .acard-search { padding: 0 0 14px; }
}

/* Marquee */
.marquee { position: relative; background: var(--accent); color: #fff; border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; gap: 36px; width: max-content; animation: marquee 38s linear infinite; font: 500 clamp(20px, 2.4vw, 30px)/1 var(--display); color: rgba(255,255,255,.75); white-space: nowrap; }
.marquee-track span:nth-child(even) { color: #9fd0ff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Problem */
.big-statement { font-size: clamp(34px, 5.6vw, 80px); max-width: 18ch; margin-bottom: 72px; }
.big-statement em { font-style: normal; color: var(--red); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.card-num { display: block; font: 500 14px/1 var(--display); color: var(--accent); margin-bottom: 40px; }
.card h3 { font-size: 24px; margin-bottom: 14px; }
.card p { color: var(--muted); }
@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr; } }

/* Services */
.services-list { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 24px 48px;
  padding: 40px 0; border-bottom: 1px solid var(--line);
  position: relative; transition: padding .4s cubic-bezier(.2,.8,.2,1);
}
.service::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: linear-gradient(90deg, var(--accent-soft), transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.service:hover { padding-left: 18px; }
.service:hover::before { opacity: 1; }
.service-head { display: flex; align-items: baseline; gap: 18px; }
.service-idx { font: 500 14px/1 var(--display); color: var(--accent); }
.service h3 { font-size: clamp(26px, 3vw, 40px); }
.service p { color: var(--muted); }
.tags { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--bg-2); }
@media (max-width: 820px) { .service { grid-template-columns: 1fr; } .tags { grid-column: 1; } }

/* Results */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--bg-2); box-shadow: var(--shadow); }
.stat-label { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.stat-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; font-family: var(--display); }
.stat-from { font-size: 28px; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--red); }
.arrow { color: var(--muted); font-size: 24px; }
.stat-to { font-size: clamp(48px, 5.5vw, 76px); font-weight: 700; color: var(--green); line-height: 1; font-variant-numeric: tabular-nums; }
.note { margin-top: 24px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr; } }

/* Process — horizontal */
.process { padding: clamp(80px, 12vw, 140px) 0; overflow: hidden; }
.process-head .section-title { margin-bottom: 48px; }
.process-track { display: flex; gap: 20px; padding: 0 var(--gutter) 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
.js .process:not(.no-pin) .process-track { width: max-content; overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
.step {
  width: min(420px, 82vw); flex-shrink: 0;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 36px; min-height: 340px; display: flex; flex-direction: column;
}
.step-num { font: 700 88px/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px rgba(37,84,245,.45); margin-bottom: auto; }
.step h3 { font-size: 28px; margin: 40px 0 14px; }
.step p { color: var(--muted); }
.step { scroll-snap-align: start; }

/* Guarantee */
.guarantee { background: var(--accent); color: var(--accent-ink); }
.guarantee .lead { color: rgba(255,255,255,.82); margin-bottom: 36px; }
.guarantee .btn { background: #fff; color: var(--accent); }
.guarantee .btn:hover { box-shadow: 0 0 0 6px rgba(255,255,255,.2); }
.guarantee-inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.guarantee .section-title { margin-bottom: 24px; max-width: 14ch; }
.badge { position: relative; width: clamp(160px, 22vw, 260px); aspect-ratio: 1; }
.badge svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge text { font: 600 15.5px var(--display); letter-spacing: .18em; fill: var(--accent-ink); }
.badge > span { position: absolute; inset: 0; display: grid; place-items: center; font: 700 clamp(64px, 9vw, 110px)/1 var(--display); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .guarantee-inner { grid-template-columns: 1fr; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 26px 44px 26px 0; position: relative;
  font: 500 clamp(18px, 1.6vw, 21px)/1.35 var(--display);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 28px; color: var(--accent); transition: transform .3s;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { color: var(--muted); padding: 0 40px 26px 0; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 8px; } }

/* Contact */
.contact { text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact-title { font-size: clamp(40px, 7.5vw, 112px); max-width: 14ch; margin-bottom: 28px; }
.contact .lead { margin-bottom: 48px; }
.mail-link {
  display: inline-block; font: 700 clamp(22px, 4vw, 52px)/1.1 var(--display);
  text-decoration: none; color: var(--accent); border-bottom: 2px solid currentColor;
  word-break: break-all;
}

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer { background: var(--bg-2); }
.footer .logo { color: var(--text); }

/* Animation helpers (only active when JS runs) */
.js .reveal { opacity: 0; transform: translateY(32px); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; }

/* (custom cursor removed) */


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter); }
.notfound h1 { font-size: clamp(96px, 20vw, 240px); color: var(--accent); }
.notfound p { color: var(--muted); margin: 12px 0 32px; }

/* ---------- Blue sections ---------- */
main, .footer { position: relative; z-index: 1; }
.results { background: linear-gradient(160deg, #1f55f0 0%, #0c2a8f 100%); color: #fff; overflow: hidden; }
.results .eyebrow { color: #9fd0ff; }
.results .stat { border-color: rgba(255,255,255,.18); }
.results .note { color: rgba(255,255,255,.75); }
.results::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); }
.guarantee { background: linear-gradient(140deg, #0c2a8f, #1f55f0 60%, #3b82f6); }
.contact { background: radial-gradient(60% 70% at 50% 100%, #d4e1ff, transparent 70%); }
.footer { background: #0b1b3f; color: #9fb0d6; border-top: 0; }
.footer .logo { color: #fff; }

/* ---------- Digital network background ---------- */
.bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: radial-gradient(70% 60% at 80% 0%, #dbe6ff 0%, transparent 60%), radial-gradient(60% 50% at 0% 100%, #dff1ff 0%, transparent 60%); }
#net { width: 100%; height: 100%; display: block; }

.progress { position: fixed; z-index: 60; left: 0; top: 0; right: 0; height: 3px; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #38bdf8, #1f55f0); }

@media (max-width: 520px) { .scene { transform: rotateX(6deg) rotateY(-8deg) scale(.96); } .acard { --z: 20px !important; } .holo-ring { width: 300px; height: 300px; margin-left: -150px; } }
.acard-meta .chip { top: auto; bottom: -12px; }
.acard-search .chip { right: auto; left: 18px; }

/* Hero extras */
.pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; padding: 9px 16px; border-radius: 999px;
  background: var(--green-soft); color: #0f6b33; font: 600 14px/1.2 var(--body); border: 1px solid #bfe8cf; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.5); } 80%,100% { box-shadow: 0 0 0 10px rgba(22,163,74,0); } }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hstat { display: flex; flex-direction: column; gap: 4px; min-width: 150px; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.85); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hstat-num { font: 700 30px/1 var(--display); color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hstat-num .star { color: #f5b301; }
.hstat-label { font-size: 13px; color: var(--muted); }
@media (max-width: 520px) { .hero-stats { flex-wrap: nowrap; gap: 8px; } .hstat { min-width: 0; flex: 1 1 0; padding: 12px 10px; } .hstat-num { font-size: 20px; } .hstat-label { font-size: 12px; } }

/* What is SEO explainer */
.explain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: x; position: relative; }
.xstep { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.xstep h3 { font-size: 24px; margin: 18px 0 10px; }
.xstep p { color: var(--muted); }
.xnum { position: absolute; top: 18px; right: 20px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font: 700 16px/1 var(--display); }
.xart { height: 120px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; position: relative; overflow: hidden; }
.xs-bar { display: flex; align-items: center; gap: 8px; width: 80%; padding: 10px 14px; background: #fff; border-radius: 999px; box-shadow: var(--shadow); font-size: 14px; }
.xs-bar svg { width: 15px; height: 15px; fill: none; stroke: var(--muted); stroke-width: 2; flex-shrink: 0; }
.xs-type { overflow: hidden; white-space: nowrap; border-right: 2px solid var(--accent); width: 11ch; animation: xtype 5s steps(11) infinite, caret .8s step-end infinite; }
@keyframes xtype { 0% { width: 0; } 35%,90% { width: 11ch; } 100% { width: 0; } }
.xart-list { display: flex; flex-direction: column; gap: 6px; padding: 14px 20%; place-items: stretch; justify-content: center; }
.xart-list i { display: block; height: 12px; border-radius: 6px; background: #c8d5f5; opacity: .5; }
.xart-list i.on { background: var(--green); opacity: 1; animation: glow 3s ease-in-out infinite; }
.xart-list i.on:nth-child(2) { animation-delay: .2s; } .xart-list i.on:nth-child(3) { animation-delay: .4s; }
@keyframes glow { 0%,100% { transform: scaleX(1); } 50% { transform: scaleX(1.05); box-shadow: 0 0 12px rgba(22,163,74,.5); } }
.xart-call svg { width: 44px; height: 44px; fill: var(--accent); animation: shake 2.6s ease-in-out infinite; position: relative; z-index: 1; }
.xart-call .ring { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; border: 2px solid var(--accent); animation: ripple2 2.6s ease-out infinite; }
@keyframes shake { 0%,40%,100% { transform: rotate(0); } 5%,15%,25% { transform: rotate(-14deg); } 10%,20%,30% { transform: rotate(14deg); } }
@keyframes ripple2 { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.2); opacity: 0; } }
@media (max-width: 900px) { .explain-grid { grid-template-columns: 1fr; } }

/* NAP */
.nap { font-style: normal; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin-top: 28px; color: var(--muted); }
.nap strong { color: var(--text); }
.nap a { color: var(--accent); text-decoration: none; }
.nap-foot { justify-content: flex-start; margin: 0; color: #9fb0d6; }
.nap-foot strong { color: #fff; } .nap-foot a { color: #9fd0ff; }

.faq-help { margin-top: -28px; font-size: 17px; }
.faq-help a { color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (max-width: 900px) { .faq-help { margin: -36px 0 24px; } }

/* ---------- Combined "Šta je SEO" + "Zašto top 3" section ---------- */
.duo { padding: clamp(64px, 8vw, 110px) 0; }
.duo-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: stretch; }
.duo-col { background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
.duo-title { font-size: clamp(26px, 2.6vw, 38px); margin-bottom: 26px; max-width: 18ch; }
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mini { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; }
.mini h3 { font-size: 18px; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.mini p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.mnum { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font: 700 12px/22px var(--display); text-align: center; flex-shrink: 0; }
.mini-art { height: 76px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; position: relative; overflow: hidden; }
.mini-art .xs-bar { width: 88%; padding: 7px 10px; font-size: 12px; }
.mini-art.xart-list { padding: 10px 18%; }
.mini-art.xart-list i { height: 8px; }
.mini-art.xart-call svg { width: 30px; height: 30px; }
.mini-art.xart-call .ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.duo-dark { background: linear-gradient(150deg, #0c2a8f, #1f55f0); color: #fff; border-color: transparent; display: flex; flex-direction: column; }
.duo-dark .eyebrow { color: #9fd0ff; }
.duo-dark em { font-style: normal; color: #ffd166; }
.why-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 18px; }
.why-list li { display: flex; gap: 14px; align-items: flex-start; }
.why-ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.14); display: grid; place-items: center; font: 700 16px/1 var(--display); flex-shrink: 0; }
.why-list h3 { font-size: 18px; margin-bottom: 4px; }
.why-list p { color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.5; }
.btn-light { background: #fff; color: var(--accent); margin-top: auto; align-self: flex-start; }
.btn-light:hover { box-shadow: 0 0 0 6px rgba(255,255,255,.2); }
@media (max-width: 900px) { .duo-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .mini { grid-template-columns: 1fr; gap: 10px; } .mini-art { height: 64px; } }
.mini-art.xart-list { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 6px; }
.mini-art.xart-list i { width: 100%; }
.duo-col:not(.duo-dark) { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 480px) { .mini { grid-template-columns: 96px 1fr; gap: 12px; } .mini-art { height: 64px; } .mini-art .xs-bar { font-size: 10px; padding: 5px 7px; } .mini-art .xs-bar svg { display: none; } .mini h3 { font-size: 16px; } .mini p { font-size: 14px; } }

/* ---------- Cjenovnik ---------- */
.nav-links a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.price-hero { padding-top: 150px; padding-bottom: 20px; }
.price-hero .section-title { max-width: 18ch; margin-bottom: 20px; }
.pkgs, .plist { padding-top: 60px; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; gap: 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }
.pkg h3 { font-size: 26px; }
.pkg-desc { color: var(--muted); font-size: 15px; }
.pkg-price { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.pkg-label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.pkg-price strong { font: 700 24px/1.2 var(--display); color: var(--accent); }
.pkg-setup { font-size: 14px; color: var(--muted); }
.pkg-for { font-size: 14px; color: var(--text); margin-bottom: 8px; }
.pkg .btn { margin-top: auto; align-self: flex-start; }
.pkg-feat { background: linear-gradient(150deg, #0c2a8f, #1f55f0); color: #fff; border-color: transparent; transform: translateY(-8px); }
.pkg-feat .pkg-desc, .pkg-feat .pkg-setup, .pkg-feat .pkg-label { color: rgba(255,255,255,.78); }
.pkg-feat .pkg-price strong, .pkg-feat .pkg-for { color: #fff; }
.pkg-tag { position: absolute; top: -12px; left: 30px; background: #ffd166; color: #0b1b3f; font: 600 12px/1 var(--body); padding: 7px 12px; border-radius: 999px; }
@media (max-width: 960px) { .pkg-grid { grid-template-columns: 1fr; } .pkg-feat { transform: none; } }
.ptable { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 24px 28px; box-shadow: var(--shadow); margin-bottom: 20px; }
.ptable h3 { font-size: 20px; margin-bottom: 12px; }
.ptable table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ptable th, .ptable td { text-align: left; padding: 12px 10px; border-top: 1px solid var(--line); vertical-align: top; }
.ptable thead th { border-top: 0; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.ptable tbody th { font-weight: 600; width: 38%; }
.ptable td { color: var(--muted); }
@media (max-width: 680px) {
  .ptable { padding: 18px; }
  .ptable thead { display: none; }
  .ptable tr { display: block; padding: 12px 0; border-top: 1px solid var(--line); }
  .ptable th, .ptable td { display: block; border: 0; padding: 2px 0; width: auto; }
  .ptable td::before { content: attr(data-l) ": "; font-weight: 600; color: var(--text); }
}
@media (max-width: 680px) { .ptable tbody th { width: auto; padding-bottom: 4px; } }
