:root {
  --bg: #040816;
  --bg-soft: #0b1028;
  --bg-muted: #f5f7fb;

  --text-main: #0f172a;
  --text-muted: #5f6675;
  --text-light: #e8ecf6;

  --brand-purple: #6b4bff;
  --brand-blue: #2f89e8;
  --brand-teal: #00c2a8;
  --accent-purple: var(--brand-purple);
  --accent-blue: var(--brand-blue);
  --accent-green: var(--brand-teal);
  --brand-gradient: linear-gradient(
    135deg,
    var(--brand-purple) 0%,
    var(--brand-blue) 48%,
    var(--brand-teal) 100%
  );
  --brand-gradient-strong: linear-gradient(
    120deg,
    #6a36ff 0%,
    #2e7be8 50%,
    #0fb8a3 100%
  );

  --card-border: rgba(148, 163, 184, 0.2);
  --radius-large: 1.5rem;
  --radius-medium: 1rem;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.22);
  --shadow-subtle: 0 10px 30px rgba(15, 23, 42, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 16% 18%, rgba(90, 47, 246, 0.12), transparent 40%),
    radial-gradient(circle at 86% 10%, rgba(47, 125, 232, 0.12), transparent 35%),
    radial-gradient(circle at 22% 82%, rgba(15, 184, 163, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(6, 9, 24, 0.9) 0%, rgba(6, 9, 24, 0.85) 28%, #f7faff 68%);
  -webkit-font-smoothing: antialiased;
}

/* Layout helpers */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background:
    linear-gradient(180deg, rgba(11, 17, 35, 0.92), rgba(11, 17, 35, 0.78), rgba(11, 17, 35, 0.38), transparent),
    linear-gradient(135deg, rgba(90, 47, 246, 0.18), rgba(47, 125, 232, 0.18), rgba(15, 184, 163, 0.14));
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: white;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.08rem;
  color: white;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.55);
}

.logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav a {
  color: #eef2ff;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.9;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--accent-purple),
    var(--accent-blue),
    var(--accent-green)
  );
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.login-link {
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 999px;
}

/* Hero */

.hero {
  padding: 4.8rem 0 3.8rem;
  position: relative;
  background:
    radial-gradient(circle at 18% 18%, rgba(107, 75, 255, 0.22), transparent 44%),
    radial-gradient(circle at 82% 12%, rgba(0, 194, 168, 0.18), transparent 38%),
    linear-gradient(135deg, #050a18, #060c1f);
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 2.8rem;
  align-items: center;
}

.hero-copy {
  color: white;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #c7d7ff;
  margin-bottom: 0.7rem;
}

.hero-tag::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: radial-gradient(circle, #22c55e, #16a34a);
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.85);
}

.hero-brand-block {
  margin-bottom: 0.4rem;
}

.hero-logo-word {
  margin: 0;
  letter-spacing: 0.18em;
  font-size: 1rem;
  color: #cfd7ff;
}

.hero-subhead {
  margin: 0.3rem 0 0.4rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: #e8edff;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.35rem);
  line-height: 1.08;
  margin: 0 0 0.8rem;
}

.hero-word-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.word-rotator {
  display: inline-flex;
  position: relative;
  padding: 0.1rem 0.35rem;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(11, 17, 35, 0.25);
}

.hero-subtitle {
  margin: 0 0 1.25rem;
  max-width: 36rem;
  font-size: 1.02rem;
  color: #dbe8ff;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-highlights li {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e5edff;
  font-size: 0.9rem;
}

.rotating-word {
  color: inherit;
  font-weight: 700;
}

.rotating-word.fade-in {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    background 0.18s ease, border-color 0.18s ease;
}

.btn.primary {
  background: var(--brand-gradient-strong);
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.4);
}

.btn.secondary {
  background: rgba(47, 125, 232, 0.12);
  color: var(--brand-blue);
  border-color: rgba(47, 125, 232, 0.28);
}

.btn.secondary:hover {
  background: rgba(47, 125, 232, 0.18);
  transform: translateY(-1px);
}

