/* =========================================================
   Janika Noormägi & Team — Global Stylesheet
   Single source of truth for the entire site.
   ========================================================= */

:root {
  --bg: #07111f;
  --bg-2: #0b1630;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-2: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f5f7ff;
  --muted: #a9b4d0;
  --accent: #7c78ff;
  --accent-2: #5fe2d5;
  --accent-3: #ffc96c;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --radius: 28px;
  --max: 1200px;
  --nav-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 15%, rgba(124, 120, 255, 0.20), transparent 26%),
    radial-gradient(circle at 88% 10%, rgba(95, 226, 213, 0.14), transparent 24%),
    radial-gradient(circle at 50% 80%, rgba(255, 201, 108, 0.08), transparent 20%),
    linear-gradient(180deg, #06101c 0%, #091327 52%, #07111f 100%);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.8), transparent 85%);
  z-index: -2;
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  left: 0;
  top: 0;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(124, 120, 255, 0.14), rgba(95, 226, 213, 0.04) 38%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: -1;
  filter: blur(8px);
  transition: opacity .2s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 100px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-2);
  font-size: 14px;
  letter-spacing: 0.02em;
  backdrop-filter: blur(14px);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), #c7fff8);
  box-shadow: 0 0 20px rgba(95, 226, 213, 0.7);
}

h1 {
  font-size: clamp(46px, 8vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}
h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 680px;
}
.small { color: var(--muted); font-size: 14px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 36px;
}

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 22px;
  border-radius: 18px;
  font-weight: 700;
  border: 1px solid transparent;
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #9893ff 55%, #b5b2ff 100%);
  box-shadow: 0 16px 40px rgba(124, 120, 255, 0.28);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.18) 48%, transparent 70%);
  transform: translateX(-140%);
  transition: transform .8s ease;
}
.btn-primary:hover::after { transform: translateX(140%); }
.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 50;
  box-shadow: 0 0 20px rgba(95, 226, 213, 0.4);
}

/* ---------- Header / Navigation ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(6, 12, 24, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 28px rgba(124, 120, 255, 0.28);
  flex-shrink: 0;
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}
.brand-mark::before { width: 22px; height: 22px; right: -2px; top: -5px; }
.brand-mark::after { width: 16px; height: 16px; left: 6px; bottom: 5px; }

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
nav a {
  position: relative;
  padding: 8px 0;
  transition: color .2s ease;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
nav a:hover,
nav a.active { color: #fff; }
nav a:hover::after,
nav a.active::after { transform: scaleX(1); }

.nav-cta {
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  color: var(--text);
  transition: background .2s ease, border-color .2s ease;
}
.nav-cta:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(95, 226, 213, 0.35);
}

/* Mobile burger */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  color: var(--text);
}
.nav-toggle svg { display: block; }

/* ---------- Hero ---------- */
.hero {
  padding: 44px 0 78px;
  overflow: clip;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 42px;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 20px 0;
}
.hero-copy h1 span {
  background: linear-gradient(135deg, #ffffff 0%, #c7d8ff 26%, #69ece0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy .lead { margin-top: 20px; }

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.hero-point,
.stat,
.logo-item,
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.hero-point {
  border-radius: 20px;
  padding: 16px 18px;
  color: var(--muted);
  transition: transform .25s ease, border-color .25s ease;
}
.hero-point:hover { transform: translateY(-3px); border-color: rgba(95, 226, 213, 0.35); }

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.stat {
  border-radius: 22px;
  padding: 20px;
}
.stat b {
  display: block;
  font-size: 30px;
  margin-bottom: 6px;
  letter-spacing: -0.04em;
}

/* ---------- Hero visual / dashboard ---------- */
.hero-visual {
  position: relative;
  min-height: 690px;
  display: grid;
  place-items: center;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.9;
  animation: float 8s ease-in-out infinite;
}
.orb.one { width: 160px; height: 160px; top: 10px; right: 30px; background: rgba(124, 120, 255, 0.44); }
.orb.two { width: 120px; height: 120px; bottom: 80px; left: 20px; background: rgba(95, 226, 213, 0.36); animation-delay: -2s; }
.orb.three { width: 90px; height: 90px; top: 190px; left: 50px; background: rgba(255, 201, 108, 0.34); animation-delay: -4s; }

.dashboard-wrap {
  position: relative;
  width: min(100%, 600px);
  transform-style: preserve-3d;
  transition: transform .2s ease-out;
}
.dashboard {
  position: relative;
  border-radius: 34px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: perspective(1400px) rotateY(-8deg) rotateX(6deg);
  overflow: hidden;
}
.dashboard::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.08) 34%, transparent 50%);
  transform: translateX(-120%);
  animation: sheen 8s linear infinite;
  pointer-events: none;
}
.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.traffic { display: flex; gap: 8px; }
.traffic span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}
.dash-grid { display: grid; grid-template-columns: 1.16fr .84fr; gap: 16px; }
.dash-card {
  border-radius: 24px;
  background: rgba(8, 13, 28, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
}
.metric {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-top: 16px;
}

.bars {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 140px;
  margin-top: 18px;
}
.bars span {
  flex: 1;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, rgba(95, 226, 213, 0.95), rgba(124, 120, 255, 0.92));
  transform-origin: bottom;
  transform: scaleY(0.25);
  opacity: 0.5;
}
.bars.animate span { animation: grow 1.1s ease forwards; }
.bars span:nth-child(1) { height: 38%; }
.bars span:nth-child(2) { height: 68%; animation-delay: .06s; }
.bars span:nth-child(3) { height: 53%; animation-delay: .12s; }
.bars span:nth-child(4) { height: 84%; animation-delay: .18s; }
.bars span:nth-child(5) { height: 72%; animation-delay: .24s; }

