﻿:root {
  --brand-50: #eaf3ff;
  --brand-100: #d6e8ff;
  --brand-400: #4d9dff;
  --brand-500: #2f7ff0;
  --brand-600: #1d66d8;
  --brand-700: #1553b5;
  --ink: #152033;
  --ink-soft: #3d4d66;
  --muted: #6b7a90;
  --line: rgba(21, 32, 51, 0.08);
  --paper: #f5f8fc;
  --white: #ffffff;
  --footer: #0d1a2e;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(29, 102, 216, 0.1);
  --font: "Noto Sans SC", "Sora", system-ui, sans-serif;
  --display: "Sora", "Noto Sans SC", system-ui, sans-serif;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 8% -8%, rgba(77, 157, 255, 0.16), transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 18%, rgba(47, 127, 240, 0.08), transparent 50%),
    linear-gradient(180deg, #f2f7ff 0%, var(--white) 28%, var(--paper) 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(47, 127, 240, 0.28);
}

.nav {
  display: flex;
  gap: 1.35rem;
  margin-left: auto;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.nav a {
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--brand-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--brand-600);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 40px;
  padding: 0.45rem 1.05rem;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-400), var(--brand-600));
  color: var(--white);
  box-shadow: 0 12px 28px rgba(47, 127, 240, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(47, 127, 240, 0.36);
}

.btn-outline {
  background: transparent;
  border-color: var(--brand-500);
  color: var(--brand-600);
}

.btn-outline:hover {
  background: var(--brand-50);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.24);
}

.btn-block {
  width: 100%;
}

.btn-soft {
  background: var(--white);
  border-color: rgba(47, 127, 240, 0.28);
  color: var(--brand-700);
  box-shadow: 0 8px 20px rgba(29, 102, 216, 0.06);
}

.btn-soft:hover {
  background: var(--brand-50);
  border-color: var(--brand-400);
}

/* Hero — curved split like reference */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(86vh, 720px);
  background: linear-gradient(120deg, #f4f8ff 0%, #eaf3ff 42%, #dcecff 100%);
}

.hero-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  animation: blobFloat 10s ease-in-out infinite alternate;
}

.blob-a {
  width: 220px;
  height: 220px;
  left: 8%;
  bottom: 12%;
  background: radial-gradient(circle at 30% 30%, rgba(120, 180, 255, 0.55), rgba(47, 127, 240, 0.08));
}

.blob-b {
  width: 120px;
  height: 120px;
  left: 28%;
  top: 22%;
  background: radial-gradient(circle at 40% 40%, rgba(160, 205, 255, 0.7), rgba(77, 157, 255, 0.1));
  animation-delay: 1.2s;
}

.blob-c {
  width: 90px;
  height: 90px;
  left: 36%;
  bottom: 28%;
  background: radial-gradient(circle at 35% 35%, rgba(180, 215, 255, 0.65), transparent 70%);
  animation-delay: 2s;
}

.hero-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.18fr);
  align-items: stretch;
  min-height: min(86vh, 720px);
  width: min(100%, 1280px);
  margin-inline: auto;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.5rem 2rem 4.5rem clamp(1.5rem, 5vw, 4.5rem);
  max-width: 34rem;
}

.hero h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.hero-lead {
  margin: 0 0 1.9rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  clip-path: ellipse(92% 78% at 70% 50%);
  background: #c8dbf5;
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 50%;
  display: block;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 36px rgba(21, 53, 120, 0.16);
  animation: cardPop 5.5s ease-in-out infinite;
}

.float-card strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.2;
}

.float-card small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.float-card img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}

.float-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 0 6px rgba(47, 127, 240, 0.18);
  flex-shrink: 0;
}

.float-card-top {
  top: 14%;
  left: 10%;
}

.float-card-mid {
  top: 42%;
  right: 8%;
  animation-delay: 1.1s;
}

.visual-orb {
  position: absolute;
  right: 6%;
  bottom: 10%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(160, 205, 255, 0.95), rgba(47, 127, 240, 0.35));
  filter: blur(0.5px);
  z-index: 2;
  animation: blobFloat 7s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.2%, -0.6%, 0); }
}

@keyframes blobFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-14px); }
}

