/* ================================================================
   SOLVETAA — SaaS Design System (hero.css)
   Freshworks / Zoho / Razorpay inspired — clean, modern, orange
   ================================================================ */

/* ── Design tokens ─────────────────────────────────────────────── */
:root {
  --annbar-h:       44px;
  --primary:        #184A6B;
  --primary-dark:   #0d2e46;
  --primary-light:  #AEBFC9;
  --primary-mid:    #6F8FA3;
  --logo-navy:      #154a72;
  --logo-steel:     #6f8faa;
  --logo-ice:       #d8e2ea;

  --dark:          #1a1a1a;
  --dark-soft:     #2d2d2d;
  --body-text:     #1a1a1a;
  --muted-text:    #6b7280;
  --border:        #e5e7eb;
  --bg:            #ffffff;
  --bg-grey:       #F5F7FA;
  --bg-grey-deep:  #f3f4f6;

  --shadow-sm:     0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg:     0 12px 40px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-primary: 0 8px 32px rgba(24, 74, 107, 0.28);

  --radius-sm:     8px;
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     28px;
}

/* ── Base reset for SaaS pages ─────────────────────────────────── */
.saas-body {
  font-family: "Poppins", "Inter", sans-serif;
  background: var(--bg);
  color: var(--body-text);
  margin: 0;
  padding-top: calc(var(--annbar-h) + 72px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.saas-body img {
  max-width: 100%;
  height: auto;
}

.saas-header .site-logo {
  height: 68px;
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 0.82;
  mix-blend-mode: multiply;
}

/* Override existing brand/bg */
.saas-body body { background: var(--bg); }

/* ── Container ─────────────────────────────────────────────────── */
.saas-container {
  width: min(100% - 3rem, 1200px);
  margin: 0 auto;
}

/* ── Typography ────────────────────────────────────────────────── */
.saas-h1 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--logo-navy);
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
  position: relative;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85),
    0 2px 0 rgba(111, 143, 170, 0.18),
    0 6px 18px rgba(21, 74, 114, 0.10);
}

.saas-h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--logo-navy);
  margin: 0 0 1rem;
  letter-spacing: -0.015em;
  position: relative;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.82),
    0 2px 0 rgba(111, 143, 170, 0.14),
    0 5px 14px rgba(21, 74, 114, 0.08);
}

.saas-highlight {
  color: var(--logo-steel);
  position: relative;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 3px 12px rgba(111, 143, 170, 0.16);
}

/* Underline decoration under highlight */
.saas-highlight::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--logo-steel), var(--logo-navy));
  box-shadow: 0 0 0 2px rgba(216, 226, 234, 0.8), 0 4px 12px rgba(21, 74, 114, 0.18);
  opacity: 0.95;
}

/* ── Eyebrow label ─────────────────────────────────────────────── */
.saas-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--primary-mid);
  margin-bottom: 1rem;
}

/* ── Navbar ────────────────────────────────────────────────────── */
.saas-header {
  position: fixed;
  top: var(--annbar-h);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 150;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.saas-header--scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.saas-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 3rem, 1200px);
  margin: 0 auto;
  min-height: 72px;
}

.saas-site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.saas-site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--body-text);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}

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

.saas-site-nav a[aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
}

.saas-nav-cta {
  background: var(--primary) !important;
  color: white !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 999px !important;
  box-shadow: var(--shadow-primary);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s !important;
}

.saas-nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 36px rgba(24,74,107,0.36) !important;
}

.saas-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
}

.saas-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--dark);
  border-radius: 999px;
  transition: 0.2s;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.saas-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

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

.saas-btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-primary);
}
.saas-btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 10px 36px rgba(24,74,107,0.38);
}

.saas-btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}
.saas-btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.saas-btn-white {
  background: white;
  color: var(--primary);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}
.saas-btn-white:hover {
  box-shadow: var(--shadow-lg);
}

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

/* ================================================================
   HERO
   ================================================================ */
.saas-hero {
  background:
    radial-gradient(ellipse 80% 60% at 70% -10%, rgba(24,74,107,0.06), transparent 60%),
    radial-gradient(ellipse 50% 50% at 0% 80%,  rgba(24,74,107,0.04), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  padding: 4rem 0 0;
  overflow: hidden;
}

.saas-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-bottom: 3.5rem;
}

/* ── LEFT copy ─────────────────────────────────────────────────── */
.saas-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Badge */
.saas-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-light);
  border: 1px solid var(--primary-mid);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
  letter-spacing: 0.01em;
}

.saas-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-badge 2s ease-in-out infinite;
  flex-shrink: 0;
}

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

/* Subheadline */
.saas-subhead {
  font-size: 1.08rem;
  color: var(--muted-text);
  line-height: 1.7;
  margin: 0 0 2rem;
  max-width: 48ch;
}

.saas-subhead strong {
  color: var(--body-text);
  font-weight: 600;
}

/* CTA row */
.saas-cta-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

/* Trust badges */
.saas-trust-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.saas-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--body-text);
  background: var(--bg-grey);
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.saas-trust-icon {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-size: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}

.saas-support-line {
  font-size: 0.78rem;
  color: var(--muted-text);
  margin: 0;
}

/* ── RIGHT visual ──────────────────────────────────────────────── */
.saas-hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.saas-hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
}

.saas-hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  /* No box-shadow since illustration has its own */
  filter: drop-shadow(0 20px 48px rgba(0,0,0,0.10));
  animation: float-hero 5s ease-in-out infinite;
}

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

/* Floating data cards */
.saas-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 1rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.82rem;
  font-family: "Poppins", sans-serif;
  white-space: nowrap;
  animation: float-card 4s ease-in-out infinite;
  max-width: calc(100% - 2rem);
  z-index: 3;
}

.saas-float-card--tl {
  top: 14%;
  left: 2%;
  animation-delay: -1s;
}

.saas-float-card--br {
  bottom: 12%;
  right: 2%;
  animation-delay: -2.5s;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-6px) rotate(0deg); }
}

.saas-float-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.saas-float-card strong {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
  line-height: 1.1;
}

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

/* ── Proof strip ───────────────────────────────────────────────── */
.saas-proof-strip {
  border-top: 1px solid var(--border);
  background: var(--bg-grey);
  padding: 1rem 0;
}

.saas-proof-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.saas-proof-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.saas-proof-cities {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--body-text);
}

.saas-proof-cities span[aria-hidden] {
  color: var(--border);
}

/* ================================================================
   SECTION SHARED STYLES
   ================================================================ */
.saas-section {
  padding: 5rem 0;
}

.saas-section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.saas-section-sub {
  font-size: 1.05rem;
  color: var(--muted-text);
  max-width: 54ch;
  margin: 0.75rem auto 0;
  line-height: 1.7;
}

/* ================================================================
   PROBLEM CARDS
   ================================================================ */
.saas-problems {
  background: var(--bg-grey);
}

.saas-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.saas-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.2s;
}

.saas-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.saas-problem-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin: 1rem 0 0.6rem;
  font-family: "Poppins", sans-serif;
}

.saas-problem-card p {
  font-size: 0.92rem;
  color: var(--muted-text);
  line-height: 1.65;
  margin: 0;
}

.saas-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.saas-card-icon--red    { background: #fff1f0; }
.saas-card-icon--amber  { background: #fffbeb; }
.saas-card-icon--blue   { background: #eff6ff; }

/* ================================================================
   SOLUTIONS CARDS
   ================================================================ */
.saas-solutions {
  background: white;
}

.saas-solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.saas-solution-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow 0.25s, transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.saas-solution-card:hover {
  border-color: var(--primary-mid);
  box-shadow: 0 12px 36px rgba(24,74,107,0.06);
  transform: translateY(-4px);
}

.saas-solution-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.saas-solution-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--bg-grey-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: background 0.3s;
}

.saas-solution-card:hover .saas-solution-icon {
  background: var(--primary-light);
}

.saas-solution-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  font-family: "Poppins", sans-serif;
  line-height: 1.3;
}

.saas-solution-desc {
  font-size: 0.95rem;
  color: var(--muted-text);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.saas-solution-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 0.6rem;
  flex-grow: 1;
}

.saas-solution-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--body-text);
  line-height: 1.4;
}

.saas-solution-list span {
  color: #10b981;
  font-weight: 700;
  flex-shrink: 0;
}

.saas-solution-cta {
  display: inline-flex;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  margin-top: auto;
}

.saas-solution-cta:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}

/* ================================================================
   HOW IT WORKS (PROCESS)
   ================================================================ */
.saas-process {
  background: var(--bg-grey);
}

.saas-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

