/* ==========================================================================
   ABLYWORKS MODERN HOME PAGE STYLES - 2026 PREMIUM SAAS AESTHETICS
   ========================================================================== */

:root {
  --ably-primary: #008740;
  --ably-primary-light: #00a852;
  --ably-primary-glow: #10b981;
  --ably-accent-mint: #34d399;
  --ably-dark: #071f14;
  --ably-dark-2: #0c2b1a;
  --ably-dark-card: #103321;
  --ably-ink: #0f172a;
  --ably-slate: #334155;
  --ably-muted: #64748b;
  --ably-light: #f8fafc;
  --ably-soft-bg: #f4fbf6;
  --ably-border: rgba(0, 135, 64, 0.12);
  --ably-border-light: #e2e8f0;
  --ably-glass-bg: rgba(255, 255, 255, 0.88);
  --ably-shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.04);
  --ably-shadow-md: 0 12px 36px rgba(0, 135, 64, 0.08);
  --ably-shadow-lg: 0 24px 60px rgba(0, 135, 64, 0.14);
  --ably-shadow-glow: 0 0 40px rgba(0, 168, 82, 0.25);
  --ably-radius-sm: 12px;
  --ably-radius-md: 18px;
  --ably-radius-lg: 24px;
  --ably-radius-xl: 32px;
}

/* Base resets & typography for homepage */
.home-modern {
  color: var(--ably-ink);
  overflow-x: hidden;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.home-modern h1, 
.home-modern h2, 
.home-modern h3, 
.home-modern h4, 
.home-modern h5, 
.home-modern h6 {
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.modern-hero {
  position: relative;
  background: #032d16;
  padding: 100px 0 110px;
  overflow: hidden;
  color: #ffffff;
}

/* Ambient glow orbs */
.modern-hero .hero-ambient-glow-1 {
  position: absolute;
  top: -150px;
  left: 20%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 168, 82, 0.35) 0%, rgba(0, 168, 82, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.modern-hero .hero-ambient-glow-2 {
  position: absolute;
  bottom: -100px;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, rgba(0, 168, 82, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

/* Subtle grid backdrop pattern */
.modern-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

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

/* Hero Badge */
.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 217, 126, 0.35);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #a7f3d0;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(0, 168, 82, 0.2);
  transition: all 0.3s ease;
}

.hero-pill-badge:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #00d97e;
  transform: translateY(-2px);
}

.hero-pill-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Hero Titles */
.modern-hero .hero-main-title {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #ffffff;
}

.modern-hero .text-gradient-emerald {
  background: linear-gradient(135deg, #a7f3d0 0%, #34d399 30%, #00d97e 70%, #00a852 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-rotator-wrapper {
  min-height: 38px;
  margin-bottom: 20px;
}

.hero-rotator-item {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  color: #6ee7b7;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-rotator-item.fade-out {
  animation: fadeOutUp 0.5s ease forwards;
}

.hero-rotator-item.fade-in {
  animation: fadeInDown 0.5s ease forwards;
}

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

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

.modern-hero .hero-description {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 540px;
  margin-bottom: 32px;
}

/* Hero Action Buttons */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #00d97e 0%, #00a852 50%, #008740 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  border: none;
  box-shadow: 0 10px 25px rgba(0, 168, 82, 0.4), 0 0 15px rgba(0, 217, 126, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 168, 82, 0.5), 0 0 25px rgba(0, 217, 126, 0.5);
  color: #ffffff !important;
}

.btn-hero-primary i {
  transition: transform 0.2s ease;
}

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

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  color: #ffffff !important;
}

/* Micro-Trust Signals */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}

.hero-trust-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust-badges i {
  color: #34d399;
}

/* Hero Dashboard Showcase (Right Side) */
.hero-dashboard-frame {
  position: relative;
  background: rgba(15, 40, 26, 0.65);
  border: 1px solid rgba(0, 217, 126, 0.25);
  border-radius: var(--ably-radius-lg);
  padding: 10px;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 168, 82, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-dashboard-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 70px rgba(0, 168, 82, 0.3);
  border-color: rgba(0, 217, 126, 0.4);
}

