/* Smart Kadai POS - marketing site (light shell: matches app bg-slate-50 / white / primary) */
:root {
  /* App light shell - same family as bg-slate-50, white cards, border-slate-200 */
  --bg-page: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-deep: #e2e8f0;
  --bg-mid: #f8fafc;
  --bg-elevated: #ffffff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-2: #f8fafc;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #0f172a;
  --muted: #64748b;
  /* primary.* from tailwind.config.js */
  --primary-50: #fef2f2;
  --primary-100: #fee2e2;
  --primary-200: #fecaca;
  --primary-300: #fca5a5;
  --primary-400: #f87171;
  --primary-500: #ef4444;
  --primary: #dc2626;
  --primary-700: #b91c1c;
  --primary-900: #7f1d1d;
  --primary-dim: #b91c1c;
  --primary-glow: rgba(220, 38, 38, 0.28);
  --accent: #ef4444;
  --accent-soft: rgba(254, 226, 226, 0.95);
  --radius-lg: 22px;
  --radius-xl: 28px;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Poppins', var(--font-sans);
  --shadow-soft: 0 4px 24px -4px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 12px 40px -12px rgba(15, 23, 42, 0.1);
  --shadow-elevated: 0 24px 64px -16px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 10px 36px -8px rgba(220, 38, 38, 0.35);
  --ease-spring: cubic-bezier(0.34, 1.22, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .bg-mesh {
    animation: none !important;
  }
  .hero-orbs .orb {
    animation: none !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-page);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body.is-splashing {
  overflow: hidden;
}

body.lang-ta {
  --font-sans: 'Noto Sans Tamil', 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Noto Sans Tamil', 'Inter', system-ui, -apple-system, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus {
  left: 0.75rem;
}

/* -- Background: soft airy mesh (app light + warm primary wash) -- */
.bg-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 100% 65% at 50% -5%, rgba(254, 226, 226, 0.85), transparent 52%),
    radial-gradient(ellipse 55% 45% at 95% 18%, rgba(252, 165, 165, 0.35), transparent 50%),
    radial-gradient(ellipse 50% 40% at 5% 92%, rgba(254, 202, 202, 0.45), transparent 48%),
    radial-gradient(ellipse 70% 50% at 80% 75%, rgba(241, 245, 249, 0.9), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-page) 38%, #f8fafc 100%);
  animation: mesh-breathe 18s ease-in-out infinite alternate;
}

@keyframes mesh-breathe {
  0% {
    filter: saturate(1) brightness(1);
  }
  100% {
    filter: saturate(1.06) brightness(1.02);
  }
}

