@import url('https://fonts.googleapis.com/css2?family=Onest:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --color-primary: #d81159;
  --color-primary-hover: #b80d4b;
  --color-secondary: #f7c450;
  --color-secondary-hover: #dfb048;
  
  /* Dark Theme Colors */
  --color-navy: #363147;
  --color-navy-darker: #2a2638;
  --color-purple-light: #524b6e;
  
  /* Neutral Colors */
  --color-bg-light: #f8f9fa;
  --color-bg-white: #ffffff;
  --color-text-dark: #111827;
  --color-text-muted: #4b5563;
  --color-text-light: #f3f4f6;

  /* Glassmorphism Variables */
  --glass-bg: rgba(54, 49, 71, 0.85);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: 12px;

  /* Layout */
  --container-max-width: 1240px;
  --header-height: 72px;

  /* Typography */
  --font-family: 'Onest', system-ui, -apple-system, sans-serif;

  /* Enterprise Spacing & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-card: 0 2px 12px rgba(54, 49, 71, 0.07), 0 0 0 1px rgba(54, 49, 71, 0.05);
  --shadow-card-hover: 0 8px 32px rgba(54, 49, 71, 0.12), 0 0 0 1px rgba(54, 49, 71, 0.08);
  --shadow-dropdown: 0 8px 24px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.025em; font-weight: 700; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.015em; }
h4 { letter-spacing: -0.01em; }

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b9d 40%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradient-shift 4s ease-in-out infinite alternate;
}

@keyframes gradient-shift {
  0% { background-position: 0% center; }
  100% { background-position: 100% center; }
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover:not(.btn):not(.logo):not(.footer-brand):not([role="button"]) {
  color: var(--color-secondary);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.625rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.22s ease;
}

.btn:hover::after {
  background: rgba(255,255,255,0.08);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #e8185f 100%);
  color: var(--color-text-light);
  box-shadow: 0 1px 4px rgba(216, 17, 89, 0.25), inset 0 1px 0 rgba(255,255,255,0.12);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
  transition: left 0.55s ease;
  z-index: 1;
  pointer-events: none;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-hover) 0%, #d01055 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(216, 17, 89, 0.45), 0 0 0 1px rgba(216, 17, 89, 0.2);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(216, 17, 89, 0.25);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #f5c140 100%);
  color: var(--color-navy);
  box-shadow: 0 1px 4px rgba(247, 196, 80, 0.25), inset 0 1px 0 rgba(255,255,255,0.35);
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.45) 50%, transparent 100%);
  transition: left 0.55s ease;
  z-index: 1;
  pointer-events: none;
}

.btn-secondary:hover::before {
  left: 100%;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--color-secondary-hover) 0%, #e8b538 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(247, 196, 80, 0.45), 0 0 0 1px rgba(247, 196, 80, 0.3);
}

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

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  color: white;
  transform: translateY(-1px);
}

.btn-outline-dark {
  background: transparent;
  border: 1.5px solid var(--color-navy);
  color: var(--color-navy);
}

.btn-outline-dark:hover {
  background: rgba(54, 49, 71, 0.08);
  border-color: var(--color-navy);
  color: var(--color-navy);
  transform: translateY(-1px);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  will-change: transform;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: rgba(54, 49, 71, 0.1);
  box-shadow: none;
}

/* Noise texture overlay on header */
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.25s ease;
}

.header.scrolled::before {
  opacity: 0.14;
}

.header:not(.scrolled)::before {
  opacity: 0.22;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 36px;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-navy);
  position: relative;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-link:hover {
  background: var(--color-navy);
  color: var(--color-secondary) !important;
}

.header:not(.scrolled) .nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-secondary) !important;
}

.nav-link::after {
  display: none;
}

.nav-link.active {
  color: var(--color-primary);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-only-btn {
  display: none !important;
}

.hamburger {
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  position: relative;
  transition: all 0.3s;
}

.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  left: 0;
  transition: all 0.3s;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Hero Section */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 4rem);
  background: var(--color-navy);
  color: var(--color-bg-white);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-secondary) 0%, transparent 55%);
  opacity: 0.12;
  filter: blur(80px);
  animation: hero-orb-pulse 8s ease-in-out infinite alternate;
}

@keyframes hero-orb-pulse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.12; }
  100% { transform: scale(1.15) translate(-5%, 5%); opacity: 0.2; }
}

/* Hero spotlight beam */
.hero-spotlight {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-spotlight::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 120%;
  background: radial-gradient(
    ellipse 40% 70% at 50% 0%,
    rgba(247, 196, 80, 0.12) 0%,
    rgba(216, 17, 89, 0.06) 40%,
    transparent 70%
  );
  animation: spotlight-drift 12s ease-in-out infinite alternate;
}

