/* ========================================================================
   Lestari Global — Design System
   ======================================================================== */

:root {
  /* Palette */
  --ink: #05110f;
  --ink-2: #0a1a18;
  --ink-3: #12302c;
  --paper: #f6f9f8;
  --paper-2: #eef3f2;
  --white: #ffffff;
  --muted: #5a6b68;
  --muted-2: #8a9a96;
  --line: rgba(5, 17, 15, 0.08);
  --line-dark: rgba(255, 255, 255, 0.1);

  --primary: #10827a;
  --primary-dark: #0b5f59;
  --primary-deep: #064e47;
  --primary-soft: #d7eeeb;
  --primary-mist: #e8f4f3;
  --accent: #34d3c3;
  --accent-2: #7ceee2;

  /* Gradients */
  --mesh-hero:
    radial-gradient(ellipse 80% 60% at 85% 10%, rgba(52, 211, 195, 0.28), transparent 60%),
    radial-gradient(ellipse 70% 50% at 10% 30%, rgba(16, 130, 122, 0.22), transparent 55%),
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(124, 238, 226, 0.18), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  --mesh-dark:
    radial-gradient(ellipse 60% 50% at 20% 10%, rgba(52, 211, 195, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 90%, rgba(16, 130, 122, 0.22), transparent 60%),
    linear-gradient(160deg, #05110f 0%, #0a1f1c 100%);
  --grad-primary: linear-gradient(135deg, #10827a 0%, #19a597 50%, #34d3c3 100%);

  /* Shadow */
  --shadow-sm: 0 4px 12px rgba(5, 17, 15, 0.06);
  --shadow-md: 0 16px 32px rgba(5, 17, 15, 0.08);
  --shadow-lg: 0 32px 64px rgba(5, 17, 15, 0.12);
  --shadow-xl: 0 48px 96px rgba(5, 17, 15, 0.16);
  --shadow-glow: 0 20px 50px rgba(16, 130, 122, 0.35);

  /* Radii */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* Space */
  --container: 1240px;
  --gutter: 1.5rem;
  --section-y: clamp(3.5rem, 2.5rem + 2.2vw, 5.5rem);

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

.section {
  padding: var(--section-y) 0;
  position: relative;
}

/* ========================================================================
   Typography
   ======================================================================== */

h1, h2, h3, h4 {
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.4rem, 1.7rem + 3.2vw, 4.4rem);
  letter-spacing: -0.035em;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem);
  letter-spacing: -0.028em;
  font-weight: 800;
}

h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p { color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.72rem;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1.5px;
  background: var(--primary);
  border-radius: 2px;
}

.section-header {
  max-width: 720px;
  margin-bottom: 2.25rem;
}

.section-header p {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header.center .eyebrow { justify-content: center; }
.section-header.center p { margin-left: auto; margin-right: auto; }

/* ========================================================================
   Buttons
   ======================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(5, 17, 15, 0.25);
}

.btn-primary:hover {
  background: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--grad-primary);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(16, 130, 122, 0.35);
}

.btn-accent:hover {
  box-shadow: 0 20px 44px rgba(16, 130, 122, 0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: var(--white);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--primary-soft);
  transform: translateY(-2px);
}

/* ========================================================================
   Navigation — floating pill
   ======================================================================== */

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 60;
  padding: 0 1rem;
}

.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.55rem 0.5rem 1rem;
  background: #ffffff;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(16, 130, 122, 0.08);
  border-radius: var(--r-pill);
  box-shadow: 0 8px 32px rgba(5, 17, 15, 0.06);
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.brand img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand strong {
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.66rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.nav-links > a:not(.btn) {
  color: var(--muted);
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links > a:not(.btn):hover,
.nav-links > a.active:not(.btn) {
  color: var(--ink);
  background: rgba(5, 17, 15, 0.04);
}

.nav-links .btn {
  padding: 0.55rem 1.2rem;
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: var(--r-pill);
}

.skip-link:focus { left: 1rem; top: 1rem; z-index: 99; }

/* ========================================================================
   Hero
   ======================================================================== */

.hero {
  position: relative;
  padding: clamp(2.5rem, 1.5rem + 2vw, 4.5rem) 0 clamp(2rem, 1.5rem + 2vw, 3.5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% 0 -10%;
  background: var(--mesh-hero);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 40% 30% at 50% 0%, rgba(255, 255, 255, 0.6), transparent);
  z-index: -1;
  pointer-events: none;
}

/* Animated globe */
.hero-globe {
  position: absolute;
  top: 50%;
  right: -22%;
  transform: translateY(-50%);
  width: clamp(400px, 55vw, 720px);
  height: clamp(400px, 55vw, 720px);
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .hero-globe {
    top: auto;
    bottom: -30%;
    right: -25%;
    transform: none;
    opacity: 0.3;
  }
}

.hero-globe svg {
  width: 100%;
  height: 100%;
}

.globe-longitudes {
  transform-origin: 150px 150px;
  animation: globe-rotate 40s linear infinite;
}

@keyframes globe-rotate {
  to { transform: rotate(360deg); }
}

.globe-pin {
  transform-origin: center;
  transform-box: fill-box;
}

.globe-pin-1 { animation: pin-pulse 2.4s ease-in-out infinite; }
.globe-pin-2 { animation: pin-pulse 2.4s ease-in-out infinite 0.6s; }
.globe-pin-3 { animation: pin-pulse 2.4s ease-in-out infinite 1.2s; }
.globe-pin-4 { animation: pin-pulse 2.4s ease-in-out infinite 1.8s; }

@keyframes pin-pulse {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.3; }
}

.globe-pin-ring {
  transform-origin: center;
  transform-box: fill-box;
  animation: pin-ring 2.4s ease-out infinite;
}

.globe-pin-ring-1 { animation-delay: 0s; }
.globe-pin-ring-2 { animation-delay: 0.6s; }
.globe-pin-ring-3 { animation-delay: 1.2s; }
.globe-pin-ring-4 { animation-delay: 1.8s; }

@keyframes pin-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3); opacity: 0; }
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
}

