/* ----------------------------------------------------
   QROrderVN - SaaS Homepage Stylesheet
   Design System, CSS Mockups, Custom Animations, and Responsive Layouts
---------------------------------------------------- */

:root {
  /* HSL Tailored Color Palette */
  --hue-green: 162;
  --hue-orange: 28;
  --hue-dark: 215;

  --color-primary: hsl(var(--hue-green), 90%, 35%);
  --color-primary-hover: hsl(var(--hue-green), 90%, 28%);
  --color-primary-light: hsl(var(--hue-green), 65%, 96%);
  --color-primary-soft: hsl(var(--hue-green), 75%, 92%);

  --color-accent: hsl(var(--hue-orange), 100%, 54%);
  --color-accent-hover: hsl(var(--hue-orange), 100%, 47%);
  --color-accent-light: hsl(var(--hue-orange), 100%, 96%);

  --color-ink-dark: hsl(var(--hue-dark), 40%, 11%);
  --color-ink: hsl(var(--hue-dark), 30%, 18%);
  --color-muted: hsl(var(--hue-dark), 16%, 50%);
  --color-line: hsl(var(--hue-dark), 20%, 93%);
  --color-bg-light: hsl(var(--hue-green), 25%, 98%);
  --color-white: #ffffff;

  /* Glassmorphism & Shadow Tokens */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.06);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 25px rgba(5, 150, 105, 0.25);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transition curves */
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base & Scroll styles --- */
html {
  scroll-behavior: smooth;
}

.saas-home,
.saas-home p,
.saas-home span,
.saas-home a,
.saas-home li,
.saas-home input,
.saas-home button,
.saas-home textarea,
.saas-home select {
  font-family: 'Plus Jakarta Sans', 'Be Vietnam Pro', sans-serif !important;
  color: var(--color-ink);
}

body {
  background-color: var(--color-white);
  overflow-x: hidden;
}

.saas-home h1,
.saas-home h2,
.saas-home h3,
.saas-home h4,
.saas-home h5,
.saas-home h6 {
  font-family: 'Be Vietnam Pro', sans-serif !important;
  color: var(--color-ink-dark);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.saas-home {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-image: radial-gradient(rgba(5, 150, 105, 0.04) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

/* Text Gradient Classes */
.text-gradient-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #064e3b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.text-gradient-accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

/* Hero Badge Pill */
.saas-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(5, 150, 105, 0.06);
  border: 1px solid rgba(5, 150, 105, 0.15);
  padding: 6px 14px 6px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.03);
}

.pill-tag {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  color: var(--color-white);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pill-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
}

.saas-home *,
.saas-home *::before,
.saas-home *::after {
  box-sizing: border-box;
}

.saas-home a:not(.saas-btn) {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s var(--ease-in-out);
}

.saas-home a.saas-btn {
  text-decoration: none;
}

.saas-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* --- Ambient Decorative Blobs --- */
.saas-ambient-blob {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(140px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  animation: blobDrift 25s infinite alternate var(--ease-in-out);
}

.saas-ambient-blob--1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--color-primary-soft) 0%, rgba(232, 248, 240, 0.2) 100%);
  top: -100px;
  right: -50px;
}

.saas-ambient-blob--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-accent-light) 0%, rgba(255, 138, 31, 0.1) 100%);
  top: 400px;
  left: -200px;
  animation-duration: 30s;
  animation-delay: -5s;
}

.saas-ambient-blob--3 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-primary-light) 0%, rgba(5, 150, 105, 0.05) 100%);
  top: 1400px;
  right: -250px;
}

.saas-ambient-blob--4 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-accent-light) 0%, rgba(255, 138, 31, 0.05) 100%);
  bottom: 800px;
  left: -150px;
  animation-duration: 20s;
}

@keyframes blobDrift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.15); }
  100% { transform: translate(-30px, 80px) scale(0.9); }
}

/* --- Buttons --- */
.saas-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease-premium);
}

.saas-btn i {
  font-size: 13px;
  transition: transform 0.25s var(--ease-in-out);
}

.saas-btn:hover i {
  transform: translateX(4px);
}

.saas-btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.2);
  position: relative;
  overflow: hidden;
}

.saas-btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s ease;
  z-index: 1;
}

.saas-btn--primary:hover::after {
  left: 125%;
  transition: 0.75s ease;
}

.saas-btn--primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(5, 150, 105, 0.3);
}

.saas-btn--ghost {
  color: var(--color-ink);
  background-color: transparent;
}

.saas-btn--ghost:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.saas-btn--outline {
  border-color: var(--color-line);
  color: var(--color-ink);
  background-color: var(--color-white);
}

.saas-btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

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

.saas-btn--light {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.saas-btn--light:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.saas-btn--light-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--color-white);
  background-color: transparent;
}

.saas-btn--light-outline:hover {
  border-color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* --- Navigation Header --- */
.saas-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1200px;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.28) 100%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-bottom-color: rgba(255, 255, 255, 0.3);
  border-right-color: rgba(255, 255, 255, 0.4);
  border-radius: 9999px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 
    0 10px 30px rgba(5, 150, 105, 0.04),
    0 4px 12px rgba(15, 23, 42, 0.03),
    inset 0 3px 6px rgba(255, 255, 255, 0.7),
    inset 0 -2px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.4s var(--ease-premium);
  animation: saasBubbleFloat 6s ease-in-out infinite alternate;
}

/* Glass bubble glossy reflection top overlay */
.saas-header::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 24px;
  right: 24px;
  height: 12px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 9999px;
  pointer-events: none;
  z-index: 1;
}

@keyframes saasBubbleFloat {
  0% {
    transform: translateX(-50%) translateY(0);
  }
  100% {
    transform: translateX(-50%) translateY(5px);
  }
}

.saas-header.is-scrolled {
  top: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.72) 100%) !important;
  box-shadow: 
    0 14px 40px rgba(15, 23, 42, 0.08),
    0 2px 8px rgba(15, 23, 42, 0.02),
    inset 0 4px 10px rgba(255, 255, 255, 0.85),
    inset 0 -2px 6px rgba(0, 0, 0, 0.03);
  border-color: rgba(255, 255, 255, 0.8);
}

.saas-header .saas-shell {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
}

.saas-header__inner {
  height: 64px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.saas-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  color: var(--color-primary);
}

.saas-brand img {
  max-height: 40px;
  object-fit: contain;
}

.saas-brand__mark {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  color: var(--color-white);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.2);
}

.saas-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.saas-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink);
  padding: 6px 0;
  position: relative;
  transition: color 0.25s ease;
}

.saas-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  transition: all 0.25s var(--ease-in-out);
  transform: translateX(-50%);
}

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

.saas-nav a:hover::after,
.saas-nav a.is-active::after {
  width: 60%;
}

.saas-nav a.is-active {
  color: var(--color-primary);
}

.saas-nav-mobile-actions {
  display: none;
}

.saas-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.saas-header__actions .saas-btn--ghost {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink) !important;
  padding: 8px 16px !important;
}

.saas-header__actions .saas-btn--primary {
  padding: 10px 20px !important;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15) !important;
}

.saas-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.5) 100%) !important;
  box-shadow: 
    0 4px 10px rgba(15, 23, 42, 0.04),
    inset 0 2px 4px rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: all 0.3s var(--ease-premium);
}

.saas-nav-toggle:hover {
  background: var(--color-white) !important;
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 
    0 6px 14px rgba(15, 23, 42, 0.06),
    inset 0 2px 4px rgba(255, 255, 255, 0.9);
}

.saas-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-ink);
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease-premium);
}

.saas-nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.saas-nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.saas-nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.saas-hero {
  position: relative;
  padding: 100px 0 80px;
  z-index: 1;
}

.saas-hero__centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1120px;
  margin: 0 auto;
}

.saas-hero__centered h1 {
  font-size: clamp(38px, 5.5vw, 60px);
  line-height: 1.1;
  margin: 24px 0;
  max-width: 820px;
  text-align: center;
}

.saas-hero__centered .hero-desc {
  font-size: 19px;
  line-height: 1.6;
  color: var(--color-muted);
  margin: 0 auto 36px;
  max-width: 720px;
  text-align: center;
}

.saas-hero__centered .saas-actions {
  justify-content: center;
  margin-bottom: 24px;
}

.saas-hero-trust-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 56px;
  text-align: center;
}

.saas-hero__centered .saas-product-stage {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

/* --- Light Mode Hero Section --- */
.saas-hero--light {
  background-color: #FAFAF7 !important;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(238, 247, 243, 0.7) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(248, 251, 253, 0.8) 0%, transparent 45%),
    radial-gradient(circle at 50% 65%, rgba(255, 246, 238, 0.95) 0%, transparent 60%),
    radial-gradient(circle at 20% 85%, rgba(223, 244, 234, 0.6) 0%, transparent 50%),
    linear-gradient(180deg, #FAFAF7 0%, #ffffff 100%) !important;
  background-size: 100% 100%;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

/* Background overlays in Light Mode */
.saas-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.saas-hero--light .saas-hero-glow-radial {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.04) 0%, rgba(255, 138, 31, 0.02) 50%, transparent 100%);
  filter: blur(80px);
  z-index: 1;
}

/* Animated mesh blobs */
.saas-hero-mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.16;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

.saas-hero-mesh-blob--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #EEF7F3 0%, rgba(238, 247, 243, 0) 70%);
  top: -10%;
  left: -5%;
  animation: floatMesh1 28s infinite alternate ease-in-out;
}

.saas-hero-mesh-blob--2 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #FFF6EE 0%, rgba(255, 246, 238, 0) 70%);
  top: 10%;
  right: -10%;
  animation: floatMesh2 32s infinite alternate ease-in-out;
}

.saas-hero-mesh-blob--3 {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, #DFF4EA 0%, rgba(223, 244, 234, 0) 70%);
  bottom: -15%;
  left: 20%;
  animation: floatMesh3 30s infinite alternate ease-in-out;
}

/* Mockup glow spotlight */
.saas-mockup-glow-spotlight {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.07) 0%, rgba(255, 138, 31, 0.03) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

@keyframes floatMesh1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.08); }
  100% { transform: translate(-30px, -50px) scale(0.95); }
}

@keyframes floatMesh2 {
  0% { transform: translate(0, 0) scale(0.95); }
  50% { transform: translate(-70px, 50px) scale(1.06); }
  100% { transform: translate(40px, -30px) scale(1); }
}

@keyframes floatMesh3 {
  0% { transform: translate(0, 0) scale(1.06); }
  50% { transform: translate(40px, -50px) scale(0.92); }
  100% { transform: translate(-50px, 40px) scale(1.12); }
}



.saas-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

.saas-kicker::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--color-accent);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 138, 31, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(255, 138, 31, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 138, 31, 0); }
}

.saas-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

/* Proof Strip */
.saas-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
}