@keyframes spotlight-drift {
  0% { transform: translateX(-70%) scaleX(0.8); opacity: 0.6; }
  50% { opacity: 1; }
  100% { transform: translateX(-30%) scaleX(1.2); opacity: 0.7; }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero p {
  color: #d1d5db;
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-badges {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.1);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-badges span {
  background: var(--color-primary);
  color: white;
  padding: 0.1rem 0.5rem;
  border-radius: 20px;
  font-size: 0.75rem;
}

/* Sections */
.section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.section-dark {
  background-color: var(--color-navy);
  color: var(--color-bg-white);
}

.section-dark p {
  color: #cbd5e1;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Gradient border card — premium hover effect
   Uses background-clip: padding-box on the card +
   a layered background on hover to fake a gradient border.
   No mask tricks — works in all browsers cleanly. */
.feature-card {
  background: var(--color-bg-white);
  background-clip: padding-box;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1.5px solid rgba(54, 49, 71, 0.07);
  position: relative;
}

/* Gradient border via background-clip trick — cleanest approach */
.feature-card::before {
  content: '';
  position: absolute;
  inset: -1.5px;                 /* sits exactly behind the border */
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary), var(--color-primary));
  background-size: 300% 300%;
  opacity: 0;
  transition: opacity 0.35s ease;
  animation: card-border-gradient 4s linear infinite;
  z-index: 0;
  pointer-events: none;
}

/* White fill that sits on top of the gradient, creating a border-only effect */
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: calc(var(--radius-xl) - 1.5px);
  background: var(--color-bg-white);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
  pointer-events: none;
}

/* Children must sit above the white fill layer */
.feature-card > * {
  position: relative;
  z-index: 2;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover), 0 0 40px rgba(216, 17, 89, 0.07);
  border-color: transparent;
}

@keyframes card-border-gradient {
  0% { background-position: 0% center; }
  100% { background-position: 300% center; }
}

/* Feature icon — animated glow on card hover */
.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(247, 196, 80, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
  flex-shrink: 0;
  border: 1px solid rgba(247, 196, 80, 0.15);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.feature-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: calc(var(--radius-md) + 4px);
  background: radial-gradient(circle, rgba(247, 196, 80, 0.4) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
  filter: blur(4px);
}

.feature-card:hover .feature-icon {
  background: rgba(247, 196, 80, 0.18);
  border-color: rgba(247, 196, 80, 0.5);
  transform: scale(1.1) rotate(-4deg);
  color: var(--color-secondary);
  box-shadow: 0 8px 20px rgba(247, 196, 80, 0.3);
}

.feature-card:hover .feature-icon::after {
  opacity: 1;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.875rem;
  letter-spacing: -0.01em;
}

/* Footer */
.footer {
  background-color: var(--color-navy-darker);
  color: var(--color-bg-white);
  padding: 5rem 0 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand p {
  color: rgba(255,255,255,0.45);
  margin-top: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,0.4);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9375rem;
  transition: color 0.18s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.6875rem;
  letter-spacing: 0.01em;
}

.footer-bottom p {
  font-size: 0.6875rem !important;
  margin-bottom: 0;
  color: rgba(255,255,255,0.35) !important;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5) !important;
  font-size: 0.6875rem !important;
  text-decoration: underline;
  transition: color 0.18s ease;
}

.footer-bottom a:hover {
  color: var(--color-secondary) !important;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  margin-bottom: 0.4rem;
  color: var(--color-navy);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-family: var(--font-family);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  background: var(--color-bg-white);
  color: var(--color-text-dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(216, 17, 89, 0.1);
}

.form-control::placeholder {
  color: #9ca3af;
}

.demo-wrapper {
  background: var(--color-bg-white);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  max-width: 600px;
  margin: -100px auto 0;
  position: relative;
  z-index: 20;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-up {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

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

@media (max-width: 992px) {
  .header-actions {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .footer-grid { grid-template-columns: 1fr; }
  
  .demo-wrapper {
    margin: 0 20px;
    padding: 2rem;
  }
}

/* Header — logo and nav color states */
.header:not(.scrolled) .logo img {
  filter: brightness(0) invert(1);
}
.header.scrolled .logo img {
  filter: none;
}
.header:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.88);
}
.header:not(.scrolled) .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}
.header.scrolled .nav-link {
  color: var(--color-navy);
}
.header.scrolled .nav-link.active {
  color: var(--color-primary);
  background: rgba(216, 17, 89, 0.06);
}
.header:not(.scrolled) .hamburger { background: var(--color-bg-white); }
.header:not(.scrolled) .hamburger::before, .header:not(.scrolled) .hamburger::after { background: var(--color-bg-white); }
.header.scrolled .hamburger { background: var(--color-navy); }
.header.scrolled .hamburger::before, .header.scrolled .hamburger::after { background: var(--color-navy); }

/* Pulse Animation for essence of product */
@keyframes pulse-ring {
  0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(216, 17, 89, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(216, 17, 89, 0); }
  100% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(216, 17, 89, 0); }
}