.hero .btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #eef2ff;
  border-color: rgba(255, 255, 255, 0.3);
}

.hero .btn.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn.text-btn {
  color: var(--accent-purple);
  border-color: transparent;
  padding: 0;
}

/* Hero meta */

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.meta-pill {
  font-size: 0.78rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(11, 15, 32, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #dbeafe;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin: 0 0 0.35rem;
}

/* Hero visual */

.hero-visual {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 0.6rem;
}

.flow-hint {
  margin: 0;
  color: #c7d2fe;
  font-size: 0.9rem;
  opacity: 0.9;
}

.flow-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  position: relative;
  width: 100%;
  max-width: 480px;
  align-items: center;
}

.flow-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(10, 15, 34, 0.9), rgba(10, 15, 34, 0.78));
  color: #eef2ff;
  border-radius: 1rem;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(7, 12, 28, 0.45);
  overflow: hidden;
  min-height: 130px;
  width: 70%;
  max-width: 420px;
  perspective: 1200px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.flow-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

.flip-flow:hover .flow-inner,
.flip-flow:focus-visible .flow-inner,
.flip-flow.flipped .flow-inner {
  transform: rotateY(180deg);
}

.flow-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: #f8fbff;
  font-weight: 700;
  width: 100%;
  height: 100%;
  gap: 0.3rem;
}

.flow-front {
  background: transparent;
}

.flow-back {
  background: transparent;
  color: #eaf1ff;
  transform: rotateY(180deg);
}

.flow-card h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.flow-back p {
  margin: 0;
  color: #f1f5ff;
  font-size: 0.94rem;
  font-weight: 600;
}

.flow-card:nth-child(1) {
  background: linear-gradient(135deg, rgba(107, 75, 255, 0.52), rgba(47, 137, 232, 0.42));
  border-color: rgba(107, 75, 255, 0.55);
}

.flow-card:nth-child(2) {
  background: linear-gradient(135deg, rgba(47, 137, 232, 0.52), rgba(0, 194, 168, 0.42));
  border-color: rgba(47, 137, 232, 0.55);
}

.flow-card:nth-child(3) {
  background: linear-gradient(135deg, rgba(0, 194, 168, 0.52), rgba(107, 75, 255, 0.42));
  border-color: rgba(0, 194, 168, 0.55);
}

.flow-card:nth-child(4) {
  background: linear-gradient(135deg, rgba(107, 75, 255, 0.5), rgba(47, 137, 232, 0.4));
  border-color: rgba(47, 137, 232, 0.55);
}

/* Value summary */

.value-summary {
  background: linear-gradient(135deg, rgba(107, 75, 255, 0.04), rgba(47, 137, 232, 0.06), rgba(0, 194, 168, 0.05)), #ffffff;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.value-tile {
  position: relative;
  border-radius: 1rem;
  padding: 0;
  background: linear-gradient(135deg, rgba(107, 75, 255, 0.2), rgba(47, 137, 232, 0.2), rgba(0, 194, 168, 0.2));
  font: inherit;
  color: inherit;
  outline: none;
  box-shadow: 0 22px 48px rgba(12, 18, 38, 0.16);
  cursor: pointer;
  border: 1px solid rgba(107, 75, 255, 0.5);
  overflow: hidden;
  min-height: 270px;
  perspective: 1200px;
}

.tile-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
}

.tile-top {
  padding: 1.4rem 1.4rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  background: linear-gradient(160deg, rgba(7, 12, 26, 0.9), rgba(7, 12, 26, 0.75));
  color: #f6f8ff;
  min-height: 120px;
}

.tile-front {
  background: linear-gradient(160deg, rgba(7, 12, 26, 0.88), rgba(7, 12, 26, 0.7));
  color: #f6f8ff;
}

.tile-back {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 255, 0.96));
  color: #0f172a;
  transform: rotateX(180deg);
  grid-template-columns: 1fr;
  gap: 0.35rem;
}

.icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(107, 75, 255, 0.28), rgba(47, 137, 232, 0.22), rgba(0, 194, 168, 0.24));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15), 0 14px 28px rgba(0, 0, 0, 0.14);
}

.icon-dot,
.icon-wave,
.icon-arc {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: white;
  position: relative;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.icon-wave::before,
.icon-wave::after,
.icon-arc::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  top: -8px;
  left: -8px;
}

.icon-wave::after {
  top: auto;
  bottom: -9px;
  left: auto;
  right: -9px;
  width: 18px;
  height: 18px;
}

.icon-arc::before {
  width: 24px;
  height: 24px;
  top: -11px;
  left: -11px;
}

.tile-body {
  display: grid;
  gap: 0.05rem;
}

.tile-label {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.tile-kicker {
  margin: 0;
  color: #c9d5ff;
  font-size: 0.92rem;
}

.tile-back-title {
  margin: 0.1rem 0 0.05rem;
  font-weight: 800;
  color: #0f172a;
}

.tile-back-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.tile-flip {
  position: relative;
  height: 200px;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.tile-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.flip-tile:hover .tile-flip,
.flip-tile:focus-visible .tile-flip,
.flip-tile.flipped .tile-flip {
  transform: rotateX(180deg);
}

.tile-illustration {
  width: 100%;
  height: 100%;
  border-radius: 0.6rem;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.tile-illustration.visits {
  background:
    linear-gradient(180deg, rgba(5, 8, 22, 0.28), rgba(5, 8, 22, 0.2)),
    url("https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1000&q=80");
  background-size: cover;
  background-position: center;
}

.tile-illustration.engagement {
  background:
    linear-gradient(180deg, rgba(5, 8, 22, 0.28), rgba(5, 8, 22, 0.2)),
    url("https://images.unsplash.com/photo-1525182008055-f88b95ff7980?auto=format&fit=crop&w=1000&q=80");
  background-size: cover;
  background-position: center;
}

.tile-illustration.followups {
  background:
    linear-gradient(180deg, rgba(5, 8, 22, 0.28), rgba(5, 8, 22, 0.2)),
    url("https://images.unsplash.com/photo-1556740749-887f6717d7e4?auto=format&fit=crop&w=1000&q=80");
  background-size: cover;
  background-position: center;
}

/* Overview blocks */

.compact-overview {
  background: white;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.overview-block {
  padding: 1.25rem 1.3rem;
  border-radius: 1rem;
  background: #f7f9fe;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 32px rgba(10, 14, 28, 0.06);
}

.overview-block h3 {
  margin: 0 0 0.35rem;
}

.overview-block p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Tech foundations */

.tech-foundations {
  background: #ffffff;
  color: #0f172a;
}

.tech-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: center;
}

.tech-visual {
  width: 100%;
  min-height: 100%;
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(12, 18, 38, 0.08);
  box-shadow: 0 22px 60px rgba(12, 18, 38, 0.18);
  background: linear-gradient(135deg, rgba(107, 75, 255, 0.16), rgba(47, 137, 232, 0.2), rgba(0, 194, 168, 0.18));
  padding: 1.4rem;
  display: flex;
  align-items: stretch;
}

.tech-copy h2 {
  color: #0f172a;
  margin: 0 0 0.45rem;
}

.tech-summary {
  margin: 0 0 1rem;
  color: #334155;
  font-size: 1.02rem;
}

.tech-points {
  display: grid;
  gap: 0.75rem;
}

.tech-point {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: #f8fafc;
  border: 1px solid rgba(12, 18, 38, 0.08);
  box-shadow: 0 12px 28px rgba(12, 18, 38, 0.08);
}

.tech-point h3 {
  margin: 0 0 0.25rem;
  color: #0f172a;
}

.tech-point p {
  margin: 0;
  color: #334155;
  font-size: 0.97rem;
}

.tech-footnote {
  margin: 1rem 0 0;
  color: #1f2937;
  font-size: 0.92rem;
}

.tech-meta {
  margin: 0.15rem 0 0;
  color: #475569;
  font-size: 0.9rem;
}

.tech-card {
  border-radius: 1rem;
  padding: 1.1rem 1.4rem;
  background: linear-gradient(135deg, rgba(107, 75, 255, 0.22), rgba(47, 137, 232, 0.22), rgba(0, 194, 168, 0.22));
  border: 1px solid rgba(12, 18, 38, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 22px 50px rgba(12, 18, 38, 0.18);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  height: 100%;
}

.tech-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.tech-node {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.9rem;
  padding: 0.8rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: center;
}

.tech-node.form {
  grid-template-columns: 1fr;
  gap: 0.4rem;
}

.tech-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(107, 75, 255, 0.7), rgba(47, 137, 232, 0.7));
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.tech-lines span {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
}

.tech-lines span + span {
  margin-top: 6px;
}

.tech-lines span:nth-child(1) {
  width: 70%;
}

.tech-lines span:nth-child(2) {
  width: 55%;
}

.tech-lines span:nth-child(3) {
  width: 60%;
}

.tech-form-line {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
}

.tech-form-line.long {
  width: 80%;
}

.tech-form-line.short {
  width: 50%;
}

.tech-form-line.pill {
  width: 30%;
  height: 14px;
}

.tech-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, auto));
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.tech-bottom {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.75rem;
  align-items: stretch;
}

.tech-table {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.9rem;
  padding: 0.6rem 0.7rem;
  display: grid;
  gap: 0.35rem;
}

.table-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #0f172a;
}