/* Connecting line behind steps on desktop */
@media (min-width: 961px) {
  .saas-process-grid::before {
    content: "";
    position: absolute;
    top: 32px; /* Center of the 64px number circle */
    left: 12%;
    right: 12%;
    height: 2px;
    background: var(--border);
    z-index: 0;
  }
}

.saas-step-card {
  position: relative;
  z-index: 1;
  text-align: center;
}

.saas-step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--primary);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(24,74,107,0.15);
  transition: transform 0.2s, background 0.2s;
}

.saas-step-badge {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.saas-step-card:hover .saas-step-icon {
  background: var(--primary-light);
  transform: translateY(-4px) scale(1.05);
}

.saas-step-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.85rem;
}

.saas-step-card p {
  font-size: 0.92rem;
  color: var(--muted-text);
  line-height: 1.6;
  margin: 0;
}

/* ================================================================
   METRICS
   ================================================================ */
.saas-metrics {
  background: white;
}

.saas-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.saas-metric-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.2s;
}

.saas-metric-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.saas-metric-number {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.saas-metric-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.saas-metric-desc {
  font-size: 0.85rem;
  color: var(--muted-text);
  margin: 0;
  line-height: 1.5;
}

/* ================================================================
   PORTFOLIO
   ================================================================ */
.saas-portfolio {
  background: var(--bg-grey);
}

.saas-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.saas-portfolio-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.saas-portfolio-img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-grey-deep);
  border-bottom: 1px solid var(--border);
}

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

.saas-portfolio-preview {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem;
  color: white;
}

.saas-portfolio-preview--pickshield {
  background:
    radial-gradient(circle at top right, rgba(84, 178, 255, 0.22), transparent 35%),
    linear-gradient(135deg, #11324d 0%, #0b2235 100%);
}

.saas-portfolio-preview--progressive {
  background:
    radial-gradient(circle at top right, rgba(104, 177, 255, 0.18), transparent 35%),
    linear-gradient(135deg, #4b587c 0%, #1f2435 100%);
}

.saas-portfolio-preview--navashakti {
  background:
    radial-gradient(circle at top right, rgba(255, 202, 107, 0.2), transparent 35%),
    linear-gradient(135deg, #3d6627 0%, #203d15 100%);
}

.saas-portfolio-preview-top,
.saas-portfolio-preview-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.saas-portfolio-chip,
.saas-portfolio-url {
  width: fit-content;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.saas-portfolio-preview-body strong {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  line-height: 1.2;
}

.saas-portfolio-preview-body span {
  max-width: 22rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.saas-portfolio-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.saas-portfolio-card:hover .saas-portfolio-img {
  transform: scale(1.05);
}

.saas-portfolio-content {
  padding: 1.75rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.saas-portfolio-meta {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-mid);
  margin-bottom: 0.6rem;
}

.saas-portfolio-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.saas-portfolio-desc {
  font-size: 0.85rem;
  color: var(--muted-text);
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

.saas-portfolio-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: auto;
}

.saas-portfolio-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--body-text);
  line-height: 1.4;
}

.saas-portfolio-bullets span {
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

.saas-portfolio-link {
  margin-top: 1.15rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

.saas-portfolio-footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.saas-portfolio-footer p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.saas-cta-section {
  background: white;
  padding: 4rem 0 5rem;
}

.saas-cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, #11354d 60%, #081d2a 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(24, 74, 107, 0.35);
}

.saas-cta-decoration {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(255,255,255,0.12), transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(255,255,255,0.08), transparent 50%);
  pointer-events: none;
}

.saas-eyebrow--light {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.25);
}

.saas-cta-h2 {
  color: white;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22),
    0 3px 0 rgba(78, 116, 146, 0.28),
    0 10px 20px rgba(9, 26, 40, 0.24);
  background: linear-gradient(180deg, #ffffff 0%, #dbe6ef 38%, #aac1d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.saas-cta-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin: 0 0 2rem;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.saas-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.saas-cta-trust {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ================================================================
   FOOTER
   ================================================================ */
.saas-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
}

.saas-footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
  align-items: start;
}

.saas-footer-brand p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0.8rem 0 0;
  color: rgba(255,255,255,0.8);
}

.saas-footer-links {
  display: contents;
}

.saas-footer-links > div h3 {
  font-family: "Poppins", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin: 0 0 0.85rem;
}

.saas-footer-links > div ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.saas-footer-links > div ul li,
.saas-footer-links > div ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.15s;
}

.saas-footer-links > div ul a:hover {
  color: var(--primary);
}

.saas-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.saas-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* Logo in footer on dark bg */
.saas-footer .site-logo-footer {
  filter: grayscale(1) invert(1) contrast(1000%);
  mix-blend-mode: screen;
  opacity: 0.85;
  height: 36px;
}

.saas-footer-socials {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.saas-footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  text-decoration: none;
  position: relative;
  transition: transform 0.28s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.28s ease;
  flex-shrink: 0;
}
/* 3D depth layer */
.saas-footer-socials a::after {
  content: '';
  position: absolute;
  inset: 5px -3px -7px 3px;
  border-radius: 12px;
  opacity: 0.4;
  filter: blur(2px);
  background: inherit;
  z-index: -1;
  transition: opacity 0.28s ease;
}
/* top glare */
.saas-footer-socials a::before {
  content: '';
  position: absolute;
  top: 4px; left: 5px; right: 35%; bottom: 50%;
  border-radius: 8px 8px 30% 8px;
  background: rgba(255,255,255,0.28);
  pointer-events: none;
  z-index: 1;
}
.saas-footer-socials a:hover {
  transform: translateY(-5px) scale(1.08);
}
.saas-footer-socials a:hover::after { opacity: 0.65; }

/* Instagram — purple-pink-orange gradient */
.saas-footer-socials a.social--insta {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  box-shadow: 0 6px 18px rgba(253,29,29,0.4);
}
/* LinkedIn — blue */
.saas-footer-socials a.social--linkedin {
  background: linear-gradient(135deg, #0077b5 0%, #005582 100%);
  box-shadow: 0 6px 18px rgba(0,119,181,0.45);
}
/* WhatsApp — green */
.saas-footer-socials a.social--whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 6px 18px rgba(37,211,102,0.4);
}

.saas-footer-contact li {
  line-height: 1.8;
}

.saas-footer-contact strong {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  margin-right: 0.35rem;
}

/* ================================================================
   RESPONSIVE — Tablet / Mobile
   ================================================================ */
@media (max-width: 960px) {
  .saas-hero-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .saas-hero-copy {
    align-items: center;
  }

  .saas-subhead { max-width: 100%; }

  .saas-cta-row {
    justify-content: center;
  }

  .saas-trust-row {
    justify-content: center;
  }

  .saas-hero-visual {
    justify-content: center;
  }

  .saas-hero-img-wrap {
    max-width: 420px;
  }

  .saas-float-card--tl { left: -2%; top: 8%; }
  .saas-float-card--br { right: -2%; bottom: 8%; }

  .saas-cards-3,
  .saas-solutions-grid,
  .saas-process-grid,
  .saas-metrics-grid,
  .saas-portfolio-grid {
    grid-template-columns: 1fr;
  }

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

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

  .saas-footer-bottom-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .saas-h1 { font-size: 1.85rem; }
  .saas-h2 { font-size: 1.6rem; }

  .saas-hero { padding: 2rem 0 0; }

  .saas-cta-row { flex-direction: column; align-items: stretch; }
  .saas-cta-row .saas-btn { text-align: center; justify-content: center; }

  .saas-cta-buttons { flex-direction: column; align-items: stretch; }
  .saas-cta-buttons .saas-btn { justify-content: center; }

  .saas-cta-box { padding: 2.5rem 1.5rem; }

  .saas-footer-inner { grid-template-columns: 1fr; }
  .saas-footer-brand { grid-column: auto; }

  .saas-proof-inner { flex-direction: column; align-items: flex-start; }

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

  .saas-site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 1rem;
    right: 1rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .saas-site-nav[data-open="true"] { display: flex; }

  .saas-site-nav a {
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
  }

  .saas-nav-cta {
    margin-top: 0.5rem;
    text-align: center;
    border-radius: var(--radius-sm) !important;
  }
}

/* ── Reduced motion ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .saas-hero-img,
  .saas-float-card,
  .saas-badge-dot {
    animation: none !important;
  }
  .saas-hero-line,
  .saas-hero-line--accent::after {
    animation: none !important;
  }
  .saas-hero-line {
    opacity: 1 !important;
    transform: none !important;
  }
  .saas-hero-line--accent::after {
    transform: scaleX(1) !important;
  }
  .saas-float-card--tl { transform: none !important; }
  .saas-float-card--br { transform: none !important; }
}

/* Fix for Typography Logo Anchor Underlines */
.brand.logo-brand, .saas-header .brand {
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
}

