/* ==========================================================================
   Alak Smart Security — Design System
   Dark theme · Magenta accents · Premium · Ajax-inspired
   ========================================================================== */

:root {
  /* Core palette */
  --bg-deep: #07070a;
  --bg-base: #0c0c10;
  --bg-elevated: #121218;
  --bg-card: #16161e;
  --bg-card-hover: #1c1c26;
  --bg-surface: #1a1a24;

  /* Brand accent (from logo) — use sparingly */
  --magenta: #ec268f;
  --magenta-bright: #f04a9f;
  --magenta-soft: #f06aad;
  --magenta-glow: rgba(236, 38, 143, 0.28);
  --magenta-muted: rgba(236, 38, 143, 0.12);
  --magenta-border: rgba(236, 38, 143, 0.35);
  --accent: var(--magenta);
  --accent-soft: var(--magenta-soft);

  /* Neutrals */
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1b0;
  --text-muted: #6b6b7b;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --white: #ffffff;

  /* Semantic */
  --success: #22c55e;
  --warning: #f59e0b;
  --info: #3b82f6;

  /* Typography
     Outfit     — clean modern UI body
     Space Grotesk — futuristic geometric headings
     Syne       — elegant display for hero titles
  */
  --font-sans: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Outfit", system-ui, sans-serif;
  --font-hero: "Syne", "Space Grotesk", system-ui, sans-serif;

  /* Spacing & layout */
  --container: 1200px;
  --container-wide: 1400px;
  --header-h: 96px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
  --shadow-magenta: 0 8px 40px var(--magenta-glow);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.25s;
}

/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-deep);
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--magenta-soft);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: var(--container-wide);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.h1, .hero-title {
  font-family: var(--font-hero);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lead {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--magenta-soft);
  margin-bottom: 12px;
}

.section-label::before {
  content: "";
  width: 28px;
  height: 14px;
  background: url("../images/logo-curve.svg") center / contain no-repeat;
  opacity: 0.9;
  flex-shrink: 0;
}

.text-gradient {
  color: var(--text-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  border: 1.5px solid transparent;
  line-height: 1.2;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--magenta) 0%, #c41d78 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 20px var(--magenta-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--magenta-bright) 0%, var(--magenta) 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 8px 32px var(--magenta-glow);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--magenta-border);
  color: var(--magenta-soft);
  background: var(--magenta-muted);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--magenta-muted);
  border-color: var(--magenta-border);
  color: var(--magenta-soft);
}

.btn-outline-magenta {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-outline-magenta:hover {
  background: var(--magenta-muted);
  border-color: var(--magenta);
  color: var(--magenta-soft);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* Header / Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(7, 7, 10, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(7, 7, 10, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  z-index: 10;
}

.logo-img {
  height: 88px;
  width: auto;
  display: block;
  transition: transform var(--duration) var(--ease), filter var(--duration) var(--ease);
}

.logo:hover .logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 18px rgba(236, 38, 143, 0.5));
}

.site-footer .logo-img {
  height: 80px;
}

/* Brand curve motif (from logo feather) */
.brand-curve {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background: url("../images/logo-curve.svg") center / contain no-repeat;
  opacity: 0.14;
}

.brand-curve--hero {
  right: -8%;
  top: 8%;
  width: min(58vw, 720px);
  height: min(50vw, 620px);
  opacity: 0.16;
  transform: rotate(-6deg);
}

.brand-curve--hero-soft {
  left: -12%;
  bottom: 5%;
  width: min(42vw, 480px);
  height: min(36vw, 400px);
  opacity: 0.07;
  transform: scaleX(-1) rotate(12deg);
}

.brand-curve--page {
  right: -6%;
  top: 20%;
  width: min(40vw, 420px);
  height: min(34vw, 360px);
  opacity: 0.1;
  transform: rotate(-10deg);
}

.brand-curve--cta {
  left: 50%;
  top: 50%;
  width: min(70vw, 700px);
  height: min(50vw, 420px);
  opacity: 0.12;
  transform: translate(-50%, -50%) rotate(-4deg);
}

.brand-curve--footer {
  right: 4%;
  bottom: 10%;
  width: 220px;
  height: 180px;
  opacity: 0.08;
  transform: rotate(8deg);
}

.brand-curve--watermark {
  right: -4%;
  top: 50%;
  width: min(38vw, 380px);
  height: min(32vw, 320px);
  opacity: 0.06;
  transform: translateY(-50%) rotate(-14deg);
}

.logo-mark,
.logo-text {
  display: none;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-desktop > a,
.nav-dropdown-trigger {
  position: relative;
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
}

.nav-desktop > a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1.5px;
  border-radius: 1px;
  background: var(--magenta);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}

.nav-desktop > a:hover::after,
.nav-desktop > a.active::after {
  transform: scaleX(1);
}

.nav-desktop > a:hover,
.nav-desktop > a.active,
.nav-dropdown-trigger:hover,
.nav-dropdown.open .nav-dropdown-trigger {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.nav-desktop > a:hover {
  color: var(--magenta-soft);
}

.nav-desktop > a.active {
  color: var(--magenta-soft);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-dropdown-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform var(--duration) var(--ease);
}

.nav-dropdown.open .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--duration) var(--ease);
  box-shadow: var(--shadow-md);
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
}