.table-row.header {
  font-weight: 700;
  color: #0b1220;
}

.tech-chat {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.9rem;
  padding: 0.6rem 0.7rem;
  display: grid;
  gap: 0.35rem;
}

.chat-bubble {
  padding: 0.35rem 0.5rem;
  border-radius: 0.7rem;
  color: #0f172a;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.9);
}

.chat-bubble.outgoing {
  background: rgba(15, 184, 163, 0.18);
}

.tech-stage {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  padding: 0.4rem 0.5rem;
}

.tech-stage p {
  margin: 0;
  font-size: 0.9rem;
  color: #0f172a;
}

.tech-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.24);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 10px 20px rgba(12, 18, 38, 0.18);
}

.tech-icon::before,
.tech-icon::after {
  content: "";
  position: absolute;
  inset: 20%;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.65);
}

.tech-icon.wh-app::before {
  inset: 30%;
  border-radius: 50%;
  background: radial-gradient(circle, #25d366, #128c7e);
}

.tech-icon.db::before {
  inset: 18% 10%;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
}

.tech-icon.db::after {
  inset: 55% 10% 18% 10%;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
}

.tech-icon.chat::before {
  inset: 18% 12% 32% 12%;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.7));
}

.tech-icon.chat::after {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  left: 50%;
  top: 60%;
  transform: translateX(-50%);
}

.tech-flow-arrows {
  display: grid;
  gap: 4px;
  justify-items: center;
}

.tech-flow-arrows span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.tech-diagram {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.9rem;
  padding: 0.8rem;
  display: grid;
  place-items: center;
  flex: 1 1 auto;
  min-height: 280px;
}

.tech-diagram img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.8rem;
  border: 1px solid rgba(12, 18, 38, 0.12);
  box-shadow: 0 14px 30px rgba(12, 18, 38, 0.18);
}

/* Phase cards */

.phases {
  background: linear-gradient(135deg, rgba(107, 75, 255, 0.05), rgba(47, 137, 232, 0.05)), #ffffff;
}

.phase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.phase-card {
  display: block;
  position: relative;
  border-radius: 1rem;
  padding: 1.15rem 1.15rem 1.3rem;
  color: #0f172a;
  text-decoration: none;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(107, 75, 255, 0.14), rgba(47, 137, 232, 0.16), rgba(0, 194, 168, 0.16));
  box-shadow: 0 18px 36px rgba(10, 14, 28, 0.1);
  transition: transform 0.16s ease, box-shadow 0.2s ease;
}

