/* =============================================================
   Cruxsol — AI Automation & AI Tools Agency
   style.css
   Modern Pure Light Aesthetic with Alive Minimal Motion
   Palette: #FFF7FC, #8B93FF, #5755FE, #FF71CD
   ============================================================= */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Color — Base light canvas */
  --color-bg: #FFF7FC;
  --color-bg-elev: #FFFFFF;
  --color-bg-elev-2: #FBF2F8;
  --color-surface: rgba(255, 255, 255, 0.78);
  --color-surface-strong: rgba(255, 255, 255, 0.94);
  --color-border: rgba(87, 85, 254, 0.08);
  --color-border-strong: rgba(87, 85, 254, 0.18);

  /* Color — Typography (sharp, modern, high contrast) */
  --color-text: #181534;
  --color-text-muted: #555273;
  --color-text-dim: #8B87A8;

  /* Color — Accents */
  --color-blue: #5755FE;
  --color-blue-bright: #5755FE;
  --color-violet: #8B93FF;
  --color-cyan: #FF71CD;
  --color-accent: #5755FE;
  --color-primary: #5755FE;
  --color-periwinkle: #8B93FF;
  --color-pink: #FF71CD;

  /* Gradients */
  --gradient-accent: linear-gradient(135deg, #5755FE 0%, #8B93FF 52%, #FF71CD 100%);
  --gradient-accent-soft: linear-gradient(135deg, rgba(87, 85, 254, 0.08) 0%, rgba(139, 147, 255, 0.12) 50%, rgba(255, 113, 205, 0.08) 100%);
  --gradient-text: linear-gradient(135deg, #5755FE 0%, #8B93FF 45%, #FF71CD 100%);
  --gradient-mesh: radial-gradient(55% 50% at 15% 15%, rgba(139, 147, 255, 0.16) 0%, transparent 60%),
                   radial-gradient(50% 45% at 85% 25%, rgba(255, 113, 205, 0.14) 0%, transparent 60%),
                   radial-gradient(60% 55% at 50% 85%, rgba(87, 85, 254, 0.10) 0%, transparent 60%);

  /* Spacing scale */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 7rem;

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --radius-pill: 999px;

  /* Shadows tailored for pure light theme */
  --shadow-sm: 0 2px 10px rgba(24, 21, 52, 0.035);
  --shadow-md: 0 12px 32px -4px rgba(87, 85, 254, 0.07), 0 4px 12px -2px rgba(24, 21, 52, 0.03);
  --shadow-lg: 0 24px 56px -8px rgba(87, 85, 254, 0.11), 0 8px 24px -4px rgba(255, 113, 205, 0.06);
  --shadow-glow: 0 0 35px rgba(87, 85, 254, 0.28);
  --shadow-pink-glow: 0 0 35px rgba(255, 113, 205, 0.28);

  /* Z-index scale */
  --z-base: 1;
  --z-raised: 10;
  --z-nav: 100;
  --z-menu: 200;
  --z-cursor: 9999;
  --z-top: 10000;

  /* Easing & motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur-base: 280ms;
  --dur-slow: 600ms;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Space Grotesk", var(--font-sans);

  /* Layout */
  --container-max: 1200px;
  --nav-height: 72px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Fine modern micro-grid layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    radial-gradient(circle, rgba(87, 85, 254, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Alive ambient pastel mesh that breathes gently in the background */
body::after {
  content: "";
  position: fixed;
  inset: -15%;
  width: 130%;
  height: 130%;
  z-index: -3;
  background: var(--gradient-mesh);
  animation: ambientMesh 24s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes ambientMesh {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-2.5%, 2%) scale(1.03); }
  100% { transform: translate(2%, -2.5%) scale(0.98); }
}

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

img {
  height: auto;
}

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

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

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul {
  list-style: none;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(255, 113, 205, 0.28);
  color: var(--color-text);
}

/* ============================================================
   CUSTOM MINIMAL & ATTRACTIVE CURSOR
   ============================================================ */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease-out), height 0.2s var(--ease-out), background-color 0.2s var(--ease-out), opacity 0.2s;
  box-shadow: 0 0 10px rgba(87, 85, 254, 0.5);
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(139, 147, 255, 0.65);
  border-radius: 50%;
  pointer-events: none;
  z-index: calc(var(--z-cursor) - 1);
  transform: translate(-50%, -50%);
  transition: width 0.26s var(--ease-out), height 0.26s var(--ease-out), border-color 0.26s var(--ease-out), background-color 0.26s var(--ease-out), transform 0.16s var(--ease-out);
  box-shadow: 0 0 20px rgba(255, 113, 205, 0.15);
}

/* Hovering interactive elements */
body.cursor-hover .cursor-ring {
  width: 54px;
  height: 54px;
  border-color: rgba(255, 113, 205, 0.75);
  background-color: rgba(255, 113, 205, 0.12);
  backdrop-filter: blur(2px);
}

body.cursor-hover .cursor-dot {
  width: 5px;
  height: 5px;
  background-color: var(--color-pink);
}

/* Mouse click state */
body.cursor-active .cursor-ring {
  transform: translate(-50%, -50%) scale(0.82);
  border-color: var(--color-primary);
  background-color: rgba(87, 85, 254, 0.2);
}

body.cursor-active .cursor-dot {
  transform: translate(-50%, -50%) scale(1.3);
}

/* Hide on touch devices */
@media (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

/* ============================================================
   3. UTILITIES & HELPERS
   ============================================================ */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-md);
  z-index: var(--z-top);
  padding: 0.6rem 1.1rem;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--dur-fast) var(--ease-out);
}