@keyframes cardPop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  letter-spacing: 0.01em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.stat-card {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(232, 250, 240, 0.55));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-icon {
  width: 48px;
  height: 48px;
  color: var(--brand-600);
  margin-bottom: 1rem;
}

.stat-icon svg {
  width: 100%;
  height: 100%;
}

.stat-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
}

.stat-card h3 em {
  font-style: normal;
  color: var(--brand-600);
  font-family: var(--display);
}

.stat-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Services */
.services {
  background:
    radial-gradient(circle at 85% 20%, rgba(77, 157, 255, 0.12), transparent 35%),
    linear-gradient(180deg, transparent, rgba(232, 250, 240, 0.65));
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.service-card {
  text-align: center;
  padding: 1.75rem 1.1rem 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-orb {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brand-600);
  background: linear-gradient(145deg, var(--brand-50), var(--brand-100));
  box-shadow: inset 0 0 0 1px rgba(47, 127, 240, 0.12);
  animation: orbPulse 4.5s ease-in-out infinite;
}

.service-card:nth-child(2) .service-orb { animation-delay: 0.4s; }
.service-card:nth-child(3) .service-orb { animation-delay: 0.8s; }
.service-card:nth-child(4) .service-orb { animation-delay: 1.2s; }

.service-orb svg {
  width: 34px;
  height: 34px;
}

.service-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@keyframes orbPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.why-card {
  padding: 1.35rem 1.2rem;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.why-card:hover {
  border-color: rgba(47, 127, 240, 0.35);
  transform: translateY(-3px);
}

.why-tag {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--brand-700);
  background: var(--brand-50);
}

.why-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
}

.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Process */
.process {
  background:
    linear-gradient(180deg, rgba(47, 127, 240, 0.04), transparent 40%),
    var(--white);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: none;
}

.steps li {
  position: relative;
  padding: 1.6rem 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #2f7ff0, #1553b5);
  color: var(--white);
  overflow: hidden;
}

.steps li::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 50%;
  width: 36px;
  height: 36px;
  border-top: 2px solid rgba(255, 255, 255, 0.35);
  border-right: 2px solid rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) rotate(45deg);
}

.steps li:last-child::after {
  display: none;
}

.step-num {
  display: block;
  font-family: var(--display);
  font-size: 0.85rem;
  opacity: 0.75;
  margin-bottom: 0.7rem;
  letter-spacing: 0.08em;
}

.steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.steps p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.88;
}

/* Contact */
.contact {
  padding-bottom: 6rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2.25rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(77, 157, 255, 0.14), transparent 40%),
    linear-gradient(180deg, #ffffff, #f3faf6);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-info h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
}

.contact-lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
}

.contact-list strong {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.contact-list a,
.contact-list span {
  font-size: 1.02rem;
  color: var(--ink);
}

.contact-list a:hover {
  color: var(--brand-600);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
}

.contact-form label span {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px rgba(77, 157, 255, 0.18);
}

.form-note {
  margin: 0;
  text-align: center;
  color: var(--brand-700);
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(77, 157, 255, 0.18), transparent 45%),
    var(--footer);
  color: rgba(255, 255, 255, 0.82);
  padding: 2.75rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  gap: 0.9rem;
  max-width: 32rem;
}

.footer-brand img {
  border-radius: 10px;
  flex-shrink: 0;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-family: var(--display);
  margin-bottom: 0.35rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.copyright {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.65;
}

.copyright a {
  color: inherit;
  text-decoration: none;
}

.copyright a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 960px) {
  .about-grid,
  .service-grid,
  .why-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps li::after {
    display: none;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

  .nav.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding: 2.5rem 1.25rem 1.5rem;
    max-width: none;
    order: 2;
  }

  .hero-visual {
    order: 1;
    min-height: 280px;
    height: 52vw;
    max-height: 380px;
    clip-path: none;
    border-radius: 0 0 28px 28px;
  }

  .float-card-mid {
    right: 4%;
    top: auto;
    bottom: 12%;
  }

  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 560px) {
  .about-grid,
  .service-grid,
  .why-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .float-card-top {
    display: none;
  }

  .contact-layout {
    padding: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img,
  .hero-visual img,
  .service-orb,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