.browser-header-bar {
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.browser-window-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.browser-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.browser-window-dots .dot-red { background: #ff5f56; }
.browser-window-dots .dot-yellow { background: #ffbd2e; }
.browser-window-dots .dot-green { background: #27c93f; }

.browser-url-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 3px 16px;
  font-size: 11px;
  font-family: monospace;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.browser-url-pill i {
  color: #34d399;
  font-size: 10px;
}

.hero-dashboard-img {
  width: 100%;
  height: auto;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  display: block;
}

/* Floating Glass Badges */
.glass-floating-card {
  position: absolute;
  background: rgba(10, 35, 22, 0.85);
  border: 1px solid rgba(0, 217, 126, 0.35);
  backdrop-filter: blur(16px);
  padding: 12px 18px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 168, 82, 0.2);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
  animation: float-slow 4s ease-in-out infinite alternate;
}

.glass-floating-card.card-top-left {
  top: -24px;
  left: -24px;
}

.glass-floating-card.card-bottom-right {
  bottom: -24px;
  right: -20px;
  animation-delay: 2s;
}

@keyframes float-slow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.glass-floating-card .card-icon-bubble {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0, 217, 126, 0.15);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #34d399;
}

.glass-floating-card .card-text-group strong {
  display: block;
  font-size: 13px;
  color: #ffffff;
  font-weight: 700;
}

.glass-floating-card .card-text-group span {
  display: block;
  font-size: 11px;
  color: #94a3b8;
}

/* ==========================================================================
   SOCIAL PROOF LOGO MARQUEE
   ========================================================================== */
.client-trust-section {
  background: #ffffff;
  padding: 50px 0 60px;
  border-bottom: 1px solid var(--ably-border-light);
  position: relative;
}

.client-trust-section .trust-subtitle {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ably-primary);
}

.client-trust-section .trust-heading {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  color: var(--ably-ink);
  margin-top: 6px;
}

.logo-marquee-card {
  background: #ffffff;
  border: 1px solid var(--ably-border-light);
  border-radius: var(--ably-radius-lg);
  padding: 24px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  position: relative;
  margin-top: 30px;
}

.logo-marquee-card::before,
.logo-marquee-card::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.logo-marquee-card::before {
  left: 0;
  background: linear-gradient(to right, #ffffff 20%, rgba(255, 255, 255, 0));
}

.logo-marquee-card::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 20%, rgba(255, 255, 255, 0));
}

.marquee-track-container {
  display: flex;
  overflow: hidden;
  user-select: none;
}

.marquee-inner-strip {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: marquee-scroll 25s linear infinite;
  flex-shrink: 0;
}

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

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

.logo-pill-item {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all 0.3s ease;
  padding: 0 10px;
}

.logo-pill-item img {
  max-height: 42px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
}

.logo-pill-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

/* ==========================================================================
   INTERACTIVE PRODUCT ECOSYSTEM SHOWCASE
   ========================================================================== */
.ecosystem-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #edf7f0 50%, #f8fafc 100%);
  position: relative;
}

.section-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #eaf8ef;
  color: var(--ably-primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  margin-bottom: 12px;
}

.ecosystem-heading {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--ably-dark);
  line-height: 1.2;
}

.ecosystem-subtext {
  font-size: 17px;
  color: var(--ably-muted);
  max-width: 680px;
  margin: 14px auto 0;
}

/* Interactive Tabs Switcher */
.suite-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 30px auto 45px;
  padding: 6px;
  background: #ffffff;
  border: 1px solid var(--ably-border-light);
  border-radius: 20px;
  box-shadow: var(--ably-shadow-sm);
  max-width: fit-content;
  width: 100%;
}

.suite-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ably-slate);
  background: transparent;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.suite-tab-btn i {
  font-size: 15px;
  transition: transform 0.2s ease;
}

.suite-tab-btn:hover {
  color: var(--ably-primary);
  background: #f1f8f3;
}

.suite-tab-btn.active {
  color: #ffffff;
  background: var(--ably-primary);
  box-shadow: 0 6px 20px rgba(0, 135, 64, 0.35);
}

.suite-tab-btn.active i {
  transform: scale(1.1);
}

/* Product Showcase Cards */
.product-showcase-panel {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.product-showcase-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.product-glass-card {
  background: #ffffff;
  border: 1px solid var(--ably-border);
  border-radius: var(--ably-radius-xl);
  padding: 44px;
  box-shadow: var(--ably-shadow-lg);
  position: relative;
  overflow: hidden;
}

.product-glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #008740, #00d97e);
}

.product-tag-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 6px;
  background: #eaf8ef;
  color: var(--ably-primary);
  margin-bottom: 14px;
}

.product-glass-card .product-title {
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 800;
  color: var(--ably-dark);
  margin-bottom: 16px;
}

