@import url("https://fonts.googleapis.com/css2?family=Calistoga&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --background: #fafafa;
  --foreground: #0f172a;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --accent: #0052ff;
  --accent-secondary: #4d7cff;
  --border: #e2e8f0;
  --card: #ffffff;
  --shadow-accent: 0 8px 24px rgba(0, 82, 255, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(0, 82, 255, 0.1), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(77, 124, 255, 0.08), transparent 22rem),
    linear-gradient(180deg, #fff 0%, var(--background) 35%, #fff 100%);
  color: var(--foreground);
  font-family: Inter, system-ui, sans-serif;
}

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

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

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(250, 250, 250, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark,
.icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: white;
  box-shadow: var(--shadow-accent);
}

.spark-logo {
  position: relative;
  overflow: visible;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

.spark-glow {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(0, 82, 255, 0.18);
  filter: blur(10px);
}

.spark-center {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  box-shadow: 0 0 16px rgba(0, 82, 255, 0.85);
}

.spark-ray {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 22px;
  margin-top: -14px;
  margin-left: -1px;
  border-radius: 999px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-secondary));
  animation: pulse 2s ease-in-out infinite;
}

.spark-ray.h {
  width: 20px;
  height: 2px;
  margin-top: -1px;
  margin-left: -14px;
}

.spark-ray.d1 {
  transform: rotate(45deg);
}

.spark-ray.d2 {
  transform: rotate(-45deg);
}

.spark-dot {
  position: absolute;
  border-radius: 999px;
  background: var(--accent-secondary);
  box-shadow: 0 0 10px rgba(77, 124, 255, 0.9);
}

.spark-dot.a {
  top: 7px;
  left: 7px;
  width: 6px;
  height: 6px;
}

.spark-dot.b {
  right: 7px;
  top: 9px;
  width: 5px;
  height: 5px;
}

.spark-dot.c {
  right: 8px;
  bottom: 8px;
  width: 6px;
  height: 6px;
}

.spark-dot.d {
  left: 8px;
  bottom: 9px;
  width: 5px;
  height: 5px;
}

.links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 600;
}

.links a:hover {
  color: var(--foreground);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 12px 22px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  color: white;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 82, 255, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: var(--shadow-accent);
}

.button.secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
  color: var(--foreground);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.section {
  padding: 112px 0;
}

.hero {
  overflow: hidden;
  padding: 96px 0 84px;
}

.services-section {
  padding-top: 72px;
}

.focus-section {
  position: relative;
  overflow: hidden;
  background: #0f172a;
  color: #f8fafc;
  padding: 88px 0 96px;
}

.focus-texture {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.7) 1px, transparent 1px);
  background-size: 32px 32px;
}

.focus-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
}

.focus-glow.left {
  top: 0;
  left: 0;
  width: 260px;
  height: 260px;
  background: rgba(0, 82, 255, 0.12);
}