.pulse-element {
  position: relative;
}
.pulse-element::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  margin-top: -50px;
  margin-left: -50px;
  border-radius: 50%;
  animation: pulse-ring 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
  z-index: -1;
}

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

.animated-tooltip {
  position: absolute;
  top: 20%;
  right: 10%;
  background: var(--color-primary);
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  animation: tooltip-float 3s ease-in-out infinite;
  box-shadow: 0 10px 25px rgba(216, 17, 89, 0.4);
}
.animated-tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--color-primary);
}

@keyframes tooltip-fade {
  0%, 10% { opacity: 0; transform: translateY(10px); }
  20%, 80% { opacity: 1; transform: translateY(0); }
  90%, 100% { opacity: 0; transform: translateY(-10px); }
}
.tt-1 { top: 20%; left: 30%; animation: tooltip-fade 9s infinite 0s; }
.tt-2 { top: 50%; right: 20%; animation: tooltip-fade 9s infinite 3s; }
.tt-3 { bottom: 30%; left: 40%; animation: tooltip-fade 9s infinite 6s; }

.animated-tooltip-new {
  position: absolute;
  background: var(--color-primary);
  color: white;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(216, 17, 89, 0.4);
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  white-space: nowrap;
}
.animated-tooltip-new::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  margin-left: -8px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--color-primary);
}

/* UI Wireframes for Use Cases */
.ui-mockup {
  width: 100%;
  height: 300px;
  background: var(--color-navy);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  padding: 20px;
}
.ui-header {
  height: 20px;
  width: 30%;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  margin-bottom: 30px;
}
.ui-line {
  height: 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  margin-bottom: 15px;
}
.ui-line.short { width: 60%; }
.ui-line.medium { width: 80%; }
.ui-line.long { width: 100%; }

/* Animation for UC1: Step by step */
@keyframes step-tooltip {
  0%, 25% { top: 70px; left: 20px; opacity: 1; }
  30%, 55% { top: 120px; left: 20px; opacity: 1; }
  60%, 85% { top: 170px; left: 20px; opacity: 1; }
  90%, 100% { opacity: 0; }
}
.uc1-tooltip {
  position: absolute;
  background: var(--color-primary);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  animation: step-tooltip 9s infinite;
}

