/* =========================================================
   TataDigital Premium Landing Page
   Pure HTML + CSS + JS. No library. Optimized for fast loading.
   ========================================================= */

:root {
  color-scheme: light;
  --bg: #f8fbff;
  --bg-soft: #eef4fb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --surface-strong: #ffffff;
  --text: #07142f;
  --muted: #5d6b83;
  --muted-2: #8793a5;
  --line: rgba(7, 20, 47, 0.12);
  --line-strong: rgba(7, 20, 47, 0.18);
  --navy: #07142f;
  --navy-2: #101f3d;
  --red: #e81717;
  --red-2: #ff3b37;
  --cyan: #19b8ff;
  --cyan-2: #54d7ff;
  --blue: #1374ff;
  --success: #16a673;
  --warning: #f59e0b;
  --shadow: 0 22px 70px rgba(7, 20, 47, 0.12);
  --shadow-soft: 0 16px 45px rgba(7, 20, 47, 0.08);
  --shadow-red: 0 22px 60px rgba(232, 23, 23, 0.2);
  --radius: 28px;
  --radius-lg: 36px;
  --radius-sm: 16px;
  --container: 1180px;
  --font: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050914;
  --bg-soft: #081021;
  --surface: rgba(9, 18, 37, 0.74);
  --surface-solid: #0a1224;
  --surface-strong: #0d1932;
  --text: #eef6ff;
  --muted: #a5b1c5;
  --muted-2: #7c8aa2;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.28);
  --shadow-red: 0 25px 70px rgba(232, 23, 23, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 15% 5%, rgba(25, 184, 255, 0.13), transparent 32rem),
    radial-gradient(circle at 90% 15%, rgba(232, 23, 23, 0.10), transparent 30rem),
    linear-gradient(180deg, var(--bg), var(--bg-soft) 48%, var(--bg));
  overflow-x: hidden;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  cursor: pointer;
}

ul {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}

::selection {
  background: rgba(232, 23, 23, 0.2);
  color: var(--text);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-140%);
  background: var(--text);
  color: var(--bg);
  padding: 12px 16px;
  border-radius: 999px;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 96px 0;
}

.section-tight {
  position: relative;
  padding: 40px 0;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.left {
  margin-inline: 0;
  text-align: left;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.section-kicker::before,
.eyebrow span {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--red), var(--cyan));
  box-shadow: 0 0 22px rgba(25, 184, 255, 0.5);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.045em;
  line-height: 1.05;
}

h1 {
  margin-top: 18px;
  font-size: clamp(2.55rem, 5.2vw, 5.15rem);
  max-width: 780px;
}

h2 {
  font-size: clamp(2rem, 4.1vw, 3.7rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

p {
  line-height: 1.75;
  color: var(--muted);
}

.section-heading p,
.hero-subtitle {
  margin-top: 18px;
  font-size: 1.08rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 820;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible,
.demo-btn:focus-visible,
.theme-toggle:focus-visible,
.menu-toggle:focus-visible,
.modal-close:focus-visible {
  outline: 3px solid rgba(25, 184, 255, 0.45);
  outline-offset: 3px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), #ff493e 45%, #c70d21);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  box-shadow: 0 22px 80px rgba(232, 23, 23, 0.3);
}

.btn-secondary,
.btn-outline {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line-strong);
  backdrop-filter: blur(14px);
}

.btn-secondary:hover,
.btn-outline:hover {
  border-color: rgba(25, 184, 255, 0.42);
  box-shadow: var(--shadow-soft);
}

.btn-white {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.92rem;
}

.btn-lg {
  min-height: 54px;
  padding: 0 26px;
}

.btn-full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  font-weight: 850;
  color: var(--red);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 14px 0;
  transition: padding 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.site-header.is-scrolled {
  padding: 8px 0;
  background: rgba(248, 251, 255, 0.72);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 45px rgba(7, 20, 47, 0.08);
  backdrop-filter: blur(18px);
}

:root[data-theme="dark"] .site-header.is-scrolled {
  background: rgba(5, 9, 20, 0.7);
}

.nav {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 12px 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 10px 34px rgba(7, 20, 47, 0.06);
  backdrop-filter: blur(18px);
}

:root[data-theme="dark"] .nav {
  background: rgba(8, 16, 33, 0.62);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(7, 20, 47, 0.12);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: -0.04em;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 760;
  font-size: 0.92rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
  background: rgba(25, 184, 255, 0.08);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle,
.menu-toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover,
.menu-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(25, 184, 255, 0.38);
}

.theme-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  isolation: isolate;
  padding: 128px 0 76px;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 10%, #000 0, transparent 68%);
  opacity: 0.38;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.55;
}

