@import "tailwindcss";

:root {
  --background: #0d2029;
  --foreground: #f6f8f2;
  --surface: rgba(14, 34, 43, 0.9);
  --surface-strong: #122936;
  --surface-deep: #081922;
  --border: rgba(232, 239, 229, 0.16);
  --muted: #a8b2b0;
  --primary: #c8f06e;
  --primary-soft: rgba(200, 240, 110, 0.16);
  --accent: #ff9a35;
  --accent-soft: rgba(255, 154, 53, 0.18);
  --success: #a9c65c;
  --warning: #ffb15f;
  --danger: #ff8b72;
  --danger-soft: rgba(255, 117, 79, 0.16);
  --font-body: Aptos, "Segoe UI Variable Text", "Segoe UI", sans-serif;
  --font-display: "Aptos Display", Aptos, "Segoe UI Variable Display", "Segoe UI", sans-serif;
  --font-code: "Cascadia Mono", Consolas, Monaco, monospace;
  color-scheme: dark;
}

:root[data-theme="homecare"],
:root[data-theme="dark"] {
  --background: #0d2029;
  --foreground: #f6f8f2;
  --surface: rgba(14, 34, 43, 0.9);
  --surface-strong: #122936;
  --surface-deep: #081922;
  --border: rgba(232, 239, 229, 0.16);
  --muted: #a8b2b0;
  --primary: #c8f06e;
  --primary-soft: rgba(200, 240, 110, 0.16);
  --accent: #ff9a35;
  --accent-soft: rgba(255, 154, 53, 0.18);
  --success: #a9c65c;
  --warning: #ffb15f;
  --danger: #ff8b72;
  --danger-soft: rgba(255, 117, 79, 0.16);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --background: #faf8f2;
  --foreground: #1e2723;
  --surface: rgba(255, 254, 249, 0.88);
  --surface-strong: #fffdf7;
  --surface-deep: #24302c;
  --border: rgba(20, 53, 105, 0.16);
  --muted: #65717f;
  --primary: #143569;
  --primary-soft: #dde8f8;
  --accent: #8d704d;
  --accent-soft: #eadfce;
  --success: #476f55;
  --warning: #9a743d;
  --danger: #9d5549;
  --danger-soft: #efddd8;
  color-scheme: light;
}