.skip-link:focus {
  top: var(--space-md);
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.no-scroll {
  overflow: hidden;
}

/* ============================================================
   4. LAYOUT PRIMITIVES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  position: relative;
  z-index: 1;
}

.section {
  padding-block: clamp(3.5rem, 9vw, 7rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Alive background animation for each section */
.section::before {
  content: "";
  position: absolute;
  inset: -15%;
  width: 130%;
  height: 130%;
  z-index: 0;
  background:
    radial-gradient(38% 38% at 18% 22%, rgba(139, 147, 255, 0.22) 0%, transparent 60%),
    radial-gradient(42% 42% at 84% 78%, rgba(255, 113, 205, 0.20) 0%, transparent 65%),
    radial-gradient(46% 46% at 50% 50%, rgba(87, 85, 254, 0.15) 0%, transparent 60%);
  animation: sectionMesh 20s ease-in-out infinite alternate;
  pointer-events: none;
  opacity: 0.95;
  filter: blur(28px);
}

.section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(87, 85, 254, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.7;
}

@keyframes sectionMesh {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(-3%, 2%) scale(1.06) rotate(1.5deg); }
  100% { transform: translate(3%, -2%) scale(0.96) rotate(-1.5deg); }
}

/* Reveal animation */
.section[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section__head {
  max-width: 680px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  padding: 0.35rem 0.95rem;
  border: 1px solid rgba(87, 85, 254, 0.14);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(87, 85, 254, 0.04);
  margin-bottom: var(--space-md);
}

.section__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-pink);
  box-shadow: 0 0 8px var(--color-pink);
}

.section__title {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  margin-bottom: var(--space-md);
}

.section__subtitle {
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  color: var(--color-text-muted);
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  --btn-bg: var(--color-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.85rem 1.65rem;
  min-height: 48px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-strong);
  background: var(--btn-bg);
  color: var(--color-text);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out);
  will-change: transform;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--gradient-accent);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px rgba(87, 85, 254, 0.28), 0 2px 6px rgba(255, 113, 205, 0.2);
}

.btn--primary:hover {
  box-shadow: 0 12px 34px rgba(87, 85, 254, 0.4), 0 4px 12px rgba(255, 113, 205, 0.3);
}

.btn--ghost {
  background: #FFFFFF;
  border-color: var(--color-border-strong);
  color: var(--color-text);
  box-shadow: 0 2px 8px rgba(24, 21, 52, 0.04);
}

.btn--ghost:hover {
  border-color: var(--color-primary);
  background: #FAF5FD;
  color: var(--color-primary);
}

.btn--block {
  width: 100%;
}

.btn--lg {
  padding: 1rem 2.1rem;
  min-height: 56px;
  font-size: 1.05rem;
}

/* Ripple element injected by JS */
.btn__ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.45);
  pointer-events: none;
  animation: ripple var(--dur-slow) var(--ease-out);
}

@keyframes ripple {
  to {
    transform: scale(2.6);
    opacity: 0;
  }
}

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