.product-glass-card .product-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ably-muted);
  margin-bottom: 24px;
}

.product-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ably-slate);
  font-weight: 500;
}

.product-feature-list li i {
  color: var(--ably-primary-light);
  font-size: 16px;
}

.btn-product-learn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--ably-primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 135, 64, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-product-learn:hover {
  background: #007034;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 135, 64, 0.4);
  color: #ffffff !important;
}

.product-screenshot-box {
  background: #071f14;
  border-radius: var(--ably-radius-lg);
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 135, 64, 0.2);
  transition: transform 0.3s ease;
}

.product-screenshot-box:hover {
  transform: scale(1.02);
}

.product-screenshot-box .mockup-bar {
  padding: 8px 14px;
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.product-screenshot-box .mockup-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.product-screenshot-box img {
  width: 100%;
  height: auto;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  display: block;
}

/* ==========================================================================
   BENTO GRID - WHY CHOOSE ABLYWORKS
   ========================================================================== */
.bento-section {
  padding: 90px 0;
  background: #ffffff;
  position: relative;
}

.bento-grid {
  margin-top: 40px;
}

.bento-grid-panel {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.bento-grid-panel.active {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .bento-grid-panel.active {
    display: flex;
    flex-direction: column;
  }
}

.bento-card {
  background: #ffffff;
  border: 1px solid var(--ably-border-light);
  border-radius: var(--ably-radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--ably-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 168, 82, 0.4);
  box-shadow: var(--ably-shadow-md);
}

.bento-card.span-8 { grid-column: span 8; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-6 { grid-column: span 6; }
.bento-card.span-12 { grid-column: span 12; }

/* Bento Card Colors & Accents */
.bento-card.featured-dark {
  background: radial-gradient(circle at top right, #103824 0%, #082115 100%);
  color: #ffffff;
  border-color: rgba(0, 217, 126, 0.25);
}

.bento-card.featured-dark h3,
.bento-card.featured-dark p {
  color: #ffffff;
}

.bento-card.featured-dark .bento-desc {
  color: #94a3b8;
}

.bento-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #eaf8ef;
  color: var(--ably-primary);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.bento-card:hover .bento-icon-wrapper {
  transform: scale(1.1) rotate(4deg);
}

.bento-card.featured-dark .bento-icon-wrapper {
  background: rgba(0, 217, 126, 0.18);
  color: #34d399;
}

.bento-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ably-dark);
  margin-bottom: 12px;
}

.bento-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ably-muted);
  margin-bottom: 20px;
}

.bento-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #eaf8ef;
  color: var(--ably-primary);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  width: fit-content;
}

.bento-card.featured-dark .bento-metric-pill {
  background: rgba(0, 217, 126, 0.2);
  color: #a7f3d0;
}

/* ==========================================================================
   LIVE IMPACT & ROI STATS SECTION
   ========================================================================== */
.impact-stats-section {
  background: #032d16;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.stats-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 217, 126, 0.2);
  border-radius: var(--ably-radius-md);
  padding: 30px 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-item-box:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #00d97e;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 168, 82, 0.2);
}

.stat-number {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #6ee7b7 60%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: #cbd5e1;
  font-weight: 500;
  margin: 0;
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.why-choose-us {
  background-color: #f8fafc;
  padding: 80px 0;
  position: relative;
}

.why-choose-us .card {
  transition: all 0.3s ease;
  background: #ffffff;
  border: 1px solid #e2e8f0 !important;
}

.why-choose-us .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
  border-color: #00a852 !important;
}

.card-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0, 168, 82, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   ENTERPRISE SECURITY BANNER SECTION
   ========================================================================== */
.security-banner-modern {
  background: #032d16;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.security-banner-modern .security-glow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 168, 82, 0.25) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.security-badge-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.security-badge-container svg {
  max-width: 140px;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

.security-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(0, 217, 126, 0.15);
  border: 1px solid rgba(0, 217, 126, 0.3);
  color: #6ee7b7;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.security-heading {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.security-paragraph {
  font-size: 15.5px;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 24px;
}

.security-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.security-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: #e2e8f0;
  font-weight: 500;
}

.security-chip i {
  color: #34d399;
}

.security-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #34d399;
  font-weight: 700;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.security-link-btn:hover {
  color: #6ee7b7;
  gap: 12px;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-modern {
  padding: 90px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf6 100%);
  position: relative;
}