.saas-proof-strip div {
  padding: 16px;
  background-color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(231, 237, 242, 0.7);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  transition: all 0.3s var(--ease-premium);
}

.saas-proof-strip div:hover {
  background-color: var(--color-white);
  border-color: var(--color-primary-soft);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.saas-proof-strip dt {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.saas-proof-strip dt i {
  font-size: 16px;
  color: var(--color-accent);
}

.saas-proof-strip dd {
  margin: 0;
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.4;
}

/* --- Hero Mockups & Interactive Stage --- */
.saas-product-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 610px;
}

.saas-hero-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 920px;
  height: 590px;
  perspective: 1200px;
  transition: transform 0.4s var(--ease-premium);
}

.saas-hero-mockup-wrapper:hover {
  transform: rotateY(-3deg) rotateX(2deg);
}

/* Realtime Dashboard Mockup */
.saas-dashboard {
  position: absolute;
  left: 24px;
  top: 26px;
  width: 68%;
  height: 430px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 249, 0.94) 100%);
  border: 1px solid rgba(231, 237, 242, 0.9);
  border-radius: 24px;
  box-shadow:
    0 34px 80px rgba(15, 23, 42, 0.13),
    0 8px 22px rgba(5, 150, 105, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  z-index: 2;
  transition: all 0.4s var(--ease-premium);
}

.saas-dashboard__top {
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 249, 0.72) 100%);
  border-bottom: 1px solid var(--color-line);
}

.saas-window-controls {
  display: flex;
  gap: 8px;
  margin-right: 24px;
}

.saas-window-controls span {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background-color: #cbd5e1;
}

.saas-dashboard__top strong {
  font-size: 16px;
  font-weight: 800;
  flex: 1;
}

.saas-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.saas-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  animation: pulseGlow 1.5s infinite;
}

.saas-dashboard__body {
  display: grid;
  grid-template-columns: 74px 1fr;
  height: calc(100% - 64px);
}

.saas-dashboard aside {
  background:
    linear-gradient(180deg, rgba(248, 250, 249, 0.86) 0%, rgba(255, 255, 255, 0.82) 100%);
  border-right: 1px solid var(--color-line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
}

.saas-dashboard aside span {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background-color: #e2e8f0;
  transition: all 0.3s;
}

.saas-dashboard aside .is-active {
  background-color: var(--color-primary);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.2);
}

.saas-dashboard section {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
}

.saas-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.saas-stat-row div {
  padding: 16px 12px;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.03);
}

.saas-stat-row b {
  display: block;
  font-size: 24px;
  color: var(--color-accent);
  line-height: 1.2;
}

.saas-stat-row small {
  font-size: 12px;
  color: var(--color-muted);
  font-weight: 800;
}

.saas-order-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.saas-order-list article {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 112px;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 15px;
  border: 1px solid rgba(231, 237, 242, 0.6);
  background-color: var(--color-white);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  transition: all 0.3s var(--ease-premium);
}

.saas-order-list article:hover {
  transform: translateX(4px);
  border-color: var(--color-primary-soft);
}

.saas-order-list span {
  font-size: 12px;
  font-weight: 800;
  color: var(--color-muted);
}

.saas-order-list strong {
  font-size: 14px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saas-order-status {
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  padding: 7px 10px;
  border-radius: var(--radius-full);
  font-style: normal;
}

.status-prep {
  background-color: var(--color-accent-light);
  color: hsl(var(--hue-orange), 90%, 35%);
}

.status-paid {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.status-pending {
  background-color: #f1f5f9;
  color: #64748b;
}

/* Smartphone Mockup */
.saas-phone {
  position: absolute;
  right: 110px;
  bottom: 14px;
  width: 260px;
  height: 494px;
  background-color: var(--color-ink-dark);
  border: 9px solid var(--color-ink-dark);
  border-radius: 38px;
  box-shadow:
    0 28px 70px rgba(15, 23, 42, 0.2),
    0 0 0 1px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  z-index: 3;
  transition: all 0.4s var(--ease-premium);
}

.saas-phone:hover {
  transform: translateY(-8px);
}

.saas-phone__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 16px;
  background-color: var(--color-ink-dark);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.saas-phone__screen {
  height: 100%;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
  padding: 30px 16px 16px;
  display: flex;
  flex-direction: column;
}

.saas-phone__hero {
  padding: 16px 12px 20px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(135deg, var(--color-primary-hover), var(--color-accent));
  color: var(--color-white);
  text-align: center;
  margin-bottom: 12px;
}

.saas-phone__hero span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.saas-phone__hero b {
  display: block;
  font-size: 18px;
}

.saas-qr-icon-tile {
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -38px auto 14px;
  padding: 0;
  border: 4px solid var(--color-white);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(236, 253, 245, 0.96) 0%, rgba(255, 247, 237, 0.74) 100%);
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.saas-qr-icon-tile i {
  color: var(--color-accent);
  font-size: 28px;
  line-height: 1;
}

.saas-menu-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.saas-menu-lines div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid var(--color-line);
  border-radius: 11px;
  font-size: 12px;
  background-color: rgba(255, 255, 255, 0.84);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.03);
}

.saas-menu-lines b {
  font-weight: 700;
}

.saas-menu-lines span {
  color: var(--color-primary);
  font-weight: 800;
}

.saas-phone button {
  width: 100%;
  padding: 14px;
  border: none;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  color: var(--color-white);
  font-weight: 800;
  font-size: 13px;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 12px 24px rgba(255, 138, 31, 0.24);
}

/* Floating Widgets */
.saas-floating-widget {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  animation: bobbing 6s infinite ease-in-out;
  z-index: 4;
}

.widget-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
}

.widget-icon i {
  font-size: 16px;
}

.text-orange { color: var(--color-accent); }
.text-green { color: var(--color-primary); }

.saas-floating-widget h6 {
  font-size: 12px;
  margin: 0;
  color: var(--color-muted);
}

.saas-floating-widget p {
  font-size: 14px;
  font-weight: 800;
  margin: 2px 0 0;
  color: var(--color-ink-dark);
}

.widget-1 {
  left: 0;
  bottom: 88px;
  animation-delay: -1.5s;
}

.widget-2 {
  right: 22px;
  top: 92px;
  animation-delay: -3s;
}

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

/* --- Section Styling --- */
.saas-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
  scroll-margin-top: 110px;
}

.saas-section-head {
  max-width: 680px;
  margin-bottom: 56px;
}

.saas-section-head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.saas-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  margin: 0;
}

.saas-section-head p {
  margin-top: 18px;
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.6;
}

.saas-link {
  font-weight: 800;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.saas-link::after {
  content: "→";
  transition: transform 0.25s var(--ease-in-out);
}

.saas-link:hover {
  color: var(--color-primary-hover);
}

.saas-link:hover::after {
  transform: translateX(4px);
}

/* --- Pain Points Section --- */
.saas-pain {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-line);
}

.saas-pain__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.saas-pain h2 {
  margin-top: 14px;
  font-size: clamp(28px, 4.5vw, 42px);
  line-height: 1.15;
}

.saas-pain p {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-muted);
}

.saas-pain-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.saas-pain-card {
  background-color: var(--color-bg-light);
  border: 1px solid rgba(231, 237, 242, 0.5);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.3s var(--ease-premium);
}

.saas-pain-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent-soft);
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.pain-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 18px;
  transition: transform 0.3s var(--ease-out-back);
}

.saas-pain-card:hover .pain-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.saas-pain-card h4 {
  font-size: 16px;
  margin: 0 0 8px;
  font-weight: 800;
  color: var(--color-ink-dark);
}

.saas-pain-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-muted);
}

/* --- Workflow / Flow Section --- */
.saas-flow {
  background-color: var(--color-bg-light);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.saas-flow-stepper {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 80px;
  position: relative;
}

.saas-step-item {
  flex: 1;
  min-width: 0;
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 36px 20px 28px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-premium);
}

.saas-step-item:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary-soft);
  box-shadow: var(--shadow-md);
}

.step-num-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), #ea580c);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 122, 0, 0.3);
  border: 2.5px solid var(--color-white);
}

.step-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
  transition: all 0.3s var(--ease-premium);
}

.saas-step-item:hover .step-icon-wrap {
  background:
    linear-gradient(135deg, #fff7ed 0%, #ecfdf5 100%);
  color: var(--color-accent);
  transform: scale(1.05) rotate(5deg);
  box-shadow:
    0 14px 30px rgba(255, 122, 0, 0.14),
    inset 0 0 0 1px rgba(255, 122, 0, 0.16);
}

.saas-step-item:hover .step-icon-wrap i {
  color: var(--color-accent);
}

.saas-step-item h4 {
  font-size: 16px;
  margin: 0 0 10px;
}

.saas-step-item p {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.5;
  margin: 0;
}

.saas-step-arrow {
  display: flex;
  align-items: center;
  height: 120px;
  color: var(--color-muted);
  font-size: 20px;
  opacity: 0.5;
}

/* Solutions Grid */
.saas-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.solution-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-premium);
}

.solution-card:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #ffffff 0%, var(--color-primary-light) 100%);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.solution-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 24px;
  transition: all 0.3s;
}

.solution-card:hover .solution-icon {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.1) rotate(-8deg);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.15);
}

.solution-card h3 {
  font-size: 18px;
  margin: 0 0 12px;
}

.solution-card p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

/* --- Features Section (Bento Grid) --- */
.saas-features {
  background-color: var(--color-white);
}

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

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

.bento-card {
  min-width: 0;
  background: linear-gradient(180deg, var(--color-white) 0%, rgba(247, 250, 248, 0.4) 100%);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 
    0 1px 3px rgba(15, 23, 42, 0.01),
    0 10px 30px rgba(15, 23, 42, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s var(--ease-premium);
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(5, 150, 105, 0.18);
  box-shadow: 
    0 20px 40px rgba(5, 150, 105, 0.05),
    0 1px 3px rgba(15, 23, 42, 0.02);
}

.bento-card--span-2 {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}

.bento-card__copy {
  flex: 1.2;
  display: flex;
  flex-direction: column;
}

.bento-card__visual {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 180px;
}

.bento-card h3 {
  font-size: 20px;
  margin: 8px 0 12px;
  font-weight: 800;
  color: var(--color-ink-dark);
}

.bento-card p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

/* Bento Card Icon Wrapper */
.bento-card__icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 
    0 4px 12px rgba(15, 23, 42, 0.03),
    inset 0 2px 4px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.bento-card:hover .bento-card__icon-wrapper {
  transform: scale(1.08) rotate(3deg);
}

.bento-card__icon-wrapper.icon-green {
  color: #10b981;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.02) 100%);
  border-color: rgba(16, 185, 129, 0.15);
}

.bento-card__icon-wrapper.icon-orange {
  color: #f97316;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(249, 115, 22, 0.02) 100%);
  border-color: rgba(249, 115, 22, 0.15);
}

.bento-card__icon-wrapper.icon-blue {
  color: #3b82f6;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.02) 100%);
  border-color: rgba(59, 130, 246, 0.15);
}

.bento-card__icon-wrapper.icon-teal {
  color: #14b8a6;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(20, 184, 166, 0.02) 100%);
  border-color: rgba(20, 184, 166, 0.15);
}

.bento-card__icon-wrapper.icon-purple {
  color: #8b5cf6;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(139, 92, 246, 0.02) 100%);
  border-color: rgba(139, 92, 246, 0.15);
}

.bento-card__icon-wrapper.icon-pink {
  color: #ec4899;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.08) 0%, rgba(236, 72, 153, 0.02) 100%);
  border-color: rgba(236, 72, 153, 0.15);
}

.kicker-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
  margin-right: 8px;
  vertical-align: middle;
  transform: translateY(-1px);
}

