@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght,wdth,GRAD,ROND,slnt@6..144,100..1000,25..151,0..100,0..100,-10..0&display=swap');

/* ============================================================
   ZOHO — NURTURESPARK DESIGN SYSTEM
   Authentic 4-color Zoho brand: Red · Green · Blue · Yellow
   ============================================================ */

:root {
  /* ── Zoho Official 4-Color Brand ── */
  --zoho-red:          #CE2232;
  --zoho-red-dark:     #A8192A;
  --zoho-red-xdark:    #7A1020;
  --zoho-red-light:    #E85566;
  --zoho-red-pale:     #FEF2F3;

  --zoho-green:        #219E4A;
  --zoho-green-dark:   #167A39;
  --zoho-green-light:  #E8F7EE;
  --zoho-green-pale:   #F0FBF4;

  --zoho-blue:         #0974B6;
  --zoho-blue-dark:    #065C92;
  --zoho-blue-light:   #E3F2FD;
  --zoho-blue-pale:    #EDF6FF;

  --zoho-yellow:       #FFE004;
  --zoho-yellow-dark:  #E6C900;
  --zoho-yellow-light: #FFFBE0;
  --zoho-yellow-text:  #7A5E00;

  /* ── Gradients built from brand colors ── */
  --zoho-gradient:          linear-gradient(135deg, var(--zoho-red) 0%, var(--zoho-blue) 100%);
  --zoho-gradient-rg:       linear-gradient(135deg, var(--zoho-red) 0%, var(--zoho-green) 100%);
  --zoho-gradient-full:     linear-gradient(135deg, var(--zoho-red) 0%, var(--zoho-green) 33%, var(--zoho-blue) 66%, var(--zoho-yellow) 100%);
  --zoho-gradient-hero:     linear-gradient(135deg, var(--zoho-red) 0%, #8B1A5C 50%, var(--zoho-blue) 100%);
  --ns-text-gradient:       linear-gradient(90deg, var(--zoho-red) 0%, var(--zoho-blue) 100%);
  --ns-text-gradient-rg:    linear-gradient(90deg, var(--zoho-red) 0%, var(--zoho-green) 100%);

  /* ── Functional ── */
  --primary:        var(--zoho-red);
  --primary-hover:  var(--zoho-red-dark);

  /* ── Backgrounds ── */
  --bg-light:  #F8FAFE;
  --bg-white:  #FFFFFF;
  --bg-subtle: #F4F7FD;
  --bg-dark:   #0D0F1A;
  --bg-card:   rgba(255, 255, 255, 0.7);

  /* ── Text ── */
  --text-main:  #111827;
  --text-muted: #4B5563;
  --text-light: #9CA3AF;

  /* ── Borders ── */
  --border-light: rgba(9, 116, 182, 0.1);
  --border-card:  rgba(255, 255, 255, 0.6);
  --border-glow:  rgba(206, 34, 50, 0.25);
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100vw; }

body {
  font-family: 'Google Sans Flex', -apple-system, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.65;
  background-image:
    radial-gradient(circle at 12% 12%, rgba(206, 34, 50, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 88% 88%, rgba(9, 116, 182, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 88% 8%,  rgba(33, 158, 74, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 224, 4, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
}

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

/* ─── LAYOUT ─── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

section {
  background: transparent !important;
  border: none !important;
}

section > .container {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 40px;
  padding: 60px 48px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5 {
  line-height: 1.1;
  font-weight: 700;
  color: var(--text-main);
}

h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -2px; }
h2 { font-size: clamp(28px, 3.5vw, 44px); letter-spacing: -1px; }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
h4 { font-size: 18px; }

p { color: var(--text-muted); line-height: 1.7; }

.text-gradient {
  color: var(--zoho-red);
  display: inline-block;
}

.text-gradient-red {
  color: var(--zoho-red);
  display: inline-block;
}

.text-gradient-green {
  color: var(--zoho-green);
  display: inline-block;
}

.text-gradient-full {
  color: var(--zoho-blue);
  display: inline-block;
}

/* ─── 4-COLOR BRAND PILL ─── */
.zoho-brand-dots {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.zoho-brand-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.zoho-dot-red    { background: var(--zoho-red); }
.zoho-dot-green  { background: var(--zoho-green); }
.zoho-dot-blue   { background: var(--zoho-blue); }
.zoho-dot-yellow { background: var(--zoho-yellow); }

/* ─── BADGES ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  background: rgba(206, 34, 50, 0.08);
  color: var(--zoho-red);
  border: 1px solid rgba(206, 34, 50, 0.15);
}

.badge-green {
  background: var(--zoho-green-light);
  color: var(--zoho-green);
  border-color: rgba(33, 158, 74, 0.2);
}

.badge-blue {
  background: var(--zoho-blue-light);
  color: var(--zoho-blue);
  border-color: rgba(9, 116, 182, 0.2);
}

.badge-yellow {
  background: var(--zoho-yellow-light);
  color: var(--zoho-yellow-text);
  border-color: rgba(255, 224, 4, 0.4);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  white-space: nowrap;
  font-family: inherit;
}

.btn-primary {
  background: var(--zoho-red);
  color: #fff;
  box-shadow: 0 6px 24px rgba(206, 34, 50, 0.35);
}
.btn-primary:hover {
  background: var(--zoho-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(206, 34, 50, 0.4);
}

.btn-gradient {
  background: linear-gradient(135deg, var(--zoho-red) 0%, var(--zoho-blue) 100%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(9, 116, 182, 0.25);
}
.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(206, 34, 50, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(206, 34, 50, 0.35);
  color: var(--zoho-red);
}
.btn-outline:hover {
  background: var(--zoho-red);
  border-color: var(--zoho-red);
  color: #fff;
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--zoho-blue);
  color: #fff;
  box-shadow: 0 6px 24px rgba(9, 116, 182, 0.35);
}
.btn-blue:hover {
  background: var(--zoho-blue-dark);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--zoho-green);
  color: #fff;
  box-shadow: 0 6px 24px rgba(33, 158, 74, 0.35);
}
.btn-green:hover {
  background: var(--zoho-green-dark);
  transform: translateY(-2px);
}

.btn-yellow {
  background: var(--zoho-yellow);
  color: var(--zoho-yellow-text);
  box-shadow: 0 6px 24px rgba(255, 224, 4, 0.4);
  font-weight: 700;
}
.btn-yellow:hover {
  background: var(--zoho-yellow-dark);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--zoho-red);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.btn-ghost {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 94%;
  max-width: 1380px;
  z-index: 1000;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(9, 116, 182, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-container img { height: 36px; }
.logo-container .logo-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
}
.logo-container .logo-sub {
  font-size: 11px;
  font-weight: 600;
  background: var(--zoho-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
  display: block;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  position: relative;
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  font-weight: 500;
  font-size: 14px;
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 50px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--zoho-red-pale);
  color: var(--zoho-red);
}

/* Mega Menu Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 680px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(9, 116, 182, 0.1);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
}

/* Bridge the gap to prevent hover loss */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}

.nav-links li:hover > .nav-dropdown,
.nav-dropdown:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-links li > .nav-dropdown { transform: translateX(-50%) translateY(8px); }

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mega-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--zoho-red);
  margin-bottom: 8px;
  padding: 0 8px;
  grid-column: 1 / -1;
}

.mega-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  transition: all 0.2s;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 500;
}
.mega-item:hover {
  background: var(--zoho-red-pale);
  color: var(--zoho-red);
}
.mega-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.mega-item-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Small dropdown */
.nav-dropdown-sm {
  min-width: 280px;
  left: 0;
  transform: translateX(0) translateY(8px);
}
.nav-links li:hover > .nav-dropdown-sm { transform: translateX(0) translateY(0); }
.nav-dropdown-sm a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--text-main);
  transition: all 0.2s;
  margin-bottom: 2px;
}
.nav-dropdown-sm a:hover {
  background: var(--zoho-red-pale);
  color: var(--zoho-red);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-trigger {
  display: none;
  background: transparent;
  border: 1px solid rgba(9, 116, 182, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  color: var(--text-main);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ─── FIXED BG BLOBS — now in all 4 Zoho colors ─── */
.fixed-background-blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.12;
}

.shape-1 {
  width: 500px; height: 500px;
  background: var(--zoho-red);
  top: -10%; left: -5%;
  animation: blobFloat 12s ease-in-out infinite;
}
.shape-2 {
  width: 420px; height: 420px;
  background: var(--zoho-blue);
  bottom: -10%; right: -5%;
  animation: blobFloat 15s ease-in-out infinite reverse;
}
.shape-3 {
  width: 360px; height: 360px;
  background: var(--zoho-green);
  top: 40%; right: 10%;
  animation: blobFloat 10s ease-in-out infinite 2s;
  opacity: 0.08;
}
.shape-4 {
  width: 300px; height: 300px;
  background: var(--zoho-yellow);
  bottom: 25%; left: 5%;
  animation: blobFloat 18s ease-in-out infinite 4s;
  opacity: 0.08;
}

@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(30px, -30px) scale(1.05) rotate(120deg); }
  66% { transform: translate(-20px, 20px) scale(0.97) rotate(240deg); }
  100% { transform: translate(0, 0) scale(1) rotate(360deg); }
}