.glow-red {
  width: 360px;
  height: 360px;
  background: rgba(232, 23, 23, 0.22);
  left: -70px;
  top: 110px;
}

.glow-blue {
  width: 420px;
  height: 420px;
  background: rgba(25, 184, 255, 0.2);
  right: -120px;
  top: 110px;
}

.pixel-cloud {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--cyan);
  opacity: 0.7;
  box-shadow:
    20px 20px 0 rgba(25, 184, 255, 0.65),
    44px -5px 0 rgba(25, 184, 255, 0.55),
    64px 26px 0 rgba(19, 116, 255, 0.56),
    96px 0 0 rgba(25, 184, 255, 0.42),
    118px 32px 0 rgba(19, 116, 255, 0.48),
    145px 8px 0 rgba(25, 184, 255, 0.46);
}

.pixel-cloud-one {
  right: 12%;
  top: 150px;
  animation: floatSoft 8s ease-in-out infinite;
}

.pixel-cloud-two {
  left: 7%;
  bottom: 98px;
  opacity: 0.35;
  transform: scale(0.8);
  animation: floatSoft 10s ease-in-out infinite reverse;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 54px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  max-width: 680px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-actions.centered {
  justify-content: center;
}

.microcopy {
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.microcopy.light {
  color: rgba(255, 255, 255, 0.76);
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-pills span,
.mini-badge,
.price-badge,
.tag-row span,
.trust-badges span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.trust-pills span {
  padding: 9px 12px;
  font-size: 0.84rem;
  font-weight: 780;
}

.hero-visual {
  min-height: 470px;
  position: relative;
}

.mockup-stack {
  position: relative;
  height: 540px;
  perspective: 1200px;
}

.browser-card,
.phone-card,
.floating-chip {
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.browser-card {
  position: absolute;
  inset: 34px 18px 72px 0;
  border-radius: 32px;
  overflow: hidden;
  transform: rotateY(-10deg) rotateX(5deg) rotateZ(-1deg);
}

.browser-bar {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

:root[data-theme="dark"] .browser-bar {
  background: rgba(255, 255, 255, 0.035);
}

.browser-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--red);
}

.browser-bar span:nth-child(2) {
  background: var(--warning);
}

.browser-bar span:nth-child(3) {
  background: var(--cyan);
}

.browser-bar p {
  margin-left: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(7, 20, 47, 0.06);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 760;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

:root[data-theme="dark"] .browser-bar p {
  background: rgba(255, 255, 255, 0.06);
}

.preview-body {
  position: relative;
  padding: 24px;
}

.preview-body::before {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 140px;
  height: 140px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(232, 23, 23, 0.13), rgba(25, 184, 255, 0.13));
  filter: blur(4px);
}

.preview-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.preview-brand img {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.preview-brand strong,
.phone-screen strong {
  display: block;
  letter-spacing: -0.035em;
  color: var(--text);
}

.preview-brand small,
.phone-screen small {
  color: var(--muted);
  font-weight: 650;
}

.preview-hero-line {
  position: relative;
  height: 88px;
  margin: 24px 0 18px;
  border-radius: 24px;
  background:
    linear-gradient(90deg, var(--navy), rgba(232, 23, 23, 0.9), var(--cyan)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
  overflow: hidden;
}

.preview-hero-line::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: 18px;
  top: -25px;
  border-radius: 28px;
  transform: rotate(45deg);
  border: 14px solid rgba(255, 255, 255, 0.34);
}

.preview-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.preview-grid span {
  height: 64px;
  border-radius: 18px;
  background: rgba(25, 184, 255, 0.1);
  border: 1px solid var(--line);
}

.preview-products {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.preview-products article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 12px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

:root[data-theme="dark"] .preview-products article {
  background: rgba(255, 255, 255, 0.035);
}

.preview-products article span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(232, 23, 23, 0.9), rgba(25, 184, 255, 0.8));
}

.preview-products b {
  font-size: 0.9rem;
}

.preview-products small {
  color: var(--muted);
  font-size: 0.78rem;
}

.phone-card {
  position: absolute;
  width: 184px;
  height: 330px;
  right: 0;
  bottom: 18px;
  border-radius: 34px;
  padding: 12px;
  transform: rotate(5deg);
  animation: floatSoft 7s ease-in-out infinite;
}

.phone-notch {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 54px;
  height: 7px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: var(--line-strong);
}

.phone-screen {
  height: 100%;
  display: grid;
  align-content: start;
  justify-items: center;
  text-align: center;
  gap: 8px;
  padding: 34px 14px 14px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 25% 20%, rgba(25, 184, 255, 0.18), transparent 7rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.25));
  border: 1px solid var(--line);
}

:root[data-theme="dark"] .phone-screen {
  background:
    radial-gradient(circle at 25% 20%, rgba(25, 184, 255, 0.16), transparent 7rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
}

.avatar-dot {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--red), var(--cyan));
  box-shadow: 0 12px 30px rgba(25, 184, 255, 0.24);
}