/* Bento card mini mockups styling */
.mini-browser {
  width: 100%;
  max-width: 250px;
  height: 150px;
  border-radius: 12px;
  box-shadow: 
    0 12px 30px rgba(15, 23, 42, 0.06),
    0 1px 3px rgba(15, 23, 42, 0.02);
  background-color: var(--color-white);
  border: 1.5px solid rgba(15, 23, 42, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.bento-card:hover .mini-browser {
  transform: translateY(-2px) scale(1.02) rotate(-1deg);
  border-color: rgba(5, 150, 105, 0.12);
}

.browser-header {
  height: 28px;
  background-color: #f8fafc;
  border-bottom: 1.5px solid rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 12px;
}

.browser-dots {
  display: flex;
  gap: 4px;
}

.browser-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #cbd5e1;
}

.browser-dots span:nth-child(1) { background-color: #ef4444; }
.browser-dots span:nth-child(2) { background-color: #eab308; }
.browser-dots span:nth-child(3) { background-color: #22c55e; }

.browser-url-bar {
  flex: 1;
  height: 18px;
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 4px;
  font-size: 8px;
  color: #64748b;
}

.browser-url-bar i {
  font-size: 7px;
  color: #10b981;
}

.browser-screen {
  flex: 1;
  background-color: #f8fafc;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.web-nav {
  height: 20px;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  font-size: 8px;
}

.web-nav-pill {
  font-size: 6px;
  background-color: rgba(5, 150, 105, 0.08);
  color: #059669;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 700;
}

.web-hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 10px;
  gap: 8px;
  background: linear-gradient(135deg, rgba(238, 247, 243, 0.5) 0%, rgba(255, 246, 238, 0.3) 100%);
}

.web-hero-content {
  flex: 1.2;
  text-align: left;
}

.web-hero-content h4 {
  font-size: 10px;
  margin: 0 0 2px 0 !important;
  font-weight: 800;
  line-height: 1.1;
  color: #0f172a;
}

.web-hero-content p {
  font-size: 6px;
  color: #64748b;
  margin: 0 0 4px 0 !important;
  line-height: 1.2;
}

.web-hero-btn {
  display: inline-block;
  font-size: 6px;
  font-weight: 700;
  color: #ffffff;
  background-color: #10b981;
  padding: 2px 6px;
  border-radius: 3px;
}

.web-hero-preview {
  flex: 0.8;
  height: 52px;
  border-radius: 6px;
  background: linear-gradient(135deg, #10b981 0%, #f97316 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.web-hero-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
}

.mini-phone {
  width: 110px;
  height: 180px;
  background-color: #0f172a;
  border: 3px solid #0f172a;
  border-radius: 20px;
  box-shadow: 
    0 12px 30px rgba(15, 23, 42, 0.08),
    0 1px 3px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.bento-card:hover .mini-phone {
  transform: translateY(-2px) scale(1.03) rotate(2deg);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.phone-status-bar {
  height: 16px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 6px;
  color: #ffffff;
  background-color: #0f172a;
  z-index: 10;
}

.phone-notch {
  width: 32px;
  height: 6px;
  background-color: #000;
  border-radius: 0 0 4px 4px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}

.phone-icons {
  display: flex;
  gap: 3px;
  align-items: center;
}

.phone-screen {
  flex: 1;
  background-color: #f8fafc;
  padding: 6px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.phone-header {
  font-size: 7px;
  font-weight: 800;
  text-align: left;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
  color: #0f172a;
}

.phone-menu-items {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 6px 0;
}

.phone-item {
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.04);
  border-radius: 6px;
  padding: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.phone-item-img {
  width: 22px;
  height: 22px;
  border-radius: 4px;
}

.phone-item-img.img-burger {
  background: linear-gradient(135deg, #ff9233 0%, #ff5252 100%);
}

.phone-item-img.img-drink {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.phone-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.phone-item-info b {
  font-size: 7px;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 1px;
  font-weight: 800;
}

.phone-item-info span {
  font-size: 5px;
  color: #64748b;
}

.phone-item-add {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background-color: rgba(16, 185, 129, 0.08);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5px;
}

.phone-footer-bar {
  height: 16px;
  background-color: #e6f7f0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  font-size: 6px;
  color: #059669;
  font-weight: 800;
}

.phone-footer-bar i {
  font-size: 7px;
}

.mini-console {
  width: 100%;
  max-width: 250px;
  height: 150px;
  border-radius: 12px;
  box-shadow: 
    0 12px 30px rgba(15, 23, 42, 0.06),
    0 1px 3px rgba(15, 23, 42, 0.02);
  background-color: #0f172a;
  border: 1.5px solid rgba(15, 23, 42, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.bento-card:hover .mini-console {
  transform: translateY(-2px) scale(1.02) rotate(1deg);
  border-color: rgba(16, 185, 129, 0.3);
}

.console-header {
  height: 28px;
  background-color: #1e293b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 12px;
}

.console-dots {
  display: flex;
  gap: 4px;
}

.console-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #475569;
}

.console-dots span:nth-child(1) { background-color: #ef4444; }
.console-dots span:nth-child(2) { background-color: #eab308; }
.console-dots span:nth-child(3) { background-color: #22c55e; }

.console-header span {
  font-size: 8px;
  color: #94a3b8;
  font-weight: 700;
}

.console-screen {
  flex: 1;
  background-color: #0f172a;
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.console-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.console-stat-item {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.stat-label {
  font-size: 7px;
  color: #94a3b8;
  margin-bottom: 4px;
  font-weight: 700;
}

.console-progress-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.console-progress-bar {
  flex: 1;
  height: 6px;
  background-color: #1e293b;
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #34d399);
  border-radius: 3px;
}

.progress-fill.fill-orange {
  background: linear-gradient(90deg, #f97316, #fb923c);
}

.stat-value {
  font-size: 7px;
  color: #ffffff;
  font-weight: 800;
}

.stat-desc {
  font-size: 5px;
  color: #64748b;
  margin-top: 3px;
}

/* Gallery Filter Tabs */
.saas-gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.saas-gallery-filter button {
  border: 1px solid var(--color-line);
  background-color: var(--color-white);
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-full);
  color: var(--color-muted);
  cursor: pointer;
  transition: all 0.3s var(--ease-in-out);
}

.saas-gallery-filter button:hover,
.saas-gallery-filter button.is-active {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border-color: var(--color-primary-soft);
}

/* --- Templates Section --- */
.saas-templates {
  background-color: var(--color-bg-light);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.saas-template-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 350px);
  gap: 24px;
  overflow-x: auto;
  padding: 10px 4px 28px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary-soft) transparent;
}

.saas-template-rail::-webkit-scrollbar {
  height: 6px;
}

.saas-template-rail::-webkit-scrollbar-thumb {
  background-color: var(--color-primary-soft);
  border-radius: var(--radius-full);
}

.saas-template-shot {
  scroll-snap-align: start;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-line);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--ease-premium);
}

.saas-template-shot:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-soft);
}

.saas-template-shot__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.saas-template-shot__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-in-out);
}

.saas-template-shot:hover .saas-template-shot__image img {
  transform: scale(1.05);
}

.saas-template-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  backdrop-filter: blur(4px);
  transition: all 0.3s var(--ease-in-out);
}

.saas-template-shot:hover .saas-template-overlay {
  opacity: 1;
}

.overlay-btn {
  background-color: var(--color-white);
  color: var(--color-ink-dark);
  font-weight: 800;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transform: translateY(10px);
  transition: all 0.3s var(--ease-out-back);
}

.saas-template-shot:hover .overlay-btn {
  transform: translateY(0);
}

.saas-template-shot > span {
  display: block;
  padding: 16px 20px;
  font-weight: 800;
  font-size: 15px;
  color: var(--color-ink-dark);
  border-top: 1px solid var(--color-line);
}

/* --- Pricing Section --- */
.saas-pricing {
  background-color: var(--color-white);
}

/* Toggle */
.saas-pricing-toggle {
  display: inline-flex;
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-line);
  padding: 4px;
  border-radius: var(--radius-full);
  margin: 0 auto 48px;
  display: flex;
  width: fit-content;
  box-shadow: var(--shadow-sm);
}

.saas-pricing-toggle button {
  border: none;
  background-color: transparent;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 800;
  border-radius: var(--radius-full);
  color: var(--color-muted);
  cursor: pointer;
  transition: all 0.3s var(--ease-in-out);
}

.saas-pricing-toggle button.is-active {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.2);
}

/* Pricing Grid */
.saas-pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  align-items: stretch;
}

.saas-price-card {
  position: relative;
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  flex: 1 1 320px;
  max-width: 380px;
  transition: all 0.4s var(--ease-premium);
}

.saas-price-card[hidden] {
  display: none !important;
}

[hidden] {
  display: none !important;
}

.saas-price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-line);
}

.saas-price-card.is-recommended {
  border: 2px solid var(--color-primary);
  box-shadow: 0 24px 48px rgba(5, 150, 105, 0.12);
  background: linear-gradient(180deg, hsl(var(--hue-green), 65%, 98.5%) 0%, var(--color-white) 100%);
  animation: borderGlow 4s infinite alternate ease-in-out;
}

@keyframes borderGlow {
  0% { border-color: var(--color-primary); box-shadow: 0 24px 48px rgba(5, 150, 105, 0.12); }
  100% { border-color: var(--color-accent); box-shadow: 0 24px 48px rgba(255, 122, 0, 0.15), 0 0 20px rgba(5, 150, 105, 0.1); }
}

.saas-toggle-btn {
  position: relative;
}

.saas-toggle-discount {
  position: absolute;
  top: -24px;
  right: -10px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 8px rgba(239, 68, 68, 0.25);
  white-space: nowrap;
  animation: pulseGlowTiny 2s infinite;
}

@keyframes pulseGlowTiny {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 4px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.saas-price-card.is-recommended::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-primary);
  pointer-events: none;
  z-index: 1;
}

.saas-price-card.is-recommended:hover {
  box-shadow: 0 30px 60px rgba(5, 150, 105, 0.18), var(--shadow-glow);
}

.saas-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  color: var(--color-white);
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 10px rgba(255, 138, 31, 0.2);
}