.nav-dropdown-menu a:hover {
  background: var(--magenta-muted);
  color: var(--magenta-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  z-index: 10;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
  transition: background 0.2s;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.menu-toggle.active span {
  background: transparent;
}

.menu-toggle.active span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.active span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: var(--bg-deep);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  transition: opacity 0.35s var(--ease), visibility 0.35s, transform 0.35s var(--ease);
}

.nav-mobile.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.nav-mobile.open a {
  animation: nav-link-in 0.4s var(--ease) both;
}

.nav-mobile.open a:nth-child(1) { animation-delay: 0.04s; }
.nav-mobile.open a:nth-child(2) { animation-delay: 0.08s; }
.nav-mobile.open a:nth-child(3) { animation-delay: 0.12s; }
.nav-mobile.open a:nth-child(4) { animation-delay: 0.16s; }
.nav-mobile.open a:nth-child(5) { animation-delay: 0.2s; }
.nav-mobile.open a:nth-child(6) { animation-delay: 0.24s; }
.nav-mobile.open a:nth-child(7) { animation-delay: 0.28s; }
.nav-mobile.open .nav-mobile-actions { animation: nav-link-in 0.4s 0.32s var(--ease) both; }

@keyframes nav-link-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.nav-mobile a {
  display: block;
  padding: 14px 16px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--magenta-soft);
  background: var(--magenta-muted);
}

.nav-mobile-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.floating-cta .btn {
  box-shadow: 0 4px 20px var(--magenta-glow);
  animation: none;
}