.phone-lines {
  width: 100%;
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.phone-lines i {
  height: 10px;
  border-radius: 999px;
  background: rgba(25, 184, 255, 0.15);
}

.phone-lines i:nth-child(2) {
  width: 72%;
  margin-inline: auto;
}

.phone-lines i:nth-child(3) {
  width: 86%;
  margin-inline: auto;
}

.phone-screen button {
  width: 100%;
  margin-top: 12px;
  min-height: 38px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #16a673, #12c782);
  font-weight: 850;
}

.floating-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 850;
  animation: floatSoft 8s ease-in-out infinite;
}

.chip-wa { left: 2px; top: 34px; }
.chip-catalog { right: 22px; top: 0; animation-delay: -1.2s; }
.chip-portfolio { left: 32px; bottom: 58px; animation-delay: -2s; }
.chip-maps { right: 156px; bottom: 0; animation-delay: -3s; }
.chip-testimoni { right: 6px; top: 210px; animation-delay: -2.5s; }
.chip-share { left: 2px; top: 265px; animation-delay: -1.5s; }

/* Statement */
.statement-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 60px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 20, 47, 0.98), rgba(16, 31, 61, 0.96) 45%, rgba(232, 23, 23, 0.86)),
    radial-gradient(circle at 82% 25%, rgba(25, 184, 255, 0.35), transparent 18rem);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.statement-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000, transparent 82%);
}

.statement-card h2 {
  max-width: 850px;
  margin-top: 16px;
}

.statement-card p {
  max-width: 860px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.statement-card .section-kicker {
  color: #fff;
}

.statement-pixels {
  position: absolute;
  right: 52px;
  top: 52px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow:
    24px 20px 0 rgba(25, 184, 255, 0.76),
    48px 0 0 rgba(25, 184, 255, 0.54),
    70px 30px 0 rgba(255, 255, 255, 0.34),
    92px 12px 0 rgba(25, 184, 255, 0.36),
    40px 56px 0 rgba(255, 255, 255, 0.3);
}

/* Problem */
.problem-grid,
.service-grid,
.pricing-grid,
.portfolio-grid,
.process-grid {
  display: grid;
  gap: 18px;
}

.problem-grid {
  grid-template-columns: repeat(3, 1fr);
}

.problem-card {
  position: relative;
  min-height: 160px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.problem-card:hover,
.service-card:hover,
.price-card:hover,
.portfolio-card:hover,
.benefit-card:hover,
.process-step:hover {
  transform: translateY(-5px);
  border-color: rgba(25, 184, 255, 0.36);
  box-shadow: var(--shadow);
}

.problem-card::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -35px;
  width: 110px;
  height: 110px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(232, 23, 23, 0.14), rgba(25, 184, 255, 0.14));
  transform: rotate(20deg);
}