.saas-price-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--color-ink-dark);
}

.saas-price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 24px;
  width: 100%;
}

.saas-price-card.is-recommended .saas-price {
  border-bottom-color: rgba(5, 150, 105, 0.15);
}

.saas-price strong {
  font-size: 34px;
  color: var(--color-primary);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.saas-price span {
  font-size: 14px;
  color: var(--color-muted);
  font-weight: 700;
}

.saas-price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.saas-price-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--color-ink);
  line-height: 1.5;
}

.price-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 9px;
  flex-shrink: 0;
  margin-top: 1px;
}

.saas-price-card .saas-btn {
  margin-top: auto;
  width: 100%;
}

/* --- Customers & Testimonials --- */
.saas-social {
  background-color: var(--color-bg-light);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.saas-logo-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.saas-logo-row a,
.saas-logo-row span {
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-premium);
  font-weight: 800;
  color: var(--color-muted);
}

.saas-logo-row a:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary-soft);
  box-shadow: var(--shadow-md);
}

.saas-logo-row img {
  max-height: 38px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: all 0.3s;
}

.saas-logo-row a:hover img {
  filter: grayscale(0);
  opacity: 1;
}

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

.saas-rating-stars {
  display: flex;
  gap: 4px;
  color: #fbbf24;
  font-size: 13px;
  margin-bottom: 16px;
}

.saas-testimonial-grid article {
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease-premium);
}

.saas-testimonial-grid article:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary-soft);
  box-shadow: var(--shadow-lg);
}

.saas-quote-mark {
  position: absolute;
  top: 10px;
  right: 28px;
  font-size: 60px;
  font-family: serif;
  color: var(--color-primary-soft);
  line-height: 1;
}

.saas-testimonial-grid p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-ink);
  margin: 0 0 24px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.saas-testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.saas-testimonial-author img,
.saas-author-fallback {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--color-primary-soft);
}

.saas-author-fallback {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.saas-testimonial-author strong {
  display: block;
  font-size: 14px;
  color: var(--color-ink-dark);
}

.saas-testimonial-author small {
  display: block;
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 2px;
}

/* --- Blog Section --- */
.saas-blog {
  background-color: var(--color-white);
}

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

.saas-blog-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease-premium);
}

.saas-blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary-soft);
  box-shadow: var(--shadow-md);
}

.saas-blog-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.saas-blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.saas-blog-card:hover .saas-blog-card__image img {
  transform: scale(1.04);
}

.saas-blog-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.saas-blog-card h3 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 10px;
}

.saas-blog-card h3 a:hover {
  color: var(--color-primary);
}

.saas-blog-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-muted);
  margin: 0 0 20px;
  flex: 1;
}

.blog-more {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}

.blog-more i {
  transition: transform 0.25s;
}

.blog-more:hover i {
  transform: translateX(4px);
}

.saas-final-cta {
  position: relative;
  padding: 100px 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(249, 115, 22, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, #0b1329 0%, #050811 100%) !important;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
  z-index: 1;
}

.saas-final-cta-blob {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(140px);
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

.saas-final-cta-blob--1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #10b981 0%, rgba(16, 185, 129, 0) 70%);
  top: -100px;
  right: -100px;
}

.saas-final-cta-blob--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #f97316 0%, rgba(249, 115, 22, 0) 70%);
  bottom: -150px;
  left: -100px;
}

.saas-final-cta__inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.saas-final-cta .saas-kicker {
  color: #34d399 !important;
}

.saas-final-cta h2 {
  font-size: clamp(26px, 4.2vw, 42px);
  color: #ffffff !important;
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.saas-final-cta p {
  font-size: 17px;
  color: #94a3b8 !important;
  line-height: 1.6;
  margin: 18px 0 0;
  max-width: 600px;
}

.saas-final-cta .saas-btn--light {
  background-color: #ffffff !important;
  color: #0b1329 !important;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(16, 185, 129, 0.1) !important;
  border: 1px solid transparent;
}

.saas-final-cta .saas-btn--light:hover {
  background-color: rgba(255, 255, 255, 0.9) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25), 0 6px 15px rgba(16, 185, 129, 0.15) !important;
}

.saas-final-cta .saas-btn--light-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  background-color: transparent !important;
  backdrop-filter: blur(8px);
}

.saas-final-cta .saas-btn--light-outline:hover {
  border-color: rgba(255, 255, 255, 0.6) !important;
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
  transform: translateY(-2px);
}

.saas-final-cta .saas-actions {
  margin: 0;
  justify-content: flex-end;
}

/* --- Footer --- */
.saas-footer {
  background-color: var(--color-bg-light);
  border-top: 1px solid var(--color-line);
  padding: 80px 0 32px;
}

.saas-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}

.saas-footer h3 {
  font-size: 16px;
  margin: 0 0 24px;
}

.saas-footer p,
.saas-footer a {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-muted);
}

.saas-footer a {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.saas-footer a i {
  font-size: 12px;
  transition: transform 0.25s;
}

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

.saas-footer a:hover i {
  transform: translateX(3px);
}

.footer-desc {
  margin-top: 16px;
  margin-bottom: 24px;
  max-width: 260px;
}

.saas-bct img {
  max-height: 52px;
  object-fit: contain;
}

.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact i {
  color: var(--color-primary);
  margin-top: 4px;
  font-size: 14px;
}

.saas-social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.saas-social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  box-shadow: var(--shadow-sm);
}

.saas-social-links a:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.saas-footer__bottom {
  border-top: 1px solid var(--color-line);
  padding-top: 28px;
  font-size: 13px;
  color: var(--color-muted);
  text-align: center;
}

/* ----------------------------------------------------
   SaaS Homepage Design Refresh
---------------------------------------------------- */

.saas-home {
  background:
    linear-gradient(180deg, #fffdf8 0%, #ffffff 18%, #f6fbf9 48%, #ffffff 78%, #f8fafc 100%);
}

.saas-shell {
  width: min(1240px, calc(100% - 48px));
}

.saas-header {
  max-width: 1240px;
}

.saas-header__inner {
  padding: 0 26px;
}

.saas-brand img {
  max-width: 150px;
}

.saas-nav a {
  color: #334155;
}

.saas-hero {
  padding: 112px 0 88px;
}

.saas-hero--light {
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98) 0%, rgba(246, 251, 249, 0.96) 48%, rgba(255, 247, 237, 0.72) 100%) !important;
}

.saas-badge-pill {
  background-color: rgba(255, 255, 255, 0.78);
  border-color: rgba(5, 150, 105, 0.16);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

.saas-hero__centered h1 {
  max-width: 940px;
  font-size: clamp(42px, 5.6vw, 72px);
  letter-spacing: 0;
}

.saas-hero__centered .hero-desc {
  max-width: 820px;
  color: #52637a;
}

.saas-hero-trust-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  margin-bottom: 42px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.saas-hero-trust-text span {
  color: #475569;
}

.saas-section {
  padding: 112px 0;
}

.saas-section-head {
  max-width: 760px;
  margin-bottom: 64px;
}

.saas-section-head:not(.saas-section-head--split) {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.saas-section-head--split {
  gap: 40px;
}

.saas-section h2 {
  max-width: 820px;
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

.saas-section-head:not(.saas-section-head--split) h2,
.saas-section-head:not(.saas-section-head--split) p {
  margin-left: auto;
  margin-right: auto;
}

.saas-kicker {
  padding: 8px 12px;
  border: 1px solid rgba(5, 150, 105, 0.16);
  border-radius: var(--radius-full);
  background-color: rgba(236, 253, 245, 0.74);
  color: #047857;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.saas-kicker::before {
  background-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.12);
}

.saas-pain {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbfa 100%);
}

.saas-pain__grid {
  align-items: stretch;
}

.saas-pain-card,
.saas-step-item,
.bento-card,
.saas-template-shot,
.saas-price-card,
.saas-testimonial-grid article,
.saas-blog-card {
  border-color: rgba(15, 23, 42, 0.07);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 18px 48px rgba(15, 23, 42, 0.06);
}

.saas-pain-card,
.solution-card {
  border-radius: 22px;
}

.pain-card-icon,
.solution-icon,
.bento-card__icon-wrapper {
  box-shadow: inset 0 0 0 1px rgba(5, 150, 105, 0.08), 0 12px 26px rgba(5, 150, 105, 0.08);
}

.saas-flow {
  background:
    linear-gradient(180deg, #f7fbf9 0%, #ffffff 100%);
}

.saas-flow-stepper {
  gap: 14px;
  margin-bottom: 72px;
}

.saas-step-item {
  border-radius: 22px;
  padding: 38px 22px 30px;
}

.saas-step-item h4,
.solution-card h3,
.bento-card h3 {
  letter-spacing: 0;
}

.step-icon-wrap {
  border-radius: 18px;
  background: linear-gradient(135deg, #ecfdf5 0%, #fff7ed 100%);
}

.saas-solutions-grid,
.saas-bento-grid,
.saas-blog-grid,
.saas-testimonial-grid {
  gap: 28px;
}

.saas-features {
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdfc 55%, #ffffff 100%);
}

.bento-card {
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.74) 100%);
}

.bento-card--span-2 {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(236, 253, 245, 0.58) 55%, rgba(255, 247, 237, 0.7) 100%);
}

.bento-card p,
.solution-card p,
.saas-pain-card p,
.saas-step-item p,
.saas-section-head p {
  color: #64748b;
}

.saas-gallery-filter {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 6px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.saas-gallery-filter button {
  border: 0;
  border-radius: var(--radius-full);
  background-color: transparent;
  padding: 10px 18px;
}

.saas-gallery-filter button:hover,
.saas-gallery-filter button.is-active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(5, 150, 105, 0.18);
}

.saas-templates {
  background:
    linear-gradient(180deg, #f8fbf9 0%, #fffaf4 100%);
}

.saas-template-rail {
  grid-auto-columns: minmax(340px, 390px);
  padding: 10px 4px 28px;
}

.saas-template-shot {
  border-radius: 24px;
  border-width: 0;
}

.saas-template-shot__image {
  aspect-ratio: 16 / 10.5;
}

.saas-template-shot > span {
  padding: 18px 22px 20px;
  font-size: 15px;
}

.saas-template-overlay {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.62) 100%);
}