.bg-icon-wrapper {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.float-anim-1 { animation: floatAnim1 linear infinite; }
.float-anim-2 { animation: floatAnim2 linear infinite; }
.float-anim-3 { animation: floatAnim3 linear infinite; }
.float-anim-4 { animation: floatAnim4 linear infinite; }
.float-anim-5 { animation: floatAnim5 linear infinite; }
.float-anim-6 { animation: floatAnim6 linear infinite; }

@keyframes floatAnim1 {
  0% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-40px) translateX(20px) rotate(15deg); }
  66% { transform: translateY(20px) translateX(-10px) rotate(-15deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

@keyframes floatAnim2 {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(30px, -50px) rotate(180deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes floatAnim3 {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.15) translateY(-30px) rotate(20deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes floatAnim4 {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-30px, 30px) rotate(-90deg); }
  50% { transform: translate(0, 60px) rotate(-180deg); }
  75% { transform: translate(30px, 30px) rotate(-270deg); }
  100% { transform: translate(0, 0) rotate(-360deg); }
}

@keyframes floatAnim5 {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-70px) rotate(30deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

@keyframes floatAnim6 {
  0% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-40px, -20px) rotate(120deg); }
  66% { transform: translate(20px, -40px) rotate(240deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(206, 34, 50, 0.08);
  border: 1px solid rgba(206, 34, 50, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--zoho-red);
  margin-bottom: 28px;
}

.hero h1 { margin-bottom: 24px; }

.hero p.lead {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ─── 4-COLOR STATS BAR ─── */
.zoho-4color-bar {
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  height: 6px;
  margin: 20px 0;
}
.zoho-4color-bar span:nth-child(1) { flex: 1; background: var(--zoho-red); }
.zoho-4color-bar span:nth-child(2) { flex: 1; background: var(--zoho-green); }
.zoho-4color-bar span:nth-child(3) { flex: 1; background: var(--zoho-blue); }
.zoho-4color-bar span:nth-child(4) { flex: 1; background: var(--zoho-yellow); }

/* ─── SECTION HEADER ─── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  margin-top: 16px;
  margin-bottom: 20px;
}

.section-header .subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ─── CARDS ─── */
.card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(9, 116, 182, 0.1);
  border-color: rgba(9, 116, 182, 0.2);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}
.card-icon img { width: 32px; height: 32px; object-fit: contain; }

/* ─── ICON COLOR CLASSES — using Zoho 4 brand colors ─── */
.icon-red     { background: rgba(206, 34, 50, 0.1);   color: var(--zoho-red); }
.icon-green   { background: rgba(33, 158, 74, 0.1);   color: var(--zoho-green); }
.icon-blue    { background: rgba(9, 116, 182, 0.1);   color: var(--zoho-blue); }
.icon-yellow  { background: rgba(255, 224, 4, 0.15);  color: var(--zoho-yellow-text); }

/* Secondary tones derived from brand */
.icon-orange  { background: rgba(206, 34, 50, 0.06);  color: var(--zoho-red-light); }
.icon-teal    { background: rgba(9, 116, 182, 0.06);  color: var(--zoho-blue-dark); }
.icon-purple  { background: rgba(33, 158, 74, 0.06);  color: var(--zoho-green-dark); }
.icon-cyan    { background: rgba(9, 116, 182, 0.08);  color: var(--zoho-blue); }
.icon-pink    { background: rgba(206, 34, 50, 0.08);  color: var(--zoho-red); }

/* ─── PRODUCT CARDS ─── */
.product-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--zoho-red) 0%, var(--zoho-green) 33%, var(--zoho-blue) 66%, var(--zoho-yellow) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(9, 116, 182, 0.12);
  border-color: rgba(9, 116, 182, 0.2);
}
.product-card:hover::before { opacity: 1; }
.product-card h4 { font-size: 16px; margin: 0; }
.product-card p { font-size: 13px; color: var(--text-muted); margin: 0; flex: 1; }
.product-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--zoho-blue);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.product-card:hover .product-card-link { gap: 8px; color: var(--zoho-red); }

/* ─── STAT CARDS ─── */
.stat-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}
.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--zoho-red);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── GRIDS ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.grid-auto-sm { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }

/* ─── MARQUEE ─── */
.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  padding: 10px 0;
}
.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-light), transparent);
}
.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-light), transparent);
}
.marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  animation: scroll 40s linear infinite;
}
.marquee-container:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 44px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  margin: 0 36px;
  filter: grayscale(80%) opacity(0.6);
  transition: all 0.3s;
}
.marquee-track img:hover { filter: none; opacity: 1; transform: scale(1.1); }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── TESTIMONIALS ─── */
.testimonial-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}
.quote-mark {
  font-size: 64px;
  line-height: 1;
  color: var(--zoho-red);
  opacity: 0.2;
  font-family: Georgia, serif;
  margin-bottom: -16px;
}
.testimonial-text {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author strong { font-size: 14px; display: block; }
.testimonial-author span { font-size: 13px; color: var(--text-muted); }

/* ─── PROCESS STEPS ─── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}
.process-step {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}
.process-step::after {
  content: '';
  position: absolute;
  top: 55px;
  left: calc(50% + 24px);
  width: calc(100% - 48px);
  height: 2px;
  background: linear-gradient(to right, var(--zoho-red), var(--zoho-blue));
  z-index: 0;
  transform-origin: left;
  transform: scaleX(0);
}
.process-steps.reveal.visible .process-step::after {
  animation: drawLine 0.6s ease forwards;
}
.process-steps.reveal.visible .process-step:nth-child(1)::after { animation-delay: 0.2s; }
.process-steps.reveal.visible .process-step:nth-child(2)::after { animation-delay: 0.6s; }
.process-steps.reveal.visible .process-step:nth-child(3)::after { animation-delay: 1.0s; }
.process-steps.reveal.visible .process-step:nth-child(4)::after { animation-delay: 1.4s; }
.process-steps.reveal.visible .process-step:nth-child(5)::after { animation-delay: 1.8s; }

@keyframes drawLine {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.process-step:last-child::after { display: none; }
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--zoho-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px rgba(9, 116, 182, 0.3);
}
.process-step h4 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--text-muted); }

/* ─── FEATURE LIST ─── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-main);
}
.feature-list li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--zoho-green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── TAGS ─── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: var(--zoho-blue-light);
  color: var(--zoho-blue);
}

/* ─── FLOATING CARDS ─── */
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(9, 116, 182, 0.12);
  animation: floatAnim 6s ease-in-out infinite;
}
.float-card-2 { animation-delay: 2s; }
.float-card-3 { animation-delay: 4s; }
@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.float-icon-wrap {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(9, 116, 182, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--zoho-blue);
}
.float-title { font-size: 13px; font-weight: 700; color: var(--text-main); }
.float-sub   { font-size: 11px; color: var(--text-muted); }

