/*
 * ==========================================================================
 *  ErgulLabs — Soft UI Design System v2.0
 *  A clean, stable, mobile-friendly design layer.
 *  No flickering, no corner glitches.
 * ==========================================================================
 */

/* -------------------------------------------------------------------------
   1. Design Tokens
   ------------------------------------------------------------------------- */
:root {
  /* Border Radius */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-2xl: 28px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.08);

  /* Borders */
  --border-light: 1px solid rgba(0, 0, 0, 0.06);
  --border-dark: 1px solid rgba(255, 255, 255, 0.08);

  /* Transitions */
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-soft);
  --transition-base: 0.35s var(--ease-soft);
  --transition-slow: 0.5s var(--ease-soft);

  /* Colors */
  --surface-white: #ffffff;
  --surface-light: #f8f9fa;
  --text-primary: #1a1c1e;
  --accent: #ccff00;
  --accent-dark: #b3e600;
}

/* -------------------------------------------------------------------------
   2. Global Base — Smooth Rendering
   ------------------------------------------------------------------------- */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

/* Hide scrollbar — all browsers */
html, body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
::-webkit-scrollbar {
  display: none;
}

/* -------------------------------------------------------------------------
   3. Cards — Elevated, Rounded, Stable
   ------------------------------------------------------------------------- */
.card {
  border-radius: var(--radius-xl) !important;
  border: var(--border-light) !important;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
  will-change: transform;
}

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

/* Primary card */
.card.bg-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%) !important;
  border: none !important;
}

.card.bg-primary:hover {
  box-shadow: 0 12px 32px rgba(204, 255, 0, 0.2);
}

/* Dark card */
.card.bg-dark {
  background: linear-gradient(135deg, #1a1c1e 0%, #111 100%) !important;
  border: var(--border-dark) !important;
}

.card.bg-dark:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* White/bordered card */
.card.border {
  background: var(--surface-white) !important;
  border: var(--border-light) !important;
}

/* -------------------------------------------------------------------------
   4. Portfolio / Project Cards — Stable Layout
   ------------------------------------------------------------------------- */
.projects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 0;
  width: 100%;
}

.portfolio-card {
  flex: 1 1 320px;
  max-width: calc(50% - 15px);
  border-radius: var(--radius-xl) !important;
  overflow: hidden;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
  will-change: transform;
}

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

.portfolio-img-wrapper {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.portfolio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-soft);
}

.portfolio-card:hover .portfolio-img-wrapper img {
  transform: scale(1.04);
}

/* Mobile: full width cards */
@media (max-width: 768px) {
  .portfolio-card {
    max-width: 100%;
    flex: 1 1 100%;
  }
}

/* -------------------------------------------------------------------------
   5. Images inside Cards — Subtle Zoom on Hover
   ------------------------------------------------------------------------- */
.card-body img {
  transition: transform var(--transition-base);
}

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

/* Spider-test image rounding */
.why-choose-us .position-relative > img {
  border-radius: var(--radius-xl);
}

/* -------------------------------------------------------------------------
   6. Dropdown Menu — Soft styling
   ------------------------------------------------------------------------- */
.dropdown-menu {
  border-radius: var(--radius-lg) !important;
  border: var(--border-light) !important;
  box-shadow: var(--shadow-lg) !important;
  backdrop-filter: blur(20px);
  background-color: rgba(255, 255, 255, 0.9) !important;
}

/* -------------------------------------------------------------------------
   7. Badge — Rounded
   ------------------------------------------------------------------------- */
.badge {
  border-radius: var(--radius-sm) !important;
}

/* -------------------------------------------------------------------------
   8. Smooth AOS Override
   ------------------------------------------------------------------------- */
[data-aos] {
  transition-timing-function: var(--ease-soft) !important;
}

/* -------------------------------------------------------------------------
   9. Subtle Leaf/Logo Pulse
   ------------------------------------------------------------------------- */
.animate-spin {
  animation: soft-breathe 3.5s ease-in-out infinite;
}

@keyframes soft-breathe {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.08) rotate(3deg); }
}

/* -------------------------------------------------------------------------
   10. Service Tab Image — Rounded
   ------------------------------------------------------------------------- */
.services .tab-content img {
  border-radius: var(--radius-xl);
}

/* -------------------------------------------------------------------------
   11. Footer — Soft touches
   ------------------------------------------------------------------------- */
.footer .link-hover {
  transition: color var(--transition-fast), transform var(--transition-fast);
}

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

/* -------------------------------------------------------------------------
   12. Scroll-to-Top Button — No style override
   Keep the existing button styles intact.
   ------------------------------------------------------------------------- */