/* Animation for UC2: Smart Tooltips */
@keyframes pulse-dot {
  0% { transform: scale(0.8); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.8; }
}
.uc2-dot {
  position: absolute;
  top: 110px;
  left: 50%;
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
.uc2-tooltip {
  position: absolute;
  top: 70px;
  left: calc(50% + 30px);
  background: var(--color-bg-white);
  color: var(--color-navy);
  padding: 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Animation for UC3: Validation */
@keyframes validation-appear {
  0%, 20% { opacity: 0; transform: translateY(10px); }
  30%, 90% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}
.uc3-success {
  position: absolute;
  bottom: 40px;
  right: 40px;
  background: #10b981;
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  animation: validation-appear 5s infinite;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =========================================
   COMPLEX SKELETON ANIMATIONS
========================================= */

/* Base Skeleton Variables */
:root {
  --sk-bg: #222340;
  --sk-panel: #2d2e50;
  --sk-line: rgba(255,255,255,0.1);
  --sk-primary: var(--color-secondary);
}

.sk-container {
  width: 100%;
  height: 350px;
  background: var(--sk-bg);
  border-radius: 16px;
  position: relative;
  overflow: visible;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  font-family: var(--font-family);
}

.sk-sidebar {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 25%;
  background: var(--sk-panel);
  border-right: 1px solid var(--sk-line);
  padding: 20px;
}
.sk-header {
  position: absolute;
  top: 0; left: 25%; right: 0;
  height: 60px;
  background: var(--sk-panel);
  border-bottom: 1px solid var(--sk-line);
  padding: 20px;
}
.sk-content {
  position: absolute;
  top: 60px; left: 25%; right: 0; bottom: 0;
  padding: 30px;
}

.sk-line {
  height: 12px;
  background: var(--sk-line);
  border-radius: 6px;
  margin-bottom: 15px;
}
.sk-line.short { width: 40%; }
.sk-line.medium { width: 70%; }
.sk-line.long { width: 100%; }

.sk-box {
  background: var(--sk-panel);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
}

/* Tooltip Base */
.sk-tooltip {
  position: absolute;
  background: var(--color-secondary);
  color: var(--color-navy);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba( 247, 196, 80, 0.4);
  opacity: 0;
  z-index: 50;
  white-space: nowrap;
}
.sk-tooltip::after {
  content: "";
  position: absolute;
  border: 6px solid transparent;
}
.sk-tooltip.point-up::after {
  top: -12px; left: 20px;
  border-bottom-color: var(--color-secondary);
}
.sk-tooltip.point-down::after {
  bottom: -12px; left: 20px;
  border-top-color: var(--color-secondary);
}
.sk-tooltip.point-left::after {
  left: -12px; top: 50%; margin-top: -6px;
  border-right-color: var(--color-secondary);
}
.sk-tooltip.point-right::after {
  right: -12px; top: 50%; margin-top: -6px;
  border-left-color: var(--color-secondary);
}

/* Cursor Base */
.sk-cursor {
  position: absolute;
  width: 24px; height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' stroke='black' stroke-width='1'%3E%3Cpath d='M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z'/%3E%3C/svg%3E") no-repeat;
  z-index: 100;
  opacity: 0;
}

/* HERO ANIMATION */
@keyframes hero-tt-fade {
  0%, 10% { opacity: 0; transform: translateY(10px); }
  20%, 80% { opacity: 1; transform: translateY(0); }
  90%, 100% { opacity: 0; transform: translateY(-10px); }
}
.hero-tt-1 { top: 80px; left: 28%; animation: hero-tt-fade 9s infinite 0s; }
.hero-tt-2 { top: 180px; right: 20%; animation: hero-tt-fade 9s infinite 3s; }
.hero-tt-3 { bottom: 60px; left: 40%; animation: hero-tt-fade 9s infinite 6s; }


/* UC1: ONBOARDING ANIMATION */
@keyframes uc1-step1 {
  0%, 5% { opacity: 0; transform: translateY(10px); }
  10%, 25% { opacity: 1; transform: translateY(0); }
  30%, 100% { opacity: 0; transform: translateY(-10px); }
}
@keyframes uc1-step2 {
  0%, 30% { opacity: 0; transform: translateY(10px); }
  35%, 55% { opacity: 1; transform: translateY(0); }
  60%, 100% { opacity: 0; transform: translateY(-10px); }
}
@keyframes uc1-step3 {
  0%, 60% { opacity: 0; transform: translateY(10px); }
  65%, 85% { opacity: 1; transform: translateY(0); }
  90%, 100% { opacity: 0; transform: translateY(-10px); }
}
@keyframes uc1-popup {
  0%, 85% { opacity: 0; transform: scale(0.8); }
  90%, 98% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.8); }
}

.uc1-t1 { top: 30px; left: 30%; animation: uc1-step1 10s infinite; }
.uc1-t2 { top: 160px; left: 50%; animation: uc1-step2 10s infinite; }
.uc1-t3 { top: 200px; left: 33%; animation: uc1-step3 10s infinite; }
.uc1-final {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  color: var(--color-navy);
  padding: 20px 40px;
  border-radius: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  animation: uc1-popup 10s infinite;
  z-index: 60;
  text-align: center;
  margin-left: -100px;
  margin-top: -40px;
}
.uc1-final span { display: block; font-size: 3rem; margin-bottom: 10px; }


/* UC2: SUPPORT WIDGET ANIMATION */
@keyframes uc2-cursor {
  0% { top: 50%; left: 50%; opacity: 0; }
  10% { opacity: 1; }
  20%, 30% { top: 290px; left: 92%; } /* Move to widget */
  40% { transform: scale(0.8); } /* Click widget */
  45% { transform: scale(1); }
  50%, 60% { top: 120px; left: 75%; } /* Move to question */
  70% { transform: scale(0.8); } /* Click question */
  75% { transform: scale(1); }
  85%, 100% { opacity: 0; }
}
@keyframes uc2-panel {
  0%, 40% { opacity: 0; transform: translateY(20px); pointer-events: none; }
  45%, 70% { opacity: 1; transform: translateY(0); pointer-events: auto; }
  75%, 100% { opacity: 0; transform: translateY(20px); }
}
@keyframes uc2-t1 {
  0%, 70% { opacity: 0; transform: translateY(10px); }
  75%, 95% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; }
}

.uc2-widget-btn {
  position: absolute;
  bottom: 20px; right: 20px;
  width: 50px; height: 50px;
  background: var(--color-secondary);
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba( 247, 196, 80, 0.4);
  display: flex; justify-content: center; align-items: center;
  color: var(--color-navy); font-weight: bold; font-size: 1.5rem;
}
.uc2-widget-panel {
  position: absolute;
  bottom: 80px; right: 20px;
  width: 250px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  padding: 15px;
  animation: uc2-panel 12s infinite;
}
.uc2-widget-header {
  color: var(--color-navy); font-weight: 700; margin-bottom: 10px; font-size: 1rem;
}
.uc2-widget-item {
  background: var(--color-bg-light); color: var(--color-navy);
  padding: 10px; border-radius: 6px; font-size: 0.85rem;
  margin-bottom: 8px; cursor: pointer;
}
.uc2-cursor-anim { animation: uc2-cursor 12s infinite; }
.uc2-t1-anim { top: 120px; left: 30%; animation: uc2-t1 12s infinite; }