/* ================================================================
   Premium SaaS Overrides
   ================================================================ */

.saas-body {
  background:
    radial-gradient(circle at top left, rgba(24, 74, 107, 0.14), transparent 28rem),
    radial-gradient(circle at 86% 16%, rgba(111, 143, 170, 0.18), transparent 30rem),
    linear-gradient(180deg, #f8fbfe 0%, #eef4fa 48%, #ffffff 100%);
  overflow-x: hidden;
}

html,
body {
  overflow-x: hidden;
}

.saas-container,
.saas-hero-layout > * {
  min-width: 0;
}

.saas-section,
.saas-hero,
.portfolio-hero {
  position: relative;
  overflow: clip;
}

.saas-section::before,
.saas-hero::before,
.portfolio-hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -5rem auto;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 74, 107, 0.10), transparent 70%);
  filter: blur(22px);
  pointer-events: none;
}

.saas-section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(235, 243, 250, 0.92), rgba(255, 255, 255, 0.92));
}

.saas-section:nth-of-type(odd)::after,
.portfolio-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 92px;
  background: linear-gradient(180deg, transparent, rgba(24, 74, 107, 0.04));
  clip-path: polygon(0 36%, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.saas-header {
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(184, 206, 223, 0.55);
  box-shadow: 0 12px 30px rgba(17, 53, 77, 0.06);
}

.saas-site-nav a {
  position: relative;
}

.saas-site-nav a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--logo-steel), var(--logo-navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.saas-site-nav a:hover::after,
.saas-site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.saas-nav-cta,
.saas-btn,
.saas-portfolio-link {
  position: relative;
  overflow: hidden;
}

.saas-nav-cta,
.saas-btn-primary,
.saas-btn:not(.saas-btn-outline):not(.saas-btn-white):not(.saas-btn-outline-white) {
  background: linear-gradient(135deg, #1a5f89 0%, #184A6B 48%, #0f344e 100%);
  box-shadow: 0 14px 34px rgba(24, 74, 107, 0.26);
}

.saas-btn-outline,
.saas-portfolio-link {
  border: 1px solid rgba(24, 74, 107, 0.14);
  box-shadow: 0 8px 24px rgba(24, 74, 107, 0.08);
}

.saas-btn:hover,
.saas-nav-cta:hover,
.saas-portfolio-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(24, 74, 107, 0.24);
}

.has-ripple .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  transform: scale(0);
  animation: ripple-burst 0.65s ease-out;
  pointer-events: none;
}

@keyframes ripple-burst {
  to {
    transform: scale(3.2);
    opacity: 0;
  }
}

.saas-hero {
  padding-top: 4rem;
  background:
    radial-gradient(circle at 12% 20%, rgba(111, 143, 170, 0.20), transparent 22rem),
    radial-gradient(circle at 88% 12%, rgba(24, 74, 107, 0.12), transparent 24rem),
    linear-gradient(180deg, #fbfdff 0%, #edf4fb 100%);
}

.saas-hero-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 3rem;
}

.saas-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 38rem;
}

.saas-hero-title {
  max-width: none;
  letter-spacing: 0.01em;
}

.saas-hero-line {
  display: block;
  white-space: nowrap;
  letter-spacing: 0.015em;
  opacity: 0;
  transform: translateY(12px);
  animation: hero-line-fade 0.7s ease forwards;
}

.saas-hero-line:nth-child(1) { animation-delay: 0.12s; }
.saas-hero-line:nth-child(2) { animation-delay: 0.28s; }
.saas-hero-line:nth-child(3) { animation-delay: 0.44s; }
.saas-hero-line:nth-child(4) { animation-delay: 0.6s; }

@keyframes hero-line-fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.saas-hero-line--accent {
  margin-top: 0.4rem;
  position: relative;
  display: inline-block;
  width: fit-content;
}

.saas-hero-gradient {
  display: inline-block;
  background: linear-gradient(90deg, #78a7c9 0%, #2f77a9 42%, #184A6B 78%, #0f344e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.saas-hero-line--accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.18rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(120, 167, 201, 0.95), rgba(24, 74, 107, 0.95));
  transform: scaleX(0);
  transform-origin: left;
  animation: hero-underline-grow 0.7s ease 1.1s forwards;
}

@keyframes hero-underline-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.saas-subhead {
  max-width: 56ch;
  font-size: 1.1rem;
  color: #4d6477;
}

.saas-hero-img-wrap,
.saas-dashboard-panel,
.saas-product-card,
.saas-solution-card,
.saas-card,
.saas-step-card,
.saas-metric-card,
.saas-portfolio-card,
.project-card,
.product-3d-card {
  --card-rotate-x: 0deg;
  --card-rotate-y: 0deg;
  transform: perspective(1200px) rotateX(var(--card-rotate-x)) rotateY(var(--card-rotate-y));
  transform-style: preserve-3d;
}

.saas-hero-img-wrap {
  position: relative;
  border-radius: 34px;
  width: 100%;
  max-width: min(100%, 620px);
  padding: clamp(1.2rem, 2vw, 2rem);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(232, 241, 248, 0.70));
  border: 1px solid rgba(189, 208, 223, 0.6);
  box-shadow: 0 36px 80px rgba(24, 74, 107, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  overflow: hidden;
  isolation: isolate;
}

.saas-hero-img {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 30px 45px rgba(15, 52, 78, 0.18));
}

.saas-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(24, 74, 107, 0.14);
  animation: orbit-float 7s ease-in-out infinite;
}

.saas-orbit--one {
  width: 320px;
  height: 320px;
  left: 2%;
  top: 2%;
}

.saas-orbit--two {
  width: 420px;
  height: 420px;
  right: -10%;
  bottom: -14%;
  animation-delay: -3s;
}

@keyframes orbit-float {
  50% { transform: translateY(-10px) translateX(6px); }
}

.saas-ui-card {
  position: absolute;
  z-index: 3;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(196, 214, 227, 0.7);
  box-shadow: 0 18px 45px rgba(24, 74, 107, 0.16);
  backdrop-filter: blur(16px);
}

.saas-ui-card--analytics {
  top: 10%;
  right: 2%;
  width: min(230px, 42%);
  padding: 1rem;
}

.saas-ui-card--workflow {
  left: 3%;
  bottom: 12%;
  padding: 0.9rem 1rem;
  max-width: calc(100% - 6%);
}

.saas-ui-card-head,
.saas-ui-flow,
.saas-dashboard-top,
.saas-dashboard-grid,
.saas-product-top,
.saas-portfolio-overlay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.saas-ui-pill,
.saas-product-badge,
.saas-dashboard-live,
.saas-portfolio-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(24, 74, 107, 0.08);
  color: var(--logo-navy);
}

.saas-ui-pill--soft,
.saas-dashboard-live {
  background: rgba(111, 143, 170, 0.16);
  color: #4c6e87;
}

.saas-ui-bars,
.saas-dashboard-chart,
.mini-chart-bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.45rem;
  align-items: end;
  height: 72px;
  margin: 1rem 0 0.8rem;
}

.saas-ui-bars span,
.saas-dashboard-chart i,
.mini-chart-bars i {
  display: block;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, #80abd0 0%, #184A6B 100%);
}

.saas-ui-bars span:nth-child(1),
.saas-dashboard-chart i:nth-child(1),
.mini-chart-bars i:nth-child(1) { height: 32%; }
.saas-ui-bars span:nth-child(2),
.saas-dashboard-chart i:nth-child(2),
.mini-chart-bars i:nth-child(2) { height: 56%; }
.saas-ui-bars span:nth-child(3),
.saas-dashboard-chart i:nth-child(3),
.mini-chart-bars i:nth-child(3) { height: 42%; }
.saas-ui-bars span:nth-child(4),
.saas-dashboard-chart i:nth-child(4),
.mini-chart-bars i:nth-child(4) { height: 74%; }
.saas-ui-bars span:nth-child(5),
.saas-dashboard-chart i:nth-child(5),
.mini-chart-bars i:nth-child(5) { height: 86%; }
.saas-dashboard-chart i:nth-child(6),
.mini-chart-bars i:nth-child(6) { height: 62%; }
.saas-dashboard-chart i:nth-child(7) { height: 94%; }

.saas-ui-statline,
.saas-dashboard-grid div {
  display: grid;
  gap: 0.2rem;
}

.saas-ui-statline strong,
.saas-dashboard-grid strong {
  font-family: "Poppins", sans-serif;
  color: var(--logo-navy);
}

.saas-ui-statline span,
.saas-dashboard-grid span {
  color: var(--muted-text);
  font-size: 0.82rem;
}