/* =========================================================================
   13. DARK MODE — Product Pages Only
   Applied via `body.dark-mode` class (set by JS on product pages)
   ========================================================================= */
body.dark-mode {
  background-color: #0a0a0a;
  color: #e4e4e7;
}

body.dark-mode .page-wrapper {
  background-color: #0a0a0a;
}

/* Header on dark */
body.dark-mode .header {
  background-color: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  border-color: var(--accent) !important;
}

body.dark-mode .logo-dark { display: none !important; }
body.dark-mode .logo-white { display: block !important; }

/* Text colors */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
  color: #f4f4f5 !important;
}

body.dark-mode p,
body.dark-mode li,
body.dark-mode span:not(.badge):not(.text-primary) {
  color: #a1a1aa;
}

body.dark-mode a:not(.btn):not(.badge) {
  color: var(--accent);
}

/* Sections */
body.dark-mode .project-detail {
  background-color: #0a0a0a;
}

body.dark-mode .border-end {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Cards in dark mode */
body.dark-mode .card {
  background: #111113 !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* Dark mode dropdown */
body.dark-mode .dropdown-menu {
  background: #111113 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .dropdown-menu .text-dark {
  color: #e4e4e7 !important;
}

body.dark-mode .dropdown-menu .btn-close {
  filter: invert(1);
}

/* Banner overlay */
body.dark-mode .banner-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.7) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Back button */
body.dark-mode .btn {
  color: #e4e4e7;
}

/* Scope-of-work labels */
body.dark-mode .fw-medium {
  color: #e4e4e7 !important;
}

/* Footer stays dark regardless */

/* =========================================================================
   14. PROJECT SHOWCASE — Modern Card Design
   ========================================================================= */

/* --- Section Header --- */
.showcase-label {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.showcase-line {
  display: inline-block;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

.showcase-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #f4f4f5;
}

.showcase-subtitle {
  font-size: 1.25rem; /* Larger from 1.1rem */
  color: #f4f4f5; /* Brightened to near white */
  max-width: 560px;
  line-height: 1.7;
  font-weight: 600; /* Bolder from 500 */
}

.showcase-bottom-text {
  font-size: 1.1rem; /* Larger */
  color: #d4d4d8; /* Brightened significantly */
  margin-bottom: 2rem;
  font-weight: 500;
}

/* --- Header & Menu Button Fixes --- */
.toggle-menu {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(12px) !important;
  color: #fff !important;
  transition: all var(--transition-base) !important;
}

.toggle-menu:hover, .toggle-menu:focus, .toggle-menu[aria-expanded="true"] {
  background: rgba(204, 255, 0, 0.15) !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  box-shadow: 0 0 20px rgba(204, 255, 0, 0.2);
}

.toggle-menu .menu-icon {
  color: inherit !important;
}

@media (max-width: 576px) {
  .banner-inner-section .fs-16 {
    font-size: 4rem !important; /* Significantly reduced from 10rem+ */
    line-height: 1;
  }
  
  .banner-inner-section .d-flex.align-items-end.gap-3 {
    flex-wrap: wrap; /* Prevent overlap by stacking the arrow button if needed */
    gap: 16px !important;
  }
}

/* --- Card Grid --- */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-card--featured {
    grid-column: 1 / -1;
  }
}

/* --- Card Base --- */
.showcase-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: #111113;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
  will-change: transform;
}

.showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.12);
}

.showcase-card__link {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit !important;
  height: 100%;
}

.showcase-card__link--disabled {
  cursor: default;
}

/* Featured card — horizontal on large screens */
@media (min-width: 992px) {
  .showcase-card--featured .showcase-card__link {
    flex-direction: row;
  }
  .showcase-card--featured .showcase-card__image-wrapper {
    width: 55%;
    flex-shrink: 0;
  }
  .showcase-card--featured .showcase-card__content {
    width: 45%;
  }
}

/* --- Card Image --- */
.showcase-card__image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.showcase-card--featured .showcase-card__image-wrapper {
  aspect-ratio: 16 / 10;
}

@media (min-width: 992px) {
  .showcase-card--featured .showcase-card__image-wrapper {
    aspect-ratio: auto;
    min-height: 380px;
  }
}

.showcase-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-soft);
}

.showcase-card:hover .showcase-card__image {
  transform: scale(1.06);
}

.showcase-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 30%,
    rgba(0, 0, 0, 0.15) 60%,
    rgba(0, 0, 0, 0.5) 100%
  );
  pointer-events: none;
  transition: opacity var(--transition-base);
}

/* --- Coming Soon Overlay --- */
.showcase-card__coming-soon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 32px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
  z-index: 3;
}