.hero-orb-1 {
  top: 5%;
  left: 2%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(52, 211, 195, 0.5), transparent 70%);
  animation: orb-drift 18s ease-in-out infinite;
}

.hero-orb-2 {
  bottom: 5%;
  right: 15%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(16, 130, 122, 0.4), transparent 70%);
  animation: orb-drift 22s ease-in-out infinite reverse;
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 20px) scale(0.95); }
}

/* Animated gradient on highlight */
.hero h1 .highlight {
  background: linear-gradient(90deg, #10827a 0%, #34d3c3 25%, #7ceee2 50%, #34d3c3 75%, #10827a 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 6s linear infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem 0.4rem 0.55rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(16, 130, 122, 0.18);
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(5, 17, 15, 0.04);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(52, 211, 195, 0.25);
  animation: pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(52, 211, 195, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(52, 211, 195, 0.1); }
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero h1 .highlight {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  font-size: clamp(0.98rem, 0.9rem + 0.3vw, 1.1rem);
  color: var(--muted);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.proof-label {
  font-size: 0.78rem;
  color: var(--muted-2);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proof-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.proof-stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}

.proof-stat span {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.25rem;
  display: block;
}

.proof-stats { gap: 1.5rem; }

/* Hero visual */
.hero-visual {
  position: relative;
  height: 460px;
}

.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.hero-card-main {
  inset: 10px 10px 70px 50px;
  background: linear-gradient(135deg, #f8fcfb 0%, #e8f4f3 100%);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
}

.hero-card-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(52, 211, 195, 0.18), transparent 55%);
  pointer-events: none;
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(5, 17, 15, 0.12);
}

.mock-dot:nth-child(1) { background: #ff6057; }
.mock-dot:nth-child(2) { background: #ffbd2e; }
.mock-dot:nth-child(3) { background: #28c93f; }

.mock-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: auto;
  padding: 0.2rem 0.7rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--r-pill);
}

.mock-metric {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.mock-metric-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.mock-metric-label {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.mock-metric-tag {
  font-size: 0.68rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--r-pill);
  font-weight: 600;
}

.mock-metric-tag.ok { background: #e6f9ee; color: #0a7a3f; }
.mock-metric-tag.warn { background: #fff4e0; color: #a16207; }

.mock-metric-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
  margin-top: 0.6rem;
}

.mock-bar {
  flex: 1;
  background: var(--grad-primary);
  border-radius: 4px;
  opacity: 0.85;
  animation: grow 1.2s ease-out backwards;
}

.mock-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.mock-bar:nth-child(2) { height: 65%; animation-delay: 0.15s; }
.mock-bar:nth-child(3) { height: 48%; animation-delay: 0.2s; }
.mock-bar:nth-child(4) { height: 78%; animation-delay: 0.25s; }
.mock-bar:nth-child(5) { height: 55%; animation-delay: 0.3s; }
.mock-bar:nth-child(6) { height: 88%; animation-delay: 0.35s; }
.mock-bar:nth-child(7) { height: 62%; animation-delay: 0.4s; }

@keyframes grow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); }
}

.hero-card-floating {
  bottom: 25px;
  left: 0;
  right: 40%;
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float 6s ease-in-out infinite;
}

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

.floating-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--grad-primary);
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(16, 130, 122, 0.35);
}

