/* ============ Proven Digital ============ */
:root {
  --bg: #07070e;
  --bg2: #0b0c16;
  --panel: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.09);
  --txt: #eef0ff;
  --mut: #9aa0b8;
  --acc: #8a7dff;
  --acc2: #4dd9ff;
  --grad: linear-gradient(100deg, #8a7dff, #4dd9ff);
  --radius: 18px;
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

.container { width: min(1120px, 92%); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.7rem, 7.2vw, 4.9rem); }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; line-height: 1.25; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); position: relative; }
.section > .container > h2 { margin-bottom: 2.4rem; }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--acc2);
  margin-bottom: 0.9rem;
}
.kicker::before { content: "— "; color: var(--acc); }

.sub { color: var(--mut); max-width: 560px; margin: -1.4rem 0 2.4rem; }
.center { text-align: center; }
.center .sub, .center .lead { margin-inline: auto; }
.narrow { max-width: 620px; }
.narrow-wrap { max-width: 760px; }

[id] { scroll-margin-top: 90px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--grad);
  color: #070810;
  font-weight: 700;
  font-family: var(--font-head);
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  border: 0;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 10px 34px rgba(120, 118, 255, 0.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 14px 40px rgba(120, 118, 255, 0.45); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--txt);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn-ghost:hover { box-shadow: none; border-color: rgba(255, 255, 255, 0.25); }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.92rem; }
.btn.full { width: 100%; text-align: center; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 7, 14, 0.55);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled { border-color: var(--line); background: rgba(7, 7, 14, 0.78); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.logo { font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; letter-spacing: -0.01em; }
.logo span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a:not(.btn) { color: var(--mut); font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:not(.btn):hover { color: var(--txt); }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--txt); margin: 5px 0; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(9rem, 16vw, 12.5rem) 0 clamp(4.5rem, 8vw, 7rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 30%, black 35%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 75% at 50% 30%, black 35%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }

.orb { position: absolute; border-radius: 50%; filter: blur(95px); pointer-events: none; }
.o1 { width: 480px; height: 480px; background: rgba(138, 125, 255, 0.34); top: -140px; left: -120px; animation: float 16s ease-in-out infinite alternate; }
.o2 { width: 420px; height: 420px; background: rgba(77, 217, 255, 0.22); top: 40px; right: -140px; animation: float 19s ease-in-out infinite alternate-reverse; }
.o3 { width: 340px; height: 340px; background: rgba(255, 106, 193, 0.14); bottom: -160px; left: 38%; animation: float 22s ease-in-out infinite alternate; }
@keyframes float { to { transform: translate(50px, 34px) scale(1.06); } }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 0.45rem 1.05rem;
  font-size: 0.86rem;
  color: var(--mut);
  margin-bottom: 1.6rem;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 12px #3ddc84; animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }

.lead { color: var(--mut); font-size: clamp(1.05rem, 2vw, 1.22rem); max-width: 640px; margin-top: 1.5rem; }

.cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 2.2rem; }

.chips { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 2.6rem; }
.chips li { color: var(--mut); font-size: 0.92rem; display: flex; align-items: center; gap: 0.5rem; }
.chips li::before { content: "✓"; color: var(--acc2); font-weight: 700; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
  padding: 0.95rem 0;
}
.track { display: flex; align-items: center; gap: 2.6rem; width: max-content; animation: scroll 30s linear infinite; }
.track span {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--mut);
  white-space: nowrap;
}
.track i { color: var(--acc); font-style: normal; font-size: 0.7rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.card { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 1.8rem 1.7rem; transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease; }
.card:hover { transform: translateY(-5px); border-color: rgba(138, 125, 255, 0.45); background: rgba(255, 255, 255, 0.055); }
.span3 { grid-column: span 3; }
.span2 { grid-column: span 2; }
.card .icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(138, 125, 255, 0.18), rgba(77, 217, 255, 0.14));
  border: 1px solid rgba(138, 125, 255, 0.3);
  color: var(--acc2);
  margin-bottom: 1.15rem;
}
.card .icon svg { width: 24px; height: 24px; }
.card p { color: var(--mut); font-size: 0.97rem; margin-top: 0.5rem; }

