:root {
  --bg: #f7f8fc;
  --bg-alt: rgba(255,255,255,0.72);
  --surface: rgba(255, 255, 255, 0.66);
  --surface-strong: rgba(255,255,255,0.88);
  --surface-dark: #0f1640;
  --text: #0f1740;
  --muted: #5f6888;
  --line: rgba(15, 23, 64, 0.10);
  --primary: #5c66ff;
  --primary-2: #27decf;
  --accent: #b48dff;
  --sun: #ffd07a;
  --shadow: 0 18px 60px rgba(53, 74, 128, 0.16);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbff 0%, #f7f5ff 46%, #fdf8f5 100%);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
button { font: inherit; }

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}
.blob {
  position: absolute;
  filter: blur(10px);
  border-radius: 50%;
  opacity: .7;
  animation: floatBlob 14s ease-in-out infinite;
}
.blob-a {
  width: 28rem; height: 28rem;
  top: -6rem; right: -8rem;
  background: radial-gradient(circle at 30% 30%, rgba(39,222,207,0.42), rgba(92,102,255,0.10) 60%, transparent 72%);
}
.blob-b {
  width: 22rem; height: 22rem;
  left: -6rem; top: 24rem;
  background: radial-gradient(circle at 30% 30%, rgba(180,141,255,0.28), rgba(255,255,255,0) 70%);
  animation-delay: -3s;
}
.blob-c {
  width: 24rem; height: 24rem;
  right: 8%; bottom: 12%;
  background: radial-gradient(circle at 30% 30%, rgba(255,208,122,0.25), rgba(255,255,255,0) 70%);
  animation-delay: -7s;
}
.grid-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.9), transparent 18%),
    linear-gradient(rgba(92,102,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92,102,255,.05) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), rgba(0,0,0,0.08));
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}
.section { padding: 5.5rem 0; }
.section-small { padding: 1rem 0 4rem; }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--surface-dark);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: 999px;
  z-index: 100;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(247,248,252,0.70);
  border-bottom: 1px solid rgba(255,255,255,0.55);
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
}
.brand-mark {
  width: 54px;
  height: 54px;
  position: relative;
  display: inline-grid;
  place-items: center;
}
.brand-mark span {
  position: absolute;
  width: 19px;
  height: 19px;
  border-radius: 50% 50% 12px 50%;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  box-shadow: 0 8px 22px rgba(92,102,255,0.18);
}
.brand-mark span:nth-child(1) { transform: rotate(45deg) translate(-12px, 0); }
.brand-mark span:nth-child(2) { transform: rotate(135deg) translate(-12px, 0); }
.brand-mark span:nth-child(3) { transform: rotate(225deg) translate(-12px, 0); }
.brand-mark span:nth-child(4) { transform: rotate(315deg) translate(-12px, 0); }
.brand-text strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.brand-text small {
  display: block;
  color: var(--muted);
  font-size: .82rem;
}
.desktop-nav {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}
.desktop-nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: .96rem;
  transition: color .2s ease, transform .2s ease;
}
.desktop-nav a:hover,
.desktop-nav a:focus-visible { color: var(--text); transform: translateY(-1px); }
.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 999px;
  min-height: 54px;
  padding: 0 1.3rem;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.header-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  box-shadow: 0 16px 30px rgba(92,102,255,0.24);
}
.header-cta:hover, .button:hover { transform: translateY(-2px); }
.menu-button {
  display: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.74);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .3rem;
}
.menu-button span {
  display: block; width: 22px; height: 2px; background: var(--text);
}
.mobile-nav {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto 1rem;
  padding: .6rem;
  display: grid;
  gap: .35rem;
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(255,255,255,.88);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.mobile-nav[hidden] { display: none !important; }
.mobile-nav a {
  padding: .9rem 1rem;
  border-radius: 16px;
  color: var(--text);
  font-weight: 700;
}
.mobile-nav a:hover { background: rgba(92,102,255,.07); }

.hero { padding-top: 3.5rem; }
.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow, .section-label {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .85rem;
  font-weight: 800;
  color: #475183;
  margin-bottom: 1rem;
}
.hero-copy h1,
.section-heading h2 {
  font-family: 'Syne', sans-serif;
  line-height: .96;
  letter-spacing: -.05em;
  margin: 0;
}
.hero-copy h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  max-width: 10.5ch;
}
.hero-copy h1 span {
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  color: transparent;
}
.hero-text {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 60ch;
  margin: 1.35rem 0 0;
}
.hero-actions {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  margin-top: 1.7rem;
}
.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 18px 32px rgba(92,102,255,0.22);
}
.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  color: var(--text);
}
.hero-points {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  gap: .85rem;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .95rem 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(255,255,255,.64);
  color: #202950;
  box-shadow: 0 10px 24px rgba(82,98,150,.08);
}
.hero-points span,
.card-badge,
.stat-number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border-radius: 14px;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}
.hero-visual {
  position: relative;
  min-height: 620px;
}
.hero-card {
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.74);
  box-shadow: var(--shadow);
}
.hero-card-banner {
  position: absolute;
  inset: 2rem 0 2rem 2rem;
  transform: rotate(2deg);
  background: rgba(255,255,255,.64);
}
.hero-card-banner img { width: 100%; height: 100%; object-fit: cover; }
.floating-tile {
  position: absolute;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 20px 40px rgba(53, 74, 128, 0.18);
}
.tile-icon {
  left: -1.25rem;
  bottom: 5rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  max-width: 320px;
  animation: bob 5s ease-in-out infinite;
}
.tile-icon img { width: 72px; height: 72px; border-radius: 20px; }
.tile-icon strong { display:block; font-size:1rem; }
.tile-icon small { color: var(--muted); line-height:1.5; }
.tile-note {
  right: 0;
  top: 1.2rem;
  max-width: 230px;
  animation: bob 5s ease-in-out infinite reverse;
}
.tile-note .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  margin-bottom: .8rem;
  box-shadow: 0 0 0 10px rgba(39,222,207,.12);
}
.tile-note p { color: #30385d; line-height:1.55; }

.stats-grid,
.service-grid {
  display: grid;
  gap: 1rem;
}
.stats-grid { grid-template-columns: repeat(3, 1fr); }
.stat-card,
.service-card,
.phone-card,
.contact-card,
.timeline-item,
.about-panels article,
.feature-list article {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.7);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.stat-card {
  padding: 1.4rem;
  border-radius: 24px;
}
.stat-card h2 { margin: 1rem 0 .45rem; font-size: 1.15rem; }
.stat-card p { color: var(--muted); line-height: 1.65; }

.about-layout,
.contact-layout,
.process-layout,
.feature-layout {
  display: grid;
  gap: 2rem;
}
.about-layout { grid-template-columns: .95fr 1.05fr; align-items: start; }
.section-heading.center { text-align:center; max-width: 820px; margin: 0 auto 2.5rem; }
.section-heading h2 { font-size: clamp(2.3rem, 4vw, 4rem); max-width: 12ch; }
.section-heading.center h2 { max-width: none; }
.section-copy { margin-top: 1rem; color: var(--muted); line-height: 1.8; }
.about-content > p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.9;
  margin-bottom: 1.3rem;
}
.about-panels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.about-panels article { padding: 1.4rem; border-radius: 24px; }
.about-panels h3 { margin: 0 0 .55rem; font-size: 1.15rem; }
.about-panels p { color: var(--muted); line-height: 1.7; }