/* ============================================================
   6. NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: transform var(--dur-base) var(--ease-out),
              background-color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              backdrop-filter var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background: rgba(255, 247, 252, 0.84);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 20px rgba(87, 85, 254, 0.04);
}

.nav--hidden {
  transform: translateY(-100%);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  width: 100%;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo svg {
  height: 30px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
}

.nav__link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.4rem 0;
  transition: color var(--dur-fast) var(--ease-out);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
  border-radius: 2px;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--color-text);
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
  transform: scaleX(1);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.nav__cta {
  padding: 0.6rem 1.25rem;
  min-height: 44px;
}

/* Hamburger toggle */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
}

.nav__toggle-bars {
  position: relative;
  width: 20px;
  height: 14px;
}

.nav__toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out),
              top var(--dur-base) var(--ease-out);
}

.nav__toggle-bars span:nth-child(1) { top: 0; }
.nav__toggle-bars span:nth-child(2) { top: 6px; }
.nav__toggle-bars span:nth-child(3) { top: 12px; }

.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

/* Mobile menu */
.nav__mobile {
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  z-index: var(--z-menu);
  background: rgba(255, 247, 252, 0.98);
  backdrop-filter: blur(20px);
  padding: var(--space-xl) clamp(1.25rem, 5vw, 2.5rem) var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--dur-base) var(--ease-out),
              visibility var(--dur-base) var(--ease-out);
  overflow-y: auto;
}

.nav__mobile.is-open {
  transform: translateX(0);
  visibility: visible;
}

.nav__mobile-link {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.nav__mobile-cta {
  margin-top: var(--space-xl);
}

/* ============================================================
   7. HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + clamp(2.5rem, 7vw, 5rem));
  padding-bottom: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__content {
  max-width: 640px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.4rem 0.95rem 0.4rem 0.55rem;
  border: 1px solid rgba(87, 85, 254, 0.15);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  font-size: 0.84rem;
  color: var(--color-text-muted);
  box-shadow: 0 2px 10px rgba(87, 85, 254, 0.05);
  margin-bottom: var(--space-lg);
}

.hero__badge-tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--gradient-accent);
  color: #fff;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.3rem);
  line-height: 1.05;
  margin-bottom: var(--space-lg);
}

.hero__subtitle {
  font-size: clamp(1.08rem, 2.2vw, 1.32rem);
  color: var(--color-text-muted);
  max-width: 540px;
  margin-bottom: var(--space-xl);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.92rem;
  color: var(--color-text-dim);
}

.hero__trust svg {
  width: 18px;
  height: 18px;
  color: var(--color-pink);
  flex-shrink: 0;
}

/* Hero entrance stagger */
.hero__anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

.hero.is-ready .hero__anim {
  opacity: 1;
  transform: translateY(0);
}

.hero.is-ready .hero__anim:nth-child(1) { transition-delay: 0.05s; }
.hero.is-ready .hero__anim:nth-child(2) { transition-delay: 0.15s; }
.hero.is-ready .hero__anim:nth-child(3) { transition-delay: 0.25s; }
.hero.is-ready .hero__anim:nth-child(4) { transition-delay: 0.35s; }
.hero.is-ready .hero__anim:nth-child(5) { transition-delay: 0.45s; }

/* Floating workflow visual */
.hero__visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.hero__orb {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 147, 255, 0.4) 0%, rgba(255, 113, 205, 0.3) 50%, transparent 75%);
  filter: blur(65px);
  opacity: 0.75;
  animation: orb-pulse 8s var(--ease-in-out) infinite;
}

@keyframes orb-pulse {
  0%, 100% { transform: scale(1); opacity: 0.65; }
  50% { transform: scale(1.14); opacity: 0.85; }
}

.hero__card {
  position: relative;
  width: 100%;
  max-width: 340px;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-strong);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

.hero__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px -10px rgba(87, 85, 254, 0.16);
}

.hero__card-float {
  position: absolute;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-strong);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.hero__card-float svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hero__card-float--top {
  top: 4%;
  right: -4%;
  color: var(--color-primary);
  animation: float-y 6s var(--ease-in-out) infinite;
}

.hero__card-float--bottom {
  bottom: 6%;
  left: -6%;
  color: var(--color-pink);
  animation: float-y 7s var(--ease-in-out) infinite 0.6s;
}

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

.hero__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.hero__card-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text);
}

