:root {
  color-scheme: dark;
  --bg: #08090f;
  --surface: rgba(16, 18, 30, 0.74);
  --surface-strong: rgba(22, 25, 40, 0.92);
  --text: #f7f8ff;
  --muted: #aab0c8;
  --line: rgba(255, 255, 255, 0.13);
  --cyan: #36e7ff;
  --violet: #8f6bff;
  --lime: #9dff6e;
  --shadow: 0 28px 90px rgba(54, 231, 255, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -3; pointer-events: none; background: linear-gradient(135deg, rgba(54, 231, 255, 0.13), transparent 24%), linear-gradient(220deg, rgba(143, 107, 255, 0.18), transparent 34%), linear-gradient(315deg, rgba(157, 255, 110, 0.08), transparent 34%), #08090f; }
body::after { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(115deg, transparent 0 34%, rgba(255,255,255,.045) 34% 34.5%, transparent 34.5% 100%), linear-gradient(70deg, transparent 0 58%, rgba(54,231,255,.06) 58% 58.5%, transparent 58.5% 100%); }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { overflow-wrap: anywhere; }

.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px clamp(18px, 4vw, 64px); border-bottom: 1px solid var(--line); background: rgba(8, 9, 15, 0.78); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--cyan), var(--violet) 55%, var(--lime)); color: #05060a; font-weight: 950; box-shadow: 0 0 32px rgba(54,231,255,.28); }
.brand strong { font-weight: 950; letter-spacing: .02em; }
nav { display: flex; gap: clamp(12px, 3vw, 30px); color: var(--muted); font-size: .94rem; }
nav a:hover { color: #fff; }

.hero { min-height: 86vh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(330px, .82fr); gap: clamp(28px, 5vw, 70px); align-items: center; padding: clamp(72px, 10vw, 130px) clamp(18px, 5vw, 80px) 70px; }
.eyebrow { margin: 0 0 16px; color: var(--cyan); font-weight: 900; text-transform: uppercase; font-size: .82rem; letter-spacing: .08em; }
h1 { max-width: 900px; margin: 0; font-size: clamp(3rem, 8vw, 8rem); line-height: .9; text-transform: uppercase; letter-spacing: 0; }
.hero-subtitle { max-width: 680px; margin: 24px 0 0; color: #d8dcf0; font-size: clamp(1.05rem, 2vw, 1.32rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--line); font-weight: 900; transition: transform .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); border-color: rgba(54,231,255,.7); }
.btn.primary { background: linear-gradient(135deg, var(--cyan), var(--violet)); color: #05060a; border-color: transparent; box-shadow: var(--shadow); }
.btn.secondary { background: rgba(255,255,255,.075); backdrop-filter: blur(12px); }
.btn.big { min-height: 58px; padding: 0 28px; }

.hero-visual, .intro-strip, .service-card, .project-card, .price-card, .cta { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); backdrop-filter: blur(16px); }
.hero-visual { min-height: 520px; padding: 24px; overflow: hidden; box-shadow: var(--shadow); }
.visual-head { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .84rem; }
.visual-head b { color: var(--lime); }
.shape-controls { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 0; }
.shape-controls button { min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.055); color: var(--muted); font-weight: 850; cursor: pointer; }
.shape-controls button.active { background: linear-gradient(135deg, var(--cyan), var(--violet)); color: #05060a; border-color: transparent; }
.holo-stage { position: relative; height: 340px; display: grid; place-items: center; perspective: 900px; }
.holo-cube { --w: 158px; --h: 158px; --d: 158px; position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d; animation: cubeSpin 12s linear infinite; transition: width .35s ease, height .35s ease; }
.holo-cube i { position: absolute; display: block; border: 1px solid rgba(54,231,255,.66); background: linear-gradient(135deg, rgba(54,231,255,.22), rgba(143,107,255,.15)); box-shadow: inset 0 0 42px rgba(54,231,255,.12), 0 0 42px rgba(143,107,255,.16); }
.holo-cube .front, .holo-cube .back { width: var(--w); height: var(--h); }
.holo-cube .right, .holo-cube .left { width: var(--d); height: var(--h); left: calc((var(--w) - var(--d)) / 2); }
.holo-cube .top, .holo-cube .bottom { width: var(--w); height: var(--d); top: calc((var(--h) - var(--d)) / 2); }
.holo-cube .front { transform: translateZ(calc(var(--d) / 2)); }
.holo-cube .back { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); }
.holo-cube .right { transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); }
.holo-cube .left { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); }
.holo-cube .top { transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); }
.holo-cube .bottom { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); }
.holo-cube.shape-rect { --w: 220px; --h: 124px; --d: 112px; }
.holo-cube.shape-panel { --w: 240px; --h: 138px; --d: 42px; animation-duration: 16s; }
.hero-visual p { color: var(--muted); line-height: 1.7; margin: 0; }

.intro-strip { margin: 0 clamp(18px, 5vw, 80px); padding: 24px; }
.intro-strip p { max-width: 900px; margin: 0 0 16px; color: #e6e9fa; line-height: 1.7; font-size: 1.08rem; }
.intro-strip div { display: flex; flex-wrap: wrap; gap: 10px; }
.intro-strip span { padding: 10px 12px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--muted); border: 1px solid var(--line); font-weight: 750; }