.bg-mesh::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.page-wrap {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

/* -- Header -- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

@media (max-width: 879px) {
  .site-header {
    height: auto;
    align-items: stretch;
    padding-block: 0.4rem;
  }
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.header-inner {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
}

@media (max-width: 879px) {
  .header-inner {
    flex-wrap: wrap;
    row-gap: 0.55rem;
    column-gap: 0.6rem;
    align-items: center;
  }

  .header-inner .brand {
    flex: 1 1 0;
    min-width: 0;
    max-width: calc(100% - 52px);
  }

  .header-inner .nav-toggle {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .header-inner .header-actions {
    flex: 1 1 100%;
    justify-content: center;
    gap: 0.5rem;
  }

  .btn-header-cta {
    display: none;
  }

  .lang-switch {
    flex: 1 1 auto;
    max-width: min(100%, 320px);
    justify-content: stretch;
  }

  .lang-switch .lang-btn {
    flex: 1 1 50%;
    text-align: center;
    padding-inline: 0.5rem;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-wrap: nowrap;
}

.lang-switch {
  display: inline-flex;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.lang-btn {
  appearance: none;
  border: 0;
  margin: 0;
  padding: 0.42rem 0.72rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.is-active {
  background: var(--primary-50);
  color: var(--primary);
}

.brand-pos {
  color: var(--primary);
  font-weight: 600;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-text {
  min-width: 0;
  line-height: 1.2;
}

@media (max-width: 879px) {
  .brand {
    font-size: 0.95rem;
    gap: 0.5rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08), 0 0 0 1px var(--border);
  overflow: hidden;
  flex-shrink: 0;
}

.brand-mark-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: min(640px, 58vw);
}

@media (min-width: 880px) {
  .nav-desktop {
    display: flex;
  }
}

@media (min-width: 1100px) {
  .nav-desktop {
    gap: 0.35rem;
    max-width: none;
  }
}

.nav-desktop a {
  padding: 0.45rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}

@media (min-width: 1100px) {
  .nav-desktop a {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
}
.nav-desktop a:hover {
  color: var(--primary);
  background: var(--primary-50);
}

.nav-toggle {
  display: flex;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
@media (min-width: 880px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle-icon {
  width: 22px;
  height: 14px;
  position: relative;
}
.nav-toggle-icon span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s;
}
.nav-toggle-icon span:nth-child(1) {
  top: 0;
}
.nav-toggle-icon span:nth-child(2) {
  top: 6px;
}
.nav-toggle-icon span:nth-child(3) {
  top: 12px;
}
.nav-toggle[aria-expanded='true'] .nav-toggle-icon span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded='true'] .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded='true'] .nav-toggle-icon span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.nav-panel {
  position: fixed;
  top: var(--header-live, var(--header-h));
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-panel-cta {
  margin-top: 0.75rem;
  text-align: center;
  justify-content: center;
  width: 100%;
}

@media (min-width: 880px) {
  .nav-panel-cta {
    display: none;
  }
}
.nav-panel.is-open {
  transform: translateX(0);
}
@media (min-width: 880px) {
  .nav-panel {
    display: none;
  }
}
.nav-panel a {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.nav-panel a:hover {
  border-color: var(--primary-200);
  background: var(--primary-50);
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.15rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.3s ease, background 0.25s ease, border-color 0.25s ease,
    filter 0.25s ease;
}
.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary) 45%, var(--primary-700) 100%);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  box-shadow: 0 12px 40px -6px rgba(220, 38, 38, 0.55);
  transform: translateY(-1px);
}

.btn-ghost {
  background: #fff;
  border-color: var(--border-strong);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.btn-ghost:hover {
  background: var(--primary-50);
  border-color: var(--primary-200);
  color: var(--primary);
}

[data-magnetic] {
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
}

/* -- Hero -- */
.hero {
  padding: calc(var(--header-live, var(--header-h)) + 3.5rem) 0 4rem;
  position: relative;
}

@media (min-width: 900px) {
  .hero {
    padding: calc(var(--header-live, var(--header-h)) + 4.5rem) 0 5rem;
  }
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
  }
}

.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  will-change: transform;
}
.hero-orbs .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float-orb 14s ease-in-out infinite;
}
.hero-orbs .orb:nth-child(1) {
  width: 320px;
  height: 320px;
  background: var(--primary-300);
  top: -80px;
  right: -40px;
  animation-delay: 0s;
}
.hero-orbs .orb:nth-child(2) {
  width: 260px;
  height: 260px;
  background: #cbd5e1;
  bottom: 10%;
  left: -60px;
  animation-delay: -4s;
}
.hero-orbs .orb:nth-child(3) {
  width: 200px;
  height: 200px;
  background: var(--primary-200);
  top: 38%;
  left: 28%;
  opacity: 0.28;
  animation-delay: -7s;
}

@keyframes float-orb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(14px, -20px) scale(1.06);
  }
  66% {
    transform: translate(-18px, 12px) scale(0.94);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-700);
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw + 0.85rem, 3.1rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.hero-title > span:first-child {
  display: block;
  color: var(--text);
}