.phase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.26), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.18), transparent 45%);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.phase-card:hover,
.phase-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(10, 14, 28, 0.16);
}

.phase-card:hover::after,
.phase-card:focus-visible::after {
  opacity: 1;
}

.phase-card {
  animation: phaseFloat 7s ease-in-out infinite;
}

.phase-card:nth-child(2) {
  animation-delay: 0.8s;
}

.phase-card:nth-child(3) {
  animation-delay: 1.6s;
}

.phase-card:nth-child(4) {
  animation-delay: 2.4s;
}

@keyframes phaseFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

.phase-name {
  display: inline-flex;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.phase-hook {
  margin: 0.6rem 0 0;
  color: #0f172a;
  font-size: 0.98rem;
}

/* Case studies */

.case-studies {
  background: #040816;
  color: #e8edff;
}

.case-studies .section-header h2 {
  color: #e8edff;
}

.case-studies .section-header p {
  color: #cfdafb;
}

.case-window {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.case-card {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: var(--bg-image);
  transform: scale(0.92);
  opacity: 0.4;
  filter: blur(1px);
  transition: transform 0.45s ease, opacity 0.45s ease, filter 0.45s ease;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.45);
}

.case-card.is-active {
  transform: scale(1);
  opacity: 1;
  filter: none;
}

.case-card.is-next,
.case-card.is-prev {
  opacity: 0.7;
  filter: blur(0.2px);
  transform: scale(0.96);
}

.case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 22, 0.25), rgba(5, 8, 22, 0.85));
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.1rem;
}

.case-title {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #cde5ff;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.metric {
  padding: 0.75rem 0.8rem;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
}

.metric-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
}

.metric-label {
  color: #d7e6ff;
  font-size: 0.88rem;
}

.carousel-hint {
  margin: 0.9rem 0 0;
  color: #cfdafb;
  font-size: 0.9rem;
  text-align: center;
}

/* Sections */

.section {
  padding: 3.5rem 0;
  background: white;
}

.section.muted {
  background: linear-gradient(180deg, rgba(90, 47, 246, 0.04), rgba(15, 184, 163, 0.03)), var(--bg-muted);
}

.section.case-studies {
  background: #040816;
}

.section.value-summary {
  background: linear-gradient(135deg, rgba(107, 75, 255, 0.04), rgba(47, 137, 232, 0.06), rgba(0, 194, 168, 0.05)), #ffffff;
}

.section-header {
  text-align: left;
  max-width: 620px;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin: 0 0 0.3rem;
  font-size: 1.6rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* Tiles */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.tile-grid.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tile {
  border-radius: var(--radius-medium);
  border: 1px solid var(--card-border);
  padding: 1.3rem 1.3rem 1.4rem;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.tile h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.tile p {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tile ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.87rem;
  color: var(--text-muted);
}

.tile li + li {
  margin-top: 0.25rem;
}

/* Steps */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.3rem;
}

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: flex-start;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--accent-purple),
    var(--accent-blue),
    var(--accent-green)
  );
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
}

.step-body h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.step-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Problem / solution */

.problem-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  align-items: start;
}

.problem-col {
  background: white;
  border-radius: var(--radius-medium);
  border: 1px solid var(--card-border);
  padding: 1.4rem 1.6rem;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.problem-col h2,
.problem-col h3 {
  margin: 0 0 0.5rem;
}

.problem-col p {
  margin: 0;
  color: var(--text-muted);
}

.problem-col.solution {
  background: linear-gradient(135deg, rgba(91, 47, 246, 0.09), rgba(31, 123, 209, 0.07), rgba(15, 184, 163, 0.07));
}

.checklist {
  margin: 0.7rem 0 1rem;
  padding-left: 1.2rem;
  color: var(--text-main);
  font-size: 0.93rem;
}

/* Pills grid */

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: white;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* About */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.about-text p {
  margin-top: 0.5rem;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about-card {
  border-radius: var(--radius-medium);
  padding: 1.4rem 1.4rem;
  background: white;
  border: 1px solid var(--card-border);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.09);
}

.about-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.about-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
}