/* UC3: PROCESS ANIMATION */
@keyframes uc3-cursor {
  0% { top: 80%; left: 80%; opacity: 0; }
  5% { opacity: 1; }
  15%, 25% { top: 165px; left: 40%; } /* Click input 1 */
  35%, 45% { top: 235px; left: 40%; } /* Click input 2 */
  55%, 65% { top: 305px; left: 40%; } /* Click btn */
  70% { transform: scale(0.8); }
  75% { transform: scale(1); }
  85%, 100% { opacity: 0; }
}
@keyframes uc3-t1 {
  0%, 15% { opacity: 0; }
  20%, 35% { opacity: 1; }
  40%, 100% { opacity: 0; }
}
@keyframes uc3-t2 {
  0%, 35% { opacity: 0; }
  40%, 55% { opacity: 1; }
  60%, 100% { opacity: 0; }
}
@keyframes uc3-popup {
  0%, 75% { opacity: 0; transform: scale(0.8); }
  80%, 95% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.8); }
}

.uc3-input {
  width: 60%; height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  margin-bottom: 30px;
}
.uc3-btn {
  width: 120px; height: 40px;
  background: var(--color-primary);
  border-radius: 6px;
}
.uc3-cursor-anim { animation: uc3-cursor 10s infinite; }
.uc3-t1-anim { top: 50%; left: 105%; transform: translateY(-50%); animation: uc3-t1 10s infinite; }
.uc3-t2-anim { top: 50%; left: 105%; transform: translateY(-50%); animation: uc3-t2 10s infinite; }
.uc3-input { position: relative; }
.uc3-final {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #10b981;
  color: white;
  padding: 15px 30px;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  animation: uc3-popup 10s infinite;
  z-index: 60;
  text-align: center;
  margin-left: -120px;
  margin-top: -20px;
  display: flex; align-items: center; gap: 10px;
}

/* =========================================
   FEATURES PAGE CSS ANIMATIONS
   ========================================= */

/* Feature 1: Step by Step */
@keyframes f1-cursor {
  0%, 10% { top: 80%; left: 80%; opacity: 0; }
  15% { opacity: 1; }
  25%, 35% { top: 120px; left: 50%; } /* Click box */
  45%, 55% { top: 40px; left: 10%; } /* Click menu */
  65%, 100% { opacity: 0; }
}
@keyframes f1-t1 {
  0%, 25% { opacity: 0; transform: scale(0.8); }
  30%, 40% { opacity: 1; transform: scale(1); }
  45%, 100% { opacity: 0; transform: scale(0.8); }
}
@keyframes f1-t2 {
  0%, 45% { opacity: 0; transform: scale(0.8); }
  50%, 60% { opacity: 1; transform: scale(1); }
  65%, 100% { opacity: 0; transform: scale(0.8); }
}
.f1-cursor-anim { animation: f1-cursor 12s infinite; }
.f1-t1-anim { top: 50px; left: 40%; animation: f1-t1 12s infinite; }
.f1-t2-anim { top: 25px; left: 22%; animation: f1-t2 12s infinite; }

/* Feature 2: Editor */
@keyframes f2-cursor {
  0%, 10% { top: 80%; left: 80%; opacity: 0; }
  15% { opacity: 1; }
  25%, 35% { top: 60px; left: 30%; } /* Select element */
  45%, 55% { top: 120px; left: 75%; } /* Type in editor */
  65%, 100% { opacity: 0; }
}
@keyframes f2-highlight {
  0%, 25% { border-color: transparent; background: var(--sk-panel); }
  30%, 100% { border-color: var(--color-primary); background: rgba(216, 17, 89, 0.1); }
}
@keyframes f2-popup {
  0%, 25% { opacity: 0; }
  30%, 100% { opacity: 1; }
}
.f2-cursor-anim { animation: f2-cursor 10s infinite; }
.f2-highlight { animation: f2-highlight 10s infinite; }
.f2-tooltip-popup {
  position: absolute; top: 100px; left: 30%; background: var(--color-secondary); color: var(--color-navy);
  padding: 8px 12px; border-radius: 6px; font-size: 0.8rem; font-weight: bold;
  animation: f2-popup 10s infinite;
}