/* ─── DASHBOARD MOCKUP ─── */
.hero-visual { position: relative; z-index: 2; }
.dashboard-mockup {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 30px 80px rgba(9, 116, 182, 0.15);
}
.dashboard-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(9, 116, 182, 0.1);
}
.dot-red    { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.dot-yellow { width: 10px; height: 10px; border-radius: 50%; background: #FEBC2E; }
.dot-green  { width: 10px; height: 10px; border-radius: 50%; background: #28C840; }
.dashboard-title { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-left: 8px; }
.dashboard-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.d-metric {
  background: var(--zoho-blue-light);
  border-radius: 12px;
  padding: 14px;
}
.d-metric-val { font-size: 22px; font-weight: 800; color: var(--zoho-blue); }
.d-metric-lbl { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.dashboard-chart {
  background: var(--bg-subtle);
  border-radius: 12px;
  padding: 16px;
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  overflow: hidden;
}
.chart-bar {
  flex: 1;
  background: var(--zoho-red);
  border-radius: 4px 4px 0 0;
  animation: barGrow 1.5s ease forwards;
  transform-origin: bottom;
}
.chart-bar:nth-child(2) { background: var(--zoho-green); }
.chart-bar:nth-child(3) { background: var(--zoho-blue); }
.chart-bar:nth-child(4) { background: var(--zoho-red); }
.chart-bar:nth-child(5) { background: var(--zoho-yellow-dark); }
.chart-bar:nth-child(6) { background: var(--zoho-blue); }
.chart-bar:nth-child(7) { background: var(--zoho-green); }

@keyframes barGrow {
  from { transform: scaleY(0); opacity: 0; }
  to   { transform: scaleY(1); opacity: 1; }
}

/* ─── FOOTER ─── */
footer {
  position: relative;
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 100px 0 32px;
  margin-top: 40px;
}

footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--zoho-yellow); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* ── Footer 4-color bar ── */
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg,
    var(--zoho-red) 0%, var(--zoho-red) 25%,
    var(--zoho-green) 25%, var(--zoho-green) 50%,
    var(--zoho-blue) 50%, var(--zoho-blue) 75%,
    var(--zoho-yellow) 75%, var(--zoho-yellow) 100%
  );
  margin-bottom: 0;
}

.social-links { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  transition: all 0.2s;
}
.social-link:hover {
  background: var(--zoho-red);
  border-color: var(--zoho-red);
  color: #fff;
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* ─── PRODUCT PAGE HERO ─── */
.product-hero { padding: 160px 0 100px; position: relative; overflow: hidden; }
.product-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--zoho-red);
  margin-bottom: 28px;
}
.product-hero-badge img { width: 24px; height: 24px; object-fit: contain; }