.floating-cta .btn:hover {
  background: linear-gradient(135deg, var(--magenta-bright) 0%, var(--magenta) 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 10px 36px var(--magenta-glow);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 72% 38%, rgba(236, 38, 143, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 15% 75%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
    var(--bg-deep);
  z-index: 0;
}

.hero-bg .brand-curve {
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 8px var(--magenta);
  animation: blink 2.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  margin-bottom: 20px;
}

.hero-title em {
  font-style: normal;
  font-weight: 700;
  color: var(--magenta-soft);
}

.hero-lead {
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.stat {
  border-left: 2px solid var(--magenta);
  padding-left: 16px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Premium product showcase carousel */
.hero-showcase {
  width: 100%;
  position: relative;
  user-select: none;
  touch-action: pan-y;
  padding: 8px 0 0;
}

.hero-showcase-ambient {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 120%;
  height: 70%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse 55% 45% at 50% 50%, rgba(236, 38, 143, 0.16) 0%, transparent 70%),
    radial-gradient(ellipse 70% 55% at 50% 60%, rgba(255, 255, 255, 0.04) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-showcase-ring {
  position: absolute;
  left: 50%;
  top: 44%;
  width: min(78%, 340px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 0 60px rgba(236, 38, 143, 0.06),
    0 0 80px rgba(236, 38, 143, 0.08);
  pointer-events: none;
  z-index: 0;
}

.hero-showcase-stage {
  position: relative;
  height: 400px;
  z-index: 2;
  perspective: 1400px;
  perspective-origin: 50% 40%;
}

.hero-carousel-card {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(58%, 280px);
  aspect-ratio: 1;
  margin: 0;
  padding: 28px;
  border: none;
  border-radius: 28px;
  background: transparent;
  cursor: pointer;
  transform-style: preserve-3d;
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.55s var(--ease),
    filter 0.55s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.hero-carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transition: filter 0.55s var(--ease), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.55));
}

/* Center — hero product */
.hero-carousel-card[data-pos="center"] {
  z-index: 5;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) translateZ(0);
  animation: hero-float 6s ease-in-out infinite;
}

.hero-carousel-card[data-pos="center"] img {
  filter:
    drop-shadow(0 32px 48px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 32px rgba(236, 38, 143, 0.18));
}

/* Side products — soft, premium depth (subtle, not cartoon 3D) */
.hero-carousel-card[data-pos="left"] {
  z-index: 3;
  opacity: 0.38;
  filter: saturate(0.75) brightness(0.85);
  transform: translate(-112%, -48%) scale(0.68) translateZ(-40px);
}

.hero-carousel-card[data-pos="right"] {
  z-index: 3;
  opacity: 0.38;
  filter: saturate(0.75) brightness(0.85);
  transform: translate(12%, -48%) scale(0.68) translateZ(-40px);
}

.hero-carousel-card[data-pos="left"]:hover,
.hero-carousel-card[data-pos="right"]:hover {
  opacity: 0.55;
  filter: saturate(0.9) brightness(0.95);
}

.hero-carousel-card[data-pos="hidden"] {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.55) translateZ(-100px);
}

@keyframes hero-float {
  0%, 100% { transform: translate(-50%, -50%) scale(1) translateY(0); }
  50% { transform: translate(-50%, -50%) scale(1) translateY(-8px); }
}

/* Pedestal / ground plane */
.hero-showcase-pedestal {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: min(70%, 300px);
  height: 28px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(236, 38, 143, 0.2) 0%, rgba(0, 0, 0, 0.5) 45%, transparent 70%);
  filter: blur(2px);
  z-index: 1;
  pointer-events: none;
}

.hero-showcase-reflection {
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 80%;
  height: 48px;
  transform: translateX(-50%);
  background: linear-gradient(to top, rgba(236, 38, 143, 0.08), transparent);
  border-radius: 50%;
  opacity: 0.6;
}

/* Side nav — glass, minimal */
.hero-showcase-nav {
  position: absolute;
  top: 38%;
  z-index: 8;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 12, 16, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  opacity: 0.7;
}

.hero-showcase-nav:hover {
  opacity: 1;
  color: #fff;
  border-color: rgba(236, 38, 143, 0.45);
  background: rgba(236, 38, 143, 0.15);
  box-shadow: 0 0 24px rgba(236, 38, 143, 0.2);
}

.hero-showcase-nav svg {
  width: 18px;
  height: 18px;
}

.hero-showcase-nav--prev {
  left: 0;
}

.hero-showcase-nav--next {
  right: 0;
}

/* Meta under product — clean premium type */
.hero-showcase-meta {
  position: relative;
  z-index: 6;
  text-align: center;
  margin-top: 4px;
  min-height: 72px;
}

.hero-showcase-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 4px;
  transition: opacity 0.3s ease;
}

.hero-showcase-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}

.hero-carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.hero-carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: all 0.35s var(--ease);
}

.hero-carousel-dot.is-active {
  width: 28px;
  border-radius: 3px;
  background: var(--magenta);
  box-shadow: 0 0 12px rgba(236, 38, 143, 0.45);
}

.hero-carousel-dot:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.4);
}

/* Legacy frame kept for other pages if needed */
.hero-image-frame {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(255, 255, 255, 0.04) 0%, transparent 60%),
    linear-gradient(180deg, #121218 0%, #0a0a0e 100%);
  color: var(--text-muted);
  text-align: center;
  padding: 24px;
  min-height: 200px;
}

.placeholder-img svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
  color: var(--text-secondary);
}

.placeholder-img .ph-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  max-width: 240px;
}

.placeholder-img .ph-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 280px;
}

.hero-float-card {
  position: absolute;
  background: rgba(22, 22, 30, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
}

.hero-float-card.card-1 {
  bottom: 12%;
  left: -24px;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  top: 15%;
  right: -16px;
  animation-delay: -2s;
}

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

.float-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.float-icon svg {
  width: 20px;
  height: 20px;
}

.float-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
}

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

/* Sections */
.section {
  padding: 100px 0;
  position: relative;
  background: transparent;
  overflow: hidden;
}

.section > .brand-curve {
  z-index: 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-sm {
  padding: 64px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-header .lead {
  margin: 16px auto 0;
}

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

.section-header.left .lead {
  margin-left: 0;
}

/* Cards — Ajax-style dark product tiles */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), background var(--duration) var(--ease);
}