.mini-screen {
  position: relative;
  height: 118px;
  margin-top: 14px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, #121a40, #0b1027);
}
.mini-screen::before,
.mini-screen::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
}
.mini-screen::before { width: 100px; height: 100px; right: -18px; top: -26px; background: rgba(95, 226, 213, 0.35); }
.mini-screen::after { width: 90px; height: 90px; left: -20px; bottom: -24px; background: rgba(124, 120, 255, 0.35); }
.mini-screen .line {
  position: absolute;
  left: 16px;
  right: 16px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.mini-screen .line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--w, 60%);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(95, 226, 213, 0.75), rgba(124, 120, 255, 0.75));
  animation: pulse 3.2s ease-in-out infinite;
}
.mini-screen .line:nth-child(1) { top: 22px; --w: 72%; }
.mini-screen .line:nth-child(2) { top: 44px; --w: 46%; }
.mini-screen .line:nth-child(3) { top: 66px; --w: 60%; }

.image-stack { display: grid; gap: 12px; margin-top: 16px; }
.image-chip {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 122px;
  position: relative;
  background: linear-gradient(135deg, rgba(124, 120, 255, 0.4), rgba(95, 226, 213, 0.3));
}
.image-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(6, 12, 24, 0.12));
}

.badge-floating {
  position: absolute;
  right: -14px;
  bottom: 30px;
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: #111827;
  box-shadow: var(--shadow);
  font-weight: 800;
  animation: float 6s ease-in-out infinite;
}
.badge-floating span {
  display: block;
  margin-top: 4px;
  color: #5f6783;
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Logos / categories ---------- */
.logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.logo-item {
  border-radius: 18px;
  padding: 18px 16px;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: 13px;
}

/* ---------- Cards ---------- */
.cards-2, .cards-3, .cards-4, .services-layout { display: grid; gap: 18px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.services-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  position: relative;
  border-radius: var(--radius);
  padding: 26px;
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(95, 226, 213, 0.28); }
.card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 120, 255, 0.16), transparent 68%);
  pointer-events: none;
}
.card-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(124, 120, 255, 0.24), rgba(95, 226, 213, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent-2);
}
.card-icon svg { width: 24px; height: 24px; }
.card p { margin-top: 12px; color: var(--muted); }

.service-box {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
}
.service-list span::before { content: "— "; color: var(--accent-2); }
.service-box .shape {
  position: absolute;
  width: 180px;
  height: 180px;
  right: -38px;
  bottom: -38px;
  border-radius: 34px;
  transform: rotate(18deg);
  background: linear-gradient(135deg, rgba(124, 120, 255, 0.34), rgba(95, 226, 213, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- Case block ---------- */
.case {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 20px;
  align-items: stretch;
}
.case-shot {
  min-height: 360px;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(124, 120, 255, 0.2), rgba(95, 226, 213, 0.16)),
    linear-gradient(180deg, #10183a, #0a1129);
}
.case-ui {
  position: absolute;
  inset: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  padding: 18px;
  backdrop-filter: blur(10px);
}
.case-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.07);
}
.screen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.screen-box {
  position: relative;
  height: 162px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.screen-box::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 120, 255, 0.26), rgba(95, 226, 213, 0.18));
}
.screen-box::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 -18px 0 rgba(255, 255, 255, 0.08), 0 -36px 0 rgba(255, 255, 255, 0.06);
}

/* ---------- Timeline / Process ---------- */
.timeline { display: grid; gap: 18px; }
.timeline-item {
  position: relative;
  padding: 24px 24px 24px 74px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.timeline-item::before {
  content: attr(data-step);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #08111f;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

/* ---------- Testimonials / Quotes ---------- */
.quote::before {
  content: "\201C";
  position: absolute;
  top: -12px;
  right: 20px;
  font-size: 96px;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.avatar::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: center;
  padding: 34px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(124, 120, 255, 0.22), rgba(95, 226, 213, 0.14));
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -90px;
  top: -130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(10px);
}

/* ---------- Form ---------- */
.form {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: grid; gap: 6px; }
.field label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(95, 226, 213, 0.55);
  background: rgba(255, 255, 255, 0.06);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(169, 180, 208, 0.55); }