.overlay-btn {
  border-radius: var(--radius-full);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.saas-pricing {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
}

.saas-pricing-toggle {
  padding: 6px;
  border-radius: var(--radius-full);
  background-color: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}

.saas-pricing-toggle button {
  border-radius: var(--radius-full);
  padding: 10px 22px;
}

.saas-pricing-grid {
  align-items: stretch;
}

.saas-price-card {
  border-radius: 26px;
  padding: 34px 30px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
}

.saas-price-card.is-recommended {
  transform: translateY(-10px);
  background:
    linear-gradient(180deg, #ecfdf5 0%, #ffffff 36%, #fff7ed 100%);
}

.saas-price-card.is-recommended:hover {
  transform: translateY(-14px);
}

.saas-price strong {
  color: #f97316;
  font-size: 38px;
}

.price-check-icon {
  color: var(--color-primary);
}

.saas-price-card li {
  color: #475569;
}

.saas-logo-row a,
.saas-logo-row span {
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.04);
}

.saas-testimonial-grid article {
  border-radius: 24px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
}

.saas-rating-stars i {
  color: #f59e0b;
}

.saas-author-fallback {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.saas-blog {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.saas-blog-card {
  border-radius: 24px;
  background-color: #ffffff;
}

.saas-blog-card__content {
  padding: 28px;
}

.blog-date,
.saas-link {
  color: var(--color-primary);
}

.saas-final-cta {
  padding: 112px 0;
  background:
    linear-gradient(135deg, #0f172a 0%, #12312a 52%, #1f2937 100%);
}

.saas-final-cta__inner {
  padding: 54px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
}

.saas-final-cta h2 {
  letter-spacing: 0;
}

.saas-final-cta p {
  max-width: 680px;
}

.saas-footer {
  background:
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.saas-footer__grid {
  gap: 52px;
}

.saas-footer h3 {
  letter-spacing: 0;
}

.saas-social-links a {
  border-radius: 50%;
}

/* Light CTA and blog link placement fixes */
.saas-blog .saas-section-head--split {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  max-width: none;
}

.saas-blog .saas-link {
  justify-self: end;
  flex-shrink: 0;
  padding: 12px 18px;
  border: 1px solid rgba(5, 150, 105, 0.16);
  border-radius: var(--radius-full);
  background-color: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.saas-blog .saas-link:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

.saas-final-cta {
  background:
    radial-gradient(circle at 18% 22%, rgba(5, 150, 105, 0.12) 0%, transparent 36%),
    radial-gradient(circle at 86% 26%, rgba(249, 115, 22, 0.12) 0%, transparent 34%),
    linear-gradient(135deg, #fffdf8 0%, #f6fbf9 48%, #ffffff 100%);
  color: var(--color-ink);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.saas-final-cta-blob {
  opacity: 0.08;
}

.saas-final-cta__inner {
  border-color: rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(236, 253, 245, 0.64) 100%);
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.08);
}

.saas-final-cta .saas-kicker {
  color: var(--color-primary) !important;
  background-color: #ffffff;
  border-color: rgba(5, 150, 105, 0.16);
}

.saas-final-cta h2 {
  color: var(--color-ink-dark) !important;
}

.saas-final-cta p {
  color: #64748b !important;
}

.saas-final-cta .saas-btn--light {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover)) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 30px rgba(5, 150, 105, 0.22) !important;
}

.saas-final-cta .saas-btn--light:hover {
  background: linear-gradient(135deg, var(--color-primary-hover), var(--color-primary)) !important;
  box-shadow: 0 18px 38px rgba(5, 150, 105, 0.25) !important;
}

.saas-final-cta .saas-btn--light-outline {
  border: 1.5px solid rgba(15, 23, 42, 0.12) !important;
  color: var(--color-ink-dark) !important;
  background-color: rgba(255, 255, 255, 0.74) !important;
}

.saas-final-cta .saas-btn--light-outline:hover {
  border-color: rgba(5, 150, 105, 0.28) !important;
  color: var(--color-primary) !important;
  background-color: #ffffff !important;
}

/* ----------------------------------------------------
   Responsive Media Queries
---------------------------------------------------- */

@media (max-width: 1120px) {
  .saas-hero__grid,
  .saas-pain__grid,
  .saas-final-cta__inner {
    gap: 48px;
  }

  .saas-nav {
    gap: 20px;
  }

  .saas-pricing-grid {
    gap: 24px;
  }

  .saas-flow-stepper {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
  }

  .saas-step-arrow {
    display: none;
  }
}

@media (max-width: 991px) {
  .saas-hero__grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .saas-hero p {
    margin-left: auto;
    margin-right: auto;
  }

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

  .saas-proof-strip {
    max-width: 600px;
    margin: 0 auto;
  }

  .saas-product-stage {
    margin-top: 20px;
    min-height: 560px;
  }

  .saas-hero-mockup-wrapper {
    max-width: 780px;
  }

  .saas-phone {
    right: 44px;
  }

  .saas-header__actions {
    display: none;
  }

  .saas-nav-toggle {
    display: flex;
  }

  .saas-nav {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 76px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.88) 100%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    box-shadow: 
      0 20px 45px rgba(15, 23, 42, 0.1),
      inset 0 4px 12px rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s var(--ease-premium);
  }

  .saas-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }

  .saas-nav a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 16px;
  }

  .saas-nav a:hover {
    background-color: var(--color-primary-light);
  }

  .saas-nav a.is-active {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
  }

  .saas-nav a::after {
    display: none;
  }

  .saas-nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--color-line);
  }

  .saas-pain__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .saas-flow-stepper {
    grid-template-columns: repeat(3, 1fr);
    flex-wrap: wrap;
    display: grid;
    gap: 16px;
  }

  .saas-step-arrow {
    display: none;
  }

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

  .saas-feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .saas-feature-block:nth-child(even) {
    direction: ltr;
  }

  .saas-testimonial-grid,
  .saas-blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .saas-logo-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .saas-final-cta__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .saas-final-cta p {
    margin-left: auto;
    margin-right: auto;
  }

  .saas-final-cta .saas-actions {
    justify-content: center;
  }

  .saas-blog .saas-section-head--split {
    align-items: flex-start;
  }

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

  /* Bento Grid Tablet Overrides */
  .saas-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .bento-card--span-2 {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .bento-card__visual {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .saas-blog .saas-section-head--split {
    flex-direction: column;
    display: flex;
    text-align: left;
  }

  .saas-blog .saas-link {
    width: 100%;
    justify-content: center;
  }

  .saas-product-stage {
    min-height: 480px;
  }

  .saas-hero {
    padding: 60px 0;
  }

  .saas-hero-mockup-wrapper {
    height: 460px;
  }

  .saas-dashboard {
    left: 0;
    width: 76%;
    height: 330px;
  }

  .saas-dashboard__top {
    height: 54px;
    padding: 0 16px;
  }

  .saas-dashboard__body {
    grid-template-columns: 56px 1fr;
    height: calc(100% - 54px);
  }

  .saas-dashboard section {
    padding: 14px;
  }

  .saas-order-status {
    display: none;
  }

  .saas-order-list article {
    grid-template-columns: 70px minmax(0, 1fr);
    padding: 10px 12px;
  }

  .saas-phone {
    right: 22px;
    bottom: 8px;
    width: 190px;
    height: 360px;
  }

  .saas-proof-strip {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Vertical Flow Step Timeline on Mobile */
  .saas-flow-stepper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    margin-bottom: 48px;
    padding-left: 20px;
    position: relative;
  }

  .saas-flow-stepper::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 20px;
    width: 2px;
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-primary) 100%);
    z-index: 0;
  }

  .saas-step-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 20px;
    padding: 20px 24px 20px 32px;
    margin-left: 10px;
    z-index: 1;
  }

  .step-num-badge {
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
  }

  .step-icon-wrap {
    margin: 0;
    flex-shrink: 0;
  }

  .saas-step-arrow {
    display: none;
  }

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

  /* Pricing Cards Spacing & Layout */
  .saas-pricing-grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .saas-price-card {
    padding: 30px 24px;
    max-width: 100%;
    width: 100%;
  }

  .saas-testimonial-grid,
  .saas-blog-grid {
    grid-template-columns: 1fr;
  }

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

  /* Feature Mockup Scale down to prevent clipping */
  .saas-feature-visual {
    aspect-ratio: auto;
    height: 320px;
    padding: 20px;
  }

  .saas-feature-visual .phone-frame {
    transform: scale(0.75);
    transform-origin: center center;
  }

  .saas-feature-visual .browser-frame,
  .saas-feature-visual .console-frame {
    transform: scale(0.9);
    width: 95%;
  }

  /* Bento Grid Mobile Overrides */
  .saas-bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bento-card--span-2 {
    grid-column: span 1;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}

@media (max-width: 520px) {
  .saas-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .saas-btn {
    width: 100%;
  }

  /* Scale down the overlapping hero mockup to fit phone viewports perfectly */
  .saas-hero-mockup-wrapper {
    transform: scale(0.65);
    transform-origin: center center;
    height: 330px;
    margin: -20px 0 -40px;
  }

  .saas-dashboard {
    width: 95%;
    height: 300px;
  }

  .saas-phone {
    display: block !important; /* Keep the smartphone mockup visible and scaled */
    right: 10px;
  }

  .widget-1 {
    left: 10px;
    bottom: 60px;
  }

  .widget-2 {
    right: 10px;
    top: 60px;
  }

  .saas-solutions-grid {
    grid-template-columns: 1fr;
  }
  .saas-step-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }
  .step-num-badge {
    left: 24px;
    top: -16px;
    transform: none;
  }
  .step-icon-wrap {
    margin-bottom: 12px;
  }

  .saas-feature-visual {
    height: 280px;
    padding: 12px;
  }

  .saas-feature-visual .phone-frame {
    transform: scale(0.65);
  }

  .saas-feature-visual .browser-frame,
  .saas-feature-visual .console-frame {
    transform: scale(0.75);
    width: 100%;
  }

  .saas-footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .saas-logo-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .saas-logo-row a,
  .saas-logo-row span {
    height: 60px;
    padding: 10px;
    font-size: 13px;
  }

  .saas-template-rail {
    grid-auto-columns: minmax(260px, 1fr);
  }
}

@media (max-width: 480px) {
  .saas-hero h1 {
    font-size: 32px;
  }
  .saas-section h2 {
    font-size: 26px;
  }
}

@media (max-width: 380px) {
  /* Extra scaling for very narrow devices like iPhone SE */
  .saas-hero-mockup-wrapper {
    transform: scale(0.55);
    height: 280px;
    margin: -30px 0 -50px;
  }
}

/* Final CTA light redesign override */
.saas-home .saas-final-cta {
  padding: 96px 0 !important;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 122, 0, 0.10) 0%, transparent 34%),
    radial-gradient(circle at 84% 22%, rgba(5, 150, 105, 0.12) 0%, transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #fff8ef 45%, #f5fbf8 100%) !important;
  border-top: 1px solid rgba(15, 23, 42, 0.06) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
}

.saas-home .saas-final-cta::before {
  content: "";
  position: absolute;
  inset: 28px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.16), transparent);
  pointer-events: none;
}

.saas-home .saas-final-cta-blob {
  display: none !important;
}

.saas-home .saas-final-cta__inner {
  padding: 56px 64px !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 34px !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 247, 237, 0.78) 48%, rgba(236, 253, 245, 0.86) 100%) !important;
  box-shadow:
    0 28px 80px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