.card:hover {
  border-color: var(--magenta-border);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

.card:hover .card-icon {
  transform: scale(1.04);
  border-color: var(--magenta-border);
  color: var(--magenta-soft);
  background: var(--magenta-muted);
}

.card-body {
  padding: 28px;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  margin-bottom: 20px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease), background 0.35s var(--ease);
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.125rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--magenta-soft);
  transition: color var(--duration) var(--ease);
}

.card-link:hover {
  color: var(--magenta-soft);
}

.card:hover .card-link {
  color: var(--magenta-soft);
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration) var(--ease);
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* Grid layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Product / feature cards with image — catalog style */
.product-card {
  background: var(--bg-base);
}

.product-card .card-image {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(ellipse at 50% 60%, rgba(255, 255, 255, 0.03) 0%, transparent 65%), #0a0a0e;
}

.product-card .card-image img {
  max-width: 85%;
  max-height: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
  transition: transform 0.5s var(--ease);
}

.product-card:hover .card-image img {
  transform: scale(1.05) translateY(-4px);
}

.product-card .card-body {
  padding: 22px 24px 26px;
  border-top: 1px solid var(--border);
}

.product-card h3 {
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}

.product-card:hover {
  border-color: var(--magenta-border);
}

/* Ecosystem diagram */
.ecosystem-hub {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 48px;
}

.ecosystem-center {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
  animation: none;
}

.ecosystem-center strong {
  font-size: 1rem;
  margin-top: 8px;
}

.ecosystem-center span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.ecosystem-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eco-node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease);
}

.eco-node:hover {
  border-color: var(--magenta-border);
  background: var(--bg-card-hover);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.eco-node:hover .eco-node-icon {
  color: var(--magenta-soft);
  background: var(--magenta-muted);
}

.eco-node-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.eco-node-icon svg {
  width: 22px;
  height: 22px;
}

.eco-node strong {
  display: block;
  font-size: 0.9375rem;
}

.eco-node span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-secondary);
  margin-top: 2px;
}

.feature-check svg {
  width: 14px;
  height: 14px;
}

.feature-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.975rem;
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

/* Connectivity badges */
.conn-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.conn-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.conn-badge svg {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
}

/* Solutions / property types */
.solution-card {
  position: relative;
  background: var(--bg-base);
}

.solution-card .card-image {
  aspect-ratio: 16 / 10;
  background: radial-gradient(ellipse at 50% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 60%), #0a0a0e;
}

.solution-card .card-body {
  position: relative;
  border-top: 1px solid var(--border);
}

.solution-card:hover {
  border-color: var(--magenta-border);
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.tag.accent {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

/* Soft dark band only (Ajax-style depth — never a white sheet) */
.section-alt {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Full-bleed cinematic video sections (autoplay muted) */
.video-cinema {
  position: relative;
  width: 100%;
  min-height: min(85vh, 720px);
  height: 85vh;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #050508;
}

.video-cinema--hero {
  min-height: 100vh;
  height: 100vh;
  max-height: none;
  align-items: center;
  padding-top: var(--header-h);
}

.video-cinema-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  background: #000;
}

.video-cinema-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 7, 10, 0.35) 0%, rgba(7, 7, 10, 0.15) 40%, rgba(7, 7, 10, 0.85) 100%),
    linear-gradient(90deg, rgba(7, 7, 10, 0.55) 0%, transparent 55%);
}

.video-cinema-scrim--strong {
  background:
    linear-gradient(180deg, rgba(7, 7, 10, 0.55) 0%, rgba(7, 7, 10, 0.35) 45%, rgba(7, 7, 10, 0.75) 100%),
    linear-gradient(105deg, rgba(7, 7, 10, 0.72) 0%, rgba(7, 7, 10, 0.25) 50%, rgba(7, 7, 10, 0.45) 100%);
}