/* ─── INDUSTRY CARDS ─── */
.industry-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(9, 116, 182, 0.12);
  border-color: rgba(9, 116, 182, 0.2);
}
.industry-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}
.industry-card h4 { font-size: 16px; margin-bottom: 8px; }
.industry-card p { font-size: 13px; color: var(--text-muted); }

/* ─── CTA SECTION ─── */
.cta-section { padding: 120px 0; position: relative; text-align: center; }
.cta-glass {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(9, 116, 182, 0.15);
  border-radius: 40px;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}
.cta-glass::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(206, 34, 50, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-glass::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(9, 116, 182, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-glass h2 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 20px; }
.cta-glass p { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }

/* ─── CONTACT FORM ─── */
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 28px;
  padding: 48px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(9, 116, 182, 0.2);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--zoho-blue);
  box-shadow: 0 0 0 3px rgba(9, 116, 182, 0.1);
}
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ─── BACK LINK ─── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--zoho-blue);
  margin-bottom: 32px;
  transition: gap 0.2s;
}
.back-link:hover { gap: 12px; color: var(--zoho-red); }

/* lead paragraph */
.lead {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Filter buttons */
.filter-btn {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1.5px solid rgba(9, 116, 182, 0.2);
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Google Sans Flex', sans-serif;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--zoho-blue);
  border-color: var(--zoho-blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(9, 116, 182, 0.25);
}

/* ─── CASE CARD ─── */
.case-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(9, 116, 182, 0.12);
}

/* ─── MOBILE RESPONSIVE ─── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  section > .container { padding: 40px 24px; border-radius: 24px; }

  nav { width: 92%; top: 12px; border-radius: 20px; }
  .nav-links { display: none; }
  .menu-trigger { display: flex; }
  .nav-inner { padding: 12px 20px; }

  .hero { padding-top: 100px; }
  .hero-2col { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 32px; letter-spacing: -1px; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-auto { grid-template-columns: 1fr; }

  .mega-grid { grid-template-columns: 1fr; }
  .nav-dropdown { min-width: 260px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  .cta-glass { padding: 48px 28px; }
  .contact-form-wrap { padding: 32px 24px; }

  .process-steps { grid-template-columns: 1fr; }
  .process-step::after { display: none; }

  .dashboard-metric-row { grid-template-columns: 1fr; }
}

/* ─── MOBILE NAV OPEN ─── */
.nav-mobile-open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  border-radius: 20px;
  border: 1px solid rgba(9, 116, 182, 0.1);
  padding: 16px;
  gap: 4px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  z-index: 999;
}
.nav-mobile-open .nav-links a {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
}

/* ─── HERO BAND ─── */
.hero-band {
  position: relative;
  padding: 200px 0 120px;
  overflow: hidden;
}
.hero-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(206, 34, 50, 0.06) 0%,
    rgba(33, 158, 74, 0.04) 33%,
    rgba(9, 116, 182, 0.05) 66%,
    rgba(255, 224, 4, 0.04) 100%
  );
}
.hero-band-content { position: relative; z-index: 2; }

@keyframes animFrontBack {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.anim-front-back {
  animation: animFrontBack 8s ease-in-out infinite;
}


/* Fix alignment for dropdowns */
.nav-links li { position: relative; }