.hero__card-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--color-pink);
}

.hero__card-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-pink);
  box-shadow: 0 0 8px var(--color-pink);
  animation: blink 2s ease-in-out infinite;
}

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

.hero__flow-step {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.hero__flow-step + .hero__flow-step {
  border-top: 1px dashed var(--color-border);
}

.hero__flow-dot {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: var(--gradient-accent-soft);
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}

.hero__flow-dot svg {
  width: 15px;
  height: 15px;
  color: var(--color-primary);
}

/* ============================================================
   8. MARQUEE / TECH STRIP
   ============================================================ */
.marquee {
  padding-block: var(--space-xl);
  border-block: 1px solid var(--color-border);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  background: rgba(255, 255, 255, 0.45);
}

.marquee__label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: var(--space-lg);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: clamp(1.5rem, 4vw, 3rem);
  animation: marquee-scroll 36s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
  padding: 0.45rem 1.2rem;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(87, 85, 254, 0.03);
  transition: color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}

.marquee__item:hover {
  color: var(--color-primary);
  border-color: var(--color-periwinkle);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(87, 85, 254, 0.08);
}

.marquee__item svg {
  width: 20px;
  height: 20px;
  opacity: 0.85;
}

/* ============================================================
   9. SERVICES
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.card {
  position: relative;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: #FFFFFF;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  will-change: transform;
}

/* cursor-following spotlight */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%),
              rgba(139, 147, 255, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
  pointer-events: none;
}

/* animated subtle border glow on hover */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--gradient-accent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card:hover::before,
.card:hover::after {
  opacity: 1;
}

.service-card__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: var(--gradient-accent-soft);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-md);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

.service-card:hover .service-card__icon {
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 8px 20px rgba(87, 85, 254, 0.15);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-primary);
}

.service-card__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.service-card__desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.service-card__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gradient-accent);
}

/* ============================================================
   10. HOW IT WORKS
   ============================================================ */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.steps__line {
  position: absolute;
  top: 27px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(87, 85, 254, 0.1);
  z-index: 0;
}

.steps__line-fill {
  position: absolute;
  inset: 0;
  width: var(--progress, 0%);
  background: var(--gradient-accent);
  transition: width var(--dur-slow) var(--ease-out);
  box-shadow: 0 0 14px rgba(87, 85, 254, 0.5);
}

.step {
  position: relative;
  z-index: var(--z-base);
  text-align: center;
}

.step__num {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  background: #FFFFFF;
  border: 2px solid var(--color-border-strong);
  color: var(--color-text-muted);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}

.step:hover .step__num {
  transform: scale(1.06);
}

.step.is-active .step__num {
  border-color: transparent;
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.step__title {
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
}

.step__desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* ============================================================
   11. USE CASES
   ============================================================ */
.usecases__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
  padding: 0.35rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.usecases__tab {
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--color-text-muted);
  min-height: 44px;
  transition: color var(--dur-fast) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}

.usecases__tab[aria-selected="true"] {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(87, 85, 254, 0.25);
}

.usecases__panels {
  position: relative;
}

.usecases__panel {
  display: none;
}

.usecases__panel.is-active {
  display: block;
  animation: fade-up var(--dur-slow) var(--ease-out);
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   11.1 INTERACTIVE WORKFLOW GRAPHIC SYSTEM (.wf-demo)
   ============================================================ */
.wf-demo {
  background: #FFFFFF;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.25rem, 3.5vw, 2.25rem);
  position: relative;
  overflow: hidden;
}

.wf-demo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

/* Top Control Bar */
.wf-demo__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.wf-demo__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: rgba(87, 85, 254, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.4rem;
}

.wf-demo__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-pink);
  box-shadow: 0 0 6px var(--color-pink);
}

.wf-demo__title {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  margin-bottom: 0.25rem;
  color: var(--color-text);
}

.wf-demo__subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  max-width: 640px;
}

.wf-demo__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.wf-demo__btn-run {
  font-size: 0.9rem;
  padding: 0.65rem 1.35rem;
  min-height: 42px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.wf-demo__play-icon {
  width: 14px;
  height: 14px;
  transition: transform var(--dur-fast);
}

.wf-demo__btn-run:hover .wf-demo__play-icon {
  transform: scale(1.15);
}

.wf-demo__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg-elev-2);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
}