.saas-home .saas-final-cta .saas-kicker {
  color: var(--color-accent) !important;
  background-color: #ffffff !important;
  border-color: rgba(255, 122, 0, 0.18) !important;
}

.saas-home .saas-final-cta h2 {
  color: var(--color-ink-dark) !important;
  max-width: 780px;
}

.saas-home .saas-final-cta p {
  color: #64748b !important;
}

.saas-home .saas-final-cta .saas-btn--light {
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary)) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 38px rgba(255, 122, 0, 0.20) !important;
}

.saas-home .saas-final-cta .saas-btn--light-outline {
  border-color: rgba(15, 23, 42, 0.12) !important;
  background-color: rgba(255, 255, 255, 0.78) !important;
  color: var(--color-ink-dark) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05) !important;
}

.saas-home .saas-final-cta .saas-btn--light-outline:hover {
  color: var(--color-primary) !important;
  background-color: #ffffff !important;
  border-color: rgba(5, 150, 105, 0.24) !important;
}

/* Hero bubble button experiment */
.saas-hero .saas-actions {
  gap: 20px;
  align-items: center;
}

.saas-hero .saas-actions .saas-btn {
  min-width: 230px;
  min-height: 70px;
  border-radius: 22px !important;
  font-size: 18px;
  font-weight: 800;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: translateZ(0);
}

.saas-hero .saas-actions .saas-btn > i,
.saas-hero .saas-actions .saas-btn > span {
  position: relative;
  z-index: 2;
}

.saas-hero .saas-actions .saas-btn::before {
  content: "";
  position: absolute;
  inset: 2px 3px auto;
  height: 54%;
  border-radius: 20px 20px 30px 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.08));
  pointer-events: none;
  z-index: 0;
}

.saas-hero .saas-actions .saas-btn::after {
  content: "";
  position: absolute;
  inset: -42%;
  background:
    conic-gradient(from 120deg, transparent 0 28%, rgba(255, 255, 255, 0.78) 34%, transparent 42% 100%);
  transform: translateX(-42%) rotate(8deg);
  opacity: 0.72;
  pointer-events: none;
  transition: transform 0.7s var(--ease-premium), opacity 0.3s ease;
  z-index: 0;
}

.saas-hero .saas-actions .saas-btn--primary {
  border: 1px solid rgba(255, 122, 0, 0.54) !important;
  background:
    radial-gradient(circle at 26% 14%, rgba(255, 255, 255, 0.46) 0%, transparent 30%),
    radial-gradient(circle at 78% 86%, rgba(255, 202, 77, 0.32) 0%, transparent 34%),
    linear-gradient(135deg, #ff7b61 0%, #ff4f73 45%, #ff8a3d 100%) !important;
  color: #ffffff !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.32) inset,
    18px 18px 36px rgba(255, 86, 108, 0.42),
    36px 28px 72px rgba(255, 138, 31, 0.30),
    14px 20px 42px rgba(255, 103, 76, 0.30),
    inset 0 2px 0 rgba(255, 255, 255, 0.55),
    inset 0 -14px 26px rgba(185, 46, 78, 0.18) !important;
}

.saas-hero .saas-actions .saas-btn--outline {
  border: 1px solid rgba(5, 150, 105, 0.18) !important;
  background:
    radial-gradient(circle at 24% 12%, rgba(255, 255, 255, 0.98) 0%, transparent 32%),
    radial-gradient(circle at 86% 90%, rgba(34, 211, 238, 0.18) 0%, transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(240, 253, 250, 0.84) 100%) !important;
  color: var(--color-ink) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.74) inset,
    -18px 18px 34px rgba(45, 212, 191, 0.20),
    -34px 26px 66px rgba(5, 150, 105, 0.12),
    -10px 18px 38px rgba(15, 23, 42, 0.09),
    inset 0 2px 0 rgba(255, 255, 255, 0.98),
    inset 0 -14px 26px rgba(5, 150, 105, 0.05) !important;
}

.saas-hero .saas-actions .saas-btn:hover {
  transform: translateY(-5px) scale(1.018);
}

.saas-hero .saas-actions .saas-btn:hover::after {
  transform: translateX(42%) rotate(8deg);
  opacity: 0.95;
}

.saas-hero .saas-actions .saas-btn--primary:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.38) inset,
    22px 20px 44px rgba(255, 86, 108, 0.58),
    44px 34px 88px rgba(255, 138, 31, 0.40),
    18px 28px 54px rgba(255, 103, 76, 0.34),
    inset 0 2px 0 rgba(255, 255, 255, 0.60),
    inset 0 -14px 26px rgba(185, 46, 78, 0.18) !important;
}

.saas-hero .saas-actions .saas-btn--outline:hover {
  border-color: rgba(45, 212, 191, 0.34) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.80) inset,
    -22px 20px 42px rgba(45, 212, 191, 0.28),
    -42px 32px 82px rgba(5, 150, 105, 0.18),
    -12px 22px 46px rgba(15, 23, 42, 0.11),
    inset 0 2px 0 rgba(255, 255, 255, 0.98),
    inset 0 -14px 26px rgba(5, 150, 105, 0.05) !important;
}

@keyframes heroNeonBreathPrimary {
  0%, 100% {
    filter: saturate(1);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.32) inset,
      18px 18px 34px rgba(255, 86, 108, 0.38),
      34px 28px 68px rgba(255, 138, 31, 0.26),
      14px 20px 42px rgba(255, 103, 76, 0.28),
      inset 0 2px 0 rgba(255, 255, 255, 0.55),
      inset 0 -14px 26px rgba(185, 46, 78, 0.18);
  }
  50% {
    filter: saturate(1.12);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.36) inset,
      22px 20px 42px rgba(255, 86, 108, 0.52),
      42px 34px 82px rgba(255, 138, 31, 0.34),
      18px 24px 48px rgba(255, 103, 76, 0.32),
      inset 0 2px 0 rgba(255, 255, 255, 0.58),
      inset 0 -14px 26px rgba(185, 46, 78, 0.18);
  }
}

@keyframes heroNeonBreathOutline {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.74) inset,
      -18px 18px 34px rgba(45, 212, 191, 0.16),
      -34px 26px 62px rgba(5, 150, 105, 0.10),
      -10px 18px 38px rgba(15, 23, 42, 0.08),
      inset 0 2px 0 rgba(255, 255, 255, 0.98),
      inset 0 -14px 26px rgba(5, 150, 105, 0.05);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.78) inset,
      -22px 20px 40px rgba(45, 212, 191, 0.24),
      -42px 32px 76px rgba(5, 150, 105, 0.16),
      -12px 20px 42px rgba(15, 23, 42, 0.09),
      inset 0 2px 0 rgba(255, 255, 255, 0.98),
      inset 0 -14px 26px rgba(5, 150, 105, 0.05);
  }
}

.saas-hero .saas-actions .saas-btn--primary {
  animation: heroNeonBreathPrimary 2.8s ease-in-out infinite;
}

.saas-hero .saas-actions .saas-btn--outline {
  animation: heroNeonBreathOutline 3.4s ease-in-out infinite;
}

@media (max-width: 767px) {
  .saas-home .saas-final-cta {
    padding: 72px 0 !important;
  }

  .saas-home .saas-final-cta__inner {
    padding: 34px 24px !important;
    border-radius: 24px !important;
  }

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

/* Requested glossy bubble variant for hero buttons */
.saas-home .saas-hero .saas-actions {
  gap: 24px;
}

.saas-home .saas-hero .saas-actions .saas-btn {
  min-width: 250px;
  min-height: 76px;
  border-radius: 23px !important;
  overflow: hidden;
  font-size: 18px;
  animation: none !important;
  transition: transform 0.28s var(--ease-premium), box-shadow 0.28s var(--ease-premium), filter 0.28s ease;
}

.saas-home .saas-hero .saas-actions .saas-btn::before {
  inset: 2px 3px auto;
  height: 50%;
  border-radius: 20px 20px 28px 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(255, 255, 255, 0.22) 58%, rgba(255, 255, 255, 0) 100%);
  opacity: 0.9;
  transform: none;
}

.saas-home .saas-hero .saas-actions .saas-btn::after {
  inset: auto 18px 8px;
  height: 16px;
  border-radius: 999px;
  transform: none !important;
  opacity: 0.34;
  filter: blur(10px);
  background: rgba(255, 255, 255, 0.86);
}

.saas-home .saas-hero .saas-actions .saas-btn--primary {
  border: 1px solid rgba(255, 119, 96, 0.40) !important;
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 0.48) 0%, transparent 26%),
    linear-gradient(135deg, #ff7e70 0%, #ff4e7a 54%, #ff8a42 100%) !important;
  color: #ffffff !important;
  text-shadow: 0 1px 1px rgba(122, 39, 34, 0.16);
  box-shadow:
    -18px 16px 36px rgba(255, 76, 112, 0.25),
    -34px 28px 70px rgba(255, 98, 80, 0.20),
    0 16px 30px rgba(255, 108, 72, 0.20),
    inset 0 2px 0 rgba(255, 255, 255, 0.58),
    inset 0 -16px 28px rgba(181, 52, 82, 0.16) !important;
}

.saas-home .saas-hero .saas-actions .saas-btn--outline {
  border: 1px solid rgba(15, 23, 42, 0.07) !important;
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 1) 0%, transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 253, 250, 0.90) 100%) !important;
  color: var(--color-ink) !important;
  box-shadow:
    20px 16px 38px rgba(56, 189, 248, 0.13),
    34px 26px 68px rgba(45, 212, 191, 0.12),
    0 16px 32px rgba(15, 23, 42, 0.07),
    inset 0 2px 0 rgba(255, 255, 255, 0.98),
    inset 0 -16px 28px rgba(15, 23, 42, 0.025) !important;
}

.saas-home .saas-hero .saas-actions .saas-btn:hover {
  transform: translateY(-4px) scale(1.01);
}

.saas-home .saas-hero .saas-actions .saas-btn:hover::after {
  transform: none !important;
  opacity: 0.44;
}

.saas-home .saas-hero .saas-actions .saas-btn--primary:hover {
  filter: saturate(1.05);
  box-shadow:
    -22px 20px 44px rgba(255, 76, 112, 0.30),
    -40px 34px 84px rgba(255, 98, 80, 0.24),
    0 20px 38px rgba(255, 108, 72, 0.24),
    inset 0 2px 0 rgba(255, 255, 255, 0.62),
    inset 0 -16px 28px rgba(181, 52, 82, 0.16) !important;
}

.saas-home .saas-hero .saas-actions .saas-btn--outline:hover {
  box-shadow:
    24px 20px 46px rgba(56, 189, 248, 0.17),
    42px 34px 82px rgba(45, 212, 191, 0.15),
    0 18px 36px rgba(15, 23, 42, 0.08),
    inset 0 2px 0 rgba(255, 255, 255, 0.98),
    inset 0 -16px 28px rgba(15, 23, 42, 0.025) !important;
}