.problem-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--red);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.problem-card p {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-weight: 760;
  line-height: 1.55;
}

/* Solution */
.solution {
  overflow: hidden;
}

.solution-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 58px;
  align-items: center;
}

.solution .section-heading p {
  max-width: 560px;
}

.solution-orbit {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  perspective: 800px;
}

.center-preview {
  position: relative;
  z-index: 2;
  width: min(100%, 320px);
  min-height: 280px;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  gap: 12px;
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 38px;
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow);
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
}

.center-preview:hover {
  box-shadow: 0 30px 90px rgba(7, 20, 47, 0.18);
}

.center-preview::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: 48px;
  background: conic-gradient(from 180deg, rgba(232, 23, 23, 0.28), rgba(25, 184, 255, 0.32), transparent, rgba(232, 23, 23, 0.28));
  filter: blur(18px);
  opacity: 0.8;
  animation: spinGlow 8s linear infinite;
}

.center-preview::after {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  border-radius: 44px;
  background: conic-gradient(from 0deg, rgba(232, 23, 23, 0.4), rgba(25, 184, 255, 0.5), transparent 40%, rgba(232, 23, 23, 0.4));
  animation: spinGlow 6s linear infinite reverse;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.center-preview:hover::after {
  opacity: 0.6;
}

.center-preview img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--line);
}

.center-preview strong {
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.center-preview small {
  max-width: 220px;
  color: var(--muted);
  line-height: 1.6;
}

.feature-cloud {
  position: absolute;
  inset: 0;
}

.feature-cloud li {
  position: absolute;
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  color: var(--muted);
  font-weight: 780;
  font-size: 0.85rem;
  backdrop-filter: blur(12px);
  cursor: default;
  animation: cloudFloat 6s ease-in-out infinite;
  opacity: 0;
  scale: 0;
  transition: scale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              opacity 0.4s ease,
              box-shadow 0.3s ease,
              border-color 0.3s ease,
              color 0.3s ease;
}

/* Entrance: pop-in when parent is revealed */
.reveal.is-visible .feature-cloud li {
  opacity: 1;
  scale: 1;
}

.feature-cloud li:hover {
  box-shadow: var(--shadow);
  border-color: rgba(25, 184, 255, 0.4);
  color: var(--text);
  z-index: 10;
  animation-play-state: paused;
}

/* Position + staggered float delays */
.feature-cloud li:nth-child(1)  { left: 7%; top: 8%; animation-delay: 0s; transition-delay: 0.05s; }
.feature-cloud li:nth-child(2)  { right: 6%; top: 10%; animation-delay: -0.8s; animation-duration: 7s; transition-delay: 0.1s; }
.feature-cloud li:nth-child(3)  { left: 1%; top: 31%; animation-delay: -1.6s; animation-duration: 5.5s; transition-delay: 0.15s; }
.feature-cloud li:nth-child(4)  { right: 3%; top: 33%; animation-delay: -2.4s; animation-duration: 7.5s; transition-delay: 0.2s; }
.feature-cloud li:nth-child(5)  { left: 8%; bottom: 31%; animation-delay: -3.2s; animation-duration: 6.5s; transition-delay: 0.25s; }
.feature-cloud li:nth-child(6)  { right: 9%; bottom: 31%; animation-delay: -4s; animation-duration: 5.8s; transition-delay: 0.3s; }
.feature-cloud li:nth-child(7)  { left: 28%; top: 0; color: #fff; background: linear-gradient(135deg, #16a673, #12c782); animation-delay: -0.5s; animation-duration: 6.2s; transition-delay: 0.0s; box-shadow: 0 8px 30px rgba(22, 166, 115, 0.35); }
.feature-cloud li:nth-child(7):hover { box-shadow: 0 12px 40px rgba(22, 166, 115, 0.5); }
.feature-cloud li:nth-child(8)  { left: 25%; bottom: 1%; animation-delay: -1.2s; transition-delay: 0.35s; }
.feature-cloud li:nth-child(9)  { right: 20%; bottom: 10%; animation-delay: -2s; animation-duration: 7.2s; transition-delay: 0.4s; }
.feature-cloud li:nth-child(10) { left: 4%; bottom: 10%; animation-delay: -2.8s; animation-duration: 5.3s; transition-delay: 0.45s; }
.feature-cloud li:nth-child(11) { right: 4%; bottom: 6%; animation-delay: -3.6s; animation-duration: 6.8s; transition-delay: 0.5s; }
.feature-cloud li:nth-child(12) { left: 37%; top: 92%; animation-delay: -4.4s; animation-duration: 5.6s; transition-delay: 0.55s; }

/* Services */
.services::before,
.portfolio::before,
.faq::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(25, 184, 255, 0.06), transparent);
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.price-card,
.portfolio-card,
.process-step,
.compare-card,
.trust-card,
.benefit-card,
.faq-list details,
.modal-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.service-card::before,
.price-card::before,
.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(232, 23, 23, 0.32), rgba(25, 184, 255, 0.32), transparent 55%);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.service-card:hover::before,
.price-card:hover::before,
.portfolio-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(232, 23, 23, 0.14), rgba(25, 184, 255, 0.14));
  font-size: 1.45rem;
}