/* ---------- Guarantee ---------- */
.guarantee {
  background:
    radial-gradient(ellipse 60% 55% at 50% 45%, rgba(138, 125, 255, 0.12), transparent 70%),
    var(--bg2);
  border-block: 1px solid var(--line);
}
.g-title { font-size: clamp(3.2rem, 11vw, 7rem); margin-bottom: 1.4rem; }
.guarantee .lead { margin-bottom: 2.2rem; margin-top: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.step { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 1.9rem 1.7rem; }
.num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; margin-bottom: 0.8rem; }
.step p { color: var(--mut); font-size: 0.97rem; margin-top: 0.5rem; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: stretch; }
.price-card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg2), var(--bg2)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 18px 60px rgba(120, 118, 255, 0.18);
}
.pop {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #070810;
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.95rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card .tag { color: var(--mut); font-size: 0.92rem; margin-top: 0.3rem; }
.price { font-family: var(--font-head); font-size: 2.3rem; font-weight: 700; margin: 1.1rem 0 1.2rem; }
.price span { font-size: 1rem; color: var(--mut); font-weight: 500; }
.price-card ul { flex: 1; margin-bottom: 1.6rem; display: grid; gap: 0.6rem; }
.price-card li { color: var(--mut); font-size: 0.95rem; padding-left: 1.5rem; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--acc2); font-weight: 700; }
.price-card em { color: var(--txt); font-style: normal; font-weight: 600; }

.web-offer {
  margin-top: 1.6rem;
  border: 1px dashed rgba(138, 125, 255, 0.4);
  background: rgba(138, 125, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.4rem 1.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.web-offer p { color: var(--mut); }
.web-offer strong { color: var(--txt); }

.fineprint { color: var(--mut); font-size: 0.85rem; margin-top: 1.4rem; }
.fineprint strong { color: var(--txt); }
.fineprint a { color: var(--acc2); }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.1rem; }
.work-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 380px;
  display: block;
}
.work-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.work-card:hover img { transform: scale(1.05); }
.work-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(5, 5, 12, 0.92) 100%);
}
.work-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.7rem; z-index: 2; }
.work-info h3 { margin-bottom: 0.6rem; }
.work-info .tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.7rem; }
.work-info .tags span {
  font-size: 0.76rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(7, 7, 14, 0.5);
  border-radius: 999px;
  padding: 0.18rem 0.7rem;
  color: var(--txt);
}
.work-info > p:last-child { color: #c9cde0; font-size: 0.95rem; max-width: 480px; }

.work-cta {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 90% 80% at 70% 20%, rgba(77, 217, 255, 0.1), transparent 70%),
    var(--panel);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.4rem;
  padding: 2rem;
}
.work-cta h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.why {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
}
.why h3 { font-size: 1.08rem; margin-bottom: 0.45rem; }
.why p { color: var(--mut); font-size: 0.97rem; }

/* ---------- FAQ ---------- */
details {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 14px;
  margin-bottom: 0.8rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
details[open] { border-color: rgba(138, 125, 255, 0.45); }
summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 3.2rem 1.15rem 1.4rem;
  font-weight: 600;
  font-family: var(--font-head);
  font-size: 1.02rem;
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--acc2);
  transition: transform 0.3s ease;
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 1.4rem 1.3rem; color: var(--mut); }

/* ---------- Contact form ---------- */
form { display: grid; gap: 1rem; margin-top: 0.6rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: grid; gap: 0.45rem; font-size: 0.9rem; font-weight: 500; color: var(--mut); }
input, select, textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--txt);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa0b8' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
select option { background: var(--bg2); color: var(--txt); }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--acc);
  box-shadow: 0 0 0 3px rgba(138, 125, 255, 0.18);
}
form .btn { justify-self: start; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 2.6rem 0; }
.foot-inner { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
footer p { color: var(--mut); font-size: 0.9rem; margin-top: 0.4rem; }
.foot-right { text-align: right; line-height: 1.9; }
.foot-right a { color: var(--acc2); }

/* ---------- Reveal animations ---------- */
[data-r] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
[data-r="2"] { transition-delay: 0.09s; }
[data-r="3"] { transition-delay: 0.18s; }
[data-r="4"] { transition-delay: 0.27s; }
[data-r="5"] { transition-delay: 0.36s; }
.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-r] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .span3, .span2 { grid-column: span 1; }
  .steps, .price-grid { grid-template-columns: 1fr; }
  .price-card.featured { order: -1; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card { min-height: 300px; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(8, 8, 16, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 4% 1.4rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 0.85rem 0; width: 100%; font-size: 1.05rem; }
  .nav-links .btn { margin-top: 0.8rem; }
  .burger { display: block; }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .services-grid { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .foot-inner { flex-direction: column; }
  .foot-right { text-align: left; }
  .web-offer { flex-direction: column; align-items: flex-start; }
}