.saas-ui-flow span {
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: rgba(24, 74, 107, 0.08);
  color: var(--logo-navy);
  font-size: 0.78rem;
  font-weight: 700;
}

.saas-ui-flow i {
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--logo-steel), var(--logo-navy));
}

.saas-proof-strip {
  background: transparent;
}

.saas-proof-inner {
  border-radius: 999px;
  padding: 1rem 1.4rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(189, 208, 223, 0.6);
  box-shadow: 0 16px 35px rgba(24, 74, 107, 0.08);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  overflow: hidden;
}

.saas-industry-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.saas-industry-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  min-width: max-content;
  animation: industry-marquee 28s linear infinite;
}

.saas-industry-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.95rem 0.65rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(229,239,247,0.92));
  border: 1px solid rgba(189, 208, 223, 0.82);
  box-shadow:
    0 12px 26px rgba(24, 74, 107, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.98);
  white-space: nowrap;
  transform: translateZ(0);
}

.saas-industry-pill i {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #8cb3cf, #184A6B);
  color: white;
  font-style: normal;
  box-shadow: 0 10px 18px rgba(24, 74, 107, 0.18);
}

.saas-industry-pill b {
  font-size: 0.86rem;
  color: var(--logo-navy);
  font-weight: 700;
}

@keyframes industry-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - 1rem)); }
}

.saas-card,
.saas-solution-card,
.saas-step-card,
.saas-metric-card,
.saas-portfolio-card,
.project-card,
.product-3d-card,
.saas-product-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(242, 248, 252, 0.92));
  border: 1px solid rgba(187, 207, 221, 0.72);
  box-shadow: 0 22px 44px rgba(24, 74, 107, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.saas-card::before,
.saas-solution-card::before,
.saas-step-card::before,
.saas-metric-card::before,
.saas-portfolio-card::before,
.project-card::before,
.product-3d-card::before,
.saas-product-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.36), transparent 38%);
  pointer-events: none;
}

.saas-card:hover,
.saas-solution-card:hover,
.saas-step-card:hover,
.saas-metric-card:hover,
.saas-portfolio-card:hover,
.project-card:hover,
.product-3d-card:hover,
.saas-product-card:hover {
  box-shadow: 0 34px 70px rgba(24, 74, 107, 0.16), 0 0 0 1px rgba(128, 171, 208, 0.34);
}

.saas-card-icon,
.saas-solution-icon,
.saas-step-icon,
.product-icon,
.saas-product-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(128, 171, 208, 0.95), rgba(24, 74, 107, 0.95));
  color: white;
  box-shadow: 0 16px 28px rgba(24, 74, 107, 0.22);
}

.saas-solution-card,
.saas-step-card,
.saas-product-card {
  overflow: hidden;
}

.saas-solution-preview {
  margin: 1rem 0 1.25rem;
  padding: 1rem;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(236, 244, 250, 0.95), rgba(255, 255, 255, 0.82));
  border: 1px solid rgba(189, 208, 223, 0.7);
  min-height: 118px;
}

.mini-window {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
}

.mini-window-chip,
.mini-card-grid span,
.mini-kpi-row span,
.mini-phone-list span,
.mini-brand-swatches span,
.mini-certificate-lines span {
  display: block;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(24, 74, 107, 0.18), rgba(111, 143, 170, 0.24));
}

.mini-window-chip {
  width: 0.55rem;
  height: 0.55rem;
}

.mini-hero-line {
  width: 72%;
  height: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(24, 74, 107, 0.85), rgba(128, 171, 208, 0.55));
}

.mini-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.mini-card-grid span {
  height: 2.8rem;
  border-radius: 14px;
}

.mini-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.mini-kpi-row span {
  height: 2.2rem;
  border-radius: 14px;
}

.saas-solution-preview--mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.mini-phone {
  width: 4.2rem;
  height: 5.7rem;
  border-radius: 18px;
  padding: 0.45rem;
  background: linear-gradient(180deg, #1a5f89, #0f344e);
  box-shadow: 0 14px 24px rgba(24, 74, 107, 0.2);
}

.mini-phone-notch {
  width: 42%;
  height: 0.35rem;
  border-radius: 999px;
  margin: 0 auto 0.4rem;
  background: rgba(255, 255, 255, 0.6);
}

.mini-phone-screen {
  height: calc(100% - 0.8rem);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(216, 226, 234, 0.88));
}

.mini-phone-list {
  flex: 1;
  display: grid;
  gap: 0.5rem;
}

.mini-phone-list span {
  height: 1.1rem;
}

.saas-solution-preview--brand,
.saas-solution-preview--iso {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-brand-orb,
.mini-certificate {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #94b7d3, #184A6B);
  box-shadow: 0 14px 26px rgba(24, 74, 107, 0.18);
}

.mini-brand-swatches,
.mini-certificate-lines {
  display: grid;
  gap: 0.5rem;
  flex: 1;
  margin-left: 1rem;
}

.mini-brand-swatches span,
.mini-certificate-lines span {
  height: 1rem;
}

.saas-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.saas-product-card {
  padding: 1.6rem;
  border-radius: 26px;
  cursor: pointer;
}

.saas-product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.saas-product-card h3 {
  font-size: 1.45rem;
  color: var(--logo-navy);
  margin: 0 0 0.45rem;
}

.saas-product-sub {
  color: #587084;
  margin: 0 0 1.1rem;
}

.saas-flow-card {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(189, 208, 223, 0.55);
  margin-top: 0.75rem;
}

.saas-flow-card span {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--logo-steel);
}

.saas-flow-card p {
  margin: 0;
  color: var(--body-text);
}

.saas-product-preview {
  position: relative;
  margin: 1.1rem 0 1.2rem;
  min-height: 180px;
  padding: 1.1rem;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,0.92), rgba(225,238,248,0.84));
  border: 1px solid rgba(187, 207, 221, 0.72);
  overflow: hidden;
}

.saas-preview-glow {
  position: absolute;
  inset: auto auto -25% -10%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 74, 107, 0.18), transparent 68%);
  filter: blur(20px);
}

.saas-preview-panel {
  position: relative;
  z-index: 2;
  min-height: 130px;
  border-radius: 18px;
  padding: 0.9rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(241,247,252,0.92));
  border: 1px solid rgba(198, 215, 227, 0.82);
  box-shadow: 0 18px 30px rgba(24, 74, 107, 0.12);
}

.saas-preview-topbar {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
}

.saas-preview-topbar span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(24, 74, 107, 0.2);
}

.saas-preview-metrics,
.saas-preview-bids,
.saas-preview-kanban {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}

.saas-preview-metrics i,
.saas-preview-bids i,
.saas-preview-kanban i {
  display: block;
  height: 2.4rem;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(128,171,208,0.38), rgba(24,74,107,0.16));
}

.saas-preview-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.45rem;
  align-items: end;
  height: 72px;
}

.saas-preview-chart b {
  display: block;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, #90b8d6 0%, #184A6B 100%);
}

.saas-preview-chart b:nth-child(1) { height: 28%; }
.saas-preview-chart b:nth-child(2) { height: 56%; }
.saas-preview-chart b:nth-child(3) { height: 44%; }
.saas-preview-chart b:nth-child(4) { height: 74%; }
.saas-preview-chart b:nth-child(5) { height: 88%; }

.saas-preview-flowline {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.saas-preview-flowline span,
.saas-preview-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.68rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(196, 214, 227, 0.84);
  color: var(--logo-navy);
  font-size: 0.74rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(24, 74, 107, 0.1);
}

.saas-preview-flowline em {
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--logo-steel), var(--logo-navy));
}

.saas-preview-table {
  display: grid;
  gap: 0.45rem;
}

.saas-preview-table i {
  display: block;
  height: 0.9rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(24,74,107,0.18), rgba(111,143,170,0.28));
}

.saas-preview-kanban i:nth-child(1),
.saas-preview-bids i:nth-child(1) { height: 4.3rem; }
.saas-preview-kanban i:nth-child(2),
.saas-preview-bids i:nth-child(2) { height: 5rem; }
.saas-preview-kanban i:nth-child(3),
.saas-preview-bids i:nth-child(3) { height: 3.6rem; }

.saas-preview-float {
  position: absolute;
  z-index: 3;
  backdrop-filter: blur(10px);
}

.saas-preview-float--top {
  top: 0.8rem;
  right: 0.8rem;
}

.saas-preview-float--bottom {
  left: 0.8rem;
  bottom: 0.8rem;
}

.saas-product-expand {
  margin-top: 1rem;
}