.focus-glow.right {
  right: 0;
  bottom: 0;
  width: 300px;
  height: 300px;
  background: rgba(77, 124, 255, 0.12);
  filter: blur(140px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.focus-grid {
  position: relative;
  display: grid;
  gap: 40px;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(0, 82, 255, 0.3);
  border-radius: 999px;
  background: rgba(0, 82, 255, 0.05);
  padding: 8px 18px;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  animation: pulse 2s ease-in-out infinite;
}

.label.dark {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

h1,
h2 {
  margin: 0;
  font-family: Calistoga, Georgia, serif;
  font-weight: 400;
}

h1 {
  margin-top: 28px;
  max-width: 780px;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 1.06;
}

h2 {
  margin-top: 24px;
  max-width: 780px;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.14;
}

.gradient-text {
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted-foreground);
  font-size: 18px;
  line-height: 1.8;
}

.tagline {
  margin: 26px 0 0;
  color: #1e293b;
  font-size: 28px;
  line-height: 1.25;
}

.focus-title {
  margin-top: 24px;
  max-width: 680px;
  color: white;
  font-size: clamp(36px, 4.5vw, 54px);
  line-height: 1.08;
}

.focus-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
  line-height: 1.85;
}

.hero-pills {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-top: 30px;
  grid-template-columns: repeat(3, 1fr);
}

.mini-panel {
  border: 1px solid rgba(0, 82, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 16px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.mini-panel p {
  margin: 10px 0 0;
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.55;
}

.support {
  max-width: 720px;
  margin: 18px 0 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.analyze-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
  max-width: 760px;
  margin-top: 34px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 12px;
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.analyze-box textarea {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  border: 0;
  border-radius: 8px;
  background: var(--muted);
  padding: 18px;
  color: var(--foreground);
  font: inherit;
  line-height: 1.6;
  outline: none;
}

.analyze-box textarea:focus {
  box-shadow: 0 0 0 2px rgba(0, 82, 255, 0.28);
}

.analysis-result {
  display: none;
  max-width: 760px;
  margin: 14px 0 0;
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  background: rgba(0, 82, 255, 0.06);
  color: #1e3a8a;
  line-height: 1.6;
}

.analysis-result.visible {
  display: block;
}

.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;
}

.hero-art {
  position: relative;
  min-height: 560px;
}

.art-shell {
  display: none;
}

.logo-block {
  display: grid;
  place-items: center;
  color: white;
  font-family: Calistoga, Georgia, serif;
  font-size: 40px;
}

.hero-illustration {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 48px rgba(15, 23, 42, 0.1));
}

.float-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 20px;
  box-shadow: 0 20px 34px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(18px);
  animation: float 5s ease-in-out infinite;
}

.float-card.one {
  top: 80px;
  left: 0;
}

.float-card.two {
  top: 140px;
  right: 0;
  animation-duration: 4.5s;
}

.float-card.three {
  bottom: 96px;
  left: 48px;
  animation-duration: 4.2s;
}

.metric {
  margin: 10px 0 0;
  font-size: 32px;
  font-weight: 700;
}

.micro {
  color: var(--muted-foreground);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.focus-card .micro {
  color: var(--accent-secondary);
}

.bar {
  width: 172px;
  height: 8px;
  margin-top: 16px;
  border-radius: 999px;
  background: var(--muted);
}

.bar span {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  padding: 32px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 32px rgba(15, 23, 42, 0.12);
}

.card.featured {
  padding: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary), var(--accent));
}

.card.featured > div {
  height: 100%;
  border-radius: 6px;
  background: white;
  padding: 32px;
}

.focus-cards {
  display: grid;
  gap: 18px;
}

.focus-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.28);
  backdrop-filter: blur(14px);
}

.focus-card h3 {
  margin: 14px 0 0;
  color: white;
  font-size: 22px;
}

.focus-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.service-band {
  display: grid;
  gap: 18px;
  margin-top: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  padding: 2px;
  box-shadow: var(--shadow-accent);
  grid-template-columns: repeat(3, 1fr);
}

.service-band > div {
  background: white;
  padding: 22px 20px;
}

.service-band > div:first-child {
  border-radius: 6px 0 0 6px;
}

.service-band > div:last-child {
  border-radius: 0 6px 6px 0;
}

.service-band strong {
  color: var(--foreground);
}

.service-band p {
  margin: 10px 0 0;
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.6;
}

.card h3 {
  margin: 26px 0 0;
  font-size: 22px;
}

.card p,
.muted {
  color: var(--muted-foreground);
  line-height: 1.75;
}

.check-list,
.trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.trust-list li,
.dark-card li {
  position: relative;
  margin-top: 14px;
  padding-left: 28px;
  line-height: 1.65;
}

.check-list li::before,
.trust-list li::before,
.dark-card li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  box-shadow: 0 0 0 5px rgba(0, 82, 255, 0.08);
}

.check-list.compact {
  margin-top: 18px;
  color: var(--muted-foreground);
}

.dark {
  position: relative;
  overflow: hidden;
  background: var(--foreground);
  color: white;
}

.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: radial-gradient(circle, white 1px, transparent 1px);
  background-size: 32px 32px;
}

.dark .container {
  position: relative;
}

.dark-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.dark-card h3 {
  margin: 24px 0 0;
  color: white;
  font-size: 22px;
}

.dark-card p,
.dark-card li {
  color: rgba(255, 255, 255, 0.72);
}

.dark-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.step-number {
  font-family: Calistoga, Georgia, serif;
  color: var(--accent-secondary);
  font-size: 48px;
}

.stat {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 28px;
}

.stat strong {
  display: block;
  font-family: Calistoga, Georgia, serif;
  font-size: 54px;
  font-weight: 400;
}

.stat span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.6;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.table-wrap {
  margin-top: 44px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.08);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 22px 24px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--foreground);
  color: white;
  font-size: 14px;
}

td:last-child {
  color: #1d4ed8;
  font-weight: 700;
}

tr:last-child td {
  border-bottom: 0;
}