.showcase-card__cs-icon {
  font-size: 2rem;
  color: #fbbf24;
}

.showcase-card:hover .showcase-card__coming-soon {
  opacity: 1;
}

/* --- Card Content --- */
.showcase-card__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  flex: 1;
}

@media (min-width: 992px) {
  .showcase-card--featured .showcase-card__content {
    padding: 36px 40px;
    justify-content: center;
  }
}

.showcase-card__title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #f4f4f5 !important;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.showcase-card--featured .showcase-card__title {
  font-size: 2.2rem;
}

.showcase-card__description {
  font-size: 1.05rem; /* Larger */
  color: #f4f4f5 !important; /* Brightened to near white */
  line-height: 1.7;
  margin: 0;
  font-weight: 500; /* Bolder */
}

/* --- Badges --- */
.showcase-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d4d4d8 !important;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.showcase-badge--live {
  color: #bbf7d0 !important;
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.2);
}

.showcase-badge--soon {
  color: #fde68a !important;
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.2);
}

.showcase-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: badge-pulse 2s ease-in-out infinite;
}

.showcase-badge__dot--amber {
  background: #fbbf24;
  animation: badge-pulse-amber 2.5s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}

@keyframes badge-pulse-amber {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(251, 191, 36, 0); }
}

/* --- Card Footer / Meta --- */
.showcase-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.showcase-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.showcase-card__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem; /* Larger */
  color: #e4e4e7; /* Brightened from #a1a1aa */
  font-weight: 700; /* Significantly bolder */
}

.showcase-card__meta-icon {
  font-size: 1.1rem;
  color: var(--accent);
}

/* --- Card CTA --- */
.showcase-card__cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(204, 255, 0, 0.08);
  border: 1px solid rgba(204, 255, 0, 0.15);
  transition:
    background var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.showcase-card:hover .showcase-card__cta {
  background: rgba(204, 255, 0, 0.15);
  box-shadow: 0 0 20px rgba(204, 255, 0, 0.1);
  transform: translateX(4px);
}

.showcase-card__cta--muted {
  color: #a1a1aa; /* Brightened from #71717a */
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

.showcase-card:hover .showcase-card__cta--muted {
  color: #f4f4f5; /* Brightened from #a1a1aa */
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

/* --- Glow Effect --- */
.showcase-card__glow {
  position: absolute;
  bottom: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(204, 255, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease-soft);
  z-index: 0;
}

.showcase-card:hover .showcase-card__glow {
  opacity: 1;
}

.showcase-card__glow--amber {
  background: radial-gradient(ellipse at center, rgba(251, 191, 36, 0.06) 0%, transparent 70%);
}

.showcase-card__glow--cyan {
  background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.06) 0%, transparent 70%);
}

/* --- Mobile Responsive --- */
@media (max-width: 767px) {
  .showcase-card__content {
    padding: 20px;
  }

  .showcase-card__title {
    font-size: 1.35rem;
  }

  .showcase-card--featured .showcase-card__title {
    font-size: 1.5rem;
  }

  .showcase-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .showcase-card__cta {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================================
   15. PRODUCT DETAIL PAGE — Premium Design
   ========================================================================= */

/* --- Topbar & Quick Info --- */
.product-topbar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 992px) {
  .product-topbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.product-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  color: #f4f4f5 !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: all var(--transition-base);
}

.product-back-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  transform: translateX(-4px);
}

.product-info-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.product-info-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: #161618;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
}

.product-info-chip__icon {
  font-size: 1.5rem;
  color: var(--accent);
}

.product-info-chip__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 900; /* Maximum bold */
  text-transform: uppercase;
  color: var(--accent); /* Switched to accent color for more 'vividness' */
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.product-info-chip__value {
  display: block;
  font-size: 1rem; /* Larger */
  font-weight: 800;
  color: #fff;
}

.product-info-chip__value--live {
  color: #4ade80;
}

/* --- Hero Description Card --- */
.product-hero-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px;
  background: linear-gradient(135deg, #161618 0%, #0c0c0e 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .product-hero-card {
    flex-direction: row;
    align-items: center;
  }
}

.product-hero-card__icon-wrapper {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.02);
  padding: 20px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.product-hero-card__title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #f4f4f5;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.product-hero-card__text {
  font-size: 1.25rem; /* Larger from 1.15rem */
  line-height: 1.8;
  color: #fff; /* Maximum contrast */
  margin: 0;
  font-weight: 600;
}

/* --- Section Header --- */
.product-section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

/* --- Feature Cards --- */
.product-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .product-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-feature-card {
  padding: 32px;
  background: #111113;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.product-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.12);
  background: #161618;
}