.saas-expand-trigger {
  width: 100%;
  border: 1px solid rgba(24, 74, 107, 0.12);
  background: rgba(24, 74, 107, 0.05);
  color: var(--logo-navy);
  border-radius: 999px;
  min-height: 3rem;
  padding: 0.8rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.saas-expand-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(24, 74, 107, 0.12);
}

.saas-product-detail {
  display: grid;
  gap: 0.9rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.28s ease, margin-top 0.28s ease;
}

.saas-product-card.is-expanded .saas-product-detail {
  max-height: 220px;
  opacity: 1;
  margin-top: 0.9rem;
}

.saas-product-card.is-expanded {
  box-shadow: 0 36px 76px rgba(24, 74, 107, 0.18), 0 0 0 1px rgba(128, 171, 208, 0.34);
}

.saas-metrics-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
}

.saas-dashboard-panel {
  border-radius: 28px;
  padding: 1.5rem;
}

.saas-dashboard-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.saas-dashboard-grid div {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(189, 208, 223, 0.55);
}

.saas-dashboard-top > span:first-child {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--logo-navy);
}

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

.saas-portfolio-grid {
  gap: 1.8rem;
}

.saas-portfolio-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #eff5fa, #dae6ef);
}

.saas-portfolio-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
}

.saas-portfolio-url {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(7, 22, 33, 0.56);
  color: white;
  font-size: 0.74rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.saas-portfolio-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 22, 33, 0.4) 100%);
}

.saas-portfolio-content {
  position: relative;
  z-index: 2;
}

.saas-portfolio-card:hover .saas-portfolio-img {
  transform: scale(1.08);
}

.saas-portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(24, 74, 107, 0.06);
  color: var(--logo-navy);
  font-weight: 700;
}

.portfolio-hero,
.saas-products {
  background:
    radial-gradient(circle at top left, rgba(128, 171, 208, 0.14), transparent 24rem),
    linear-gradient(180deg, #f8fbfe 0%, #eef4fa 100%);
}

.project-card,
.product-3d-card {
  padding: 1.6rem;
  border-radius: 24px;
}

.project-url,
.product-title {
  color: var(--logo-navy);
}

.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@media (max-width: 1280px) {
  .saas-hero-layout {
    gap: 2rem;
  }

  .saas-h1 {
    font-size: clamp(2rem, 4vw, 3rem);
  }

  .saas-ui-card--analytics {
    width: min(210px, 40%);
  }

  .saas-float-card--tl {
    left: 2%;
  }

  .saas-float-card--br {
    right: 2%;
  }
}

@media (max-width: 1024px) {
  .saas-hero-layout,
  .saas-metrics-layout,
  .saas-product-grid {
    grid-template-columns: 1fr;
  }

  .saas-hero-copy {
    max-width: none;
  }

  .saas-hero-visual {
    justify-content: center;
  }

  .saas-hero-img-wrap {
    max-width: 560px;
  }

  .saas-ui-card--analytics {
    right: 2%;
  }

  .saas-ui-card--workflow {
    left: 2%;
  }
}

@media (max-width: 768px) {
  .saas-hero {
    padding-top: 2.5rem;
  }

  .saas-hero-img-wrap {
    padding: 1.2rem;
  }

  .saas-ui-card {
    display: none;
  }

  .saas-orbit {
    display: none;
  }

  .saas-proof-inner {
    border-radius: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .saas-industry-slider {
    width: 100%;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* ================================================================
   Problem Card Visual Upgrade
   ================================================================ */

.saas-problem-card {
  padding: 1.2rem 1.3rem 1.5rem;
  border-radius: 28px;
}

.saas-problem-visual {
  position: relative;
  margin-bottom: 1rem;
  min-height: 180px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,0.96), rgba(231,240,247,0.9));
  border: 1px solid rgba(189, 208, 223, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.98),
    0 20px 34px rgba(24, 74, 107, 0.10);
}

.saas-problem-visual--leads {
  background:
    radial-gradient(circle at 85% 18%, rgba(87, 160, 215, 0.18), transparent 28%),
    radial-gradient(circle at 18% 82%, rgba(65, 197, 166, 0.14), transparent 26%),
    linear-gradient(160deg, rgba(255,255,255,0.96), rgba(231,240,247,0.9));
}

.saas-problem-visual--money {
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 185, 92, 0.18), transparent 26%),
    radial-gradient(circle at 18% 78%, rgba(109, 161, 255, 0.12), transparent 22%),
    linear-gradient(160deg, rgba(255,255,255,0.96), rgba(231,240,247,0.9));
}

.saas-problem-visual--team {
  background:
    radial-gradient(circle at 82% 18%, rgba(164, 133, 255, 0.14), transparent 24%),
    radial-gradient(circle at 18% 78%, rgba(85, 203, 255, 0.14), transparent 24%),
    linear-gradient(160deg, rgba(255,255,255,0.96), rgba(231,240,247,0.9));
}

.saas-problem-visual::before {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 74, 107, 0.12), transparent 70%);
  filter: blur(18px);
}

.saas-problem-scene {
  position: relative;
  height: 100%;
  min-height: 180px;
  padding: 1rem;
}

.saas-problem-card .saas-card-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(145deg, #9bbede, #4b7ca6 50%, #184A6B 100%);
  color: white;
  box-shadow: 0 16px 30px rgba(24, 74, 107, 0.24);
}

.saas-problem-card:hover .saas-problem-visual {
  transform: translateY(-4px) rotateX(2deg) rotateY(-2deg);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.98),
    0 28px 50px rgba(24, 74, 107, 0.16);
}

.saas-problem-window,
.saas-problem-ledger,
.saas-problem-nodes {
  position: absolute;
  right: 1rem;
  top: 1.1rem;
  width: 48%;
  min-height: 88px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(237,244,249,0.92));
  border: 1px solid rgba(196, 214, 227, 0.8);
  box-shadow: 0 16px 28px rgba(24, 74, 107, 0.10);
  padding: 0.9rem;
}

.saas-problem-window {
  display: grid;
  gap: 0.55rem;
}

.saas-problem-window span,
.saas-problem-ledger i {
  display: block;
  height: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(24,74,107,0.2), rgba(111,143,170,0.32));
}

.saas-problem-visual--leads .saas-problem-window span:nth-child(1) {
  background: linear-gradient(90deg, rgba(64, 164, 126, 0.20), rgba(111,143,170,0.28));
}

.saas-problem-visual--leads .saas-problem-window span:nth-child(2) {
  background: linear-gradient(90deg, rgba(24,74,107,0.22), rgba(87,160,215,0.32));
}

.saas-problem-visual--money .saas-problem-ledger i:nth-child(1) {
  background: linear-gradient(90deg, rgba(255, 185, 92, 0.24), rgba(111,143,170,0.28));
}

.saas-problem-visual--money .saas-problem-ledger i:nth-child(2) {
  background: linear-gradient(90deg, rgba(255, 142, 99, 0.22), rgba(111,143,170,0.30));
}

.saas-problem-visual--team .saas-problem-nodes span:nth-child(1),
.saas-problem-visual--team .saas-problem-nodes span:nth-child(4) {
  background: linear-gradient(145deg, #86b7dd, #184A6B);
}

.saas-problem-visual--team .saas-problem-nodes span:nth-child(2),
.saas-problem-visual--team .saas-problem-nodes span:nth-child(3) {
  background: linear-gradient(145deg, #a898ff, #4d78a2);
}

.saas-problem-window span:nth-child(1) { width: 72%; }
.saas-problem-window span:nth-child(2) { width: 90%; }
.saas-problem-window span:nth-child(3) { width: 58%; }

.saas-problem-chat,
.saas-problem-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  padding: 0.46rem 0.72rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(196, 214, 227, 0.8);
  color: var(--logo-navy);
  font-size: 0.74rem;
  font-weight: 700;
  box-shadow: 0 14px 24px rgba(24, 74, 107, 0.12);
}

.saas-problem-visual--leads .saas-problem-chat--one {
  color: #1c5a87;
  border-color: rgba(87, 160, 215, 0.34);
}

.saas-problem-visual--leads .saas-problem-chat--two {
  color: #1a6b66;
  border-color: rgba(65, 197, 166, 0.28);
}

.saas-problem-visual--money .saas-problem-badge--expense {
  color: #9a5a16;
  border-color: rgba(255, 185, 92, 0.38);
}

.saas-problem-visual--money .saas-problem-badge--dues {
  color: #8d5a1d;
  border-color: rgba(244, 176, 84, 0.34);
}

.saas-problem-visual--money .saas-problem-badge--profit {
  color: #2d5e84;
  border-color: rgba(109, 161, 255, 0.26);
}

.saas-problem-visual--team .saas-problem-badge--task {
  color: #5a4ea5;
  border-color: rgba(164, 133, 255, 0.30);
}

.saas-problem-chat--one {
  left: 1rem;
  bottom: 4.1rem;
}

.saas-problem-chat--two {
  left: 2.2rem;
  bottom: 1.25rem;
}

.saas-problem-avatar {
  position: absolute;
  right: 2.1rem;
  bottom: 1rem;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(145deg, #68c3b1, #184A6B);
  box-shadow: 0 16px 28px rgba(24, 74, 107, 0.18);
}

.saas-problem-ledger {
  display: grid;
  gap: 0.55rem;
}

.saas-problem-badge--expense {
  left: 1rem;
  bottom: 4.3rem;
}

.saas-problem-badge--dues {
  left: 6.2rem;
  bottom: 2.35rem;
}

.saas-problem-badge--profit {
  left: 1.8rem;
  bottom: 0.9rem;
}

.saas-problem-nodes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  justify-items: center;
  align-items: center;
}

.saas-problem-nodes span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(145deg, #8cb3cf, #184A6B);
  box-shadow: 0 12px 22px rgba(24, 74, 107, 0.16);
}

.saas-problem-lines {
  position: absolute;
  inset: 3.9rem 1.8rem 1.8rem 1.8rem;
}

.saas-problem-lines i {
  position: absolute;
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--logo-steel), var(--logo-navy));
}