.floating-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.floating-text span {
  font-size: 0.76rem;
  color: var(--muted);
}

.hero-card-badge {
  top: 20px;
  right: 0;
  padding: 0.7rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: float 7s ease-in-out infinite reverse;
}

.badge-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: grid;
  place-items: center;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-meta strong {
  display: block;
  font-size: 0.78rem;
  color: var(--ink);
}

.badge-meta span {
  font-size: 0.7rem;
  color: var(--muted);
}

/* ========================================================================
   Marquee of clients
   ======================================================================== */

.marquee-section {
  padding: 2rem 0 2.25rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.marquee-label {
  text-align: center;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  animation: scroll-x 45s linear infinite;
  width: max-content;
  padding: 0.5rem 0;
}

.marquee-track img {
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.95;
  transition: transform 0.3s ease;
}

.marquee-track img:hover {
  transform: scale(1.05);
}

@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========================================================================
   Services — bento
   ======================================================================== */

.services-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.service-tile {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.service-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 130, 122, 0.2);
}

.service-tile.feature {
  grid-column: span 2;
  background: linear-gradient(160deg, #081a17 0%, #10302c 100%);
  color: var(--white);
  border-color: transparent;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.service-tile.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(52, 211, 195, 0.25), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(16, 130, 122, 0.25), transparent 55%);
  pointer-events: none;
}

.service-tile.feature::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 25%,
    rgba(52, 211, 195, 0.08) 50%,
    transparent 75%
  );
  transform: skewX(-20deg);
  animation: shimmer 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(0) skewX(-20deg); opacity: 0; }
  50% { transform: translateX(280%) skewX(-20deg); opacity: 1; }
}

.service-tile.feature p { color: rgba(255, 255, 255, 0.7); }

.feature-left {
  display: flex;
  flex-direction: column;
}

.feature-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.feature-right .service-tile-arrow {
  margin-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
}

.service-tile.feature .service-icon {
  background: rgba(52, 211, 195, 0.15);
  border-color: rgba(52, 211, 195, 0.3);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-mist);
  border: 1px solid rgba(16, 130, 122, 0.15);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.service-icon img {
  width: 32px;
  height: 32px;
}

.service-tile h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  position: relative;
}

.service-tile.feature h3 { font-size: 1.65rem; }

.service-tile p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  position: relative;
}

.service-features {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  position: relative;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.service-tile.feature .service-features li { color: rgba(255, 255, 255, 0.8); }

.service-features li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary-mist);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2310827a' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.service-tile.feature .service-features li::before {
  background-color: rgba(52, 211, 195, 0.2);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2334d3c3' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.service-tile-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(16, 130, 122, 0.1);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  position: relative;
}

.service-tile.feature .service-tile-arrow {
  color: var(--accent);
  border-top-color: rgba(255, 255, 255, 0.12);
}

.service-tile-arrow svg {
  transition: transform 0.3s ease;
}

.service-tile:hover .service-tile-arrow svg {
  transform: translateX(4px);
}

/* ========================================================================
   Impact numbers
   ======================================================================== */

.impact {
  background: var(--mesh-dark);
  color: var(--white);
  padding: clamp(3rem, 2.2rem + 2vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}

.impact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
  pointer-events: none;
  animation: grid-drift 20s linear infinite;
}

@keyframes grid-drift {
  to { background-position: 56px 56px; }
}

.impact::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 1.5px at 20% 30%, rgba(52, 211, 195, 0.6), transparent),
    radial-gradient(circle 1.5px at 70% 20%, rgba(52, 211, 195, 0.5), transparent),
    radial-gradient(circle 1.5px at 40% 70%, rgba(52, 211, 195, 0.6), transparent),
    radial-gradient(circle 1.5px at 85% 60%, rgba(52, 211, 195, 0.5), transparent),
    radial-gradient(circle 1.5px at 15% 85%, rgba(52, 211, 195, 0.6), transparent),
    radial-gradient(circle 1.5px at 60% 90%, rgba(52, 211, 195, 0.5), transparent),
    radial-gradient(circle 1.5px at 90% 15%, rgba(52, 211, 195, 0.6), transparent),
    radial-gradient(circle 1.5px at 30% 50%, rgba(52, 211, 195, 0.5), transparent);
  pointer-events: none;
  animation: stars-twinkle 4s ease-in-out infinite;
}