.product-feature-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.product-feature-card__icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.product-feature-card__icon-circle--accent { background: rgba(204, 255, 0, 0.1); color: var(--accent); }
.product-feature-card__icon-circle--blue   { background: rgba(59, 130, 246, 0.1); color: #60a5fa; }
.product-feature-card__icon-circle--purple { background: rgba(168, 85, 247, 0.1); color: #a855f7; }
.product-feature-card__icon-circle--green  { background: rgba(34, 197, 94, 0.1); color: #4ade80; }

.product-feature-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f4f4f5;
  margin: 0;
}

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

.product-feature-card__list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-feature-card__list-label {
  font-size: 1.1rem; /* Larger */
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.product-feature-card__list-desc {
  font-size: 0.95rem; /* Larger */
  color: #e4e4e7; /* Brightened */
  font-weight: 600;
}

/* --- CTA Section --- */
.product-cta-section {
  padding-top: 40px;
}

.product-cta-card {
  position: relative;
  overflow: hidden;
  padding: 60px 40px;
  background: linear-gradient(135deg, #1e1e20 0%, #0a0a0a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  text-align: center;
}

.product-cta-card__title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.product-cta-card__text {
  font-size: 1.15rem;
  color: #d4d4d8; /* Brightened from #a1a1aa */
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

.product-cta-card__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.product-cta-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px; /* Much larger */
  border-radius: 100px;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-cta-btn--primary {
  background: var(--accent);
  color: #000 !important;
  box-shadow: 0 10px 40px rgba(204, 255, 0, 0.3);
  border: 2px solid transparent;
}

.product-cta-btn--primary:hover {
  transform: scale(1.05) translateY(-6px);
  box-shadow: 0 20px 60px rgba(204, 255, 0, 0.5);
  background: #fff;
}

.product-cta-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff !important;
  backdrop-filter: blur(10px);
}

.product-cta-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-4px);
}

.product-cta-card__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(204, 255, 0, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* --- Mobile Fixes --- */
@media (max-width: 767px) {
  .product-hero-card { 
    padding: 30px 20px; 
    text-align: center; 
    margin-bottom: 40px;
  }
  
  .product-hero-card__icon-wrapper {
    margin-bottom: 16px;
    display: inline-flex;
    padding: 16px;
  }

  .product-feature-card { 
    padding: 24px; 
  }
  
  .product-cta-card { 
    padding: 50px 20px; 
  }
  
  .product-cta-card__title { 
    font-size: 1.85rem; 
  }
  
  .product-cta-btn { 
    width: 100%; 
    justify-content: center; 
    padding: 16px 24px;
  }

  .product-info-bar {
    gap: 12px;
  }
  
  .product-info-chip {
    width: 100%; /* Full width chips on small mobile for clarity */
    justify-content: flex-start;
  }

  /* Fix for hero intro text spacing */
  .banner-inner-section .text-opacity-70 {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .product-hero-card__title {
    font-size: 1.5rem;
  }
  
  .product-hero-card__text {
    font-size: 1rem;
  }
}

/* =========================================================================
   16. GLOW ATTENTION UTILITY (Magic Rainbow Border)
   ========================================================================= */
.glow-attention {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  z-index: 10;
}

.glow-attention::before, .glow-attention::after {
  content: '';
  position: absolute;
  top: -4px; right: -4px; bottom: -4px; left: -4px;
  background: linear-gradient(90deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #c800ff, #ff0000);
  background-size: 300%;
  border-radius: inherit;
  animation: magic-spin-rainbow 5s linear infinite;
  z-index: -1;
  pointer-events: none;
}

/* Bootstrap rounded fallback overrides */
.glow-attention.rounded-pill::before, .glow-attention.rounded-pill::after { border-radius: 50rem; }
.glow-attention.rounded-circle::before, .glow-attention.rounded-circle::after { border-radius: 50%; }
.glow-attention.rounded::before, .glow-attention.rounded::after { border-radius: var(--bs-border-radius); }

.glow-attention::after {
  filter: blur(14px);
  opacity: 0.85;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.glow-attention:hover::after {
  filter: blur(20px);
  opacity: 1;
}

@keyframes magic-spin-rainbow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* =========================================================================
   17. GLOBAL FIXES
   ========================================================================= */
/* Ensure all footer mailto links act properly on dark background and ignore visited color shifts */
.footer a[href^="mailto"],
.bg-dark a[href^="mailto"],
.footer a.text-white {
  color: #ffffff !important;
}

.footer a[href^="mailto"]:hover,
.bg-dark a[href^="mailto"]:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

