/* Nipuna Solutions — shared design system */
:root {
  --bg: #05060f;
  --bg2: #0b0d1d;
  --card: rgba(255, 255, 255, 0.04);
  --card2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8eaf6;
  --muted: #9aa0bf;
  --a1: #7c5cff;
  --a2: #00d4ff;
  --a3: #ff4fd8;
  --grad: linear-gradient(120deg, var(--a1), var(--a2));
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted {
  color: var(--muted);
}

/* background */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-fx::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(
    ellipse at 50% 0%,
    #000 30%,
    transparent 75%
  );
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.42;
  animation: float 18s ease-in-out infinite;
}
.orb.o1 {
  width: 520px;
  height: 520px;
  background: var(--a1);
  top: -160px;
  left: -120px;
}
.orb.o2 {
  width: 460px;
  height: 460px;
  background: var(--a2);
  top: 120px;
  right: -160px;
  animation-delay: -6s;
}
.orb.o3 {
  width: 380px;
  height: 380px;
  background: var(--a3);
  top: 70%;
  left: 30%;
  opacity: 0.15;
  animation-delay: -12s;
}
@keyframes float {
  50% {
    transform: translate(40px, 60px) scale(1.08);
  }
}

/* header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(5, 6, 15, 0.6);
  border-bottom: 1px solid var(--border);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
nav .logo img {
  height: 32px;
}
.menu {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
}
.menu > li {
  position: relative;
}
.menu > li > a,
.menu > li > span {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--muted);
  cursor: pointer;
  transition: 0.2s;
}
.menu > li:hover > a,
.menu > li:hover > span,
.menu > li.current > a,
.menu > li.current > span {
  color: #fff;
  background: var(--card);
}
.drop {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  width: 360px;
  padding: 10px;
  list-style: none;
  background: rgba(14, 16, 34, 0.97);
  border: 1px solid var(--border);
  border-radius: 16px;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.menu > li:hover .drop,
.menu > li:focus-within .drop {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.drop a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
}
.drop a:hover {
  background: rgba(124, 92, 255, 0.12);
}
.drop b {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}
.drop small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
  display: block;
}
.burger {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.25s;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 30px rgba(124, 92, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.4);
}
.btn-ghost {
  border-color: var(--border);
  background: var(--card);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

/* hero */
.hero {
  padding: 110px 0 70px;
  text-align: center;
}
.hero.sub {
  padding: 90px 0 40px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(124, 92, 255, 0.4);
  background: rgba(124, 92, 255, 0.1);
  font-size: 0.85rem;
  color: #c9bfff;
  margin-bottom: 28px;
}
.pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--a2);
  box-shadow: 0 0 12px var(--a2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.3;
  }
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  max-width: 950px;
  margin: 0 auto 22px;
}
.hero.sub h1 {
  font-size: clamp(2.1rem, 5vw, 3.8rem);
}
.hero p.lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 36px;
}
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 56px;
  color: var(--muted);
  font-size: 0.9rem;
}
.stats strong {
  display: block;
  font-family: "Space Grotesk";
  font-size: 1.7rem;
  color: #fff;
}

