:root {
  --bg: #f7f8fc;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --text: #0f172a;
  --muted: #5b6478;
  --line: rgba(15, 23, 42, 0.08);
  --shadow: 0 30px 80px rgba(31, 41, 55, 0.10);
  --shadow-soft: 0 15px 40px rgba(31, 41, 55, 0.08);
  --primary: #5b5ef7;
  --primary-2: #7c3aed;
  --accent: #0ea5e9;
  --success: #10b981;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(91, 94, 247, 0.10), transparent 32%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 28%),
    linear-gradient(180deg, #fbfcff 0%, #f7f8fc 52%, #f4f6fb 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img { display: block; max-width: 100%; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.5) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 100%);
  z-index: 0;
}

.bg-orb {
  position: fixed;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  z-index: 0;
  animation: drift 14s ease-in-out infinite;
}

.orb-1 {
  top: -12rem;
  left: -10rem;
  background: rgba(91, 94, 247, 0.35);
}

.orb-2 {
  right: -14rem;
  top: 18rem;
  background: rgba(14, 165, 233, 0.24);
  animation-delay: -7s;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 22px auto 0;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 14px;
  z-index: 20;
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(91, 94, 247, 0.12), rgba(14, 165, 233, 0.12));
  border: 1px solid rgba(91, 94, 247, 0.12);
  flex: 0 0 auto;
  box-shadow: 0 10px 25px rgba(91, 94, 247, 0.10);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand-text small {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 360px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav a {
  padding: 12px 16px;
  color: #2a3144;
  border-radius: 999px;
  transition: 0.25s ease;
  font-weight: 500;
}

.nav a:hover {
  background: rgba(91, 94, 247, 0.08);
  color: var(--text);
}

.nav-cta {
  background: linear-gradient(135deg, rgba(91, 94, 247, 0.12), rgba(124, 58, 237, 0.12));
  border: 1px solid rgba(91, 94, 247, 0.16);
}

.menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.menu-btn span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #334155;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
  padding-top: 58px;
}

.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin: 20px 0 18px;
  max-width: 10.5ch;
}

.hero-lead {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  color: #324055;
  font-size: 0.92rem;
  font-weight: 500;
}

.eyebrow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), #34d399);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.10);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: 0.28s ease;
  border: 1px solid transparent;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 18px 35px rgba(91, 94, 247, 0.28);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 23, 42, 0.08);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
}

.metric {
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
}

.metric strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.metric span {
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-visual {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
}

.glass-panel {
  width: min(100%, 560px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.main-panel {
  padding: 28px;
  transform: rotate(-1.3deg);
}

.panel-top {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.08);
  color: #264a62;
  font-weight: 600;
  font-size: 0.92rem;
}

.live-pill {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0ea5e9;
  box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.14);
}

.main-panel h3 {
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 18px 0 18px;
  max-width: 12ch;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.chip {
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(91, 94, 247, 0.08);
  color: #2a3160;
  border: 1px solid rgba(91, 94, 247, 0.10);
  font-weight: 600;
  font-size: 0.88rem;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-card {
  min-height: 110px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(247,248,252,0.8));
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.mini-label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.mini-card strong {
  font-size: 1rem;
  line-height: 1.35;
}

.floating-card {
  position: absolute;
  right: 0;
  width: 220px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-soft);
  animation: float 6.5s ease-in-out infinite;
}

.card-a {
  top: 50px;
  transform: rotate(8deg);
}

.card-b {
  bottom: 56px;
  right: 30px;
  transform: rotate(-6deg);
  animation-delay: -2.2s;
}

.floating-kicker {
  display: inline-block;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.floating-card strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.floating-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.trust-strip {
  padding-top: 12px;
  text-align: center;
}

.trust-strip p {
  margin: 0 0 18px;
  color: #324055;
  font-size: 1rem;
  font-weight: 500;
}

.trust-tags {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-tags span {
  padding: 11px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #334155;
  box-shadow: 0 12px 20px rgba(15, 23, 42, 0.04);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-heading h2,
.about-card h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.section-heading p,
.about-card p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.03rem;
  margin: 16px 0 0;
}

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

.service-card {
  padding: 24px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
  min-height: 250px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -40% auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(91, 94, 247, 0.13), transparent 70%);
  filter: blur(12px);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.10);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(91, 94, 247, 0.12), rgba(14, 165, 233, 0.12));
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 18px;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.service-card p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.process-section {
  padding-top: 40px;
}

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

.step {
  display: flex;
  gap: 18px;
  padding: 26px;
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-soft);
}

.step-num {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  font-weight: 800;
  box-shadow: 0 14px 24px rgba(91, 94, 247, 0.28);
}

.step h3 {
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.case-study {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.case-copy,
.case-results {
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-soft);
  padding: 28px;
}

.case-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #7c3aed;
  margin-bottom: 12px;
}

.case-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 2.7vw, 2.6rem);
  letter-spacing: -0.04em;
}

.case-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 60ch;
}

.case-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-points span {
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.08);
  color: #43308d;
  border: 1px solid rgba(124, 58, 237, 0.10);
  font-weight: 600;
}

.case-results {
  display: grid;
  gap: 12px;
}

.result-card {
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245,247,253,0.92));
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.result-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.result-card span {
  color: var(--muted);
  line-height: 1.6;
}

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

.stat-card {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,248,252,0.90));
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-soft);
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.stat-card span {
  color: var(--muted);
  line-height: 1.6;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.about-card {
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-soft);
  padding: 30px;
}

.about-card.accent {
  background: linear-gradient(135deg, rgba(91, 94, 247, 0.12), rgba(14, 165, 233, 0.10));
}

.about-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.about-card li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  align-items: start;
}

.contact-copy {
  padding: 18px 0;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-details div {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-soft);
}

.contact-details span {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 7px;
}

.contact-details strong {
  font-size: 1.02rem;
}

.contact-form {
  padding: 28px;
  border-radius: 30px;
  background: var(--surface-strong);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

input,
textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #fbfcff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 15px 16px;
  outline: none;
  transition: 0.25s ease;
}

textarea {
  resize: vertical;
  min-height: 160px;
  margin-top: 12px;
}

input:focus,
textarea:focus {
  border-color: rgba(91, 94, 247, 0.35);
  box-shadow: 0 0 0 5px rgba(91, 94, 247, 0.08);
  background: white;
}

.form-btn {
  width: 100%;
  margin-top: 12px;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 28px;
  padding: 22px 4px 12px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  color: #435066;
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.footer-links a {
  color: #435066;
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.92);
  color: white;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 40;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(20px, 20px, 0) scale(1.04); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(8deg); }
  50% { transform: translateY(-12px) rotate(8deg); }
}

@media (max-width: 1100px) {
  .hero,
  .case-study,
  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 560px;
  }

  .service-grid,
  .timeline,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    border-radius: 24px;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    padding: 16px;
    margin: 0 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    width: 100%;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .hero-metrics,
  .service-grid,
  .timeline,
  .form-row,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .floating-card {
    display: none;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .section,
  .site-header {
    width: min(100% - 20px, 1180px);
  }

  .section {
    padding: 74px 0;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .main-panel {
    padding: 22px;
  }

  .mini-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}