/* Feature 3: Widget */
@keyframes f3-cursor {
  0%, 10% { top: 80%; left: 80%; opacity: 0; }
  15% { opacity: 1; }
  25%, 35% { top: 290px; left: 92%; } /* Click widget */
  45%, 55% { top: 120px; left: 75%; } /* Click item */
  65%, 100% { opacity: 0; }
}
@keyframes f3-panel {
  0%, 25% { opacity: 0; transform: translateY(20px); pointer-events: none; }
  30%, 100% { opacity: 1; transform: translateY(0); pointer-events: auto; }
}
.f3-cursor-anim { animation: f3-cursor 12s infinite; }
.f3-widget-btn {
  position: absolute; bottom: 20px; right: 20px; width: 50px; height: 50px;
  background: var(--color-secondary); border-radius: 50%; display: flex; justify-content: center; align-items: center;
  color: var(--color-navy); font-weight: bold; font-size: 1.5rem; box-shadow: 0 10px 20px rgba( 247, 196, 80, 0.4);
}
.f3-widget-panel {
  position: absolute; bottom: 80px; right: 20px; width: 250px; background: white; border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3); padding: 15px; animation: f3-panel 12s infinite;
}
.f3-widget-item { background: #f3f4f6; color: var(--color-navy); padding: 10px; border-radius: 6px; font-size: 0.85rem; margin-bottom: 8px; }

/* Feature 4: Tooltips */
@keyframes f4-cursor {
  0% { top: 80%; left: 80%; opacity: 0; }
  10% { opacity: 1; }
  20%, 40% { top: 50px; left: 75%; } /* Hover icon 1 */
  50%, 70% { top: 120px; left: 75%; } /* Hover icon 2 */
  80%, 100% { opacity: 0; }
}
@keyframes f4-tt1 { 0%, 20% { opacity: 0; } 25%, 40% { opacity: 1; } 45%, 100% { opacity: 0; } }
@keyframes f4-tt2 { 0%, 50% { opacity: 0; } 55%, 70% { opacity: 1; } 75%, 100% { opacity: 0; } }
@keyframes f4-pulse { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba( 247,196,80,0.7); } 70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba( 247,196,80,0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba( 247,196,80,0); } }
.f4-cursor-anim { animation: f4-cursor 10s infinite; }
.f4-icon { position: absolute; right: -20px; top: 10px; width: 20px; height: 20px; background: var(--color-secondary); color: var(--color-navy); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 0.7rem; font-weight: bold; animation: f4-pulse 2s infinite; }
.f4-tt1 { top: 50%; left: calc(100% + 15px); transform: translateY(-50%); animation: f4-tt1 10s infinite; }
.f4-tt2 { top: 50%; left: calc(100% + 15px); transform: translateY(-50%); animation: f4-tt2 10s infinite; }

/* Feature 5: Analytics */
@keyframes f5-grow {
  0% { height: 0; opacity: 0; }
  20%, 100% { height: var(--target-h); opacity: 1; }
}
@keyframes f5-spin {
  0% { transform: rotate(0deg); opacity: 0; }
  20%, 100% { transform: rotate(360deg); opacity: 1; }
}
.f5-bar { width: 15%; background: var(--sk-line); border-radius: 4px 4px 0 0; animation: f5-grow 5s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.f5-circle { width: 60px; height: 60px; border: 8px solid var(--sk-line); border-top-color: var(--color-secondary); border-radius: 50%; position: absolute; top: 50%; left: 50%; margin-top: -30px; margin-left: -30px; animation: f5-spin 5s cubic-bezier(0.4, 0, 0.2, 1) infinite; }

/* Feature 6: Desktop */
@keyframes f6-tt {
  0%, 20% { opacity: 0; transform: scale(0.8); }
  25%, 80% { opacity: 1; transform: scale(1); }
  85%, 100% { opacity: 0; transform: scale(0.8); }
}
.f6-tt-anim { top: 110px; left: 35%; animation: f6-tt 8s infinite; z-index: 50; }

/* Dropdown Menu */
.nav-item-dropdown {
  position: relative;
  display: inline-block;
}
.nav-item-dropdown .nav-link {
  cursor: pointer;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background-color: white;
  min-width: 220px;
  box-shadow: var(--shadow-dropdown);
  border-radius: var(--radius-lg);
  z-index: 200;
  border: 1px solid rgba(54, 49, 71, 0.08);
  opacity: 0;
  padding: 6px;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}
.nav-item-dropdown:hover .nav-dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  color: var(--color-navy);
  padding: 9px 14px;
  text-decoration: none;
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover {
  background-color: var(--color-navy);
  color: var(--color-secondary);
}

/* Bento Grid Layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 900px) {
  .bento-grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

.bento-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.bento-item-large {
  grid-column: span 1;
}
@media (min-width: 900px) {
  .bento-item-large {
    grid-column: span 8;
  }
}
.bento-item-metric {
  grid-column: span 1;
}
@media (min-width: 900px) {
  .bento-item-metric {
    grid-column: span 4;
  }
}
.bento-item-small {
  grid-column: span 1;
}
@media (min-width: 768px) {
  .bento-item-small {
    grid-column: span 1;
  }
}
@media (min-width: 900px) {
  .bento-item-small {
    grid-column: span 4;
  }
}

/* Professional Icons */
.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
}

/* Enterprise Checkmark list */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23f7c450'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Page Header for inner pages */
.page-header {
  padding-top: calc(var(--header-height) + 5rem);
  padding-bottom: 5rem;
  background: var(--color-navy);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}


/* =========================================
   GLOBAL BACKGROUND ENHANCEMENTS
   ========================================= */