/* sections */
section {
  padding: 100px 0;
}
.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--a2);
  font-weight: 600;
  margin-bottom: 14px;
}
.sec-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}
.sec-head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 16px;
}
.sec-head p {
  color: var(--muted);
  font-size: 1.05rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.grid.g3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.card {
  position: relative;
  padding: 28px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  transition: 0.3s;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    400px circle at var(--x, 50%) var(--y, 0%),
    rgba(124, 92, 255, 0.18),
    transparent 45%
  );
  opacity: 0;
  transition: 0.3s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.4);
}
.card:hover::before {
  opacity: 1;
}
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.card p {
  color: var(--muted);
  font-size: 0.95rem;
}
.card .more {
  display: inline-block;
  margin-top: 14px;
  color: var(--a2);
  font-weight: 600;
  font-size: 0.9rem;
}
.icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    140deg,
    rgba(124, 92, 255, 0.25),
    rgba(0, 212, 255, 0.15)
  );
  border: 1px solid rgba(124, 92, 255, 0.35);
  margin-bottom: 18px;
  flex-shrink: 0;
}
.icon svg {
  width: 22px;
  height: 22px;
  stroke: #c9bfff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* two-column feature row */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.row.rev > :first-child {
  order: 2;
}
.row h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  margin-bottom: 18px;
}
.row p {
  color: var(--muted);
  margin-bottom: 14px;
}
.row ul.ticks {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.ticks li {
  display: flex;
  gap: 10px;
}
.ticks li::before {
  content: "✓";
  color: var(--a2);
  font-weight: 700;
}

/* framed media */
.frame {
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(
    140deg,
    rgba(124, 92, 255, 0.7),
    rgba(0, 212, 255, 0.3),
    transparent 60%
  );
  position: relative;
}
.frame-inner {
  border-radius: 19px;
  background: var(--bg2);
  overflow: hidden;
}
.frame-bar {
  display: flex;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.frame-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.frame-bar span:nth-child(1) {
  background: #ff5f57;
}
.frame-bar span:nth-child(2) {
  background: #febc2e;
}
.frame-bar span:nth-child(3) {
  background: #28c840;
}
.frame img {
  width: 100%;
  background: #fff;
}
.frame.plain img {
  background: transparent;
  padding: 24px;
}
.glow {
  position: absolute;
  inset: auto 10% -40px;
  height: 120px;
  background: var(--grad);
  filter: blur(80px);
  opacity: 0.3;
  z-index: -1;
}

/* gallery tabs */
.tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.tab {
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  font-size: 0.88rem;
  cursor: pointer;
  transition: 0.2s;
  font-family: inherit;
}
.tab.active {
  color: #fff;
  border-color: rgba(124, 92, 255, 0.6);
  background: rgba(124, 92, 255, 0.15);
}
.gallery .shot {
  display: none;
}
.gallery .shot.active {
  display: block;
  animation: fade 0.5s;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: scale(0.99);
  }
}

/* compare */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cmp {
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--card);
}
.cmp.hl {
  background: linear-gradient(
    160deg,
    rgba(124, 92, 255, 0.14),
    rgba(0, 212, 255, 0.05)
  );
  border-color: rgba(124, 92, 255, 0.45);
  box-shadow: 0 0 60px rgba(124, 92, 255, 0.15);
}
.cmp h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.cmp .sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.cmp ul {
  list-style: none;
  display: grid;
  gap: 12px;
}
.cmp li {
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
}
.cmp li::before {
  content: "✕";
  color: #6b6f8e;
  font-weight: 700;
}
.cmp.hl li::before {
  content: "✓";
  color: var(--a2);
}

/* chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.chip {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 0.92rem;
  transition: 0.25s;
}
.chip:hover {
  border-color: var(--a2);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.25);
  color: #fff;
}
.hub {
  margin: 0 auto 36px;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: var(--grad);
  font-family: "Space Grotesk";
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow:
    0 0 0 12px rgba(124, 92, 255, 0.08),
    0 0 0 26px rgba(124, 92, 255, 0.04),
    0 0 80px rgba(0, 212, 255, 0.4);
}

/* testimonials */
.quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.quote blockquote {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 24px;
  position: relative;
  padding-top: 28px;
}
.quote blockquote::before {
  content: "“";
  position: absolute;
  top: -18px;
  left: -4px;
  font-size: 4rem;
  font-family: Georgia, serif;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: "Space Grotesk";
}
.who b {
  display: block;
  font-size: 0.95rem;
}
.who small {
  color: var(--muted);
}

/* timeline / values */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.value {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  font-weight: 500;
  display: flex;
  gap: 10px;
  align-items: center;
}
.value span {
  font-family: "Space Grotesk";
  font-size: 0.8rem;
  color: var(--a2);
}

