@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;550;700;850&display=swap');

:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --ink: #111827;
  --muted: #64748b;
  --line: #e2e8f0;
  --blue: #2563eb;
  --blue-dark: #1e40af;
  --green: #0f766e;
  --navy: #0f172a;
  --soft-blue: #eaf1ff;
  --shadow: 0 24px 70px rgba(15, 23, 42, .10);
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, #e0ecff 0, transparent 34%),
    radial-gradient(circle at 90% 10%, #dcfce7 0, transparent 28%),
    var(--bg);
  line-height: 1.6;
}

a { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 84px);
  background: rgba(245, 247, 251, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, .86);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
  font-weight: 850;
  letter-spacing: -.04em;
}

.logo strong {
  font-size: 1.05rem;
  letter-spacing: -.02em;
}

nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-weight: 650;
  font-size: .95rem;
}

nav a {
  text-decoration: none;
}

nav a:hover { color: var(--blue-dark); }

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: clamp(56px, 8vw, 118px) clamp(20px, 5vw, 84px) 56px;
}

.badge,
.kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
  background: var(--soft-blue);
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -.055em;
}

h1 {
  margin-top: 22px;
  font-size: clamp(2.8rem, 7vw, 6.8rem);
  max-width: 960px;
}

h2 {
  font-size: clamp(2rem, 4.7vw, 4.4rem);
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -.025em;
}

.hero-text p {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  margin: 26px 0 0;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 16px 35px rgba(37, 99, 235, .22);
}

.button.ghost {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
}

.hero-visual {
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(226,232,240,.95);
  border-radius: 38px;
  box-shadow: var(--shadow);
  padding: 18px;
  transform: rotate(1.2deg);
}

.hero-visual img {
  display: block;
  width: 100%;
  border-radius: 28px;
}

.proof {
  margin: 0 clamp(20px, 5vw, 84px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.proof div {
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 16px 50px rgba(15, 23, 42, .06);
}

.proof strong,
.proof span {
  display: block;
}

.proof strong {
  font-size: 1.08rem;
}

.proof span {
  color: var(--muted);
  margin-top: 4px;
}

.section {
  padding: clamp(58px, 8vw, 118px) clamp(20px, 5vw, 84px);
}

.section-head {
  max-width: 860px;
}

.section-head h2 {
  margin-top: 18px;
}

.section-head p,
.about p,
.future p,
.contact p {
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.service-grid article {
  background: rgba(255,255,255,.84);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  min-height: 230px;
  box-shadow: 0 14px 45px rgba(15, 23, 42, .05);
}

.num {
  display: inline-block;
  color: var(--blue);
  font-weight: 850;
  margin-bottom: 28px;
}

.service-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.process {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.visual-card {
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.visual-card img {
  display: block;
  width: 100%;
  border-radius: 24px;
}

.process h2 {
  margin-top: 18px;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 18px;
}

.steps li {
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  color: var(--muted);
  margin-top: 5px;
}

.about {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 44px;
  background: var(--navy);
  color: white;
}

.about .kicker {
  color: #bfdbfe;
  background: rgba(37,99,235,.18);
  border-color: rgba(147,197,253,.25);
}

.about p {
  color: #cbd5e1;
  margin: 0;
}


.contact {
  display: grid;
  grid-template-columns: 1fr .85fr;
  align-items: center;
  gap: 34px;
}

.contact h2 {
  margin-top: 18px;
}

.contact-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 30px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.contact-box a {
  display: block;
  color: var(--blue-dark);
  font-weight: 850;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-box a:hover { text-decoration: underline; }

.contact-box span {
  color: var(--muted);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 28px clamp(20px, 5vw, 84px);
}

@media (max-width: 930px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero,
  .process,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    transform: none;
  }

  .proof,
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  h1 { font-size: 2.72rem; }
  .proof,
  .service-grid {
    grid-template-columns: 1fr;
  }
  footer {
    flex-direction: column;
  }
}


/* v3 polish: lighter feel, motion, better interaction */
body {
  background:
    radial-gradient(circle at 12% -10%, rgba(191, 219, 254, .9) 0, transparent 30%),
    radial-gradient(circle at 92% 2%, rgba(204, 251, 241, .75) 0, transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #f5f7fb 42%, #ffffff 100%);
}

.topbar {
  box-shadow: 0 10px 30px rgba(15, 23, 42, .045);
}

.logo span {
  transition: transform .25s ease, box-shadow .25s ease;
}

.logo:hover span {
  transform: translateY(-2px) rotate(-2deg);
  box-shadow: 0 12px 26px rgba(15, 23, 42, .18);
}

nav a {
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: right .22s ease;
}

nav a:hover::after {
  right: 0;
}

.hero {
  padding-top: clamp(46px, 7vw, 98px);
}

.hero-visual {
  transform: rotate(.6deg);
  transition: transform .35s ease, box-shadow .35s ease;
}

.hero-visual:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 30px 90px rgba(15, 23, 42, .14);
}

.button,
.service-grid article,
.proof div,
.contact-box,
.steps li {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.button:hover,
.service-grid article:hover,
.proof div:hover,
.steps li:hover {
  transform: translateY(-3px);
}

.service-grid article:hover,
.proof div:hover,
.steps li:hover {
  border-color: #bfdbfe;
  box-shadow: 0 22px 60px rgba(37, 99, 235, .09);
}

.button.primary:hover {
  box-shadow: 0 20px 44px rgba(37, 99, 235, .28);
}

.button.ghost:hover {
  border-color: #bfdbfe;
  background: #ffffff;
}

.service-grid article {
  position: relative;
  overflow: hidden;
}

.service-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  opacity: 0;
  transition: opacity .22s ease;
}

.service-grid article:hover::before {
  opacity: 1;
}

.num {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 5px 10px;
}

.contact {
  padding-top: clamp(42px, 6vw, 86px);
}

.contact-box {
  background:
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,250,252,.96));
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-grid article:nth-child(2),
.proof div:nth-child(2) {
  transition-delay: .05s;
}

.service-grid article:nth-child(3),
.proof div:nth-child(3) {
  transition-delay: .1s;
}

.service-grid article:nth-child(4) {
  transition-delay: .04s;
}

.service-grid article:nth-child(5) {
  transition-delay: .08s;
}

.service-grid article:nth-child(6) {
  transition-delay: .12s;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
