:root {
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --card: rgba(255, 255, 255, 0.88);
  --text: #142033;
  --muted: #5d6b82;
  --line: #dbe4f0;
  --primary: #2b6df8;
  --primary-strong: #1746af;
  --accent: #eff4ff;
  --shadow: 0 18px 60px rgba(18, 43, 85, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(43,109,248,0.08), transparent 24%),
    radial-gradient(circle at 90% 10%, rgba(43,109,248,0.06), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,0.82);
  border-bottom: 1px solid rgba(219,228,240,0.8);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--primary), #74a0ff);
  box-shadow: 0 14px 28px rgba(43,109,248,.24);
}
.brand-text { display: grid; }
.brand-text strong { font-size: 1rem; }
.brand-text small { color: var(--muted); margin-top: .15rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.site-nav a {
  color: var(--muted);
  font-weight: 600;
  transition: .25s ease;
}
.site-nav a:hover { color: var(--text); }

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: .7rem .85rem;
  font-size: 1rem;
}

.hero {
  padding: 4.5rem 0 2.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow,
.section-tag {
  display: inline-flex;
  padding: .55rem .85rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--primary-strong);
  font-size: .88rem;
  font-weight: 700;
  border: 1px solid #d9e6ff;
}
.hero h1,
.section h2,
.cta-box h2 {
  margin: 1rem 0 .8rem;
  line-height: .95;
  letter-spacing: -0.03em;
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}
.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  color: var(--primary-strong);
  font-weight: 700;
  margin: 0 0 1rem;
}
.hero-text,
.section-copy p,
.section-heading p,
.showcase-text p,
.cta-box p,
.info-card p,
.service-card p,
.feature-item p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.8rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.2rem;
  border-radius: 14px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), #5f8fff);
  box-shadow: 0 16px 28px rgba(43,109,248,.22);
}
.btn-secondary {
  background: white;
  border: 1px solid var(--line);
  color: var(--text);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}
.visual-card {
  width: min(100%, 520px);
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(219,228,240,.9);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.visual-top {
  display: flex;
  gap: .4rem;
  padding: 1rem 1rem 0;
}
.visual-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d6deeb;
}
.visual-body {
  padding: 1.4rem;
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.mini-box {
  min-height: 120px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f7faff 0%, #eef3fb 100%);
  border: 1px solid #e1e8f3;
}
.mini-box-lg {
  display: grid;
  place-items: center;
}
.mini-box-lg svg {
  width: 58px;
  color: var(--primary);
}
.mini-box-text {
  padding: 1rem;
  display: flex;
  align-items: end;
  color: var(--primary-strong);
  font-weight: 800;
  font-size: 1.15rem;
}
.floating {
  position: absolute;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(43,109,248,.14), rgba(43,109,248,.04));
  border: 1px solid rgba(43,109,248,.15);
  animation: float 6s ease-in-out infinite;
}
.floating-a { width: 90px; height: 90px; top: 6%; right: 7%; }
.floating-b { width: 74px; height: 74px; bottom: 8%; left: 4%; animation-delay: -2s; }
.floating-c { width: 54px; height: 54px; right: 8%; bottom: 22%; animation-delay: -1s; }

.highlights {
  padding: 1rem 0 1.5rem;
}
.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.info-card,
.service-card,
.feature-panel,
.cta-box {
  background: var(--card);
  border: 1px solid rgba(219,228,240,.95);
  box-shadow: var(--shadow);
}
.info-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.info-card h3,
.service-card h3,
.feature-item h3 {
  margin: 0 0 .65rem;
  font-size: 1.08rem;
}
.info-card p { margin: 0; }

.section {
  padding: 2.5rem 0;
}
.two-col,
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: center;
}
.section h2,
.cta-box h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}
.feature-panel {
  border-radius: var(--radius-xl);
  padding: 1.3rem;
}
.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 20px;
}
.feature-item + .feature-item {
  margin-top: .65rem;
  border-top: 1px solid #edf2f8;
}
.feature-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--accent);
  color: var(--primary-strong);
  font-weight: 800;
}

.alt-section {
  background: linear-gradient(180deg, #fbfcff 0%, #f7f9fd 100%);
  border-top: 1px solid #eef3fa;
  border-bottom: 1px solid #eef3fa;
}
.section-heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.service-card {
  border-radius: var(--radius-lg);
  padding: 1.45rem;
}
.service-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  margin-bottom: 1rem;
  background: var(--accent);
  color: var(--primary);
}
.service-icon svg { width: 34px; }

.showcase-board {
  min-height: 380px;
  position: relative;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fd 100%);
  border: 1px solid #e4ebf5;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.board {
  position: absolute;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(43,109,248,.13), rgba(43,109,248,.04));
  border: 1px solid rgba(43,109,248,.16);
}
.board-one { width: 210px; height: 210px; top: 36px; left: 38px; }
.board-two { width: 180px; height: 140px; right: 36px; top: 72px; }
.board-three { width: 250px; height: 120px; left: 86px; bottom: 40px; }
.board-caption {
  position: absolute;
  right: 30px;
  bottom: 30px;
  padding: .9rem 1.1rem;
  background: rgba(255,255,255,.9);
  border-radius: 16px;
  border: 1px solid #e4ebf5;
  font-weight: 800;
  color: var(--primary-strong);
}

.cta-box {
  border-radius: 30px;
  padding: 2rem;
  text-align: center;
}
.cta-box p {
  margin: 0 0 1.2rem;
  font-size: 1.12rem;
}

.site-footer {
  padding: 1rem 0 2rem;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  border-top: 1px solid #e8eef7;
  padding-top: 1.2rem;
}
.footer-content p {
  margin: .35rem 0 0;
  color: var(--muted);
}
.footer-note {
  text-align: right;
}

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

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

@media (max-width: 980px) {
  .hero-grid,
  .two-col,
  .showcase-grid,
  .cards-row,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    top: 83px;
    left: 1rem;
    right: 1rem;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .hero { padding-top: 2.5rem; }
  .hero-visual { min-height: 360px; }
  .footer-content { flex-direction: column; align-items: flex-start; }
  .footer-note { text-align: left; }
}

@media (max-width: 640px) {
  .hero h1 { line-height: 1.02; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .brand-text small { font-size: .78rem; }
}