:root[data-theme="black"] {
  --background: #000000;
  --foreground: #f6f7f2;
  --surface: rgba(5, 5, 5, 0.94);
  --surface-strong: #050505;
  --surface-deep: #000000;
  --border: rgba(246, 247, 242, 0.16);
  --muted: #a8aaa3;
  --primary: #9cab5d;
  --primary-soft: rgba(156, 171, 93, 0.18);
  --accent: #bbc56f;
  --accent-soft: rgba(187, 197, 111, 0.18);
  --success: #a8ba6f;
  --warning: #c9a85d;
  --danger: #f09a8d;
  --danger-soft: rgba(240, 154, 141, 0.16);
  color-scheme: dark;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-surface: var(--surface);
  --color-surface-strong: var(--surface-strong);
  --color-surface-deep: var(--surface-deep);
  --color-border: var(--border);
  --color-muted: var(--muted);
  --color-primary: var(--primary);
  --color-primary-soft: var(--primary-soft);
  --color-accent: var(--accent);
  --color-accent-soft: var(--accent-soft);
  --color-success: var(--success);
  --color-warning: var(--warning);
  --color-danger: var(--danger);
  --color-danger-soft: var(--danger-soft);
  --font-sans: var(--font-body);
  --font-serif: var(--font-display);
  --font-mono: var(--font-code);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-feature-settings: "kern";
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

::selection {
  background: rgba(15, 118, 110, 0.16);
  color: var(--foreground);
}

.card-shell {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow:
    0 24px 80px rgba(0, 9, 20, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}

.care-cockpit {
  background: var(--background);
  border: 1px solid var(--border);
  box-shadow:
    0 28px 90px rgba(0, 12, 22, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.care-icon-core {
  background: var(--surface-strong);
}

.care-dark-card {
  background: rgba(255, 255, 255, 0.055);
}

.care-form-panel {
  background: var(--surface);
}

.care-field {
  background: var(--surface-deep);
}

.care-plus-button {
  background: rgba(255, 255, 255, 0.76);
  color: #0d2029;
}

.care-date-link {
  width: auto !important;
  margin-left: auto;
  padding: 0 !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #f6f8f2 !important;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.care-date-link:hover,
.care-date-link:focus-visible {
  background: transparent !important;
  color: #fffdf7 !important;
}

.care-date-link svg {
  display: none;
}

.themed-date-control {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.themed-date-backdrop {
  background: rgba(8, 20, 28, 0.34);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.themed-date-panel {
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
  backdrop-filter: blur(24px) saturate(1.35);
  animation: themed-date-panel-in 170ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (max-width: 639px) {
  .themed-date-panel {
    position: fixed;
    inset-inline: max(0.75rem, env(safe-area-inset-left))
      max(0.75rem, env(safe-area-inset-right));
    top: auto;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    margin-top: 0;
    max-height: min(34rem, calc(100dvh - 1.5rem));
    overflow-y: auto;
    border-radius: 1.85rem;
    padding-bottom: max(0.85rem, env(safe-area-inset-bottom));
    transform-origin: bottom center;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  }

  .themed-date-day {
    min-height: 2.75rem;
  }
}

@supports (-webkit-touch-callout: none) {
  .themed-date-panel {
    -webkit-font-smoothing: antialiased;
  }

  .themed-date-day {
    min-height: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .themed-date-panel {
    animation: none;
  }
}

@keyframes themed-date-panel-in {
  from {
    opacity: 0;
    transform: translateY(0.5rem) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dashboard-compact-type {
  font-size: 0.92rem;
}

.dashboard-compact-type .text-\[10px\] {
  font-size: 0.5625rem;
  line-height: 0.85rem;
}

.dashboard-compact-type .text-\[11px\] {
  font-size: 0.625rem;
  line-height: 0.95rem;
}

.dashboard-compact-type .text-xs {
  font-size: 0.6875rem;
  line-height: 0.95rem;
}

.dashboard-compact-type .text-sm {
  font-size: 0.78rem;
  line-height: 1.18rem;
}

.dashboard-compact-type .text-base {
  font-size: 0.9rem;
  line-height: 1.35rem;
}

.dashboard-compact-type .text-lg {
  font-size: 1rem;
  line-height: 1.45rem;
}

.dashboard-compact-type .text-xl {
  font-size: 1.1rem;
  line-height: 1.5rem;
}

.dashboard-compact-type .text-2xl {
  font-size: 1.32rem;
  line-height: 1.75rem;
}

.dashboard-compact-type .text-3xl {
  font-size: 1.62rem;
  line-height: 1.95rem;
}

.dashboard-compact-type .text-4xl {
  font-size: 1.95rem;
  line-height: 2.25rem;
}

.dashboard-compact-type .text-5xl {
  font-size: 2.25rem;
  line-height: 1;
}

.dashboard-compact-type .text-6xl {
  font-size: 2.75rem;
  line-height: 1;
}

.dashboard-compact-type .text-7xl {
  font-size: 3.25rem;
  line-height: 1;
}

@media (min-width: 40rem) {
  .dashboard-compact-type .sm\:text-sm {
    font-size: 0.78rem;
    line-height: 1.18rem;
  }

  .dashboard-compact-type .sm\:text-base {
    font-size: 0.9rem;
    line-height: 1.35rem;
  }

  .dashboard-compact-type .sm\:text-lg {
    font-size: 1rem;
    line-height: 1.45rem;
  }

  .dashboard-compact-type .sm\:text-xl {
    font-size: 1.1rem;
    line-height: 1.5rem;
  }

  .dashboard-compact-type .sm\:text-2xl {
    font-size: 1.32rem;
    line-height: 1.75rem;
  }

  .dashboard-compact-type .sm\:text-3xl {
    font-size: 1.62rem;
    line-height: 1.95rem;
  }
}

@media (min-width: 48rem) {
  .dashboard-compact-type .md\:text-sm {
    font-size: 0.78rem;
    line-height: 1.18rem;
  }

  .dashboard-compact-type .md\:text-base {
    font-size: 0.9rem;
    line-height: 1.35rem;
  }

  .dashboard-compact-type .md\:text-lg {
    font-size: 1rem;
    line-height: 1.45rem;
  }

  .dashboard-compact-type .md\:text-xl {
    font-size: 1.1rem;
    line-height: 1.5rem;
  }

  .dashboard-compact-type .md\:text-2xl {
    font-size: 1.32rem;
    line-height: 1.75rem;
  }

  .dashboard-compact-type .md\:text-3xl {
    font-size: 1.62rem;
    line-height: 1.95rem;
  }

  .dashboard-compact-type .md\:text-4xl {
    font-size: 1.95rem;
    line-height: 2.25rem;
  }

  .dashboard-compact-type .md\:text-5xl {
    font-size: 2.25rem;
    line-height: 1;
  }
}

@media (min-width: 64rem) {
  .dashboard-compact-type .lg\:text-lg {
    font-size: 1rem;
    line-height: 1.45rem;
  }

  .dashboard-compact-type .lg\:text-xl {
    font-size: 1.1rem;
    line-height: 1.5rem;
  }

  .dashboard-compact-type .lg\:text-2xl {
    font-size: 1.32rem;
    line-height: 1.75rem;
  }

  .dashboard-compact-type .lg\:text-3xl {
    font-size: 1.62rem;
    line-height: 1.95rem;
  }

  .dashboard-compact-type .lg\:text-4xl {
    font-size: 1.95rem;
    line-height: 2.25rem;
  }

  .dashboard-compact-type .lg\:text-5xl {
    font-size: 2.25rem;
    line-height: 1;
  }
}

:root[data-theme="light"] .card-shell {
  box-shadow:
    0 18px 46px rgba(37, 44, 38, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

:root[data-theme="light"] .care-cockpit {
  background: var(--background);
  border: 1px solid var(--border);
  color: var(--foreground);
  box-shadow:
    0 18px 52px rgba(37, 44, 38, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

:root[data-theme="light"] .care-icon-core {
  background: var(--surface-strong);
  color: var(--foreground);
}

:root[data-theme="light"] .care-dark-card {
  background: rgba(255, 254, 249, 0.78);
}

:root[data-theme="light"] .care-form-panel {
  background: rgba(255, 254, 249, 0.84);
}

:root[data-theme="light"] .care-field {
  background: var(--surface-strong);
  color: var(--foreground);
}

:root[data-theme="light"] .care-plus-button {
  background: var(--primary);
  color: #fffdf7;
}

:root[data-theme="light"] .care-ambient-blue,
:root[data-theme="light"] .care-ambient-green {
  display: none;
}

:root[data-theme="light"] .care-cockpit .text-white {
  color: var(--foreground);
}

:root[data-theme="light"] .care-cockpit .text-white\/42,
:root[data-theme="light"] .care-cockpit .text-white\/45,
:root[data-theme="light"] .care-cockpit .text-white\/48,
:root[data-theme="light"] .care-cockpit .text-white\/50,
:root[data-theme="light"] .care-cockpit .text-white\/55,
:root[data-theme="light"] .care-cockpit .text-white\/56,
:root[data-theme="light"] .care-cockpit .text-white\/58,
:root[data-theme="light"] .care-cockpit .text-white\/62,
:root[data-theme="light"] .care-cockpit .text-white\/65,
:root[data-theme="light"] .care-cockpit .text-white\/66,
:root[data-theme="light"] .care-cockpit .text-white\/70,
:root[data-theme="light"] .care-cockpit .text-white\/72,
:root[data-theme="light"] .care-cockpit .text-white\/78,
:root[data-theme="light"] .care-cockpit .text-white\/80 {
  color: var(--muted);
}

:root[data-theme="light"] .care-cockpit .text-\[\#c8f06e\] {
  color: var(--primary);
}

:root[data-theme="light"] .care-cockpit .text-\[\#0d2029\] {
  color: #fffdf7;
}

:root[data-theme="light"] .care-cockpit .bg-\[\#c8f06e\] {
  background-color: var(--primary);
}

:root[data-theme="light"] .care-cockpit [class*="bg-white/"] {
  background-color: rgba(255, 254, 249, 0.76);
}

:root[data-theme="light"] .care-cockpit [class*="border-white/"] {
  border-color: var(--border);
}

:root[data-theme="light"] .care-field::placeholder {
  color: rgba(104, 116, 111, 0.58);
}

:root[data-theme="light"] .care-cockpit .hover\:bg-\[\#c8f06e\]:hover {
  background-color: var(--primary);
}

:root[data-theme="light"] .care-cockpit .hover\:text-\[\#c8f06e\]:hover {
  color: var(--primary);
}

:root[data-theme="homecare"] .card-shell,
:root[data-theme="dark"] .card-shell {
  box-shadow:
    0 24px 80px rgba(0, 9, 20, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

:root[data-theme="black"] .card-shell {
  background: rgba(5, 5, 5, 0.94);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.68),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

:root[data-theme="black"] .care-cockpit,
:root[data-theme="black"] .care-icon-core,
:root[data-theme="black"] .care-dark-card,
:root[data-theme="black"] .care-form-panel,
:root[data-theme="black"] .care-field {
  background: #000000;
}

:root[data-theme="black"] .care-cockpit {
  border: 1px solid var(--border);
  box-shadow:
    0 24px 90px rgba(0, 0, 0, 0.88),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

:root[data-theme="black"] .care-dark-card,
:root[data-theme="black"] .care-form-panel,
:root[data-theme="black"] .care-field {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

:root[data-theme="black"] .care-ambient-blue {
  display: none;
}

:root[data-theme="black"] .care-plus-button {
  background: rgba(246, 247, 242, 0.82);
  color: #000000;
}

:root:not([data-theme="light"]):not([data-theme="black"]) .bg-white,
:root:not([data-theme="light"]):not([data-theme="black"]) .bg-white\/58,
:root:not([data-theme="light"]):not([data-theme="black"]) .bg-white\/60,
:root:not([data-theme="light"]):not([data-theme="black"]) .bg-white\/68,
:root:not([data-theme="light"]):not([data-theme="black"]) .bg-white\/70,
:root:not([data-theme="light"]):not([data-theme="black"]) .bg-white\/72,
:root:not([data-theme="light"]):not([data-theme="black"]) .bg-white\/78,
:root:not([data-theme="light"]):not([data-theme="black"]) .bg-white\/88,
:root:not([data-theme="light"]):not([data-theme="black"]) .bg-white\/95,
:root[data-theme="homecare"] .bg-white,
:root[data-theme="homecare"] .bg-white\/58,
:root[data-theme="homecare"] .bg-white\/60,
:root[data-theme="homecare"] .bg-white\/68,
:root[data-theme="homecare"] .bg-white\/70,
:root[data-theme="homecare"] .bg-white\/72,
:root[data-theme="homecare"] .bg-white\/78,
:root[data-theme="homecare"] .bg-white\/88,
:root[data-theme="homecare"] .bg-white\/95,
:root[data-theme="dark"] .bg-white,
:root[data-theme="dark"] .bg-white\/58,
:root[data-theme="dark"] .bg-white\/60,
:root[data-theme="dark"] .bg-white\/68,
:root[data-theme="dark"] .bg-white\/70,
:root[data-theme="dark"] .bg-white\/72,
:root[data-theme="dark"] .bg-white\/78,
:root[data-theme="dark"] .bg-white\/88,
:root[data-theme="dark"] .bg-white\/95 {
  background-color: rgba(8, 22, 36, 0.86);
}

:root[data-theme="black"] .bg-white,
:root[data-theme="black"] .bg-white\/58,
:root[data-theme="black"] .bg-white\/60,
:root[data-theme="black"] .bg-white\/68,
:root[data-theme="black"] .bg-white\/70,
:root[data-theme="black"] .bg-white\/72,
:root[data-theme="black"] .bg-white\/78,
:root[data-theme="black"] .bg-white\/88,
:root[data-theme="black"] .bg-white\/95 {
  background-color: rgba(5, 5, 5, 0.9);
}

:root:not([data-theme="light"]):not([data-theme="black"]) .bg-black\/5,
:root:not([data-theme="light"]):not([data-theme="black"]) .bg-black\/6,
:root[data-theme="homecare"] .bg-black\/5,
:root[data-theme="homecare"] .bg-black\/6,
:root[data-theme="dark"] .bg-black\/5,
:root[data-theme="dark"] .bg-black\/6 {
  background-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="black"] .bg-black\/5,
:root[data-theme="black"] .bg-black\/6 {
  background-color: rgba(255, 255, 255, 0.08);
}

:root:not([data-theme="light"]) .text-surface-deep,
:root:not([data-theme="light"]) .text-\[\#28322c\] {
  color: var(--foreground);
}

:root:not([data-theme="light"]):not([data-theme="black"]) .border-white\/15,
:root:not([data-theme="light"]):not([data-theme="black"]) .border-white\/20,
:root:not([data-theme="light"]):not([data-theme="black"]) .border-white\/60,
:root:not([data-theme="light"]):not([data-theme="black"]) .border-white\/70,
:root[data-theme="homecare"] .border-white\/15,
:root[data-theme="homecare"] .border-white\/20,
:root[data-theme="homecare"] .border-white\/60,
:root[data-theme="homecare"] .border-white\/70,
:root[data-theme="dark"] .border-white\/15,
:root[data-theme="dark"] .border-white\/20,
:root[data-theme="dark"] .border-white\/60,
:root[data-theme="dark"] .border-white\/70 {
  border-color: rgba(216, 226, 232, 0.16);
}

:root[data-theme="black"] .border-white\/15,
:root[data-theme="black"] .border-white\/20,
:root[data-theme="black"] .border-white\/60,
:root[data-theme="black"] .border-white\/70 {
  border-color: rgba(246, 247, 242, 0.16);
}

:root:not([data-theme="light"]) input,
:root:not([data-theme="light"]) select,
:root:not([data-theme="light"]) textarea,
:root[data-theme="homecare"] input,
:root[data-theme="homecare"] select,
:root[data-theme="homecare"] textarea,
:root[data-theme="dark"] input,
:root[data-theme="dark"] select,
:root[data-theme="dark"] textarea {
  color-scheme: dark;
}

:root[data-theme="black"] input,
:root[data-theme="black"] select,
:root[data-theme="black"] textarea {
  color-scheme: dark;
}

:root:not([data-theme="light"]):not([data-theme="black"]) iframe,
:root[data-theme="homecare"] iframe,
:root[data-theme="dark"] iframe {
  filter: saturate(0.88) brightness(0.86);
}

:root[data-theme="black"] iframe {
  filter: grayscale(0.12) saturate(0.8) brightness(0.74);
}

.display-title {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

.marketing-page {
  position: relative;
  isolation: isolate;
}

.marketing-page::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 12% 8%, rgba(216, 197, 166, 0.42), transparent 30%),
    radial-gradient(circle at 86% 28%, rgba(20, 53, 105, 0.1), transparent 34%),
    linear-gradient(180deg, #f7f1e7 0%, #f9f4eb 48%, #efe5d6 100%);
}

.marketing-orb {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.72;
  animation: marketing-drift 12s ease-in-out infinite alternate;
}

.marketing-orb-one {
  top: 7%;
  right: 6%;
  width: 14rem;
  height: 14rem;
  background: rgba(216, 197, 166, 0.5);
}

.marketing-orb-two {
  bottom: 7%;
  left: -4rem;
  width: 18rem;
  height: 18rem;
  background: rgba(20, 53, 105, 0.08);
  animation-delay: -5s;
}

[data-reveal] {
  --marketing-reveal-x: 0;
  --marketing-reveal-y: 34px;
  --marketing-reveal-scale: 0.96;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  transition:
    opacity 760ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 760ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
  will-change: opacity, transform;
}

[data-reveal="left"] {
  --marketing-reveal-x: -36px;
  --marketing-reveal-y: 18px;
}

[data-reveal="right"] {
  --marketing-reveal-x: 36px;
  --marketing-reveal-y: 18px;
}

[data-reveal="zoom"] {
  --marketing-reveal-x: 0;
  --marketing-reveal-y: 16px;
  --marketing-reveal-scale: 0.9;
}

[data-reveal-visible="true"] {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@supports (animation-timeline: view()) {
  [data-reveal] {
    opacity: 0;
    transform: translate3d(
        var(--marketing-reveal-x),
        var(--marketing-reveal-y),
        0
      )
      scale(var(--marketing-reveal-scale));
    filter: blur(18px);
    animation: marketing-scroll-reveal cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-range: entry 4% cover 38%;
    animation-timeline: view();
  }

  .marketing-feature-card {
    animation-range: entry 6% cover 34%;
  }

  .marketing-showcase-card {
    animation-range: entry 12% cover 42%;
  }

  .marketing-cta {
    animation-range: entry 12% cover 46%;
  }
}

.marketing-hero-card {
  transform-origin: center;
  animation: marketing-float 6.5s ease-in-out infinite;
}

.marketing-sticky-showcase {
  position: relative;
}

.marketing-product-stage {
  position: relative;
  min-height: 32rem;
  padding: 1.25rem;
}

.marketing-stage-glow {
  position: absolute;
  inset: 10% 8%;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 36% 32%, rgba(216, 197, 166, 0.72), transparent 34%),
    radial-gradient(circle at 68% 58%, rgba(20, 53, 105, 0.24), transparent 38%);
  filter: blur(22px);
  animation: marketing-pulse-glow 7s ease-in-out infinite;
}

.marketing-device-shell {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(20, 53, 105, 0.16);
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(249, 244, 235, 0.72)),
    #f9f4eb;
  box-shadow:
    0 34px 90px rgba(16, 35, 63, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

.marketing-device-shell::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.52) 42%,
    transparent 58%
  );
  transform: translateX(-120%);
  animation: marketing-sheen 6.5s ease-in-out infinite;
}

.marketing-metric-tile {
  position: relative;
  overflow: hidden;
}

.marketing-metric-tile::before {
  position: absolute;
  inset: auto 1rem 0.65rem 1rem;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(20, 53, 105, 0.24), transparent);
  animation: marketing-meter-scan 3.8s ease-in-out infinite;
}

.marketing-feed-row {
  position: relative;
  overflow: hidden;
}

.marketing-feed-row::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(20, 53, 105, 0.07), transparent);
  transform: translateX(-100%);
  animation: marketing-feed-sweep 5.2s ease-in-out infinite;
}

.marketing-float-chip {
  position: absolute;
  z-index: 4;
  max-width: 12rem;
  border: 1px solid rgba(20, 53, 105, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(16, 35, 63, 0.14);
  color: #143569;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.7rem 0.95rem;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
  animation: marketing-chip-float 5.5s ease-in-out infinite;
}

.marketing-float-chip-one {
  top: 1.4rem;
  right: 0.3rem;
}

.marketing-float-chip-two {
  bottom: 5.3rem;
  left: 0;
  animation-delay: -2s;
}

.marketing-float-chip-three {
  right: 1rem;
  bottom: 0.6rem;
  animation-delay: -3.4s;
}

.marketing-client-card,
.marketing-proof-metric {
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.marketing-client-card:hover,
.marketing-proof-metric:hover {
  transform: translateY(-5px);
  border-color: rgba(20, 53, 105, 0.34);
  box-shadow: 0 24px 54px rgba(16, 35, 63, 0.12);
}

.marketing-proof-metric {
  position: relative;
  overflow: hidden;
}

.marketing-proof-metric::after {
  position: absolute;
  inset: -40% auto auto -30%;
  width: 13rem;
  height: 13rem;
  content: "";
  border-radius: 999px;
  background: rgba(216, 197, 166, 0.2);
}

.marketing-sticky-showcase::before {
  position: absolute;
  inset: 7rem auto auto 50%;
  z-index: -1;
  width: min(34rem, 70vw);
  height: min(34rem, 70vw);
  content: "";
  background: radial-gradient(circle, rgba(20, 53, 105, 0.12), transparent 66%);
  transform: translateX(-50%);
}

.marketing-mini-card,
.marketing-feature-card,
.marketing-workflow-row,
.marketing-journey-card,
.marketing-pricing-card,
.marketing-showcase-card,
.marketing-client-card,
.marketing-proof-metric {
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.marketing-mini-card:hover,
.marketing-feature-card:hover,
.marketing-workflow-row:hover,
.marketing-journey-card:hover,
.marketing-pricing-card:hover,
.marketing-showcase-card:hover,
.marketing-client-card:hover,
.marketing-proof-metric:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 53, 105, 0.34);
  box-shadow: 0 22px 48px rgba(16, 35, 63, 0.11);
}

.marketing-flow-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(249, 244, 235, 0.58)),
    repeating-linear-gradient(
      90deg,
      rgba(20, 53, 105, 0.035) 0,
      rgba(20, 53, 105, 0.035) 1px,
      transparent 1px,
      transparent 42px
    );
}

.marketing-cta {
  background:
    linear-gradient(135deg, #143569 0%, #10233f 72%),
    #143569;
}

@keyframes marketing-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-0.4deg);
  }
  50% {
    transform: translate3d(0, -10px, 0) rotate(0.35deg);
  }
}

@keyframes marketing-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(18px, -16px, 0) scale(1.06);
  }
}

@keyframes marketing-pulse-glow {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes marketing-sheen {
  0%,
  48% {
    transform: translateX(-120%);
  }
  72%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes marketing-meter-scan {
  0%,
  100% {
    transform: translateX(-55%);
    opacity: 0.35;
  }
  50% {
    transform: translateX(55%);
    opacity: 1;
  }
}

@keyframes marketing-feed-sweep {
  0%,
  42% {
    transform: translateX(-100%);
  }
  76%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes marketing-chip-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-0.6deg);
  }
  50% {
    transform: translate3d(0, -10px, 0) rotate(0.7deg);
  }
}

@keyframes marketing-scroll-reveal {
  0% {
    opacity: 0;
    filter: blur(18px);
    transform: translate3d(
        var(--marketing-reveal-x),
        var(--marketing-reveal-y),
        0
      )
      scale(var(--marketing-reveal-scale));
  }
  68% {
    opacity: 1;
    filter: blur(0);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal="left"],
  [data-reveal="right"],
  [data-reveal="zoom"] {
    opacity: 1;
    animation: none;
    filter: none;
    transform: none;
    transition: none;
  }

  .marketing-hero-card,
  .marketing-orb,
  .marketing-stage-glow,
  .marketing-device-shell::after,
  .marketing-metric-tile::before,
  .marketing-feed-row::before,
  .marketing-float-chip {
    animation: none;
  }
}