.saas-problem-lines i:nth-child(1) {
  left: 26%;
  top: 44%;
  width: 48%;
}

.saas-problem-lines i:nth-child(2) {
  left: 34%;
  top: 30%;
  width: 2px;
  height: 38%;
  background: linear-gradient(180deg, var(--logo-steel), var(--logo-navy));
}

.saas-problem-lines i:nth-child(3) {
  left: 26%;
  bottom: 24%;
  width: 48%;
}

.saas-problem-badge--task {
  left: 1rem;
  bottom: 1rem;
}

@media (max-width: 768px) {
  .saas-problem-window,
  .saas-problem-ledger,
  .saas-problem-nodes {
    width: 52%;
  }

  .saas-problem-chat--two {
    max-width: calc(100% - 3rem);
  }
}

/* ================================================================
   Solution Cards — Match Problem Card Visual Tone
   ================================================================ */

.saas-solutions-grid {
  gap: 1.35rem;
}

.saas-solution-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: 0 8px 20px rgba(24, 74, 107, 0.07);
  backdrop-filter: none;
}

.saas-solution-card::before {
  display: none;
}

.saas-solution-card:hover {
  border-color: #d8e2ec;
  box-shadow: 0 14px 28px rgba(24, 74, 107, 0.10);
  transform: translateY(-3px);
}

.saas-solution-header {
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}

.saas-solution-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(160deg, #2f77a9 0%, #184A6B 100%);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(24, 74, 107, 0.2);
}

.saas-solution-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  color: #111827;
}

.saas-solution-desc {
  margin: 0 0 0.95rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #667085;
}

.saas-solution-preview {
  margin: 0.1rem 0 1rem;
  padding: 0.9rem;
  min-height: 106px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7fafd 0%, #eef4f9 100%);
  border: 1px solid #dce5ee;
}

.saas-solution-list {
  gap: 0.5rem;
  margin: 0 0 1.1rem;
}

.saas-solution-list li {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #344054;
}

.saas-solution-list span {
  color: #18a26b;
}

.saas-solution-cta {
  font-size: 0.84rem;
  color: #184A6B;
}

.saas-solution-preview {
  overflow: hidden;
  position: relative;
}

.saas-solution-preview::after {
  content: "";
  position: absolute;
  inset: auto -18% -58% auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 74, 107, 0.10), transparent 70%);
  pointer-events: none;
}

.mini-site-top {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

.mini-site-top span {
  display: block;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(124, 156, 182, 0.42);
}

.mini-site-top span:nth-child(1) { width: 20%; }
.mini-site-top span:nth-child(2) { width: 32%; }
.mini-site-top span:nth-child(3) { width: 24%; }

.mini-site-split {
  display: grid;
  grid-template-columns: 0.9fr 2.1fr;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.mini-site-menu {
  padding: 0.45rem;
  border-radius: 10px;
  border: 1px solid #dbe6ef;
  background: rgba(255, 255, 255, 0.72);
  display: grid;
  gap: 0.3rem;
}

.mini-site-menu i {
  display: block;
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(109, 142, 169, 0.46);
}

.saas-solution-preview--dashboard {
  background: linear-gradient(180deg, #f6f9fc 0%, #edf3f9 100%);
}

.mini-dashboard-pills {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.mini-dashboard-pills span {
  display: block;
  width: 2.15rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(126, 157, 183, 0.42);
}

.mini-chart-base {
  margin-top: 0.35rem;
  height: 2px;
  border-radius: 999px;
  background: rgba(82, 121, 152, 0.28);
}

.saas-solution-preview--mobile {
  background: linear-gradient(180deg, #f5f8fb 0%, #edf4f9 100%);
}

.mini-phone {
  border: 1px solid rgba(24, 74, 107, 0.25);
}

.mini-phone-screen {
  display: grid;
  align-content: center;
  gap: 0.35rem;
  padding: 0.5rem;
}

.mini-phone-screen b {
  display: block;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(108, 143, 170, 0.35);
}

.mini-phone-screen b:nth-child(1) { width: 80%; }
.mini-phone-screen b:nth-child(2) { width: 66%; }
.mini-phone-screen b:nth-child(3) { width: 74%; }

.saas-solution-preview--brand,
.saas-solution-preview--iso {
  position: relative;
  background: linear-gradient(180deg, #f7fafd 0%, #edf3f9 100%);
}

.mini-brand-badge {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(145deg, #89b1d1, #2c6794);
  box-shadow: 0 10px 18px rgba(24, 74, 107, 0.14);
}

.mini-certificate-lines span {
  height: 0.84rem;
}

.mini-iso-tick {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(145deg, #8ed9b6, #18a26b);
  box-shadow: 0 10px 16px rgba(24, 74, 107, 0.12);
  position: relative;
}

.mini-iso-tick::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.saas-solution-preview--image {
  min-height: 0;
  padding: 0;
  border: 1px solid #d7e1ea;
  border-radius: 16px;
  background: #eef3f8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.saas-solution-preview--image::after {
  display: none;
}

.saas-preview-image {
  display: block;
  width: 100%;
  height: 126px;
  object-fit: cover;
  border-radius: inherit;
}

/* Rich filled previews for solution cards */
.saas-solution-preview--rich {
  min-height: 126px;
  padding: 0.9rem;
  border-radius: 14px;
  border: 1px solid #d8e2ec;
  background: linear-gradient(180deg, #f6f9fc 0%, #edf3f9 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  overflow: hidden;
  position: relative;
}

.saas-solution-preview--rich::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -32px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 74, 107, 0.12), transparent 72%);
}

.mini-ui-head,
.mini-ui-tabs,
.mini-ui-grid,
.mini-ui-footer,
.mini-ui-lines {
  display: flex;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
}

.mini-ui-head span,
.mini-ui-tabs span,
.mini-ui-lines span,
.mini-ui-footer b {
  display: block;
  height: 0.76rem;
  border-radius: 999px;
  background: rgba(116, 146, 172, 0.35);
}

.mini-ui-head span:nth-child(1) { width: 0.48rem; height: 0.48rem; border-radius: 50%; }
.mini-ui-head span:nth-child(2) { width: 0.48rem; height: 0.48rem; border-radius: 50%; }
.mini-ui-head span:nth-child(3) { width: 0.48rem; height: 0.48rem; border-radius: 50%; }

.mini-ui-hero {
  position: relative;
  z-index: 1;
  margin-top: 0.65rem;
  width: 70%;
  height: 0.68rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #346d95 0%, #8fb4cf 100%);
}

.mini-ui-grid {
  margin-top: 0.8rem;
}

.mini-ui-grid i {
  flex: 1;
  height: 1.95rem;
  border-radius: 11px;
  background: rgba(126, 156, 181, 0.3);
}

.mini-ui-tabs {
  margin-bottom: 0.65rem;
}

.mini-ui-tabs span {
  width: 2.2rem;
  height: 0.68rem;
}

.mini-ui-bars {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
  align-items: end;
  height: 2.8rem;
}

.mini-ui-bars i {
  display: block;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, #82aed0 0%, #1c537b 100%);
}

.mini-ui-bars i:nth-child(1) { height: 34%; }
.mini-ui-bars i:nth-child(2) { height: 60%; }
.mini-ui-bars i:nth-child(3) { height: 48%; }
.mini-ui-bars i:nth-child(4) { height: 82%; }
.mini-ui-bars i:nth-child(5) { height: 66%; }

.mini-ui-footer {
  margin-top: 0.55rem;
}

.mini-ui-footer b:nth-child(1) { width: 40%; }
.mini-ui-footer b:nth-child(2) { width: 28%; }

.saas-solution-preview--mobile-ui {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.mini-ui-phone {
  width: 3rem;
  height: 4.4rem;
  border-radius: 16px;
  border: 1px solid rgba(23, 72, 106, 0.24);
  background: linear-gradient(180deg, #2a678f 0%, #1b5076 100%);
  padding: 0.38rem;
  position: relative;
  z-index: 1;
}

.mini-ui-phone em {
  display: block;
  width: 44%;
  height: 0.24rem;
  margin: 0 auto 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.mini-ui-phone b {
  display: block;
  height: 0.48rem;
  border-radius: 999px;
  background: rgba(223, 234, 242, 0.95);
  margin-bottom: 0.3rem;
}

.mini-ui-lines {
  flex: 1;
  flex-direction: column;
  gap: 0.45rem;
}

.mini-ui-lines span:nth-child(1) { width: 100%; }
.mini-ui-lines span:nth-child(2) { width: 92%; }
.mini-ui-lines span:nth-child(3) { width: 82%; }

.saas-solution-preview--design-ui,
.saas-solution-preview--iso-ui {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.mini-ui-orb,
.mini-ui-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, #89b2d1 0%, #2c6792 100%);
  box-shadow: 0 10px 18px rgba(24, 74, 107, 0.18);
}

.mini-ui-check {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #8ed9b6, #19a36c);
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 16px rgba(24, 74, 107, 0.12);
}

.mini-ui-check::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.35rem;
  width: 0.55rem;
  height: 0.32rem;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* Compact home portfolio cards so more projects fit at once */
#portfolio .saas-portfolio-grid {
  gap: 1rem;
}

#portfolio .saas-portfolio-img-wrap {
  aspect-ratio: 16 / 9;
}

#portfolio .saas-portfolio-content {
  padding: 1.1rem 1.2rem 1.25rem;
}

#portfolio .saas-portfolio-meta {
  margin-bottom: 0.35rem;
  font-size: 0.66rem;
}

#portfolio .saas-portfolio-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

#portfolio .saas-portfolio-desc {
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
  line-height: 1.45;
}

#portfolio .saas-portfolio-bullets {
  gap: 0.25rem;
}

#portfolio .saas-portfolio-bullets li {
  font-size: 0.78rem;
  line-height: 1.35;
}

#portfolio .saas-portfolio-link {
  margin-top: 0.75rem;
  padding: 0.55rem 0.8rem;
  font-size: 0.8rem;
}

@media (min-width: 1200px) {
  #portfolio .saas-portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ================================================================
   ANNOUNCEMENT BAR — Light + Ticker
   ================================================================ */

/* ── Bar shell — light background ── */
.annbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--annbar-h);
  z-index: 200;
  background: #eef4fa;
  border-bottom: 1px solid #d0dfe9;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(24,74,107,0.08);
}