.mini-badge {
  padding: 7px 10px;
  font-size: 0.72rem;
  font-weight: 850;
  color: var(--red);
  margin-bottom: 14px;
}

.service-card h3,
.price-card h3,
.portfolio-card h3,
.process-step h3,
.compare-card h3,
.benefit-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.96rem;
}

/* Pricing */
.pricing-grid {
  grid-template-columns: 1.12fr 0.94fr 0.94fr;
  align-items: start;
}

.price-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius-lg);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.price-card.featured {
  background:
    radial-gradient(circle at 100% 0, rgba(25, 184, 255, 0.14), transparent 17rem),
    radial-gradient(circle at 0 0, rgba(232, 23, 23, 0.12), transparent 16rem),
    var(--surface-strong);
  border-color: rgba(232, 23, 23, 0.32);
  box-shadow: var(--shadow-red), var(--shadow);
}

.price-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.price-topline small {
  color: var(--muted-2);
  font-weight: 760;
  text-align: right;
}

.price-badge {
  padding: 8px 11px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  font-size: 0.74rem;
  font-weight: 900;
  border-color: transparent;
}

.price-badge.muted {
  color: var(--text);
  background: rgba(25, 184, 255, 0.11);
  border-color: rgba(25, 184, 255, 0.22);
}

.price-badge.muted-blue {
  color: var(--text);
  background: rgba(19, 116, 255, 0.11);
  border-color: rgba(19, 116, 255, 0.22);
}

.price {
  margin-top: 18px;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.08em;
  font-weight: 950;
  color: var(--text);
}

.price-medium {
  font-size: clamp(1.8rem, 2.7vw, 2.45rem);
  letter-spacing: -0.06em;
}

.quota {
  margin-top: 10px;
  color: var(--red);
  font-weight: 850;
}

.after-price {
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 0.92rem;
}

.price-desc {
  margin-top: 18px;
  font-size: 0.95rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 650;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 19px;
  height: 19px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-size: 0.72rem;
  font-weight: 950;
}

.note {
  margin: -4px 0 22px;
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(232, 23, 23, 0.08);
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 760;
}

/* Benefits */
.benefits {
  overflow: clip;
}

.benefits-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 60px;
  align-items: start;
}

.benefit-left {
  position: sticky;
  top: 116px;
  min-height: 360px;
  display: grid;
  align-content: center;
}