.hero-line-accent {
  display: block;
  margin-top: 0.35rem;
  background: linear-gradient(115deg, var(--primary) 0%, var(--primary-500) 42%, var(--primary-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.lang-ta .hero-title {
  letter-spacing: 0;
}

body.lang-ta .eyebrow {
  text-transform: none;
  letter-spacing: 0.04em;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.hero-meta strong {
  color: var(--text);
  display: block;
  font-size: 0.95rem;
}

.hero-meta > div > span {
  display: block;
  margin-top: 0.2rem;
  line-height: 1.45;
}

/* Device mockup */
.device-stage {
  position: relative;
  perspective: 1200px;
}

.device-glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(ellipse at center, rgba(220, 38, 38, 0.22), rgba(254, 226, 226, 0.65) 45%, transparent 68%);
  filter: blur(28px);
  opacity: 0.9;
  pointer-events: none;
  animation: device-glow-pulse 5s ease-in-out infinite;
}

@keyframes device-glow-pulse {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .device-glow {
    animation: none;
  }
}

.device-frame {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 12px;
  background: linear-gradient(155deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(220, 38, 38, 0.06);
  transform: rotateX(4deg) rotateY(-6deg);
  transition: transform 0.65s var(--ease-out), box-shadow 0.45s ease;
}
@media (hover: hover) {
  .device-stage:hover .device-frame {
    transform: rotateX(2deg) rotateY(-2deg) translateY(-4px);
  }
}

.device-notch {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}
.device-notch span {
  width: 52px;
  height: 5px;
  border-radius: 99px;
  background: #e2e8f0;
}

.device-screen {
  border-radius: calc(var(--radius-xl) - 8px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-strong);
  aspect-ratio: 16 / 10;
  position: relative;
}

.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.device-screen img.is-loaded {
  opacity: 1;
}

/* CSS fallback “app” preview when no image */
.screen-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  font-size: 0.72rem;
  transition: opacity 0.4s ease;
}
.device-screen img.is-loaded ~ .screen-fallback {
  opacity: 0;
  pointer-events: none;
}
.sf-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
  border-bottom: 1px solid var(--border);
}

.sf-brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.sf-brand-lockup .sf-logo-img {
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 5px;
}

.sf-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sf-pill {
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: var(--primary-50);
  color: var(--primary);
  font-weight: 600;
}
.sf-body {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0.5rem;
  padding: 0.5rem;
  background: #f8fafc;
}
.sf-panel {
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 0.45rem;
}
.sf-panel h4 {
  margin: 0 0 0.35rem;
  font-size: 0.6rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sf-rows {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.sf-row {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0.35rem;
  border-radius: 6px;
  background: #f1f5f9;
}
.sf-row span:last-child {
  color: #15803d;
  font-weight: 600;
}
.sf-cart {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.sf-total {
  margin-top: auto;
  padding: 0.4rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  text-align: center;
  font-weight: 700;
  color: #fff;
  animation: glow-pulse 3s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.35);
  }
  50% {
    box-shadow: 0 0 24px 2px rgba(220, 38, 38, 0.25);
  }
}

.floating-card {
  position: absolute;
  right: -8px;
  bottom: 12%;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(220, 38, 38, 0.05);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  animation: float-card 5.5s var(--ease-out) infinite;
}
@media (max-width: 599px) {
  .floating-card {
    right: 8px;
    bottom: 8px;
    font-size: 0.72rem;
  }
}
@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.fc-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--primary-50);
  display: grid;
  place-items: center;
  color: var(--primary);
}
.fc-icon svg {
  width: 18px;
  height: 18px;
}
.fc-text strong {
  display: block;
  color: var(--text);
}

/* -- Logo strip -- */
.strip {
  padding: 2rem 0;
  border-block: 1px solid var(--border);
  background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.04) 50%, transparent);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.strip-inner {
  display: flex;
  gap: 3rem;
  align-items: center;
  animation: marquee 32s linear infinite;
  width: max-content;
}
@media (prefers-reduced-motion: reduce) {
  .strip-inner {
    animation: none;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.strip-item {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}
.strip-item:hover {
  color: var(--primary);
}

/* -- Sections -- */
.section {
  padding: 4rem 0;
}
.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2vw + 1rem, 2.25rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

/* Bento */
.bento {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
    align-items: stretch;
  }
  .bento .tile-lg {
    grid-column: span 3;
  }
  .bento .tile-md {
    grid-column: span 3;
  }
  .bento .tile-sm {
    grid-column: span 2;
  }
  .bento .tile {
    height: 100%;
  }
}
@media (max-width: 980px) and (min-width: 720px) {
  .bento .tile-sm {
    grid-column: span 3;
  }
}

.tile {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.45s var(--ease-spring), box-shadow 0.4s ease;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
@media (hover: hover) {
  .tile:hover {
    border-color: var(--primary-200);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card), 0 0 0 1px rgba(220, 38, 38, 0.06);
  }
}
.tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--sx, 50%) var(--sy, 0%), rgba(254, 226, 226, 0.85), transparent 42%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
@media (hover: hover) {
  .tile:hover::before {
    opacity: 1;
  }
}

.tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  color: var(--primary);
}
.tile-icon svg {
  width: 24px;
  height: 24px;
}
.tile h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
}
.tile p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.tile-visual {
  margin-top: 0.2rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  aspect-ratio: 16 / 9;
}
.tile-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

/* Steps */
.steps {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-spring), border-color 0.3s ease, box-shadow 0.35s ease;
}
@media (hover: hover) {
  .step:hover {
    transform: translateY(-2px);
    border-color: var(--primary-200);
    box-shadow: var(--shadow-card);
  }
}
.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(220, 38, 38, 0.45);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}
.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Stats */
.stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.3s ease, transform 0.4s var(--ease-spring);
}
@media (hover: hover) {
  .stat:hover {
    border-color: var(--primary-200);
    transform: translateY(-2px);
  }
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.stat-plain {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.25rem;
  padding: 1rem 0.75rem;
}

.stat-benefit {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.trust-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.55;
}

/* -- Section bands -- */
.section-tint {
  background: var(--bg-subtle);
  border-block: 1px solid var(--border);
}

/* -- Solutions -- */
.solutions-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.solution-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.3s ease, transform 0.45s var(--ease-spring), box-shadow 0.35s ease;
  overflow: hidden;
}
@media (hover: hover) {
  .solution-card:hover {
    border-color: var(--primary-200);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
  }
}
.solution-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  color: var(--primary);
}
.solution-icon svg {
  width: 22px;
  height: 22px;
}
.solution-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.solution-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* -- Core features -- */
.core-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .core-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .core-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.core-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.25s ease, box-shadow 0.3s ease;
}
@media (hover: hover) {
  .core-item:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-card);
  }
}
.core-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  color: var(--primary);
}
.core-icon svg {
  width: 22px;
  height: 22px;
}
.core-item h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  margin: 0 0 0.35rem;
  color: var(--text);
}
.core-item p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}

/* -- Clients (placeholders) -- */
.clients-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) {
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.client-placeholder {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.75rem;
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border-strong);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  line-height: 1.35;
}
.client-placeholder-accent {
  border-color: rgba(220, 38, 38, 0.35);
  background: var(--primary-50);
  color: var(--primary-700);
}

.clients-note {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* -- FAQ -- */
.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  padding-right: 2.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  transition: background 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -6px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease-out);
  opacity: 0.85;
}

.faq-item[open] summary::after {
  transform: rotate(225deg);
  margin-top: -3px;
}

.faq-item summary:hover {
  background: var(--bg-subtle);
}

.faq-item p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
  max-width: 65ch;
}