.feature-layout { grid-template-columns: .92fr 1.08fr; align-items: start; }
.feature-list {
  display: grid;
  gap: 1rem;
}
.feature-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: 24px;
}
.feature-list article span {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  font-weight: 800; color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.feature-list h3 { margin: .15rem 0 .35rem; font-size: 1.12rem; }
.feature-list p { color: var(--muted); line-height: 1.7; }
.app-actions { display:flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.2rem; }
.phone-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.phone-card {
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.phone-card:hover { transform: translateY(-6px); box-shadow: 0 28px 64px rgba(53, 74, 128, 0.22); }
.phone-card img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.phone-card figcaption {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  padding: .9rem 1rem;
  border-radius: 16px;
  background: rgba(10,15,41,.68);
  color: #f7fbff;
  font-weight: 700;
  text-align: center;
  backdrop-filter: blur(10px);
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}
.service-card {
  padding: 1.5rem;
  border-radius: 26px;
  transition: transform .3s ease, border-color .3s ease;
}
.service-card:hover { transform: translateY(-5px); border-color: rgba(92,102,255,.25); }
.card-badge { margin-bottom: 1rem; }
.service-card h3 { margin: 0 0 .6rem; font-size: 1.1rem; }
.service-card p { color: var(--muted); line-height: 1.75; }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.timeline-item {
  border-radius: 26px;
  padding: 1.5rem;
  position: relative;
}
.timeline-step {
  display: inline-flex;
  padding: .55rem .8rem;
  border-radius: 999px;
  background: rgba(92,102,255,.10);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.timeline-item h3 { margin: 1rem 0 .6rem; font-size: 1.12rem; }
.timeline-item p { color: var(--muted); line-height: 1.72; }

.contact-layout { grid-template-columns: .95fr 1.05fr; align-items: start; }
.contact-copy p:not(.section-label) {
  color: var(--muted);
  line-height: 1.8;
  max-width: 56ch;
}
.contact-actions { display:flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.6rem; }
.contact-card {
  border-radius: 32px;
  padding: 1.25rem;
}
.contact-row {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(15,23,64,0.08);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row span {
  display: block;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #636fa0;
  font-weight: 800;
  margin-bottom: .45rem;
}
.contact-row strong,
.contact-row a { font-size: 1.05rem; line-height: 1.75; font-weight: 700; }
.contact-row a { color: var(--text); }

.site-footer {
  padding: 2rem 0 1.5rem;
  border-top: 1px solid rgba(255,255,255,.65);
  background: rgba(255,255,255,.48);
  backdrop-filter: blur(16px);
}
.footer-layout,
.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.footer-brand { margin-bottom: 1rem; }
.footer-note {
  max-width: 42ch;
  color: var(--muted);
  line-height: 1.7;
}
.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-links a {
  padding: .85rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  font-weight: 700;
}
.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(15,23,64,.08);
}
.footer-bottom p { color: var(--muted); }

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

@keyframes floatBlob {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); }
  50% { transform: translateY(-16px) translateX(10px) scale(1.04); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 1100px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-button { display: inline-flex; }
  .hero-layout,
  .about-layout,
  .feature-layout,
  .contact-layout,
  .process-layout { grid-template-columns: 1fr; }
  .service-grid, .timeline { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { min-height: 540px; }
}

@media (max-width: 760px) {
  .section { padding: 4.2rem 0; }
  .header-inner { min-height: 76px; }
  .hero { padding-top: 2rem; }
  .hero-points li { align-items: flex-start; }
  .hero-visual { min-height: 420px; }
  .hero-card-banner { inset: 1rem 0 1rem 1rem; }
  .tile-icon {
    left: 0;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
  .tile-note { display: none; }
  .stats-grid,
  .about-panels,
  .service-grid,
  .timeline,
  .phone-gallery { grid-template-columns: 1fr; }
  .footer-layout,
  .footer-bottom { flex-direction: column; }
  .section-heading h2 { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob, .floating-tile, .reveal { animation: none !important; transition: none !important; }
}