.video-cinema-content {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  max-width: min(420px, calc(100% - 32px));
  margin: 0;
  padding: 28px 32px 36px;
  /* Glass panel in corner so video stays visible */
  background: linear-gradient(
    145deg,
    rgba(10, 10, 14, 0.72) 0%,
    rgba(10, 10, 14, 0.45) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 var(--radius-lg) 0 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.video-cinema-content--hero {
  left: 0;
  bottom: 0;
  right: auto;
  top: auto;
  max-width: min(400px, calc(100% - 24px));
  padding: 24px 28px 28px;
  border-radius: 0 var(--radius-lg) 0 0;
}

.video-cinema-content .section-label {
  margin-bottom: 10px;
}

.video-cinema-content .h2,
.video-cinema-content h1 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.video-cinema-content .lead {
  margin-bottom: 18px;
  color: rgba(245, 245, 247, 0.82);
  max-width: none;
  font-size: 0.9rem;
  line-height: 1.55;
}

.video-cinema-content .breadcrumb {
  margin-bottom: 12px;
  font-size: 0.75rem;
}

.video-cinema-content .breadcrumb span,
.video-cinema-content .breadcrumb a {
  text-shadow: none;
}

.video-cinema-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.video-cinema-actions .btn-secondary {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.08);
}

/* Soften full-bleed scrim so product video is clearer */
.video-cinema-scrim {
  background:
    linear-gradient(180deg, rgba(7, 7, 10, 0.2) 0%, transparent 35%, rgba(7, 7, 10, 0.35) 100%),
    linear-gradient(90deg, rgba(7, 7, 10, 0.25) 0%, transparent 40%);
}

.video-cinema-scrim--strong {
  background:
    linear-gradient(180deg, rgba(7, 7, 10, 0.35) 0%, transparent 40%, rgba(7, 7, 10, 0.4) 100%),
    linear-gradient(105deg, rgba(7, 7, 10, 0.3) 0%, transparent 45%);
}

@media (max-width: 768px) {
  .video-cinema {
    min-height: 70vh;
    height: 70vh;
  }

  .video-cinema--hero {
    min-height: 100svh;
    height: 100svh;
  }

  .video-cinema-content,
  .video-cinema-content--hero {
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none;
    width: 100%;
    border-radius: 0;
    padding: 20px 16px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-cinema-media {
    /* Still allow play but avoid aggressive looping feel if user pauses */
  }
}

/* ==========================================================================
   Product catalog (XGEN)
   ========================================================================== */

.product-catalog {
  padding-bottom: 40px;
}

.catalog-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: -24px 0 48px;
  position: sticky;
  top: calc(var(--header-h) + 8px);
  z-index: 50;
  padding: 12px 0;
  background: linear-gradient(180deg, rgba(7, 7, 10, 0.96) 60%, transparent);
}

.catalog-chip {
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(22, 22, 30, 0.9);
  backdrop-filter: blur(8px);
  transition: all var(--duration) var(--ease);
  cursor: pointer;
}

.catalog-chip:hover,
.catalog-chip.is-active {
  color: var(--magenta-soft);
  border-color: var(--magenta-border);
  background: var(--magenta-muted);
}

.catalog-chip-count {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.75rem;
  opacity: 0.75;
  font-weight: 600;
}

.catalog-nav-tabs {
  justify-content: flex-start;
  gap: 10px;
}

.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  padding-top: 8px;
}

.catalog-pagination .page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.catalog-pagination .page-btn:hover:not(:disabled) {
  border-color: var(--magenta-border);
  color: var(--magenta-soft);
}

.catalog-pagination .page-btn.is-active {
  background: var(--magenta);
  border-color: var(--magenta);
  color: #fff;
}

.catalog-pagination .page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.catalog-pagination .page-info {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0 6px;
}

.product-card.is-hidden {
  display: none !important;
}

.catalog-category {
  margin-bottom: 72px;
  scroll-margin-top: calc(var(--header-h) + 72px);
}

.catalog-category-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.catalog-category-header h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.catalog-category-header span {
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.catalog-category-desc {
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 640px;
  font-weight: 400;
}

.catalog-subhead {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  margin: 36px 0 18px;
  padding-left: 12px;
  border-left: 2px solid var(--border-strong);
}

.catalog-subhead:first-of-type {
  margin-top: 8px;
}

.product-card .card-image.product-visual {
  color: var(--text-secondary);
}

.product-card .card-image.product-visual svg {
  width: 64px;
  height: 64px;
  opacity: 0.85;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card .card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  min-height: 200px;
}

.product-card .card-image img {
  max-width: 100%;
  max-height: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
  transition: transform 0.5s var(--ease);
}

.product-card:hover .card-image img {
  transform: scale(1.05) translateY(-4px);
}

.product-card .card-body h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.product-card .card-body p {
  font-size: 0.875rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card.is-hidden {
  display: none;
}

.catalog-category.is-hidden {
  display: none;
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .catalog-chip {
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* Package cards */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--duration) var(--ease);
}

.package-card:hover {
  border-color: var(--magenta-border);
  transform: translateY(-4px);
}

.package-card.featured {
  border-color: var(--magenta-border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-md);
}

.package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--magenta);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.package-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.package-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
  flex-grow: 0;
}