@media (max-width: 767px) {
  .saas-home .saas-hero .saas-actions .saas-btn {
    min-width: 0;
    width: 100%;
  }
}

/* Unified upward-glow glossy buttons across the SaaS page */
.saas-home .saas-btn {
  min-height: 54px;
  border-radius: 18px !important;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  font-weight: 800;
  letter-spacing: 0;
  transform: translateZ(0);
  transition: transform 0.28s var(--ease-premium), box-shadow 0.28s var(--ease-premium), border-color 0.28s ease, filter 0.28s ease;
}

.saas-home .saas-btn::before {
  content: "";
  position: absolute;
  inset: 2px 3px auto;
  height: 50%;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.18) 62%, rgba(255, 255, 255, 0) 100%);
  opacity: 0.86;
  pointer-events: none;
  z-index: 0;
}

.saas-home .saas-btn::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 7px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.70);
  filter: blur(10px);
  opacity: 0.26;
  pointer-events: none;
  z-index: 0;
}

.saas-home .saas-btn i {
  position: relative;
  z-index: 1;
}

.saas-home .saas-btn:hover {
  transform: translateY(-3px);
}

.saas-home .saas-btn--primary,
.saas-home .saas-btn--light {
  border: 1px solid rgba(255, 119, 96, 0.36) !important;
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 0.46) 0%, transparent 28%),
    linear-gradient(135deg, #ff7c69 0%, #ff5d70 52%, #ff8a42 100%) !important;
  color: #ffffff !important;
  text-shadow: 0 1px 1px rgba(122, 39, 34, 0.16);
  box-shadow:
    -8px -10px 18px rgba(255, 76, 112, 0.14),
    -16px -18px 34px rgba(255, 98, 80, 0.10),
    0 -6px 16px rgba(255, 138, 66, 0.10),
    inset 0 2px 0 rgba(255, 255, 255, 0.56),
    inset 0 -14px 26px rgba(181, 52, 82, 0.14) !important;
}

.saas-home .saas-btn--primary:hover,
.saas-home .saas-btn--light:hover {
  filter: saturate(1.05);
  box-shadow:
    -10px -12px 22px rgba(255, 76, 112, 0.18),
    -20px -22px 42px rgba(255, 98, 80, 0.13),
    0 -8px 18px rgba(255, 138, 66, 0.13),
    inset 0 2px 0 rgba(255, 255, 255, 0.62),
    inset 0 -14px 26px rgba(181, 52, 82, 0.14) !important;
}

.saas-home .saas-btn--outline,
.saas-home .saas-btn--ghost,
.saas-home .saas-btn--light-outline {
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 1) 0%, transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 253, 250, 0.90) 100%) !important;
  color: var(--color-ink) !important;
  box-shadow:
    8px -10px 18px rgba(56, 189, 248, 0.08),
    16px -18px 34px rgba(45, 212, 191, 0.07),
    0 -6px 16px rgba(15, 23, 42, 0.035),
    inset 0 2px 0 rgba(255, 255, 255, 0.98),
    inset 0 -14px 26px rgba(15, 23, 42, 0.025) !important;
}

.saas-home .saas-btn--outline:hover,
.saas-home .saas-btn--ghost:hover,
.saas-home .saas-btn--light-outline:hover {
  color: var(--color-primary) !important;
  border-color: rgba(5, 150, 105, 0.18) !important;
  box-shadow:
    10px -12px 22px rgba(56, 189, 248, 0.10),
    20px -22px 42px rgba(45, 212, 191, 0.09),
    0 -8px 18px rgba(15, 23, 42, 0.045),
    inset 0 2px 0 rgba(255, 255, 255, 0.98),
    inset 0 -14px 26px rgba(15, 23, 42, 0.025) !important;
}

.saas-home .saas-header__actions .saas-btn {
  min-height: 46px;
  border-radius: 999px !important;
}

.saas-home .saas-hero .saas-actions .saas-btn {
  min-height: 76px;
  border-radius: 23px !important;
}

.saas-home .saas-price-card .saas-btn,
.saas-home .saas-final-cta .saas-btn {
  min-height: 58px;
}

/* Final responsive pass for tablet and phone */
@media (max-width: 1199px) {
  .saas-shell {
    width: min(100% - 36px, 1040px);
  }

  .saas-header {
    width: calc(100% - 32px);
  }

  .saas-header__inner {
    padding: 0 18px;
  }

  .saas-nav {
    gap: 16px;
  }

  .saas-hero__centered h1 {
    font-size: clamp(38px, 6vw, 58px);
  }

  .saas-hero__centered .saas-product-stage {
    max-width: 860px;
  }

  .saas-hero-mockup-wrapper {
    max-width: 820px;
    height: 540px;
  }

  .saas-dashboard {
    width: 70%;
  }

  .saas-phone {
    right: 54px;
  }

  .saas-flow-stepper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    display: grid !important;
    gap: 20px;
  }

  .saas-step-arrow {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .saas-shell {
    width: min(100% - 28px, 760px);
  }

  .saas-header {
    top: 10px;
    width: calc(100% - 24px);
    border-radius: 28px;
  }

  .saas-header::after {
    left: 18px;
    right: 18px;
  }

  .saas-header__inner {
    height: 60px;
    padding: 0 16px;
  }

  .saas-brand img {
    max-width: 128px;
    max-height: 34px;
  }

  .saas-nav-toggle {
    display: flex !important;
    flex-shrink: 0;
  }

  .saas-header__actions {
    display: none !important;
  }

  .saas-nav {
    left: 0;
    right: 0;
    top: 72px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
  }

  .saas-hero {
    padding: 92px 0 72px;
  }

  .saas-hero__centered h1 {
    max-width: 720px;
    font-size: clamp(36px, 7vw, 52px);
  }

  .saas-hero__centered .hero-desc {
    max-width: 640px;
    font-size: 17px;
  }

  .saas-hero .saas-actions {
    flex-wrap: wrap;
  }

  .saas-home .saas-hero .saas-actions .saas-btn {
    min-width: 220px;
  }

  .saas-product-stage {
    min-height: 520px;
  }

  .saas-hero-mockup-wrapper {
    max-width: 720px;
    height: 500px;
  }

  .saas-dashboard {
    left: 0;
    width: 72%;
    height: 390px;
  }

  .saas-phone {
    right: 22px;
    width: 230px;
    height: 438px;
  }

  .widget-1 {
    left: 8px;
  }

  .widget-2 {
    right: 0;
  }

  .saas-section {
    padding: 84px 0;
  }

  .saas-section-head {
    margin-bottom: 44px;
  }

  .saas-pain__grid,
  .saas-final-cta__inner {
    grid-template-columns: 1fr !important;
  }

  .saas-pain-cards,
  .saas-solutions-grid,
  .saas-bento-grid,
  .saas-testimonial-grid,
  .saas-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .bento-card--span-2 {
    grid-column: span 2;
    flex-direction: column;
    align-items: stretch;
  }

  .saas-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .saas-price-card {
    width: 100%;
    max-width: none;
  }

  .saas-price-card.is-recommended {
    transform: none;
  }

  .saas-blog .saas-section-head--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .saas-home .saas-final-cta__inner {
    padding: 42px 34px !important;
    text-align: center;
  }

  .saas-final-cta .saas-actions {
    justify-content: center;
  }

  .saas-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .saas-shell {
    width: min(100% - 24px, 560px);
  }

  .saas-home {
    overflow-x: hidden;
  }

  .saas-header {
    width: calc(100% - 18px);
    border-radius: 24px;
  }

  .saas-header__inner {
    height: 58px;
    padding: 0 12px 0 14px;
  }

  .saas-brand img {
    max-width: 118px;
  }

  .saas-nav {
    top: 68px;
    padding: 18px;
    border-radius: 20px;
  }

  .saas-hero {
    padding: 86px 0 58px;
  }

  .saas-badge-pill,
  .saas-hero-trust-text {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .saas-badge-pill {
    flex-wrap: wrap;
    border-radius: 20px;
  }

  .saas-hero__centered h1 {
    font-size: 34px;
    line-height: 1.14;
    margin: 18px 0;
  }

  .saas-hero__centered .hero-desc {
    font-size: 15.5px;
    margin-bottom: 26px;
  }

  .saas-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .saas-home .saas-btn,
  .saas-home .saas-hero .saas-actions .saas-btn {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    font-size: 16px;
  }

  .saas-product-stage {
    min-height: 430px;
    margin-top: 10px;
  }

  .saas-hero-mockup-wrapper {
    height: 420px;
    max-width: 100%;
    transform: none !important;
  }

  .saas-dashboard {
    left: 0;
    top: 18px;
    width: 82%;
    height: 300px;
    border-radius: 18px;
  }

  .saas-dashboard__top {
    height: 50px;
    padding: 0 14px;
  }

  .saas-window-controls {
    margin-right: 12px;
  }

  .saas-dashboard__top strong {
    font-size: 13px;
  }

  .saas-live-badge {
    display: none;
  }

  .saas-dashboard__body {
    grid-template-columns: 48px 1fr;
    height: calc(100% - 50px);
  }

  .saas-dashboard aside {
    padding: 14px 0;
    gap: 12px;
  }

  .saas-dashboard aside span {
    width: 28px;
    height: 28px;
  }

  .saas-dashboard section {
    padding: 12px;
    gap: 12px;
  }

  .saas-stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .saas-stat-row div:nth-child(3) {
    display: none;
  }

  .saas-order-list article {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 8px;
    padding: 9px 10px;
  }

  .saas-order-list strong {
    font-size: 12px;
  }

  .saas-phone {
    right: 0;
    bottom: 2px;
    width: 178px;
    height: 338px;
    border-width: 7px;
    border-radius: 30px;
  }

  .saas-phone__screen {
    padding: 26px 12px 12px;
  }

  .saas-qr-icon-tile {
    width: 72px;
    height: 72px;
    border-radius: 19px;
  }

  .saas-menu-lines div {
    font-size: 10px;
    padding: 7px;
  }

  .saas-floating-widget {
    display: none;
  }

  .saas-section {
    padding: 68px 0;
  }

  .saas-section h2 {
    font-size: 28px;
  }

  .saas-section-head,
  .saas-section-head--split {
    text-align: left !important;
    margin-bottom: 34px;
  }

  .saas-section-head:not(.saas-section-head--split) {
    text-align: center !important;
  }

  .saas-pain-cards,
  .saas-solutions-grid,
  .saas-bento-grid,
  .saas-testimonial-grid,
  .saas-blog-grid,
  .saas-pricing-grid {
    grid-template-columns: 1fr !important;
  }

  .bento-card--span-2 {
    grid-column: span 1;
  }

  .bento-card,
  .solution-card,
  .saas-pain-card,
  .saas-price-card,
  .saas-blog-card,
  .saas-testimonial-grid article {
    border-radius: 20px;
  }

  .bento-card {
    padding: 24px;
    min-height: auto;
  }

  .bento-card__visual {
    min-width: 0;
  }

  .browser-frame,
  .console-frame {
    max-width: 100%;
  }

  .saas-flow-stepper {
    display: flex !important;
    flex-direction: column;
    gap: 26px;
    padding-left: 18px;
  }

  .saas-step-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-left: 8px;
    padding: 30px 22px 22px;
  }

  .step-num-badge {
    left: 22px;
    top: -16px;
    transform: none;
  }

  .step-icon-wrap {
    margin: 0 0 14px;
  }

  .saas-gallery-filter {
    width: 100%;
    border-radius: 22px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .saas-gallery-filter button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .saas-template-rail {
    grid-auto-columns: minmax(280px, 86vw);
    gap: 16px;
  }

  .saas-blog .saas-section-head--split {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .saas-blog .saas-link {
    width: 100%;
    justify-content: center;
  }

  .saas-home .saas-final-cta {
    padding: 64px 0 !important;
  }

  .saas-home .saas-final-cta__inner {
    padding: 30px 22px !important;
    border-radius: 22px !important;
  }

  .saas-footer__grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }
}

@media (max-width: 420px) {
  .saas-shell {
    width: min(100% - 20px, 380px);
  }

  .saas-hero__centered h1 {
    font-size: 30px;
  }

  .saas-product-stage {
    min-height: 380px;
  }

  .saas-hero-mockup-wrapper {
    height: 372px;
  }

  .saas-dashboard {
    width: 88%;
    height: 270px;
  }

  .saas-dashboard aside {
    display: none;
  }

  .saas-dashboard__body {
    grid-template-columns: 1fr;
  }

  .saas-phone {
    width: 150px;
    height: 286px;
    right: -2px;
  }

  .saas-phone__hero {
    padding: 12px 8px 16px;
  }

  .saas-qr-icon-tile {
    width: 60px;
    height: 60px;
    margin-top: -30px;
  }

  .saas-qr-icon-tile i {
    font-size: 22px;
  }

  .saas-menu-lines div {
    font-size: 9px;
  }

  .saas-phone button {
    padding: 11px 8px;
    font-size: 11px;
  }

  .saas-section h2 {
    font-size: 25px;
  }

  .saas-price strong {
    font-size: 30px;
  }
}

/* Header scroll-spy active state */
.saas-home .saas-nav > a.is-active {
  color: var(--color-primary) !important;
}

.saas-home .saas-nav > a.is-active::after {
  width: 70% !important;
  background-color: var(--color-primary) !important;
}

/* Final button polish: synchronized top-right glow direction */
.saas-home .saas-btn,
.saas-home .saas-gallery-filter button,
.saas-home .saas-pricing-toggle button,
.saas-home .overlay-btn,
.saas-home .saas-phone button,
.saas-home .web-hero-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 999px !important;
  transition:
    transform 0.28s var(--ease-premium),
    box-shadow 0.28s var(--ease-premium),
    border-color 0.28s ease,
    filter 0.28s ease;
}