body {
  position: relative;
  background-color: #f9f9fb;
  background-image: 
    linear-gradient(rgba(54, 49, 71, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54, 49, 71, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* Floating ambient light — softer, more refined */
body::after {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -3;
  pointer-events: none;
  overflow: hidden;
  background: 
    radial-gradient(ellipse 60% 50% at 10% 60%, rgba(247, 196, 80, 0.10), transparent),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(247, 196, 80, 0.07), transparent);
  animation: mesh-pulse 25s ease-in-out infinite alternate;
}

@keyframes mesh-pulse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.7; }
  50% { transform: scale(1.05) translate(2%, 3%); opacity: 1; }
  100% { transform: scale(1.02) translate(-1%, -1%); opacity: 0.85; }
}

/* Structural border */
.section {
  position: relative;
  border-bottom: 1px solid rgba(54, 49, 71, 0.04);
}

/* Enterprise card style — clean and precise */
.card, .price-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(54, 49, 71, 0.08);
  box-shadow: var(--shadow-card);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover, .price-card:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

/* Enhance dark sections */
.section-dark {
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.section-dark > .container {
  position: relative;
  z-index: 1;
}


.hero {
  background-image: 
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E"),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 128px 128px, 80px 80px, 80px 80px;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
  opacity: 0.8;
  filter: blur(80px);
  animation: hero-orb-float 15s infinite alternate ease-in-out;
  pointer-events: none;
}

@keyframes hero-orb-float {
  0% { transform: translate(0, 0); }
  100% { transform: translate(100px, -50px); }
}


/* =========================================
   HERO ANIMATED SQUARES
   ========================================= */
.hero-animated-squares {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, 80px);
  grid-auto-rows: 80px;
  overflow: hidden;
  opacity: 0.6;
}

.hero-square {
  width: 100%;
  height: 100%;
  background: rgba(247, 196, 80, 0);
  transition: background 1.5s ease-in-out, box-shadow 1.5s ease-in-out;
}

.hero-square.active {
  background: rgba(247, 196, 80, 0.06);
  box-shadow: 0 0 15px rgba(247, 196, 80, 0.08);
  transition: background 0.1s ease-out, box-shadow 0.1s ease-out;
}




/* Animation for tooltips in mockups */
@keyframes pulse-tooltip {
  0% { transform: scale(1); box-shadow: 0 5px 15px rgba(247, 196, 80, 0.2); opacity: 1; }
  50% { transform: scale(1.02); box-shadow: 0 8px 20px rgba(247, 196, 80, 0.4); opacity: 1; }
  100% { transform: scale(1); box-shadow: 0 5px 15px rgba(247, 196, 80, 0.2); opacity: 1; }
}

@keyframes float-left {
  0% { transform: translateY(0px) perspective(1000px) rotateY(8deg) rotateX(4deg); }
  50% { transform: translateY(-15px) perspective(1000px) rotateY(8deg) rotateX(4deg); }
  100% { transform: translateY(0px) perspective(1000px) rotateY(8deg) rotateX(4deg); }
}
@keyframes float-right {
  0% { transform: translateY(0px) perspective(1000px) rotateY(-8deg) rotateX(4deg); }
  50% { transform: translateY(-15px) perspective(1000px) rotateY(-8deg) rotateX(4deg); }
  100% { transform: translateY(0px) perspective(1000px) rotateY(-8deg) rotateX(4deg); }
}

/* =========================================
   ENTERPRISE FINISHING TOUCHES
   ========================================= */

/* Section labels / eyebrow text */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
  padding: 0.3rem 0.875rem;
  background: rgba(216, 17, 89, 0.07);
  border-radius: 100px;
  border: 1px solid rgba(216, 17, 89, 0.15);
}

/* Stat counter enterprise style */
#users-counter {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/* Enterprise testimonial cards */
.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  position: relative;
  transition: all 0.22s ease;
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}

/* Stats metrics inline */
.stat-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.375rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-primary);
  line-height: 1;
}