.form-status {
  margin-top: 8px;
  font-size: 14px;
  color: var(--accent-2);
  min-height: 18px;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(95, 226, 213, 0.35); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--accent-2);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--muted); }

/* ---------- Footer ---------- */
footer { padding: 50px 0; color: var(--muted); margin-top: 40px; }
.footer-box {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 40px;
}
.footer-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); transition: color .2s ease; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .badge-floating, .dashboard::after, .mini-screen .line::after { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Keyframes ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@keyframes grow {
  from { transform: scaleY(0.25); opacity: 0.45; }
  to { transform: scaleY(1); opacity: 1; }
}
@keyframes pulse {
  0%, 100% { transform: scaleX(1); opacity: 0.85; }
  50% { transform: scaleX(0.94); opacity: 1; }
}
@keyframes sheen {
  from { transform: translateX(-120%); }
  to { transform: translateX(160%); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid,
  .cta-banner,
  .case,
  .services-layout,
  .cards-4,
  .cards-3,
  .cards-2,
  .stats-strip,
  .logos,
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .footer-box { grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 560px; }
  nav ul { display: none; }
  .nav-toggle { display: inline-flex; }
  nav.is-open ul {
    display: grid;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(6, 12, 24, 0.95);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 20px;
    gap: 16px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .section { padding: 76px 0; }
  .hero { min-height: auto; padding-bottom: 40px; }
  .hero-grid,
  .cta-banner,
  .case,
  .services-layout,
  .cards-4,
  .cards-3,
  .cards-2,
  .stats-strip,
  .logos,
  .dash-grid,
  .hero-points,
  .screen-grid,
  .form-row,
  .footer-box { grid-template-columns: 1fr; }
  .section-head,
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .dashboard,
  .dashboard-wrap { transform: none !important; }
  .hero-visual { min-height: 460px; }
  .badge-floating { position: static; margin-top: 16px; }
  .nav-cta { display: none; }
  .cursor-glow { display: none; }
  .stats-strip .stat b { font-size: 28px; }
}

/* ---------- Utility: visually-hidden (for a11y) ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Mobile menu overlay ---------- */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(6, 12, 24, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 24px;
  display: none;
  z-index: 29;
}
.mobile-menu.open { display: block; }
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--muted);
  font-size: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-menu a.active { color: var(--text); }
body.menu-open { overflow: hidden; }

/* ---------- Pricing cards ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.pricing-card {
  position: relative;
  border-radius: var(--radius);
  padding: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pricing-card.featured {
  border-color: rgba(95, 226, 213, 0.45);
  background: linear-gradient(180deg, rgba(124, 120, 255, 0.18), rgba(95, 226, 213, 0.08));
}
.pricing-card .price {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-top: 4px;
}
.pricing-card .price small {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
}
.pricing-card ul li::before {
  content: "\2713  ";
  color: var(--accent-2);
  font-weight: 800;
}

/* ---------- Blog / Insights grid ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.blog-card {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(95, 226, 213, 0.35); }
.blog-card .cover {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(124, 120, 255, 0.4), rgba(95, 226, 213, 0.25));
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.blog-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card .body {
  padding: 22px;
  display: grid;
  gap: 10px;
}
.blog-card .meta {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
}
.blog-card h3 { font-size: 19px; }
.blog-card .body p { color: var(--muted); font-size: 14px; }
.blog-card .read-more {
  margin-top: auto;
  color: var(--accent-2);
  font-weight: 600;
  font-size: 14px;
  padding-top: 8px;
}

/* ---------- Case grid (portfolio) ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.case-card {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.case-card .cover {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(124, 120, 255, 0.35), rgba(95, 226, 213, 0.2));
}
.case-card .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-card .body { padding: 24px; display: grid; gap: 10px; }
.case-card .body p { color: var(--muted); font-size: 15px; }

/* ---------- Quote-style cards on Testimonials ---------- */
.quote-card {
  position: relative;
  border-radius: var(--radius);
  padding: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
}
.quote-card .quote-text {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
}
.quote-card .quote-source {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}
.quote-card::before {
  content: "\201C";
  position: absolute;
  top: -12px;
  right: 24px;
  font-size: 90px;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

/* ---------- Responsive overrides for new components ---------- */
@media (max-width: 1100px) {
  .pricing-grid, .blog-grid, .case-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .pricing-grid, .blog-grid, .case-grid { grid-template-columns: 1fr; }
}