.saas-home .saas-btn::before,
.saas-home .saas-gallery-filter button::before,
.saas-home .saas-pricing-toggle button::before,
.saas-home .overlay-btn::before,
.saas-home .saas-phone button::before,
.saas-home .web-hero-btn::before {
  content: "";
  position: absolute;
  inset: 2px 4px auto;
  height: 48%;
  border-radius: inherit;
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.34) 34%, transparent 66%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 0;
}

.saas-home .saas-btn::after,
.saas-home .saas-gallery-filter button::after,
.saas-home .saas-pricing-toggle button::after,
.saas-home .overlay-btn::after,
.saas-home .saas-phone button::after,
.saas-home .web-hero-btn::after {
  content: "";
  position: absolute;
  top: -8px;
  right: -8px;
  width: 44%;
  height: 36%;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(77, 225, 255, 0.38), rgba(123, 97, 255, 0.16) 48%, transparent 74%);
  filter: blur(10px);
  opacity: 0.52;
  pointer-events: none;
  z-index: -1;
}

.saas-home .saas-btn > *,
.saas-home .saas-gallery-filter button > *,
.saas-home .saas-pricing-toggle button > *,
.saas-home .overlay-btn > *,
.saas-home .saas-phone button > *,
.saas-home .web-hero-btn > * {
  position: relative;
  z-index: 1;
}

.saas-home .saas-btn--primary,
.saas-home .saas-btn--light,
.saas-home .saas-gallery-filter button.is-active,
.saas-home .saas-pricing-toggle button.is-active,
.saas-home .saas-phone button,
.saas-home .web-hero-btn {
  background:
    radial-gradient(circle at 22% 26%, rgba(61, 214, 255, 0.34), transparent 34%),
    linear-gradient(100deg, #20cde0 0%, #2563eb 48%, #7c3aed 100%) !important;
  color: #ffffff !important;
  border-color: rgba(103, 232, 249, 0.58) !important;
  box-shadow:
    8px -8px 18px rgba(17, 24, 39, 0.12),
    5px -5px 14px rgba(37, 99, 235, 0.18),
    0 0 0 2px rgba(103, 232, 249, 0.44),
    0 0 10px rgba(34, 211, 238, 0.24),
    inset 0 2px 0 rgba(255, 255, 255, 0.56),
    inset 0 -16px 30px rgba(46, 16, 101, 0.18) !important;
}

.saas-home .saas-btn--primary:hover,
.saas-home .saas-btn--light:hover,
.saas-home .saas-gallery-filter button.is-active:hover,
.saas-home .saas-pricing-toggle button.is-active:hover,
.saas-home .saas-phone button:hover,
.saas-home .web-hero-btn:hover {
  filter: saturate(1.08);
  box-shadow:
    10px -10px 22px rgba(17, 24, 39, 0.14),
    6px -6px 16px rgba(37, 99, 235, 0.22),
    0 0 0 2px rgba(103, 232, 249, 0.60),
    0 0 14px rgba(34, 211, 238, 0.30),
    inset 0 2px 0 rgba(255, 255, 255, 0.64),
    inset 0 -16px 30px rgba(46, 16, 101, 0.18) !important;
}

.saas-home .saas-btn--outline,
.saas-home .saas-btn--ghost,
.saas-home .saas-btn--light-outline,
.saas-home .saas-gallery-filter button,
.saas-home .saas-pricing-toggle button,
.saas-home .overlay-btn {
  background:
    radial-gradient(circle at 84% 10%, rgba(255, 255, 255, 0.95), transparent 36%),
    linear-gradient(100deg, rgba(255, 255, 255, 0.98), rgba(240, 253, 250, 0.92)) !important;
  border-color: rgba(14, 165, 233, 0.16) !important;
  box-shadow:
    6px -6px 16px rgba(15, 23, 42, 0.08),
    4px -4px 12px rgba(34, 211, 238, 0.10),
    0 0 0 1px rgba(103, 232, 249, 0.28),
    inset 0 2px 0 rgba(255, 255, 255, 0.92),
    inset 0 -14px 26px rgba(15, 23, 42, 0.03) !important;
}

.saas-home .saas-btn--outline:hover,
.saas-home .saas-btn--ghost:hover,
.saas-home .saas-btn--light-outline:hover,
.saas-home .saas-gallery-filter button:hover,
.saas-home .saas-pricing-toggle button:hover,
.saas-home .overlay-btn:hover {
  box-shadow:
    8px -8px 18px rgba(15, 23, 42, 0.10),
    5px -5px 14px rgba(34, 211, 238, 0.14),
    0 0 0 1px rgba(103, 232, 249, 0.38),
    inset 0 2px 0 rgba(255, 255, 255, 0.96),
    inset 0 -14px 26px rgba(15, 23, 42, 0.03) !important;
}

.saas-home .saas-gallery-filter button:hover:not(.is-active) {
  color: var(--color-primary) !important;
  background:
    radial-gradient(circle at 84% 10%, rgba(255, 255, 255, 0.74), transparent 34%),
    linear-gradient(100deg, rgba(229, 250, 246, 0.96), rgba(224, 247, 255, 0.88)) !important;
  border-color: rgba(34, 211, 238, 0.32) !important;
  box-shadow:
    8px -8px 18px rgba(15, 23, 42, 0.09),
    5px -5px 14px rgba(34, 211, 238, 0.18),
    0 0 0 1px rgba(103, 232, 249, 0.38),
    inset 0 2px 0 rgba(255, 255, 255, 0.90),
    inset 0 -12px 22px rgba(14, 165, 233, 0.04) !important;
}

.saas-home .saas-hero .saas-actions .saas-btn::after {
  top: -10px !important;
  right: -10px !important;
  bottom: auto !important;
  left: auto !important;
  width: 46% !important;
  height: 38% !important;
  background: radial-gradient(ellipse at center, rgba(77, 225, 255, 0.34), rgba(123, 97, 255, 0.14) 48%, transparent 74%) !important;
  filter: blur(10px) !important;
  opacity: 0.5 !important;
}

.saas-home .saas-hero .saas-actions .saas-btn--primary {
  box-shadow:
    12px -12px 22px rgba(17, 24, 39, 0.13),
    8px -8px 18px rgba(255, 99, 92, 0.24),
    0 0 0 2px rgba(255, 169, 141, 0.42),
    inset 0 2px 0 rgba(255, 255, 255, 0.60),
    inset 0 -14px 28px rgba(181, 52, 82, 0.14) !important;
}

.saas-home .saas-hero .saas-actions .saas-btn--outline {
  box-shadow:
    12px -12px 22px rgba(15, 23, 42, 0.10),
    8px -8px 18px rgba(34, 211, 238, 0.14),
    0 0 0 1px rgba(103, 232, 249, 0.28),
    inset 0 2px 0 rgba(255, 255, 255, 0.94),
    inset 0 -14px 26px rgba(15, 23, 42, 0.03) !important;
}

.saas-home .saas-hero .saas-actions .saas-btn--primary:hover {
  box-shadow:
    14px -14px 26px rgba(17, 24, 39, 0.15),
    10px -10px 22px rgba(255, 99, 92, 0.28),
    0 0 0 2px rgba(255, 169, 141, 0.52),
    inset 0 2px 0 rgba(255, 255, 255, 0.66),
    inset 0 -14px 28px rgba(181, 52, 82, 0.14) !important;
}

.saas-home .saas-hero .saas-actions .saas-btn--outline:hover {
  box-shadow:
    14px -14px 26px rgba(15, 23, 42, 0.12),
    10px -10px 22px rgba(34, 211, 238, 0.18),
    0 0 0 1px rgba(103, 232, 249, 0.36),
    inset 0 2px 0 rgba(255, 255, 255, 0.96),
    inset 0 -14px 26px rgba(15, 23, 42, 0.03) !important;
}

@media (max-width: 991px) {
  .saas-home .saas-nav > a.is-active {
    background-color: var(--color-primary-light) !important;
    color: var(--color-primary) !important;
  }
}