@keyframes stars-twinkle {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.impact .section-header h2 { color: var(--white); }
.impact .section-header p { color: rgba(255, 255, 255, 0.72); }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}

.impact-card {
  padding: 1.75rem 1.25rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.impact-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(52, 211, 195, 0.3);
  transform: translateY(-4px);
}

.impact-number {
  font-size: clamp(2.5rem, 1.8rem + 2.4vw, 3.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--white);
  background: linear-gradient(180deg, #ffffff 60%, rgba(255, 255, 255, 0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.75rem;
}

.impact-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.impact-card span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ========================================================================
   Process timeline
   ======================================================================== */

.process-section {
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
}

.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary-soft);
  display: grid;
  place-items: center;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(16, 130, 122, 0.08);
}

.process-step:hover .process-num {
  background: var(--grad-primary);
  color: var(--white);
  border-color: transparent;
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========================================================================
   yCloudx product section
   ======================================================================== */

.ycloudx-section {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

.ycloudx-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 40% 40% at 80% 30%, rgba(52, 211, 195, 0.1), transparent 60%);
  pointer-events: none;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.product-copy h2 {
  margin-bottom: 1rem;
}

.product-copy > p {
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  max-width: 520px;
}

.product-features {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.product-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all 0.25s ease;
}

.product-feature:hover {
  border-color: rgba(16, 130, 122, 0.25);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.product-feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary-mist);
  display: grid;
  place-items: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 1rem;
}

.product-feature strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.product-feature span {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.product-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}

.product-stage {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.product-orbit {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px dashed rgba(16, 130, 122, 0.3);
  animation: spin 30s linear infinite;
}

.product-orbit::before,
.product-orbit::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent);
}

.product-orbit::before { top: -6px; left: 50%; transform: translateX(-50%); }
.product-orbit::after { bottom: -6px; left: 50%; transform: translateX(-50%); background: var(--primary); }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.product-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(52, 211, 195, 0.3), transparent 60%);
  filter: blur(40px);
  z-index: -1;
}

.phone-frame {
  position: relative;
  width: min(100%, 230px);
  aspect-ratio: 9 / 19.5;
  background: var(--ink);
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 40px 80px rgba(5, 17, 15, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.08) inset;
  overflow: hidden;
  animation: float 7s ease-in-out infinite;
  z-index: 2;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 40%;
  height: 22px;
  background: var(--ink);
  border-radius: 0 0 14px 14px;
  transform: translateX(-50%);
  z-index: 3;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  display: block;
}

.product-dash-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 3;
}

.product-dash-card.top {
  top: 10%;
  right: -10%;
  animation: float 8s ease-in-out infinite;
}

.product-dash-card.bottom {
  bottom: 12%;
  left: -12%;
  animation: float 9s ease-in-out infinite reverse;
}

.dash-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary-mist);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.dash-card-meta strong {
  display: block;
  font-size: 0.82rem;
  color: var(--ink);
  font-weight: 600;
}

.dash-card-meta span {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ========================================================================
   Why Us bento
   ======================================================================== */

.why-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.why-card {
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(16, 130, 122, 0.2);
}

.why-card.wide {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--primary-mist), var(--white));
}

.why-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--grad-primary);
  color: var(--white);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  box-shadow: 0 10px 24px rgba(16, 130, 122, 0.3);
}

.why-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}

.why-card.wide h3 {
  font-size: 1.4rem;
  max-width: 420px;
}

.why-card p {
  font-size: 0.93rem;
}

/* ========================================================================
   Testimonial
   ======================================================================== */

.testimonial-section {
  padding: clamp(3.5rem, 2.5rem + 2vw, 5rem) 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 20%, rgba(16, 130, 122, 0.06), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(52, 211, 195, 0.06), transparent 60%);
  pointer-events: none;
}