/* ── Badge (left) — compact navy pill with person ── */
.annbar-cloud-scene {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 0 0 6px;
}

.annbar-cloud {
  position: relative;
  background: #184A6B;
  border-radius: 24px;
  padding: 2px 8px 2px 2px;
  display: flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 6px rgba(24,74,107,0.20);
  animation: annbarCloudFloat 4s ease-in-out infinite;
}

/* no bumps on light theme — remove pseudo */
.annbar-cloud::before,
.annbar-cloud::after { display: none; }

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

/* ── Person SVG inside badge ── */
.annbar-person {
  width: 26px;
  height: 22px;
  flex-shrink: 0;
}

/* ── Badge label ── */
.annbar-cloud-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.46rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

/* ── Thin vertical divider ── */
.annbar-divider {
  width: 1px;
  height: 18px;
  background: #c0d4e2;
  flex-shrink: 0;
  margin: 0 8px 0 10px;
}

/* ── Ticker container ── */
.annbar-ticker-outer {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.annbar-ticker {
  display: flex;
  align-items: center;
  width: max-content;
  animation: annbarScroll 32s linear infinite;
}

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

.annbar:hover .annbar-ticker {
  animation-play-state: paused;
}

/* ── Service items — plain dark text, no gradient ── */
.annbar-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.70rem;
  font-weight: 600;
  color: #184A6B;
  white-space: nowrap;
  padding: 0 14px;
  letter-spacing: 0.015em;
}