.wf-demo__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  transition: background var(--dur-fast), transform var(--dur-fast);
}

.wf-demo__status.is-running .wf-demo__status-dot {
  background: #FF71CD;
  animation: pulse-dot 1.2s infinite;
}

.wf-demo__status.is-complete .wf-demo__status-dot {
  background: #10B981;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.4; }
}

/* Interactive Pipeline Flow Diagram */
.wf-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: var(--space-xl);
  padding: var(--space-lg) var(--space-sm);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  position: relative;
  scrollbar-width: thin;
}

.wf-node {
  flex: 0 0 auto;
  min-width: 130px;
  max-width: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
  z-index: 2;
  user-select: none;
}

.wf-node:hover {
  transform: translateY(-4px);
  border-color: var(--color-violet);
  box-shadow: var(--shadow-md);
}

.wf-node.is-active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(87, 85, 254, 0.16), var(--shadow-md);
  background: #FFFFFF;
}

.wf-node.is-running {
  border-color: var(--color-pink);
  box-shadow: 0 0 0 4px rgba(255, 113, 205, 0.28), 0 8px 24px rgba(255, 113, 205, 0.2);
  animation: node-pulse 1.3s infinite alternate;
}

.wf-node.is-completed {
  border-color: #10B981;
}

.wf-node.is-completed .wf-node__circle {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
  border-color: #10B981;
  color: #10B981;
}

@keyframes node-pulse {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-3px) scale(1.02); }
}

.wf-node__circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gradient-accent-soft);
  border: 1px solid var(--color-border-strong);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  position: relative;
  transition: all var(--dur-base) var(--ease-out);
}

.wf-node__circle svg {
  width: 20px;
  height: 20px;
}

.wf-node__num {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.wf-node__name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.wf-node__tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--color-bg-elev-2);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  white-space: nowrap;
}

.wf-node__tag--warning {
  background: rgba(245, 158, 11, 0.12);
  color: #D97706;
  border-color: rgba(245, 158, 11, 0.25);
}

.wf-node__tag--success {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.25);
}

/* Connector Line with animated glowing pulse packet */
.wf-connector {
  flex: 1 1 35px;
  min-width: 25px;
  height: 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wf-connector__line {
  width: 100%;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--color-border-strong) 0, var(--color-border-strong) 6px, transparent 6px, transparent 12px);
  position: relative;
}

.wf-connector__pulse {
  position: absolute;
  width: 12px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--gradient-accent);
  box-shadow: 0 0 8px var(--color-primary);
  left: 0;
  opacity: 0;
}

.wf-connector.is-active .wf-connector__line {
  background: var(--gradient-accent);
}

.wf-connector.is-active .wf-connector__pulse {
  opacity: 1;
  animation: flow-packet 1.2s infinite ease-in-out;
}

@keyframes flow-packet {
  0% { left: 0%; opacity: 0; }
  30% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: calc(100% - 12px); opacity: 0; }
}

/* Two-column Details Grid: Inspector & Terminal Console */
.wf-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

@media (max-width: 860px) {
  .wf-details-grid {
    grid-template-columns: 1fr;
  }
}

.wf-card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}

.wf-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.wf-card__label {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

.wf-inspector__step-badge {
  font-size: 0.74rem;
  font-weight: 600;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  color: var(--color-text-muted);
}

.wf-inspector__title {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}

.wf-inspector__desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.wf-inspector__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.wf-metric {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
}

.wf-metric__label {
  font-size: 0.68rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  font-weight: 600;
}

.wf-metric__val {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-text);
}

.wf-inspector__data-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.wf-data-pill {
  font-size: 0.78rem;
  background: #FFFFFF;
  border: 1px solid var(--color-border-strong);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  color: var(--color-text);
}

.wf-data-pill--success {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.06);
  color: #065F46;
}

.wf-data-pill--warn {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.08);
  color: #92400E;
}

/* Terminal / Activity Stream */
.wf-terminal {
  background: #181534;
  color: #E2E8F0;
  border-color: #2D2A4A;
  display: flex;
  flex-direction: column;
}

.wf-terminal__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wf-terminal__dots {
  display: flex;
  gap: 6px;
}