.package-features {
  flex: 1;
  margin-bottom: 28px;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.package-features li:last-child {
  border-bottom: none;
}

.package-features li svg {
  width: 16px;
  height: 16px;
  color: var(--text-secondary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* App features */
.app-showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.app-phone {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 9 / 19;
  border-radius: 36px;
  background: var(--bg-card);
  border: 3px solid var(--border-strong);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 80px var(--magenta-glow);
}

.app-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.app-feature {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease);
}

.app-feature:hover {
  border-color: var(--magenta-border);
}

.app-feature .card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
}

.app-feature .card-icon svg {
  width: 20px;
  height: 20px;
}

.app-feature h4 {
  font-size: 0.975rem;
  margin-bottom: 6px;
}

.app-feature p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Partner benefits */
.benefit-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 550;
  color: var(--text-primary);
}

.faq-question:hover {
  color: var(--magenta-soft);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration) var(--ease);
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  transition: transform var(--duration) var(--ease);
}

.faq-item.open .faq-icon {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.faq-item.open .faq-icon svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 22px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Download cards */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease);
}

.download-card:hover {
  border-color: var(--magenta-border);
  background: var(--bg-card-hover);
}

.download-card:hover .download-icon {
  color: var(--magenta-soft);
  background: var(--magenta-muted);
}

.download-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.download-icon svg {
  width: 22px;
  height: 22px;
}

.download-card strong {
  display: block;
  font-size: 0.9375rem;
}

.download-card span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* CTA band */
.cta-band {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.cta-band-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 50% 50%, rgba(236, 38, 143, 0.08) 0%, transparent 68%),
    var(--bg-deep);
  border-top: 1px solid var(--border);
}

.cta-band-bg .brand-curve {
  z-index: 0;
}

.cta-band .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 16px;
}

.cta-band .lead {
  margin: 0 auto 32px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--header-h) + 64px) 0 64px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(236, 38, 143, 0.06) 0%, transparent 60%),
    var(--bg-deep);
}

.page-hero-bg .brand-curve {
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-hero h1 {
  font-family: var(--font-hero);
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 16px;
  text-wrap: balance;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a:hover {
  color: var(--magenta-soft);
}

.breadcrumb span {
  color: var(--text-secondary);
}

/* Support options */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* About */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.value-card .card-icon {
  margin: 0 auto 20px;
}

/* Form / Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s var(--ease);
}

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

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.modal-header h3 {
  font-size: 1.375rem;
}

.modal-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 6px;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--duration);
}

.modal-close:hover {
  background: var(--magenta-muted);
  color: var(--magenta-soft);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color var(--duration);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px var(--magenta-muted);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a1a1b0' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 6l3.5 3.5L11.5 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px 16px;
}

.form-success.show {
  display: block;
}

.form-success svg {
  width: 56px;
  height: 56px;
  color: var(--success);
  margin: 0 auto 16px;
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.site-footer .brand-curve {
  z-index: 0;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-powered {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-powered strong {
  color: var(--text-primary);
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color var(--duration);
}

.footer-col a:hover {
  color: var(--magenta-soft);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-legal a:hover {
  color: var(--text-secondary);
}

/* Trust bar */
.trust-bar {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}

.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.trust-item svg {
  width: 22px;
  height: 22px;
  color: var(--text-secondary);
}

/* Scenario chips */
.scenario-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.scenario-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.scenario-chip .num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scenario-chip p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Integration flow */
.integration-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 48px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.flow-step {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
}

.flow-step:first-child {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.flow-step:last-child {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.flow-step + .flow-step {
  border-left: none;
}

.flow-step::after {
  content: "→";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 1.25rem;
  background: var(--bg-deep);
  width: 20px;
  text-align: center;
}

.flow-step:last-child::after {
  display: none;
}

.flow-step .card-icon {
  margin: 0 auto 14px;
  width: 44px;
  height: 44px;
}

.flow-step .card-icon svg {
  width: 22px;
  height: 22px;
}

.flow-step strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.flow-step span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Body scroll lock */
body.modal-open,
body.nav-open {
  overflow: hidden;
}

/* ==========================================================================
   Motion system — scroll reveal, hero entrance, ambient, reduced-motion
   Reveal hide only applies after html.motion-enabled (set by JS after
   marking in-viewport items visible) to avoid flash of hidden content.
   ========================================================================== */

html.motion-enabled [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
}

html.motion-enabled [data-reveal="fade"]:not(.is-visible) {
  transform: none;
}

html.motion-enabled [data-reveal="left"]:not(.is-visible) {
  transform: translateX(-32px);
}

html.motion-enabled [data-reveal="right"]:not(.is-visible) {
  transform: translateX(32px);
}

html.motion-enabled [data-reveal="scale"]:not(.is-visible) {
  transform: scale(0.94);
}

[data-reveal] {
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
  transition-delay: var(--reveal-delay, 0s);
}

/* Stagger children inside a reveal container */
html.motion-enabled [data-reveal-stagger]:not(.is-visible) > * {
  opacity: 0;
  transform: translateY(24px);
}

[data-reveal-stagger] > * {
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease);
}

[data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: none;
}

[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 0.1s; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 0.15s; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 0.2s; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 0.25s; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 0.3s; }
[data-reveal-stagger].is-visible > *:nth-child(7) { transition-delay: 0.35s; }
[data-reveal-stagger].is-visible > *:nth-child(8) { transition-delay: 0.4s; }

/* Hero entrance — only when motion-enabled */
html.motion-enabled .hero:not(.is-ready) .hero-content > * {
  opacity: 0;
  transform: translateY(20px);
}

.hero-content > * {
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
}

.hero.is-ready .hero-content > *:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}
.hero.is-ready .hero-content > *:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}
.hero.is-ready .hero-content > *:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.25s;
}
.hero.is-ready .hero-content > *:nth-child(4) {
  opacity: 1;
  transform: none;
  transition-delay: 0.35s;
}
.hero.is-ready .hero-content > *:nth-child(5) {
  opacity: 1;
  transform: none;
  transition-delay: 0.45s;
}

