* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", system-ui, sans-serif;
}

/* Core surfaces */

.glass-panel {
  background: rgba(19, 29, 51, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(210, 201, 184, 0.1);
}

.glass-card {
  background: rgba(23, 32, 65, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(210, 201, 184, 0.08);
}

.border-subtle {
  border-color: rgba(210, 201, 184, 0.1);
}

/* Backgrounds */

.hero-gradient {
  background:
    radial-gradient(circle at 75% 20%, rgba(225, 217, 188, 0.045), transparent 28%),
    linear-gradient(165deg, #30364f 0%, #2b3147 58%, #1f2435 100%);
}

.section-gradient {
  background:
    radial-gradient(circle at 50% 0%, rgba(225, 217, 188, 0.035), transparent 30%),
    linear-gradient(180deg, #2b3147 0%, #30364f 48%, #2b3147 100%);
}

.benefits-bg {
  background:
    radial-gradient(circle at 50% 15%, rgba(225, 217, 188, 0.028), transparent 30%),
    linear-gradient(180deg, #2b3147 0%, #1f2435 100%);
}

.pricing-bg {
  background:
    radial-gradient(circle at 50% 20%, rgba(225, 217, 188, 0.035), transparent 32%),
    linear-gradient(180deg, #1f2435 0%, #2b3147 100%);
}

.contact-bg {
  background:
    radial-gradient(circle at 50% 20%, rgba(225, 217, 188, 0.035), transparent 32%),
    linear-gradient(180deg, #2b3147 0%, #30364f 100%);
}

.footer-bg {
  background: #1f2435;
}

/* Effects */

.accent-glow {
  box-shadow: 0 0 40px rgba(225, 217, 188, 0.06);
}

.soft-shadow {
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    0 2px 8px rgba(0, 0, 0, 0.15);
}

.mockup-shadow {
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(210, 201, 184, 0.06);
}

/* Buttons */

.cta-primary {
  background: linear-gradient(135deg, #e1d9bc 0%, #c4b898 100%);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.cta-primary:hover {
  background: linear-gradient(135deg, #ede8d6 0%, #e1d9bc 100%);
  box-shadow: 0 4px 20px rgba(225, 217, 188, 0.25);
  transform: translateY(-1px);
}

.cta-primary:active {
  transform: translateY(0);
}

/* Cards */

.checkbox-item {
  transition: background 0.2s ease;
}

.checkbox-item:hover {
  background: rgba(200, 169, 110, 0.04);
}

/* Forms */

.form-field {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(210, 201, 184, 0.12);
  background: rgba(15, 23, 42, 0.35);
  color: #f0ede5;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.form-field::placeholder {
  color: rgba(181, 170, 148, 0.45);
}

.form-field:hover {
  border-color: rgba(210, 201, 184, 0.18);
  background: rgba(15, 23, 42, 0.42);
}

.form-field:focus {
  border-color: rgba(225, 217, 188, 0.5);
  background: rgba(15, 23, 42, 0.55);
  box-shadow: 0 0 0 4px rgba(225, 217, 188, 0.075);
}

.form-field:invalid:not(:placeholder-shown) {
  border-color: rgba(255, 140, 120, 0.35);
}

/* Reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  will-change: opacity, transform;
}

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

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

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

  .reveal,
  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3,
  .cta-primary,
  .product-shot,
  .ambient-orb {
    transition: none;
    animation: none;
    transform: none;
  }

  .reveal {
    opacity: 1;
  }
}

/* Scrollbar */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #2b3147;
}

::-webkit-scrollbar-thumb {
  background: #2a3d6b;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3b5198;
}

.ambient-orb {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.28;
  animation: drift 18s ease-in-out infinite alternate;
}

.ambient-orb-one {
  width: 260px;
  height: 260px;
  top: 18%;
  right: 8%;
  background: rgba(225, 217, 188, 0.13);
}

.ambient-orb-two {
  width: 220px;
  height: 220px;
  bottom: 12%;
  left: 6%;
  background: rgba(59, 81, 152, 0.24);
  animation-delay: 4s;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(24px, -28px, 0);
  }
}

.product-shot {
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    filter 0.45s ease;
}

.product-shot:hover {
  transform: translateY(-4px);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.38),
    0 0 70px rgba(225, 217, 188, 0.08);
  filter: brightness(1.04);
}

.workflow-highlight {
  position: relative;
  overflow: hidden;
}

.workflow-highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(225, 217, 188, 0.09), transparent 45%);
  pointer-events: none;
}