.fc-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.fc-sub {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  margin: 2rem 0 0;
  padding: 3rem 1.5rem;
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--primary-200);
  background: linear-gradient(165deg, #fff 0%, var(--primary-50) 45%, #fef2f2 100%);
  box-shadow: var(--shadow-card);
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 200deg, transparent, rgba(254, 202, 202, 0.5), rgba(252, 165, 165, 0.35), transparent 55%);
  animation: spin-slow 22s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .cta-band::before {
    animation: none;
  }
}
@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}
.cta-inner {
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
  margin: 0 0 0.5rem;
  color: var(--text);
}
.cta-band p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 520px;
  margin-inline: auto;
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  background:
    radial-gradient(900px circle at 15% 0%, rgba(254, 226, 226, 0.35), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.92));
}
.footer-grid {
  display: grid;
  gap: 1.65rem;
  align-items: start;
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(140px, 1fr));
  }
}
.footer-brand {
  padding-right: 1rem;
}
.footer-brand p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 320px;
}
.footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-col a {
  color: var(--muted);
}
.footer-col a:hover {
  color: var(--primary);
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}
@media (max-width: 719px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    justify-content: flex-start;
  }
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-spring), filter 0.65s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}
[data-reveal='fade'] {
  transform: none;
}
[data-reveal='fade'].is-visible {
  opacity: 1;
  filter: none;
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease-out), transform 0.6s var(--ease-spring);
}
.stagger-children.is-visible > *:nth-child(1) {
  transition-delay: 0.05s;
}
.stagger-children.is-visible > *:nth-child(2) {
  transition-delay: 0.12s;
}
.stagger-children.is-visible > *:nth-child(3) {
  transition-delay: 0.19s;
}
.stagger-children.is-visible > *:nth-child(4) {
  transition-delay: 0.26s;
}
.stagger-children.is-visible > *:nth-child(5) {
  transition-delay: 0.33s;
}
.stagger-children.is-visible > *:nth-child(6) {
  transition-delay: 0.4s;
}
.stagger-children.is-visible > * {
  opacity: 1;
  transform: none;
}

/* -- Splash (first load) -- */
.app-splash {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 100% 60% at 50% 18%, rgba(254, 226, 226, 0.95), transparent 52%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-page) 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.app-splash.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.app-splash-inner {
  text-align: center;
  padding: 1.5rem;
  max-width: 90vw;
}

.app-splash-logo-wrap {
  margin: 0 auto 1rem;
  width: 112px;
  height: 112px;
  animation: splash-logo-in 0.75s var(--ease-spring) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .app-splash-logo-wrap {
    animation: none;
  }
}

@keyframes splash-logo-in {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.app-splash-logo {
  width: 112px;
  height: 112px;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 16px 40px var(--primary-glow));
}

.app-splash-name {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.app-splash-name span {
  color: var(--muted);
  font-weight: 600;
}

.app-splash-loader {
  width: min(200px, 55vw);
  height: 4px;
  margin: 0 auto;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.app-splash-bar {
  display: block;
  height: 100%;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary-900), var(--primary), var(--primary-300));
  animation: splash-bar 1.05s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .app-splash-bar {
    animation: none;
    width: 100%;
    opacity: 0.85;
  }
}

@keyframes splash-bar {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(280%);
  }
}

/* WhatsApp + Call - left dock, drag handle to snap top-right */
.fab-stack {
  position: fixed;
  z-index: 60;
  left: max(1rem, env(safe-area-inset-left));
  right: auto;
  bottom: max(1.15rem, env(safe-area-inset-bottom));
  top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  pointer-events: none;
  transform: translate(0, 0);
  touch-action: manipulation;
}

.fab-stack > .fab {
  pointer-events: auto;
}

.fab-handle {
  appearance: none;
  margin: 0;
  padding: 0;
  width: 44px;
  height: 30px;
  margin-left: 6px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
  cursor: grab;
  display: grid;
  place-items: center;
  color: var(--muted);
  flex-shrink: 0;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  display: none;
}

.fab-handle:active {
  cursor: grabbing;
}

.fab-handle-icon {
  width: 18px;
  height: 10px;
  opacity: 0.75;
}

.fab {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.14);
  transition: box-shadow 0.25s ease, filter 0.2s ease;
}

.fab::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  opacity: 0.3;
  filter: blur(12px);
  animation: fab-glow 2.2s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.fab:hover {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
  filter: brightness(1.05);
}

.fab:active {
  filter: brightness(0.95);
}

.fab-motion {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.fab-wa {
  background: linear-gradient(145deg, #2fe066, #25d366);
}
.fab-wa::after {
  background: rgba(37, 211, 102, 0.72);
}

.fab-call {
  background: linear-gradient(145deg, var(--primary), var(--primary-dim));
}
.fab-call::after {
  background: rgba(220, 38, 38, 0.66);
}

.fab-icon {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .fab::after {
    animation: none;
  }
}

@keyframes fab-glow {
  0%,
  100% {
    opacity: 0.24;
    transform: scale(0.92);
  }
  50% {
    opacity: 0.48;
    transform: scale(1.08);
  }
}