.testimonial-card-modern {
  background: #ffffff;
  border: 1px solid var(--ably-border-light);
  border-radius: var(--ably-radius-lg);
  padding: 32px;
  box-shadow: var(--ably-shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.testimonial-card-modern:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 168, 82, 0.3);
  box-shadow: var(--ably-shadow-md);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 16px;
  font-size: 14px;
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ably-slate);
  margin-bottom: 24px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00a852;
}

.author-info h6 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ably-dark);
  margin: 0;
}

.author-info small {
  font-size: 13px;
  color: var(--ably-muted);
}

/* ==========================================================================
   FAQ ACCORDION SECTION
   ========================================================================== */
.faq-section-modern {
  padding: 90px 0;
  background: #ffffff;
  position: relative;
}

.faq-accordion-box {
  max-width: 840px;
  margin: 40px auto 0;
}

.faq-modern-item {
  border: 1px solid var(--ably-border-light);
  border-radius: 16px !important;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.faq-modern-item:hover {
  border-color: rgba(0, 168, 82, 0.3);
}

.faq-modern-button {
  background: #ffffff;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ably-dark);
  box-shadow: none !important;
  border: none;
}

.faq-modern-button:not(.collapsed) {
  color: var(--ably-primary);
  background: #f5fbf7;
}

.faq-modern-body {
  padding: 0 24px 22px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ably-muted);
  background: #f5fbf7;
}

/* ==========================================================================
   HIGH-CONVERTING DUAL-ACTION CTA SECTION
   ========================================================================== */
.cta-section-modern {
  padding: 90px 0 100px;
  background: #ffffff;
  position: relative;
}

.cta-wrapper-box {
  background: #032d16;
  border: 1px solid rgba(0, 217, 126, 0.25);
  border-radius: var(--ably-radius-xl);
  padding: 56px 48px;
  box-shadow: 0 30px 80px rgba(0, 50, 25, 0.2);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.cta-wrapper-box::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: 30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 168, 82, 0.2) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-left-content h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-left-content p {
  font-size: 16px;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 30px;
}

.whatsapp-direct-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.whatsapp-status-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-bubble-icon {
  width: 48px;
  height: 48px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
}

.btn-whatsapp-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #25d366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}

.btn-whatsapp-action:hover {
  background: #1eb855;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.4);
}

/* Modern Form Box */
.cta-form-container {
  background: #ffffff;
  border-radius: var(--ably-radius-lg);
  padding: 36px 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  color: var(--ably-ink);
}

.cta-form-container h4 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ably-dark);
  margin-bottom: 6px;
}

.cta-form-container p {
  font-size: 14px;
  color: var(--ably-muted);
  margin-bottom: 22px;
}

.form-modern-input {
  background: #f8fafc;
  border: 1.5px solid var(--ably-border-light);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  transition: all 0.2s ease;
  color: var(--ably-ink);
}

.form-modern-input:focus {
  background: #ffffff;
  border-color: var(--ably-primary);
  box-shadow: 0 0 0 4px rgba(0, 135, 64, 0.12);
  outline: none;
}

.btn-form-submit {
  display: block;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #00d97e 0%, #00a852 50%, #008740 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 25px rgba(0, 168, 82, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 168, 82, 0.4);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================= */
@media (max-width: 991px) {
  .modern-hero {
    padding: 70px 0 80px;
    text-align: center;
  }
  .modern-hero .hero-rotator-item,
  .modern-hero .hero-description,
  .modern-hero .hero-trust-badges,
  .modern-hero .hero-cta-group {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  .glass-floating-card.card-top-left {
    left: 0px;
  }
  .glass-floating-card.card-bottom-right {
    right: 0px;
  }
  .bento-card.span-8,
  .bento-card.span-4,
  .bento-card.span-6 {
    grid-column: span 12;
  }
  .stats-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-wrapper-box {
    padding: 40px 24px;
  }
}

@media (max-width: 576px) {
  .modern-hero {
    padding: 50px 0 60px;
  }
  .stats-card-grid {
    grid-template-columns: 1fr;
  }
  .suite-nav-tabs {
    border-radius: 20px;
  }
  .suite-tab-btn {
    width: 100%;
    justify-content: center;
  }
  .product-glass-card {
    padding: 24px;
  }
  .glass-floating-card {
    display: none !important;
  }
  .whatsapp-direct-card {
    flex-direction: column;
    text-align: center;
  }
  .cta-form-container {
    padding: 24px 18px;
  }
}