.section { padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 80px); }
.section-title { max-width: 820px; margin-bottom: 34px; }
.section-title p { margin: 0 0 12px; color: var(--cyan); font-weight: 900; text-transform: uppercase; font-size: .82rem; letter-spacing: .08em; }
.section-title h2 { margin: 0; font-size: clamp(2rem, 4vw, 4.1rem); line-height: 1; }
.section-title span { display: block; margin-top: 16px; color: var(--muted); line-height: 1.7; font-size: 1.05rem; }
.service-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.service-card { min-height: 330px; padding: 22px; transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.service-card:hover, .project-card:hover, .price-card:hover { transform: translateY(-5px); border-color: rgba(54,231,255,.48); background: var(--surface-strong); }
.service-card > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--cyan), var(--violet)); color: #05060a; font-weight: 950; }
.service-card h3 { margin: 18px 0 10px; font-size: 1.1rem; }
.service-card p { color: var(--muted); line-height: 1.6; }
ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
li { color: #e5e7f6; font-size: .94rem; }
li::before { content: "•"; color: var(--lime); margin-right: 8px; }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.project-card { overflow: hidden; transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.project-shot { min-height: 180px; display: grid; place-items: center; background: radial-gradient(circle at 40% 30%, rgba(54,231,255,.22), transparent 38%), linear-gradient(135deg, rgba(143,107,255,.2), rgba(255,255,255,.035)); border-bottom: 1px solid var(--line); }
.project-shot span { padding: 10px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); color: var(--muted); background: rgba(8,9,15,.58); }
.project-card div:last-child { padding: 20px; }
.project-card small { color: var(--lime); font-weight: 850; }
.project-card h3 { margin: 10px 0; }
.project-card p { color: var(--muted); line-height: 1.65; margin: 0; }

.pricing-section { background: rgba(255,255,255,.018); }
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.price-card { min-height: 110px; padding: 20px; }
.price-card strong, .price-card span { display: block; }
.price-card strong { color: var(--text); }
.price-card span { margin-top: 12px; color: var(--lime); font-size: 1.13rem; font-weight: 950; }

.cta { margin: clamp(30px, 6vw, 72px) clamp(18px, 5vw, 80px); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 26px; background: linear-gradient(135deg, rgba(54,231,255,.13), rgba(143,107,255,.12)); }
.cta h2 { margin: 0; font-size: clamp(2rem, 4.8vw, 4.6rem); line-height: 1; }
.cta p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 28px clamp(18px, 5vw, 80px); color: var(--muted); border-top: 1px solid var(--line); }
.footer strong { color: #fff; }

.wa-widget { position: fixed; right: 20px; bottom: 20px; z-index: 120; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-fab { width: 56px; height: 56px; min-height: 56px; padding: 0; position: relative; display: grid; place-items: center; border: 1px solid rgba(54,231,255,.55); border-radius: 50%; background: rgba(8,9,15,.9); color: #05060a; box-shadow: 0 22px 70px rgba(0,0,0,.38); cursor: pointer; backdrop-filter: blur(18px); overflow: hidden; }
.wa-fab span { position: absolute; inset: 5px; width: auto; height: auto; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, var(--lime), var(--cyan)); color: #05060a; font-weight: 950; line-height: 1; transform-origin: center; animation: assistantPulse 2.4s ease-in-out infinite; }
.wa-panel { display: none; width: min(360px, calc(100vw - 28px)); height: min(560px, calc(100vh - 112px)); border: 1px solid rgba(54,231,255,.35); border-radius: 18px; background: #0b1014; overflow: hidden; box-shadow: 0 30px 110px rgba(0,0,0,.58); }
.wa-panel.open { display: flex; flex-direction: column; }
.wa-panel header { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: linear-gradient(135deg, #103f36, #13283a); border-bottom: 1px solid rgba(255,255,255,.1); }
.wa-panel header strong, .wa-panel header span { display: block; }
.wa-panel header span { color: #bce6d8; font-size: .86rem; margin-top: 2px; }
.wa-panel header button { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; font-size: 1.25rem; cursor: pointer; }
.wa-messages { flex: 1; min-height: 0; overflow: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(135deg, rgba(18,47,42,.34), rgba(12,17,25,.9)); }
.bubble { max-width: 88%; padding: 11px 13px; border-radius: 14px; line-height: 1.48; font-size: .94rem; }
.bubble.bot { align-self: flex-start; background: #18252b; border-top-left-radius: 4px; }
.bubble.user { align-self: flex-end; background: #075e54; border-top-right-radius: 4px; }
.wa-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; border-top: 1px solid rgba(255,255,255,.08); background: #0b1014; }
.wa-options button { min-height: 38px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: #121923; color: #fff; cursor: pointer; }
.wa-form { display: flex; gap: 8px; padding: 12px; background: #0b1014; }
.wa-form input { flex: 1; min-width: 0; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: #111820; color: #fff; padding: 0 12px; }
.wa-form button { min-height: 42px; border: 0; border-radius: 12px; background: #25d366; color: #04130b; font-weight: 950; padding: 0 14px; cursor: pointer; }

@keyframes cubeSpin { from { transform: rotateX(-18deg) rotateY(0); } to { transform: rotateX(-18deg) rotateY(360deg); } }
@keyframes assistantPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

@media (min-width: 1440px) { .hero, .section, .site-header { padding-left: max(80px, calc((100vw - 1440px)/2 + 80px)); padding-right: max(80px, calc((100vw - 1440px)/2 + 80px)); } .intro-strip, .cta { margin-left: max(80px, calc((100vw - 1440px)/2 + 80px)); margin-right: max(80px, calc((100vw - 1440px)/2 + 80px)); } }
@media (max-width: 1280px) { .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) { .site-header { align-items: flex-start; flex-direction: column; } nav { width: 100%; justify-content: space-between; } .hero, .cta { grid-template-columns: 1fr; } .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero-visual { min-height: 430px; } }
@media (max-width: 640px) { .hero, .section { padding-left: 14px; padding-right: 14px; } .intro-strip, .cta { margin-left: 14px; margin-right: 14px; } h1 { font-size: clamp(3rem, 18vw, 5rem); } .service-grid, .project-grid, .price-grid { grid-template-columns: 1fr; } .btn { width: 100%; } .holo-stage { height: 260px; } .holo-cube { --w: 118px; --h: 118px; --d: 118px; } .holo-cube.shape-rect { --w: 168px; --h: 98px; --d: 86px; } .holo-cube.shape-panel { --w: 176px; --h: 104px; --d: 34px; } .wa-widget { left: 14px; right: 14px; bottom: 14px; } .wa-fab { margin-left: auto; } .wa-panel { width: 100%; height: min(540px, calc(100vh - 104px)); } }


/* Real portfolio cards */
.real-project-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.real-project {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 440px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .22);
}

.project-mockup {
  min-height: 215px;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 28% 24%, rgba(157,255,110,.20), transparent 34%),
    radial-gradient(circle at 72% 18%, rgba(54,231,255,.22), transparent 30%),
    linear-gradient(135deg, rgba(143,107,255,.24), rgba(255,255,255,.035));
}

.mockup-pack {
  background:
    radial-gradient(circle at 24% 20%, rgba(157,255,110,.22), transparent 34%),
    radial-gradient(circle at 78% 28%, rgba(54,231,255,.22), transparent 32%),
    linear-gradient(135deg, rgba(143,107,255,.28), rgba(255,255,255,.035));
}

.mockup-fit {
  background:
    radial-gradient(circle at 24% 20%, rgba(157,255,110,.25), transparent 34%),
    radial-gradient(circle at 78% 28%, rgba(143,107,255,.25), transparent 32%),
    linear-gradient(135deg, rgba(54,231,255,.18), rgba(255,255,255,.035));
}

.mockup-deboca {
  background:
    radial-gradient(circle at 24% 20%, rgba(54,231,255,.26), transparent 34%),
    radial-gradient(circle at 78% 28%, rgba(157,255,110,.18), transparent 32%),
    linear-gradient(135deg, rgba(143,107,255,.18), rgba(255,255,255,.035));
}

.mockup-app {
  background:
    radial-gradient(circle at 24% 20%, rgba(143,107,255,.30), transparent 34%),
    radial-gradient(circle at 78% 28%, rgba(54,231,255,.22), transparent 32%),
    linear-gradient(135deg, rgba(157,255,110,.12), rgba(255,255,255,.035));
}

.mockup-top {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(8,9,15,.38);
}

.mockup-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(54,231,255,.55);
}

.mockup-top span:nth-child(2) { background: var(--violet); }
.mockup-top span:nth-child(3) { background: var(--lime); }

.mockup-body {
  position: relative;
  flex: 1;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
}

.mockup-body small {
  width: fit-content;
  padding: 8px 10px;
  border-radius: 999px;
  color: #05060a;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  font-weight: 950;
}

.mockup-body strong {
  max-width: 220px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: .95;
  text-transform: uppercase;
}

.mockup-body em {
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: rgba(255,255,255,.2);
  font-size: 3rem;
  font-style: normal;
  font-weight: 950;
}

.project-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.project-tag {
  width: fit-content;
  padding: 8px 10px;
  border: 1px solid rgba(54,231,255,.32);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(54,231,255,.08);
  font-size: .82rem;
  font-weight: 900;
}

.project-content h3 {
  margin: 16px 0 10px;
}

.project-content p {
  color: var(--muted);
  line-height: 1.62;
  margin: 0;
}

.project-link {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border: 1px solid rgba(54,231,255,.46);
  border-radius: 12px;
  color: #05060a;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  font-weight: 950;
  transition: transform .2s ease, filter .2s ease;
}

.project-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

@media (max-width: 1280px) {
  .real-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .real-project-grid {
    grid-template-columns: 1fr;
  }

  .real-project {
    min-height: auto;
  }
}