.wf-terminal__dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.wf-terminal__dots span:nth-child(1) { background: #EF4444; }
.wf-terminal__dots span:nth-child(2) { background: #F59E0B; }
.wf-terminal__dots span:nth-child(3) { background: #10B981; }

.wf-terminal__title {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: #94A3B8;
  text-transform: uppercase;
}

.wf-terminal__clear {
  background: none;
  border: none;
  color: #64748B;
  font-size: 0.72rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}
.wf-terminal__clear:hover { color: #CBD5E1; background: rgba(255, 255, 255, 0.05); }

.wf-terminal__logs {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.8rem;
  line-height: 1.6;
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  scrollbar-width: thin;
}

.wf-log-line {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  animation: log-fade 0.3s ease-out;
}

@keyframes log-fade {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: translateX(0); }
}

.wf-log__time {
  color: #64748B;
  font-size: 0.74rem;
  flex-shrink: 0;
}

.wf-log__tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.05rem 0.35rem;
  border-radius: 3px;
  flex-shrink: 0;
}

.wf-log__tag--info { background: rgba(59, 130, 246, 0.25); color: #60A5FA; }
.wf-log__tag--ai { background: rgba(168, 85, 247, 0.25); color: #C084FC; }
.wf-log__tag--warn { background: rgba(245, 158, 11, 0.25); color: #FBBF24; }
.wf-log__tag--gate { background: rgba(236, 72, 153, 0.25); color: #F472B6; }
.wf-log__tag--success { background: rgba(16, 185, 129, 0.25); color: #34D399; }

.usecase-card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}

.usecase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}

.usecase-card__metric {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.usecase-card__label {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-pink);
  margin-bottom: var(--space-sm);
}

.usecase-card__text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ============================================================
   12. WHY CRUXSOL / STATS
   ============================================================ */
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.why-card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}

.why-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: var(--gradient-accent-soft);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-md);
  transition: transform var(--dur-base) var(--ease-out);
}

.why-card:hover .why-card__icon {
  transform: scale(1.1);
}

.why-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.why-card__title {
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
}

.why-card__text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-lg);
  padding: var(--space-2xl) var(--space-xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-strong);
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat__label {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* ============================================================
   13. ABOUT
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about__text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.about__value {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease-out);
}

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

.about__value h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: var(--color-primary);
}

.about__value p {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  margin: 0;
}

.about__card {
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-strong);
  background: #FFFFFF;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.about__card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 65%;
  height: 85%;
  background: radial-gradient(circle, rgba(139, 147, 255, 0.25) 0%, rgba(255, 113, 205, 0.2) 60%, transparent 80%);
  filter: blur(80px);
  opacity: 0.7;
}

.about__mission {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.4;
  font-weight: 500;
  color: var(--color-text);
}

.about__signature {
  position: relative;
  margin-top: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.about__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(87, 85, 254, 0.3);
}

.about__signature-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text);
}

.about__signature-role {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ============================================================
   14. FAQ
   ============================================================ */
.faq {
  max-width: 820px;
  margin-inline: auto;
}

.faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  margin-bottom: var(--space-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

.faq__item:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

.faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-lg);
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
}

.faq__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out);
}

.faq__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq__icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq__trigger[aria-expanded="true"] .faq__icon::after {
  transform: translateX(-50%) scaleY(0);
}

.faq__panel {
  overflow: hidden;
  height: 0;
  transition: height var(--dur-base) var(--ease-out);
}

.faq__answer {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--color-text-muted);
}

/* ============================================================
   15. CTA BANNER
   ============================================================ */
.cta-banner__inner {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-strong);
  background: linear-gradient(135deg, rgba(87, 85, 254, 0.08) 0%, rgba(139, 147, 255, 0.1) 50%, rgba(255, 113, 205, 0.08) 100%), #FFFFFF;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.9;
  pointer-events: none;
}

.cta-banner__content {
  position: relative;
  z-index: var(--z-base);
  max-width: 640px;
  margin-inline: auto;
}

.cta-banner__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: var(--space-md);
}

.cta-banner__text {
  color: var(--color-text-muted);
  font-size: 1.12rem;
  margin-bottom: var(--space-xl);
}