/* Client logos section refinement */
.clients-bar {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Mobile menu — refined */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch !important;
    padding: 1.5rem 2rem;
    gap: 0.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border-bottom: 1px solid rgba(54, 49, 71, 0.08);
    transform: translateY(-12px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu .nav-link {
    color: var(--color-navy) !important;
    background: transparent !important;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    width: 100%;
    font-size: 1rem;
  }

  .nav-menu .nav-link:hover {
    background: var(--color-navy) !important;
    color: var(--color-secondary) !important;
  }
  
  .header-actions {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .footer-grid { grid-template-columns: 1fr; }
  
  .demo-wrapper {
    margin: 0 20px;
    padding: 2rem;
  }

  /* Active mobile menu header state */
  .header.active {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(54, 49, 71, 0.08) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08) !important;
  }

  .header.active .logo img {
    filter: none !important;
  }

  .header.active .hamburger {
    background: transparent !important;
  }

  .header.active .hamburger::before {
    top: 0 !important;
    transform: rotate(45deg) !important;
    background: var(--color-navy) !important;
  }

  .header.active .hamburger::after {
    top: 0 !important;
    transform: rotate(-45deg) !important;
    background: var(--color-navy) !important;
  }

  /* Mobile only CTA button */
  .mobile-only-btn {
    display: block !important;
  }

  /* Mobile dropdown styles */
  .nav-menu .nav-item-dropdown {
    display: block !important;
    width: 100% !important;
  }

  .nav-menu .nav-item-dropdown .nav-link {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  /* Disable desktop hover behaviors on mobile viewports */
  .nav-item-dropdown:hover .nav-dropdown-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: none !important;
  }
  .nav-item-dropdown:hover > .nav-link svg {
    transform: none !important;
  }

  .nav-item-dropdown .nav-dropdown-menu {
    display: none;
    transition: none !important;
  }
  
  .nav-item-dropdown.active .nav-dropdown-menu {
    display: block !important;
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    padding-left: 1.5rem !important;
    background: transparent !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    margin-top: 0.5rem;
  }

  .nav-menu .nav-dropdown-menu a {
    text-align: left !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.95rem !important;
    color: var(--color-navy) !important;
    background: transparent !important;
    width: 100% !important;
    display: block !important;
  }

  .nav-menu .nav-dropdown-menu a:hover {
    background: var(--color-navy) !important;
    color: var(--color-secondary) !important;
  }
  
  .nav-item-dropdown.active > .nav-link svg {
    transform: rotate(180deg) !important;
  }

  /* Prevent mockup tooltips from overflowing on mobile viewports */
  .hero-tt-3 {
    left: 22% !important;
  }
  .uc1-t2 {
    left: 30% !important;
  }
  .uc3-t1-anim, .uc3-t2-anim {
    top: -42px !important;
    left: 0 !important;
    transform: none !important;
  }
  .uc3-t1-anim::after, .uc3-t2-anim::after {
    left: 20px !important;
    top: auto !important;
    bottom: -12px !important;
    margin-top: 0 !important;
    border-color: transparent !important;
    border-top-color: var(--color-secondary) !important;
  }
}

/* Custom scrollbar — subtle enterprise touch */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(54, 49, 71, 0.2);
  border-radius: 100px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(54, 49, 71, 0.35);
}

/* Smooth selection color */
::selection {
  background: rgba(216, 17, 89, 0.15);
  color: var(--color-primary);
}

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

/* =========================================
   THE IZЮМИНКА — PREMIUM ACCENTS
   ========================================= */

/* Section header with animated gradient underline */
.section-header::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 100px;
  margin: 1.5rem auto 0;
  background-size: 200% auto;
  animation: gradient-shift 3s ease-in-out infinite alternate;
}

/* Noise texture overlay on dark sections for depth */
.section-dark::before,
.hero::before {
  z-index: 0;
}

.section-dark {
  position: relative;
}

.section-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
  pointer-events: none;
  opacity: 0.9;
  z-index: 0;
}

/* Stat badge glow — yellow to match the secondary color */
.stat-badge,
[data-target] {
  text-shadow: 0 0 60px rgba(247, 196, 80, 0.5);
}

/* Hero badge shimmer */
.hero-badges {
  position: relative;
  overflow: hidden;
}

.hero-badges::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: badge-shimmer 4s ease-in-out infinite;
}

@keyframes badge-shimmer {
  0% { left: -100%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

/* Use case stat metrics — left border glow animation */
[style*="border-left: 4px solid var(--color-primary)"] {
  position: relative;
  overflow: hidden;
  background: rgba(216, 17, 89, 0.03) !important;
  transition: all 0.3s ease;
}

[style*="border-left: 4px solid var(--color-primary)"]:hover {
  background: rgba(216, 17, 89, 0.06) !important;
  transform: translateX(4px);
}

/* CTA section glow pulse behind button */
.section > .container > a.btn-primary,
.text-center a.btn-primary {
  position: relative;
}

.section > .container > a.btn-primary::after,
.text-center a.btn-primary::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--radius-md) + 8px);
  background: rgba(216, 17, 89, 0.2);
  filter: blur(16px);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.section > .container > a.btn-primary:hover::after,
.text-center a.btn-primary:hover::after {
  opacity: 1;
  animation: cta-pulse 2s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Section transition shimmer at border-bottom */
.section {
  position: relative;
}

/* Testimonials dark cards — hover lift with glow */
.section-dark .card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-dark .card:hover {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.12) !important;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.1) !important;
}

/* Footer brand text with gradient hover */
.footer-brand img {
  transition: filter 0.3s ease, opacity 0.3s ease;
  opacity: 0.85;
}

.footer-brand img:hover {
  opacity: 1;
}

/* Nav dropdown arrow animated */
.nav-item-dropdown .nav-link svg {
  transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Smooth page entry */
@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

body {
  animation: page-fade-in 0.4s ease-out;
}

/* Overrides for feature cards inside dark sections */
.section-dark .feature-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.section-dark .feature-card::after {
  background: var(--color-navy-darker) !important;
}

.section-dark .features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.section-dark .features-grid .feature-card {
  flex: 1 1 270px;
  max-width: 380px;
}