html.motion-enabled .hero:not(.is-ready) .hero-visual {
  opacity: 0;
  transform: scale(0.96) translateY(16px);
}

.hero-visual {
  transition:
    opacity 0.8s var(--ease) 0.2s,
    transform 0.8s var(--ease) 0.2s;
}

.hero.is-ready .hero-visual {
  opacity: 1;
  transform: none;
}

/* Page hero (inner pages) */
html.motion-enabled .page-hero:not(.is-ready) .container > * {
  opacity: 0;
  transform: translateY(16px);
}

.page-hero .container > * {
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease);
}

.page-hero.is-ready .container > *:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}
.page-hero.is-ready .container > *:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.12s;
}
.page-hero.is-ready .container > *:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.2s;
}
.page-hero.is-ready .container > *:nth-child(4) {
  opacity: 1;
  transform: none;
  transition-delay: 0.28s;
}
.page-hero.is-ready .container > *:nth-child(5) {
  opacity: 1;
  transform: none;
  transition-delay: 0.36s;
}

/* Ambient: keep hero/CTA static for a calmer look */
.hero-bg,
.cta-band-bg {
  animation: none;
}

/* Product card image subtle zoom on hover */
.product-card .card-image .placeholder-img,
.solution-card .card-image .placeholder-img {
  transition: transform 0.7s var(--ease);
  background: transparent;
}

.product-card:hover .card-image .placeholder-img,
.solution-card:hover .card-image .placeholder-img {
  transform: scale(1.03);
}

.product-card .placeholder-img svg,
.solution-card .placeholder-img svg {
  width: 56px;
  height: 56px;
  opacity: 0.5;
}

.package-card.featured {
  animation: none;
}

/* Trust bar items */
.trust-item {
  transition: color var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.trust-item:hover {
  color: var(--magenta-soft);
  transform: translateY(-2px);
}

.trust-item:hover svg {
  color: var(--magenta-soft);
}

.trust-item svg {
  transition: transform 0.35s var(--ease);
}

.trust-item:hover svg {
  transform: scale(1.12);
}

/* Scenario chips */
.scenario-chip {
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease), background var(--duration) var(--ease);
}

.scenario-chip:hover {
  border-color: var(--magenta-border);
  transform: translateX(6px);
  background: var(--bg-card-hover);
}

.scenario-chip:hover .num {
  background: var(--magenta);
  color: var(--white);
}