.trust-list {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.fine-print {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.soft-title {
  max-width: 34rem;
  font-size: clamp(2.15rem, 4vw, 2.85rem);
  line-height: 1.16;
  color: rgba(15, 23, 42, 0.92);
}

.services-title {
  margin-top: 24px;
  max-width: none;
  font-size: clamp(2.8rem, 6vw, 4.25rem);
  line-height: 1.06;
}

.compact-contact {
  padding-top: 80px;
  padding-bottom: 80px;
}

.contact-shell {
  position: relative;
  max-width: 1152px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(0, 82, 255, 0.1);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 82, 255, 0.06), rgba(255, 255, 255, 0.96));
  padding: 36px 40px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.contact-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  pointer-events: none;
}

.contact-orbit {
  position: absolute;
  top: 50%;
  right: -32px;
  width: 192px;
  height: 192px;
  border: 1px solid rgba(0, 82, 255, 0.1);
  border-radius: 999px;
  transform: translateY(-50%);
}

.contact-glow {
  position: absolute;
  top: 50%;
  right: 48px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(0, 82, 255, 0.1);
  transform: translateY(-50%);
  filter: blur(20px);
}

.contact-spark-dot {
  position: absolute;
  top: 50px;
  right: 80px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 82, 255, 0.32);
  box-shadow: 0 0 18px rgba(0, 82, 255, 0.35);
}

.contact-ray {
  position: absolute;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(0, 82, 255, 0.55), rgba(77, 124, 255, 0.2));
}

.contact-ray.one {
  top: 62px;
  right: 113px;
  height: 38px;
  transform: rotate(18deg);
}

.contact-ray.two {
  top: 68px;
  right: 96px;
  height: 30px;
  transform: rotate(-38deg);
}

.contact-ray.three {
  top: 69px;
  right: 135px;
  height: 30px;
  transform: rotate(42deg);
}

.contact-ray.four {
  top: 79px;
  right: 90px;
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 82, 255, 0.45), rgba(77, 124, 255, 0.2));
}

.contact-line-art {
  position: absolute;
  top: calc(50% - 1px);
  right: 112px;
  width: 160px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 82, 255, 0.12), transparent);
}

.contact-tail-dot {
  position: absolute;
  top: calc(50% - 4px);
  right: 149px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 82, 255, 0.2);
}

.contact-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-title {
  max-width: 32rem;
  margin-top: 16px;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1.42rem, 2.7vw, 1.7rem);
  font-weight: 500;
  line-height: 1.28;
  color: rgba(51, 65, 85, 0.78);
}

.contact-line {
  margin: 14px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(71, 85, 105, 0.92);
}

.contact-line a {
  color: rgba(30, 41, 59, 0.86);
  text-decoration: underline;
  text-decoration-color: rgba(0, 82, 255, 0.28);
  text-underline-offset: 4px;
}

.contact-button {
  box-shadow: 0 10px 28px rgba(0, 82, 255, 0.42);
}

.footer {
  border-top: 1px solid var(--border);
  background: white;
  padding: 28px 0 32px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.footer-copy .muted {
  margin: 0;
}

.footer-copy .muted::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 12px 2px 0;
  border-radius: 999px;
  background: var(--border);
  vertical-align: middle;
}

.footer-quote {
  margin: 10px auto 0;
  color: rgba(100, 116, 139, 0.72);
  font-size: 11px;
  font-style: italic;
  line-height: 1.8;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}

@media (max-width: 860px) {
  .links {
    display: none;
  }

  .hero-grid,
  .focus-grid,
  .split,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-pills,
  .service-band {
    grid-template-columns: 1fr;
  }

  .service-band > div:first-child,
  .service-band > div:last-child {
    border-radius: 0;
  }

  .hero-art {
    display: none;
  }

  .section {
    padding: 84px 0;
  }

  .hero {
    padding: 78px 0 56px;
  }

  .services-section {
    padding-top: 56px;
  }

  .actions,
  .button {
    width: 100%;
  }

  .analyze-box {
    grid-template-columns: 1fr;
  }

  .analyze-box .button {
    width: 100%;
  }

  th,
  td {
    padding: 18px;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-shell {
    padding: 28px 24px;
  }

  .contact-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-pattern {
    opacity: 0.45;
  }

  .footer-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .focus-title,
  .focus-lead {
    max-width: none;
  }

  .footer-copy .muted::before {
    display: none;
  }

  .stat {
    border-left: 0;
    padding-left: 0;
  }
}