/* ============================================================
   16. CONTACT
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.form {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form__field {
  margin-bottom: var(--space-md);
}

.form__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.form__req {
  color: var(--color-pink);
}

.form__control {
  width: 100%;
  padding: 0.8rem 1rem;
  min-height: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-strong);
  background: #FFF7FC;
  color: var(--color-text);
  transition: border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}

.form__control::placeholder {
  color: var(--color-text-dim);
}

.form__control:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(87, 85, 254, 0.16);
}

textarea.form__control {
  min-height: 130px;
  resize: vertical;
}

select.form__control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555273' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form__control--error {
  border-color: #f87171;
}

.form__control--error:focus {
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2);
}

.form__error {
  display: block;
  font-size: 0.82rem;
  color: #ef4444;
  margin-top: 0.35rem;
  min-height: 1rem;
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.form__checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}

.form__checkbox a {
  color: var(--color-primary);
  text-decoration: underline;
}

.form__submit {
  margin-top: var(--space-md);
}

.btn.is-loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn.is-loading .btn__label {
  visibility: hidden;
}

.btn__spinner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: spin 0.7s linear infinite;
}

.btn.is-loading .btn__spinner {
  display: block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form__status {
  display: none;
  margin-top: var(--space-md);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: center;
  font-weight: 500;
}

.form__status--success {
  display: block;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #15803d;
}

.form__status--error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #dc2626;
}

.form__hp {
  position: absolute;
  left: -5000px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact__info-card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.contact__info-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
}

.contact__info-item + .contact__info-item {
  border-top: 1px solid var(--color-border);
}

.contact__info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: var(--gradient-accent-soft);
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}

.contact__info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}

.contact__info-label {
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

.contact__info-value {
  font-weight: 600;
  color: var(--color-text);
  word-break: break-word;
}

.contact__note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.contact__note svg {
  width: 20px;
  height: 20px;
  color: var(--color-pink);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__socials {
  display: flex;
  gap: var(--space-sm);
}

.contact__social {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  border: 1px solid var(--color-border);
  background: #FFFFFF;
  color: var(--color-text-muted);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}

.contact__social:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(87, 85, 254, 0.15);
}

.contact__social svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
   17. FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-2xl) var(--space-xl);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand svg {
  height: 28px;
  width: auto;
  margin-bottom: var(--space-md);
}

.footer__desc {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  max-width: 320px;
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links a {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  transition: color var(--dur-fast) var(--ease-out);
}

.footer__links a:hover {
  color: var(--color-primary);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  font-size: 0.88rem;
  color: var(--color-text-dim);
}

.footer__bottom a:hover {
  color: var(--color-primary);
}

/* ============================================================
   18. REVEAL ANIMATIONS (IntersectionObserver)
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  will-change: transform, opacity;
}

[data-reveal="scale"] {
  transform: scale(0.95);
}

[data-reveal="left"] {
  transform: translateX(-32px);
}

[data-reveal="right"] {
  transform: translateX(32px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Staggered children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

[data-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

[data-stagger].is-visible > *:nth-child(1) { transition-delay: 0.05s; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: 0.12s; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 0.19s; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 0.26s; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: 0.33s; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: 0.40s; }
[data-stagger].is-visible > *:nth-child(7) { transition-delay: 0.47s; }

/* ============================================================
   19. THANK-YOU / 404 PAGES
   ============================================================ */
.state-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--space-xl);
  text-align: center;
}

.state-page__inner {
  max-width: 560px;
}

.state-page__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto var(--space-xl);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gradient-accent-soft);
  border: 1px solid var(--color-border-strong);
  box-shadow: 0 4px 20px rgba(87, 85, 254, 0.15);
}

.state-page__icon svg {
  width: 44px;
  height: 44px;
  color: var(--color-primary);
}

.state-page__code {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 8.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.state-page__title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: var(--space-md);
}

.state-page__text {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: var(--space-xl);
}

.state-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

/* ============================================================
   20. RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    order: -1;
    min-height: 340px;
  }
  .about__grid {
    grid-template-columns: 1fr;
  }
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__toggle {
    display: flex;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .steps__line {
    display: none;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .hero__card-float {
    display: none;
  }
}

@media (max-width: 560px) {
  .form__row {
    grid-template-columns: 1fr;
  }
  .about__values {
    grid-template-columns: 1fr;
  }
  .hero__actions .btn {
    width: 100%;
  }
}

/* ============================================================
   21. prefers-reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  body::after,
  .marquee__track,
  .hero__orb,
  .hero__card-float {
    animation: none !important;
  }
  [data-reveal],
  [data-stagger] > *,
  .hero__anim {
    opacity: 1 !important;
    transform: none !important;
  }
}