/* Flow steps */
.flow-step {
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.flow-step:hover {
  background: var(--bg-card-hover);
  border-color: var(--magenta-border);
  transform: translateY(-3px);
  z-index: 1;
}

.flow-step:hover .card-icon {
  color: var(--magenta-soft);
  border-color: var(--magenta-border);
  background: var(--magenta-muted);
}

/* Floating CTA entrance */
.floating-cta {
  animation: float-cta-in 0.6s 0.8s var(--ease) both;
}

@keyframes float-cta-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Download cards */
.download-card {
  transition: all var(--duration) var(--ease);
}

.download-card:hover {
  transform: translateY(-3px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html.motion-enabled [data-reveal]:not(.is-visible),
  html.motion-enabled [data-reveal-stagger]:not(.is-visible) > *,
  html.motion-enabled .hero:not(.is-ready) .hero-content > *,
  html.motion-enabled .hero:not(.is-ready) .hero-visual,
  html.motion-enabled .page-hero:not(.is-ready) .container > *,
  [data-reveal],
  [data-reveal-stagger] > *,
  .hero-content > *,
  .hero-visual,
  .page-hero .container > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-bg,
  .cta-band-bg,
  .ecosystem-center,
  .package-card.featured,
  .floating-cta,
  .hero-float-card,
  .hero-carousel-card[data-pos="center"],
  .floating-cta .btn,
  .nav-mobile.open a,
  .nav-mobile.open .nav-mobile-actions {
    animation: none !important;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 992px) {
  .nav-desktop,
  .header-actions .btn-secondary {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-mobile {
    display: flex;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-stats {
    justify-content: center;
  }

  .stat {
    text-align: left;
  }

  .hero-visual {
    max-width: 440px;
    margin: 0 auto;
    min-height: 460px;
  }

  .hero-showcase-stage {
    height: 360px;
  }

  .hero-carousel-card {
    width: min(62%, 240px);
  }

  .hero-carousel-card[data-pos="left"] {
    transform: translate(-105%, -48%) scale(0.66) translateZ(-30px);
  }

  .hero-carousel-card[data-pos="right"] {
    transform: translate(5%, -48%) scale(0.66) translateZ(-30px);
  }

  .hero-showcase-nav {
    width: 40px;
    height: 40px;
  }

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

  .grid-3,
  .package-grid,
  .support-grid,
  .about-values,
  .download-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .app-showcase,
  .ecosystem-hub {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split.reverse {
    direction: ltr;
  }

  .ecosystem-center {
    margin: 0 auto;
    order: -1;
  }

  .ecosystem-side {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .eco-node {
    flex: 1 1 200px;
  }

  .app-feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .package-grid,
  .support-grid,
  .about-values,
  .download-grid,
  .benefit-row,
  .app-feature-grid {
    grid-template-columns: 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-visual {
    min-height: 380px;
    max-width: 100%;
  }

  .hero-showcase-stage {
    height: 300px;
  }

  .hero-carousel-card {
    width: min(70%, 220px);
    padding: 16px;
  }

  .hero-carousel-card[data-pos="left"] {
    transform: translate(-98%, -50%) scale(0.58) translateZ(-20px);
    opacity: 0.28;
  }

  .hero-carousel-card[data-pos="right"] {
    transform: translate(-2%, -50%) scale(0.58) translateZ(-20px);
    opacity: 0.28;
  }

  .hero-showcase-nav {
    top: 34%;
    width: 36px;
    height: 36px;
  }

  .hero-showcase-title {
    font-size: 1rem;
  }

  .floating-cta {
    bottom: 20px;
    right: 16px;
  }

  .floating-cta .btn span {
    display: none;
  }

  .floating-cta .btn {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
  }

  .integration-flow {
    flex-direction: column;
  }

  .flow-step {
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--border) !important;
  }

  .flow-step + .flow-step {
    border-left: 1px solid var(--border) !important;
  }

  .flow-step::after {
    content: "↓";
    right: 50%;
    top: auto;
    bottom: -14px;
    transform: translateX(50%);
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 64px;
  }

  .site-footer .logo-img {
    height: 56px;
  }

  .brand-curve--hero {
    width: min(70vw, 400px);
    height: min(60vw, 340px);
    opacity: 0.12;
  }

  .brand-curve--hero-soft {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .logo-img {
    height: 56px;
  }

  .site-footer .logo-img {
    height: 52px;
  }

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

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

  .btn {
    padding: 12px 22px;
  }

  .hero-actions {
    flex-direction: column;
  }

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

/* Print */
@media print {
  .site-header,
  .floating-cta,
  .modal-overlay {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}