/* all variants share the same text colour */
.annbar-item--web,
.annbar-item--erp,
.annbar-item--app,
.annbar-item--design,
.annbar-item--iso { color: #184A6B; }

/* coloured dots — kept for visual pop */
.annbar-dot {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  flex-shrink: 0;
}
.annbar-item--web    .annbar-dot { background: #7c3aed; }
.annbar-item--erp    .annbar-dot { background: #059669; }
.annbar-item--app    .annbar-dot { background: #d97706; }
.annbar-item--design .annbar-dot { background: #be185d; }
.annbar-item--iso    .annbar-dot { background: #0284c7; }

/* ── Separator ── */
.annbar-sep {
  color: #a0b8cc;
  font-size: 0.5rem;
  flex-shrink: 0;
  padding: 0 2px;
}

/* ── Mobile ── */
@media (max-width: 640px) {
  :root { --annbar-h: 40px; }
  .annbar-cloud-label { display: none; }
  .annbar-person { width: 26px; height: 22px; }
  .annbar-cloud  { padding: 2px 8px 2px 2px; }
  .annbar-item   { font-size: 0.68rem; padding: 0 12px; }
  .saas-body     { padding-top: calc(var(--annbar-h) + 60px); }
}

/* ================================================================
   FLOATING CONTACT WIDGET
   ================================================================ */
.fcw {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 9000;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 12px;
}

/* Main trigger button */
.fcw-trigger {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #184A6B 0%, #1d608d 100%);
  box-shadow: 0 6px 24px rgba(24,74,107,0.45), 0 2px 6px rgba(0,0,0,0.12);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}
.fcw-trigger:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(24,74,107,0.55), 0 2px 8px rgba(0,0,0,0.15);
}
.fcw-trigger svg {
  transition: transform 0.35s cubic-bezier(0.175,0.885,0.32,1.275), opacity 0.25s ease;
}
.fcw-trigger .fcw-icon-close {
  position: absolute;
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}
.fcw.open .fcw-trigger .fcw-icon-open {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}
.fcw.open .fcw-trigger .fcw-icon-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.fcw.open .fcw-trigger {
  background: linear-gradient(135deg, #1d608d 0%, #184A6B 100%);
}

/* Pulse ring on trigger */
.fcw-trigger::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(24,74,107,0.35);
  animation: fcwPulse 2.5s ease-out infinite;
}
@keyframes fcwPulse {
  0%   { transform: scale(1); opacity: 0.7; }
  70%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}
.fcw.open .fcw-trigger::before { animation: none; opacity: 0; }

/* Action buttons group */
.fcw-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.175,0.885,0.32,1.275);
}
.fcw.open .fcw-actions {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

/* Each action item: label + button */
.fcw-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fcw-label {
  background: #1a1a1a;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.73rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.fcw-item:hover .fcw-label {
  opacity: 1;
  transform: translateX(0);
}

.fcw-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transition: transform 0.25s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.25s ease;
  flex-shrink: 0;
}
.fcw-btn:hover {
  transform: scale(1.14) translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

/* Per-channel colors */
.fcw-btn--whatsapp { background: #25D366; }
.fcw-btn--call     { background: #184A6B; }
.fcw-btn--email    { background: #ea4335; }
.fcw-btn--chat     { background: #7c3aed; }

/* Staggered entrance for each item */
.fcw.open .fcw-item:nth-child(1) { transition-delay: 0.00s; }
.fcw.open .fcw-item:nth-child(2) { transition-delay: 0.05s; }
.fcw.open .fcw-item:nth-child(3) { transition-delay: 0.10s; }
.fcw.open .fcw-item:nth-child(4) { transition-delay: 0.15s; }

@media (max-width: 640px) {
  .fcw { bottom: 18px; right: 16px; }
  .fcw-trigger { width: 52px; height: 52px; }
  .fcw-btn { width: 42px; height: 42px; }
}

/* ================================================================
   CHATBOT WIDGET
   ================================================================ */
.sbot {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 360px;
  max-height: 520px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 60px rgba(0,0,0,0.18), 0 2px 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  z-index: 8999;
  overflow: hidden;
  transform: scale(0.88) translateY(20px);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.175,0.885,0.32,1.275),
              opacity 0.25s ease;
}
.sbot.sbot--open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Header */
.sbot-head {
  background: linear-gradient(135deg, #0d2e46 0%, #184A6B 100%);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.sbot-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sbot-head-info { flex: 1; }
.sbot-head-name {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem; font-weight: 700;
  color: #fff; line-height: 1.2;
}
.sbot-head-status {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; gap: 4px;
}
.sbot-head-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #34d399;
  display: inline-block;
}
.sbot-close {
  background: none; border: none;
  cursor: pointer; padding: 4px;
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center;
  transition: color 0.2s;
}
.sbot-close:hover { color: #fff; }

/* Messages area */
.sbot-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8fafc;
  scroll-behavior: smooth;
}
.sbot-msgs::-webkit-scrollbar { width: 4px; }
.sbot-msgs::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }

/* Message bubbles */
.sbot-msg {
  max-width: 82%;
  display: flex;
  flex-direction: column;
}
.sbot-msg--bot { align-self: flex-start; }
.sbot-msg--user { align-self: flex-end; }
.sbot-bubble {
  padding: 0.6rem 0.9rem;
  border-radius: 14px;
  font-size: 0.84rem;
  line-height: 1.5;
}
.sbot-msg--bot .sbot-bubble {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #e5e7eb;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.sbot-msg--user .sbot-bubble {
  background: linear-gradient(135deg, #184A6B, #1d608d);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.sbot-time {
  font-size: 0.65rem;
  color: #9ca3af;
  margin-top: 3px;
  padding: 0 4px;
}
.sbot-msg--user .sbot-time { text-align: right; }

/* Typing indicator */
.sbot-typing {
  display: flex; align-items: center; gap: 4px;
  padding: 0.6rem 0.9rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  width: fit-content;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.sbot-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #9ca3af;
  animation: sbotDot 1.2s ease-in-out infinite;
}
.sbot-typing span:nth-child(2) { animation-delay: 0.2s; }
.sbot-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes sbotDot {
  0%,60%,100% { transform: translateY(0); opacity: 0.5; }
  30%          { transform: translateY(-5px); opacity: 1; }
}

/* Quick replies */
.sbot-qr {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  padding: 0 1rem 0.75rem;
  background: #f8fafc;
  flex-shrink: 0;
}
.sbot-qr-btn {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  font-size: 0.75rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #184A6B;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  white-space: nowrap;
}
.sbot-qr-btn:hover {
  background: #184A6B;
  border-color: #184A6B;
  color: #fff;
}

/* Footer input */
.sbot-foot {
  padding: 0.75rem 1rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 8px;
  align-items: center;
  background: #fff;
  flex-shrink: 0;
}
.sbot-input {
  flex: 1;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.2s;
  background: #f8fafc;
}
.sbot-input:focus { border-color: #184A6B; background: #fff; }
.sbot-send {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #184A6B, #1d608d);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sbot-send:hover { transform: scale(1.1); box-shadow: 0 4px 14px rgba(24,74,107,0.4); }

@media (max-width: 640px) {
  .sbot {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 86px;
    max-height: 70vh;
  }
}

/* ================================================================
   Footer Logo — 3D Capsule (Embossed Pill Badge)
   ================================================================ */

.footer-logo-link {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 4px;
}

.footer-logo-capsule {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 9px 22px 9px 11px;
  border-radius: 999px;
  background: linear-gradient(160deg, #2d6890 0%, #184A6B 42%, #0d2e46 100%);
  position: relative;
  overflow: visible;
  /* 3D raised shadow stack */
  box-shadow:
    inset 0  1px 0 rgba(255,255,255,0.20),   /* top inner highlight */
    inset 0 -1px 0 rgba(0,0,0,0.40),          /* bottom inner depth  */
    0 10px 32px rgba(0,0,0,0.55),              /* main drop shadow    */
    0  4px 10px rgba(0,0,0,0.35),              /* close shadow        */
    0  1px  2px rgba(0,0,0,0.55);              /* edge definition     */
  transition:
    transform  0.32s cubic-bezier(0.175,0.885,0.32,1.275),
    box-shadow 0.32s ease;
}

/* Top glare — the key to the "raised / embossed" look */
.footer-logo-capsule::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.21) 0%,
    rgba(255,255,255,0.06) 44%,
    rgba(255,255,255,0)    100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Soft ground shadow below capsule */
.footer-logo-capsule::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 10%;
  width: 80%;
  height: 10px;
  background: rgba(0,0,0,0.30);
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.footer-logo-link:hover .footer-logo-capsule {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    inset 0  1px 0 rgba(255,255,255,0.20),
    inset 0 -1px 0 rgba(0,0,0,0.40),
    0 18px 44px rgba(0,0,0,0.55),
    0  8px 18px rgba(0,0,0,0.35),
    0  2px  4px rgba(0,0,0,0.55);
}
.footer-logo-link:hover .footer-logo-capsule::after {
  opacity: 0.45;
  transform: scaleX(0.85);
}

/* Globe SVG inside capsule */
.flc-globe {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.35));
}

/* Text column */
.flc-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
  z-index: 2;
}

.flc-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.38rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.13em;
  line-height: 1;
  /* subtle emboss on the text itself */
  text-shadow:
    0  1px 3px rgba(0,0,0,0.5),
    0 -1px 0  rgba(255,255,255,0.08);
}

.flc-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 0.46rem;
  font-weight: 500;
  color: rgba(255,255,255,0.60);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}

@media (max-width: 480px) {
  .flc-name    { font-size: 1.1rem; }
  .flc-globe   { width: 38px; height: 38px; }
  .footer-logo-capsule { padding: 8px 18px 8px 9px; gap: 10px; }
}

/* ================================================================
   Footer Newsletter Strip
   ================================================================ */
.saas-footer-nwl {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 2rem 0;
}

.sfn-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.sfn-text {
  flex: 1;
  min-width: 200px;
}
.sfn-text h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  letter-spacing: 0.01em;
}
.sfn-text p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
  line-height: 1.5;
}

.sfn-form-wrap {
  flex: 1.2;
  min-width: 280px;
}

.sfn-row {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 4px 4px 4px 18px;
  transition: border-color 0.2s, background 0.2s;
}
.sfn-row:focus-within {
  border-color: rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.11);
}

.sfn-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.87rem;
  color: #fff;
  min-width: 0;
}
.sfn-input::placeholder { color: rgba(255,255,255,0.38); }

.sfn-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: 50px;
  background: linear-gradient(135deg, #2d6890 0%, #184A6B 100%);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 4px 12px rgba(0,0,0,0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.sfn-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 7px 20px rgba(0,0,0,0.32);
}
.sfn-btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.sfn-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.32);
  margin: 7px 0 0 18px;
}

.sfn-success {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 0;
}
.sfn-success svg { flex-shrink: 0; }

@media (max-width: 640px) {
  .sfn-inner { gap: 1.5rem; }
  .sfn-btn   { padding: 9px 14px; font-size: 0.78rem; }
}

/* ================================================================
   Scroll Reveal
   ================================================================ */
.sr {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.sr--vis {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   Back to Top Button
   ================================================================ */
#btt {
  position: fixed;
  bottom: 28px;
  left: 24px;
  z-index: 9001;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #184A6B, #1d608d);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(24,74,107,0.45), inset 0 1px 0 rgba(255,255,255,0.15);
  opacity: 0;
  transform: translateY(12px) scale(0.85);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.25s ease;
}
#btt.btt--vis {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
#btt:hover {
  box-shadow: 0 10px 28px rgba(24,74,107,0.55), inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-3px) scale(1.08);
}
#btt svg { pointer-events: none; }

/* ================================================================
   Cookie Consent Banner
   ================================================================ */
#cookie-banner {
  position: fixed;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(calc(100% - 2rem), 620px);
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(24,74,107,0.12);
  box-shadow: 0 12px 40px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.08);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  transition: bottom 0.45s cubic-bezier(0.175,0.885,0.32,1.275);
}
#cookie-banner.cookie--vis {
  bottom: 20px;
}
.cookie-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}
.cookie-text {
  flex: 1;
  min-width: 180px;
}
.cookie-text p {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: #374151;
  line-height: 1.55;
  margin: 0;
}
.cookie-text a {
  color: #184A6B;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 8px 18px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cookie-btn--accept {
  background: linear-gradient(135deg, #184A6B, #1d608d);
  color: #fff;
  box-shadow: 0 4px 12px rgba(24,74,107,0.35);
}
.cookie-btn--accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(24,74,107,0.42);
}
.cookie-btn--decline {
  background: #f3f4f6;
  color: #6b7280;
}
.cookie-btn--decline:hover {
  background: #e5e7eb;
}

@media (max-width: 480px) {
  #btt { bottom: 18px; left: 16px; }
  #cookie-banner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}