.benefit-left p {
  margin-top: 18px;
  max-width: 460px;
}

.benefit-list {
  display: grid;
  gap: 16px;
}

.benefit-card {
  position: relative;
  overflow: hidden;
  min-height: 140px;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 8px 22px;
  padding: 24px;
  border-radius: 26px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.benefit-card::after {
  content: "";
  position: absolute;
  inset: auto -45px -60px auto;
  width: 160px;
  height: 160px;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(232, 23, 23, 0.1), rgba(25, 184, 255, 0.16));
  transform: rotate(18deg);
}

.benefit-card.is-current {
  border-color: rgba(25, 184, 255, 0.4);
  box-shadow: var(--shadow);
  transform: translateY(-2px) scale(1.01);
}

.benefit-card span {
  grid-row: span 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--red));
  font-weight: 950;
}

.benefit-card p {
  position: relative;
  z-index: 1;
  line-height: 1.62;
}

/* Portfolio */
.portfolio-grid {
  grid-template-columns: repeat(3, 1fr);
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.portfolio-preview {
  position: relative;
  height: 206px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(7, 20, 47, 0.98), rgba(17, 33, 64, 0.92)),
    radial-gradient(circle at 85% 15%, rgba(25, 184, 255, 0.5), transparent 9rem);
}

.portfolio-preview::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.portfolio-preview span {
  position: absolute;
  left: 38px;
  top: 42px;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--red), var(--cyan));
}