/* team */
.team-card {
  text-align: left;
}
.team-card img {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  object-fit: cover;
  margin-bottom: 18px;
  border: 1px solid rgba(124, 92, 255, 0.4);
}
.team-card .role {
  color: var(--a2);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

/* story */
.story {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.story:first-of-type {
  border-top: 0;
}
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  border: 1px solid rgba(0, 212, 255, 0.35);
  color: var(--a2);
  margin-bottom: 16px;
}
.stack {
  display: grid;
  gap: 16px;
}

/* forms */
.form {
  display: grid;
  gap: 16px;
}
.form .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  transition: 0.2s;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--a1);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.15);
}
.form small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}
.form-ok {
  display: none;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.08);
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item h3 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.map {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 380px;
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.7);
}

/* prose (privacy) */
.prose {
  max-width: 820px;
  margin: 0 auto;
}
.prose h2 {
  font-size: 1.6rem;
  margin: 48px 0 16px;
  padding-top: 8px;
}
.prose h3 {
  font-size: 1.2rem;
  margin: 32px 0 12px;
}
.prose p,
.prose li {
  color: #c4c8e0;
  margin-bottom: 12px;
}
.prose ul,
.prose ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
.prose strong {
  color: #fff;
}
.prose a {
  color: var(--a2);
}
.toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 4px;
  font-size: 0.88rem;
}
.toc a {
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 8px;
}
.toc a:hover {
  color: #fff;
  background: var(--card);
}
.legal {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

/* cta */
.cta-box {
  position: relative;
  text-align: center;
  padding: 72px 28px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(124, 92, 255, 0.35);
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(124, 92, 255, 0.35),
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 100%,
      rgba(0, 212, 255, 0.25),
      transparent 50%
    ),
    var(--bg2);
}
.cta-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 14px;
}
.cta-box p {
  color: var(--muted);
  margin-bottom: 30px;
}

/* footer */
footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.015);
}
.fgrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
footer .flogo {
  height: 36px;
  margin-bottom: 14px;
}
footer h4 {
  font-size: 1rem;
  margin-bottom: 14px;
}
footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}
footer li a,
footer p {
  color: var(--muted);
  font-size: 0.92rem;
}
footer li a:hover {
  color: #fff;
}
.social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 0.8rem;
  font-weight: 600;
}
.social a:hover {
  border-color: var(--a1);
  color: #fff;
}
.copy {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* cookie banner */
.cookie {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  max-width: 520px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(14, 16, 34, 0.97);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  display: none;
}
.cookie.show {
  display: block;
  animation: fade 0.4s;
}
.cookie h4 {
  margin-bottom: 6px;
}
.cookie p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 14px;
}
.cookie .cta-row {
  justify-content: flex-start;
}
.cookie .btn {
  padding: 9px 16px;
  font-size: 0.85rem;
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px;
    background: rgba(5, 6, 15, 0.98);
    border-bottom: 1px solid var(--border);
    display: none;
    max-height: calc(100vh - 72px);
    overflow: auto;
  }
  .menu.open {
    display: flex;
  }
  .drop {
    position: static;
    transform: none;
    width: auto;
    opacity: 1;
    visibility: visible;
    display: none;
    box-shadow: none;
    margin: 4px 0 8px;
  }
  .menu > li.open .drop {
    display: block;
  }
  .menu > li:hover .drop {
    transform: none;
  }
  .burger {
    display: block;
  }
  nav > .btn {
    display: none;
  }
  .split,
  .fgrid,
  .row,
  .legal,
  .form .two {
    grid-template-columns: 1fr;
  }
  .row.rev > :first-child {
    order: 0;
  }
  .row {
    gap: 32px;
  }
  .toc {
    display: none;
  }
  section {
    padding: 70px 0;
  }
  .hero {
    padding: 70px 0 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