.testimonial {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.quote-mark {
  font-size: 5rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.25;
  font-family: Georgia, serif;
  margin-bottom: -2rem;
}

.testimonial blockquote {
  font-size: clamp(1.4rem, 1rem + 1.2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 2rem;
}

.testimonial cite {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  font-style: normal;
}

.cite-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.cite-meta strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 600;
  text-align: left;
}

.cite-meta span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ========================================================================
   About
   ======================================================================== */

.about-section {
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-copy p {
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.about-pillar {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--paper);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  margin-top: 1.25rem;
}

.about-pillar .pill-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-mist);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.05rem;
}

.about-pillar strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 700;
}

.about-pillar span {
  font-size: 0.88rem;
  color: var(--muted);
}

.about-visual {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: var(--shadow-xl);
  max-height: 460px;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 17, 15, 0.8));
}

.about-visual-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--r-md);
  z-index: 2;
}

.about-visual-card strong {
  display: block;
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.about-visual-card span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ========================================================================
   Contact
   ======================================================================== */

.contact-section {
  background: var(--mesh-dark);
  color: var(--white);
  padding: clamp(3.5rem, 2.5rem + 2vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, black, transparent);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  position: relative;
}

.contact-info h2 { color: var(--white); margin-bottom: 1rem; }
.contact-info > p { color: rgba(255, 255, 255, 0.72); margin-bottom: 2rem; max-width: 460px; }

.contact-list {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  transition: all 0.25s ease;
}

.contact-info-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(52, 211, 195, 0.25);
}

.ci-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(52, 211, 195, 0.15);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.ci-meta strong {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.ci-meta p {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.4;
}

.contact-map {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-map iframe {
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
  filter: grayscale(0.2);
}

.contact-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: 2rem;
  backdrop-filter: blur(12px);
  display: grid;
  gap: 1rem;
}

.contact-card h3 {
  color: var(--white);
  margin-bottom: 0.25rem;
}

.contact-card label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
  padding: 0.85rem 1rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.contact-card select option {
  background: var(--ink);
  color: var(--white);
}

.contact-card textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-card .btn {
  margin-top: 0.5rem;
  width: 100%;
}

.form-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ========================================================================
   Footer
   ======================================================================== */

.site-footer {
  background: #030b09;
  color: rgba(255, 255, 255, 0.65);
  padding: 3rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.25rem;
}

.footer-brand img {
  width: 64px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  max-width: 320px;
  margin-bottom: 1.25rem;
}

.footer-grid h4 {
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.footer-grid a,
.footer-grid p {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.55rem;
  transition: color 0.2s;
}

.footer-grid a:hover { color: var(--accent); }

.social-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid !important;
  place-items: center;
  transition: all 0.2s;
  margin-bottom: 0 !important;
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white) !important;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255, 255, 255, 0.45); }
.footer-legal a:hover { color: var(--white); }

/* ========================================================================
   Utilities & Reveal
   ======================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  border: none;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all 0.3s ease;
  z-index: 40;
  font-size: 1.1rem;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 17, 15, 0.6);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 100;
}

.modal-overlay.active { display: flex; }

.modal-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2.25rem;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  text-align: center;
  position: relative;
}

.modal-card h3 { margin-bottom: 0.75rem; font-size: 1.35rem; }
.modal-card p { color: var(--muted); margin-bottom: 1.5rem; }

.modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  color: var(--muted);
}

/* ========================================================================
   Responsive
   ======================================================================== */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual { height: 480px; max-width: 500px; }

  .services-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .service-tile.feature { grid-column: span 2; grid-template-columns: 1fr 1fr; }

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

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

  .product-layout,
  .about-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .why-bento { grid-template-columns: 1fr 1fr; }
  .why-card.wide { grid-column: span 2; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: 0.25s ease;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle { display: block; }

  .hero-visual { height: 420px; }

  .services-bento,
  .why-bento {
    grid-template-columns: 1fr;
  }

  .service-tile.feature,
  .why-card.wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .feature-right { height: auto; }

  .impact-grid { grid-template-columns: 1fr 1fr; }

  .process-grid { grid-template-columns: 1fr; }

  .product-dash-card.top { right: -5%; top: 5%; }
  .product-dash-card.bottom { left: -5%; bottom: 8%; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .section-header { margin-bottom: 2.5rem; }
}

@media (max-width: 480px) {
  .hero-card-main { inset: 10px 10px 70px 30px; padding: 1.25rem; }
  .hero-card-floating { right: 30%; }
  .hero-card-badge { right: 10px; }
  .contact-card { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