.portfolio-preview i,
.portfolio-preview b {
  position: absolute;
  left: 38px;
  right: 38px;
  display: block;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.portfolio-preview i { top: 118px; }
.portfolio-preview b { top: 146px; width: 55%; }

.portfolio-preview::after {
  content: "";
  position: absolute;
  right: 38px;
  bottom: 34px;
  width: 74px;
  height: 36px;
  border-radius: 999px;
  background: rgba(25, 184, 255, 0.8);
}

.portfolio-preview.coffee { background: linear-gradient(145deg, #24160d, #07142f); }
.portfolio-preview.clean { background: linear-gradient(145deg, #081f30, #07142f); }
.portfolio-preview.salon { background: linear-gradient(145deg, #261122, #07142f); }
.portfolio-preview.craft { background: linear-gradient(145deg, #322209, #07142f); }
.portfolio-preview.personal { background: linear-gradient(145deg, #111a35, #07142f); }
.portfolio-preview.company { background: linear-gradient(145deg, #111827, #07142f); }

.portfolio-content {
  padding: 22px;
}

.portfolio-content small {
  color: var(--red);
  font-weight: 850;
}

.portfolio-content h3 {
  margin-top: 8px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0;
}

.tag-row span {
  padding: 7px 9px;
  font-size: 0.74rem;
  font-weight: 800;
}

.demo-btn {
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
  background: rgba(25, 184, 255, 0.1);
  color: var(--text);
  border: 1px solid rgba(25, 184, 255, 0.24);
  font-weight: 850;
  transition: transform 0.2s ease, background 0.2s ease;
}

.demo-btn:hover {
  transform: translateY(-1px);
  background: rgba(25, 184, 255, 0.16);
}

/* Compare */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.compare-card {
  padding: 30px;
  border-radius: var(--radius-lg);
}

.compare-card.before {
  opacity: 0.88;
  background: linear-gradient(180deg, rgba(127, 139, 160, 0.08), var(--surface));
}

.compare-card.after {
  position: relative;
  overflow: hidden;
  border-color: rgba(25, 184, 255, 0.32);
  background:
    radial-gradient(circle at 100% 0, rgba(25, 184, 255, 0.16), transparent 16rem),
    radial-gradient(circle at 0 100%, rgba(232, 23, 23, 0.12), transparent 16rem),
    var(--surface-strong);
}

.compare-card ul {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.compare-card li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
  font-weight: 700;
}

.compare-card li::before {
  position: absolute;
  left: 0;
  top: -2px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 900;
}

.compare-card.before li::before {
  content: "–";
  background: rgba(127, 139, 160, 0.15);
  color: var(--muted);
}

.compare-card.after li::before {
  content: "✓";
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff;
}

/* Process */
.process-grid {
  grid-template-columns: repeat(3, 1fr);
}

.process-step {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.process-step span {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--red));
  font-weight: 950;
}

.process-step p {
  font-size: 0.96rem;
}

.center-micro {
  max-width: 680px;
  margin: 26px auto 0;
  text-align: center;
  font-weight: 760;
  color: var(--text);
}

/* Trust */
.trust-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(25, 184, 255, 0.12), transparent 16rem),
    radial-gradient(circle at 0 100%, rgba(232, 23, 23, 0.1), transparent 16rem),
    var(--surface);
}

.trust-card h2 {
  margin-top: 16px;
}

.trust-card p {
  margin-top: 18px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-badges span {
  padding: 10px 12px;
  color: var(--text);
  font-weight: 780;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 54px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border-radius: 22px;
  overflow: hidden;
}

.faq-list summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  cursor: pointer;
  color: var(--text);
  font-weight: 850;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  transform: translateY(-50%);
  background: rgba(25, 184, 255, 0.12);
  color: var(--cyan);
  font-weight: 950;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 22px 20px;
  margin-top: -4px;
}

/* CTA & Footer */
.cta-card {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(34px, 6vw, 76px) clamp(22px, 5vw, 74px);
  border-radius: 42px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(25, 184, 255, 0.35), transparent 18rem),
    radial-gradient(circle at 15% 85%, rgba(232, 23, 23, 0.32), transparent 18rem),
    linear-gradient(135deg, #07142f, #101f3d 48%, #07142f);
  box-shadow: var(--shadow);
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 74%);
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card .section-kicker {
  color: #fff;
}

.cta-card h2 {
  max-width: 860px;
  margin-top: 16px;
}

.cta-card p {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.76);
}

.pixel-shower {
  position: absolute;
  right: 70px;
  top: 50px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow:
    22px 18px 0 rgba(25, 184, 255, 0.7),
    48px 5px 0 rgba(25, 184, 255, 0.48),
    70px 34px 0 rgba(255, 255, 255, 0.3),
    18px 58px 0 rgba(232, 23, 23, 0.56),
    96px 18px 0 rgba(25, 184, 255, 0.38);
}

.footer {
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.3);
}

:root[data-theme="dark"] .footer {
  background: rgba(5, 9, 20, 0.32);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.9fr;
  gap: 34px;
}

.footer p {
  max-width: 460px;
  margin-top: 18px;
  font-size: 0.96rem;
}

.footer h3 {
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer a:not(.brand) {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
  transition: color 0.2s ease;
}

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

.copyright {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.9rem;
}

.floating-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #16a673, #0ebd7a);
  box-shadow: 0 18px 45px rgba(22, 166, 115, 0.35);
  font-weight: 950;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-wa svg {
  width: 28px;
  height: 28px;
}

.floating-wa:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 22px 55px rgba(22, 166, 115, 0.45);
}

/* WhatsApp icon inside buttons */
.wa-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.62);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  width: min(100%, 520px);
  padding: 28px;
  border-radius: 30px;
  background: var(--surface-strong);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.2s ease;
}

.modal.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  font-size: 1.4rem;
}

.modal-card h2 {
  margin-top: 12px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.modal-card p {
  margin: 14px 0 22px;
}

.modal-preview {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
  height: 178px;
  margin-bottom: 22px;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(7, 20, 47, 0.95), rgba(17, 33, 64, 0.92)),
    radial-gradient(circle at 100% 0, rgba(25, 184, 255, 0.28), transparent 10rem);
}

.modal-preview span {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-preview span:nth-child(1) {
  grid-row: span 2;
  background: linear-gradient(135deg, rgba(232, 23, 23, 0.8), rgba(25, 184, 255, 0.55));
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.68s ease, transform 0.68s ease;
}

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

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

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

@keyframes cloudFloat {
  0%, 100% { translate: 0 0; }
  33% { translate: 3px -8px; }
  66% { translate: -3px -4px; }
}

@keyframes spinGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; filter: blur(18px); }
  50% { opacity: 1; filter: blur(24px); }
}

.phone-card {
  animation-name: phoneFloat;
}

@keyframes phoneFloat {
  0%, 100% { transform: rotate(5deg) translate3d(0, 0, 0); }
  50% { transform: rotate(5deg) translate3d(0, -12px, 0); }
}

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

/* Responsive */
@media (max-width: 1080px) {
  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding: 0 9px;
  }

  .hero-grid,
  .solution-grid,
  .benefits-grid,
  .trust-card,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 118px;
    min-height: auto;
  }

  .hero-copy {
    max-width: 850px;
  }

  .hero-visual {
    min-height: 530px;
  }

  .mockup-stack {
    max-width: 660px;
    margin-inline: auto;
  }

  .benefit-left {
    position: static;
    min-height: auto;
  }

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

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

@media (max-width: 900px) {
  .nav {
    border-radius: 28px;
  }

  .nav-links {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 94px;
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
    transform: translateY(-12px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

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

  .nav-links a {
    min-height: 48px;
    padding: 0 14px;
  }

  .menu-toggle {
    display: inline-flex;
  }

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

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .section-tight {
    padding: 26px 0;
  }

  h1 {
    font-size: clamp(2.34rem, 12vw, 3.55rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.75rem);
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .nav {
    min-height: 62px;
    padding: 8px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .brand-text small {
    display: none;
  }

  .nav-actions .btn-small {
    display: none;
  }

  .hero {
    padding: 106px 0 50px;
  }

  .hero-actions,
  .trust-pills {
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-pills span {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    text-align: center;
  }

  .hero-visual {
    min-height: 430px;
  }

  .mockup-stack {
    height: 430px;
  }

  .browser-card {
    inset: 24px 0 84px 0;
    border-radius: 26px;
    transform: none;
  }

  .browser-bar p {
    max-width: 150px;
  }

  .preview-body {
    padding: 18px;
  }

  .preview-hero-line {
    height: 66px;
    margin: 18px 0 14px;
  }

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

  .preview-grid span {
    height: 48px;
  }

  .preview-products article:nth-child(3) {
    display: none;
  }

  .phone-card {
    width: 146px;
    height: 270px;
    right: 12px;
    bottom: 0;
  }

  .floating-chip {
    padding: 8px 10px;
    font-size: 0.7rem;
  }

  .chip-testimoni,
  .chip-share {
    display: none;
  }

  .chip-maps {
    right: auto;
    left: 15px;
    bottom: 8px;
  }

  .feature-cloud {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-top: 22px;
  }

  .feature-cloud li {
    position: static;
    transform: none !important;
    font-size: 0.8rem;
    animation: none !important;
  }

  .solution-orbit {
    min-height: auto;
  }

  .center-preview {
    min-height: 250px;
  }

  .problem-grid,
  .portfolio-grid,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .problem-card {
    min-height: auto;
  }

  .benefit-card {
    grid-template-columns: 1fr;
  }

  .benefit-card span {
    grid-row: auto;
  }

  .price-card,
  .statement-card,
  .trust-card,
  .cta-card {
    border-radius: 28px;
  }

  .price-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer {
    padding-bottom: 88px;
  }
}

@media (max-width: 420px) {
  .brand-text strong {
    font-size: 0.92rem;
  }

  .theme-toggle,
  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .mockup-stack {
    height: 390px;
  }

  .preview-brand img {
    width: 44px;
    height: 44px;
    border-radius: 15px;
  }

  .preview-products article {
    grid-template-columns: 34px 1fr;
  }

  .preview-products article span {
    width: 34px;
    height: 34px;
  }

  .phone-card {
    width: 132px;
    height: 242px;
  }

  .phone-screen {
    padding-inline: 9px;
  }

  .avatar-dot {
    width: 44px;
    height: 44px;
  }
}