.contact-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  font-size: 0.93rem;
}

.contact-list li + li {
  margin-top: 0.3rem;
}

.contact-list a {
  color: var(--accent-purple);
  text-decoration: none;
}

.contact-card {
  border-radius: var(--radius-medium);
  padding: 1.3rem 1.3rem 1.5rem;
  border: 1px solid var(--card-border);
  background: #f9fafb;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
}

.contact-form input,
.contact-form textarea {
  margin-top: 0.25rem;
  width: 100%;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.55rem 0.6rem;
  font-family: inherit;
  font-size: 0.86rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.4);
}

.form-note {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Testimonials */

.testimonial-track {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial {
  border-radius: var(--radius-medium);
  padding: 1.1rem 1.2rem;
  background: white;
  border: 1px solid var(--card-border);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

.testimonial-quote {
  margin: 0 0 0.7rem;
  color: var(--text-main);
  font-size: 0.94rem;
}

.testimonial-meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Logos */

.logo-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.logo-placeholder {
  border: 1px dashed var(--card-border);
  background: #fff;
  border-radius: 0.9rem;
  padding: 1.2rem;
  color: var(--text-muted);
  text-align: center;
  font-size: 0.9rem;
}

/* CTA strip */

.cta-strip {
  background: linear-gradient(135deg, rgba(107, 75, 255, 0.12), rgba(47, 137, 232, 0.14), rgba(0, 194, 168, 0.14));
  padding: 2.4rem 0;
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-strip h3 {
  margin: 0.1rem 0 0;
  color: var(--text-main);
}

.cta-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.contact-strip h3 {
  margin: 0.1rem 0 0;
  max-width: 620px;
}

/* Subpage hero */

.page-hero {
  padding: 3.2rem 0 2.4rem;
  background: linear-gradient(
      120deg,
      rgba(90, 47, 246, 0.08),
      rgba(47, 125, 232, 0.07),
      rgba(15, 184, 163, 0.06)
    ),
    #f9fafb;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 640px;
}

.pill-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.solution-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-medium);
  padding: 1.2rem 1.3rem;
  background: white;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.solution-card h3 {
  margin: 0 0 0.5rem;
}

.feature-list {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.workflow-block {
  border: 1px dashed var(--card-border);
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  background: #f9fafb;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pricing-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-medium);
  padding: 1.2rem 1.3rem;
  background: white;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.08);
  color: var(--accent-purple);
}

.price {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0.2rem 0 0.4rem;
}

.add-ons {
  margin: 0.6rem 0 0;
  padding: 0.6rem 0 0;
  border-top: 1px solid var(--card-border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.6rem;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid var(--card-border);
  padding: 0.7rem;
  text-align: left;
  font-size: 0.9rem;
}

.comparison-table th {
  background: #f9fafb;
}

.table-wrap {
  overflow-x: auto;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background: radial-gradient(circle at 12% 24%, rgba(90, 47, 246, 0.08), transparent 38%),
    radial-gradient(circle at 88% 10%, rgba(15, 184, 163, 0.08), transparent 32%),
    #050915;
  color: #c7d2fe;
}

.footer-top-line {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, rgba(107, 75, 255, 0.8), rgba(47, 137, 232, 0.8), rgba(0, 194, 168, 0.8));
  opacity: 0.9;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 1.2rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #e5e7eb;
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-contact {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 600;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .about-layout,
  .contact-layout,
  .tile-grid,
  .tile-grid.four-up,
  .problem-layout,
  .testimonial-track,
  .logo-row,
  .solutions-grid,
  .pricing-grid,
  .split,
  .value-grid,
  .overview-grid,
  .tech-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .tile {
    background: white;
  }

  .phase-grid,
  .case-window {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-visual {
    max-width: 520px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .nav {
    flex-wrap: wrap;
    gap: 0.7rem;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .phase-grid,
  .case-window {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-card {
    min-height: 260px;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .cta-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}
