/* ============================================================
   El Captain Sports Management — Components
   Nav · Footer · Card · Badge · Trust Badge · WhatsApp FAB
   ============================================================ */

/* ----------------------------------------------------------
   Navigation
   Sticky top nav — white background, professional shadow
---------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: var(--z-sticky);
  background-color: var(--bg-surface);
  border-bottom: 1px solid transparent;
  padding-block: var(--space-xs);
  transition:
    border-color     var(--duration-slow) var(--ease-out),
    box-shadow       var(--duration-slow) var(--ease-out),
    background-color var(--duration-slow) var(--ease-out);
}

/* Added by JS on scroll */
.nav--scrolled {
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.nav__logo-mark svg,
.nav__logo-mark img {
  width: 1.125rem;
  height: 1.125rem;
}

.nav__logo-text {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: var(--tracking-snug);
  line-height: 1;
}

.nav__logo-sub {
  display: block;
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: var(--tracking-normal);
}

/* Links list */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  flex: 1;
  justify-content: center;
}

/* Individual link */
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-secondary);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition:
    color            var(--duration-fast) var(--ease-out),
    background-color var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--ink-primary);
  background-color: var(--bg-muted);
}

.nav__link--active {
  color: var(--ink-primary);
  font-weight: 600;
}

/* Dropdown indicator */
.nav__link svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
  transition: transform var(--duration-fast) var(--ease-out);
}

.nav__link:hover svg {
  opacity: 1;
}

/* CTA actions area */
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Nav CTA button */
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  height: 2.25rem;
  background-color: var(--color-accent);
  color: #FFFFFF;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color var(--duration-fast) var(--ease-out),
    box-shadow       var(--duration-fast) var(--ease-out),
    transform        var(--duration-fast) var(--ease-out);
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.22);
}

.nav__cta:hover {
  background-color: var(--color-accent-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(8, 145, 178, 0.32);
}

.nav__cta:active {
  transform: translateY(0);
}

/* Mobile hamburger toggle */
.nav__toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  color: var(--ink-primary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background-color: transparent;
  transition:
    background-color var(--duration-fast) var(--ease-out),
    border-color     var(--duration-fast) var(--ease-out);
  flex-shrink: 0;
}

.nav__toggle:hover {
  background-color: var(--bg-muted);
  border-color: var(--border-default);
}

.nav__toggle svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

/* Mobile overlay backdrop */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(27, 43, 75, 0.40);
  z-index: calc(var(--z-mobile-menu) - 1);
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.nav__overlay--visible {
  opacity: 1;
}

/* ----------------------------------------------------------
   Navigation — Mobile (≤ 768px)
---------------------------------------------------------- */

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    bottom: 0;
    width: min(300px, 85vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-block-start: var(--space-3xl);
    padding-block-end: var(--space-xl);
    padding-inline: var(--space-lg);
    background-color: var(--bg-surface);
    border-inline-end: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-xl);
    transform: translateX(-100%);
    transition: transform var(--duration-slow) var(--ease-out-expo);
    z-index: var(--z-mobile-menu);
    overflow-y: auto;
    gap: var(--space-2xs);
  }

  /* RTL: drawer from right */
  [dir="rtl"] .nav__links {
    inset-inline-start: auto;
    inset-inline-end: 0;
    border-inline-end: none;
    border-inline-start: 1px solid var(--border-subtle);
    transform: translateX(100%);
  }

  .nav__links--open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: var(--text-base);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
  }

  .nav__actions {
    flex-direction: column;
    width: 100%;
    padding-inline: var(--space-lg);
    padding-block-start: var(--space-md);
    border-top: 1px solid var(--border-subtle);
    margin-block-start: auto;
  }

  .nav__cta {
    width: 100%;
    justify-content: center;
    height: 2.75rem;
  }

  .nav__overlay {
    display: block;
  }
}

@media (max-width: 1024px) {
  .nav__links {
    gap: 0;
  }
}

/* ----------------------------------------------------------
   Footer
   Dark navy background, multi-column grid
---------------------------------------------------------- */

.footer {
  background-color: var(--bg-dark);
  color: var(--ink-on-dark);
  padding-block-start: var(--space-2xl);
  padding-block-end: var(--space-lg);
  position: relative;
  overflow: hidden;
}

/* Subtle top accent line */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-accent) 30%,
    var(--color-gold) 60%,
    transparent 100%
  );
  opacity: 0.5;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-2xl);
  align-items: start;
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-xl);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 400px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* Brand column */
.footer__brand {
  max-width: 28ch;
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-block-end: var(--space-md);
  text-decoration: none;
}

.footer__brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer__brand-name {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--ink-on-dark);
  letter-spacing: var(--tracking-snug);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  color: var(--ink-on-dark-muted);
  line-height: var(--leading-relaxed);
  margin-block-end: var(--space-lg);
  max-width: 100%;
}

/* Social links */
.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social-link {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  background-color: rgba(248, 250, 251, 0.07);
  border: 1px solid rgba(248, 250, 251, 0.10);
  border-radius: var(--radius-md);
  color: var(--ink-on-dark-muted);
  text-decoration: none;
  transition:
    background-color var(--duration-fast) var(--ease-out),
    border-color     var(--duration-fast) var(--ease-out),
    color            var(--duration-fast) var(--ease-out);
}

.footer__social-link:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #FFFFFF;
}

.footer__social-link svg {
  width: 1rem;
  height: 1rem;
}

/* Link columns */
.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--ink-on-dark);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-block-end: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--ink-on-dark-muted);
  text-decoration: none;
  padding-block: var(--space-2xs);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: color var(--duration-fast) var(--ease-out);
  line-height: var(--leading-snug);
}

.footer__link:hover {
  color: var(--ink-on-dark);
}

.footer__link--accent:hover {
  color: var(--color-accent-light);
}

/* Bottom bar */
.footer__bottom {
  margin-block-start: var(--space-2xl);
  padding-block-start: var(--space-lg);
  border-top: 1px solid rgba(248, 250, 251, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--ink-on-dark-muted);
  line-height: var(--leading-normal);
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer__legal-link {
  font-size: var(--text-xs);
  color: var(--ink-on-dark-muted);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__legal-link:hover {
  color: var(--ink-on-dark);
}

@media (max-width: 600px) {
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__legal {
    justify-content: center;
  }
}

/* ----------------------------------------------------------
   Breadcrumb
---------------------------------------------------------- */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--ink-muted);
  margin-block-end: var(--space-lg);
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.breadcrumb__link {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.breadcrumb__link:hover {
  color: var(--color-accent);
}

.breadcrumb__separator {
  color: var(--border-default);
  font-size: var(--text-xs);
  user-select: none;
}

.breadcrumb__current {
  color: var(--ink-secondary);
  font-weight: 500;
}

/* ----------------------------------------------------------
   Card
   White bg · subtle border · hover shadow lift
---------------------------------------------------------- */

.card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: var(--card-padding);
  box-shadow: var(--card-shadow);
  transition:
    box-shadow   var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal) var(--ease-out),
    transform    var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: var(--border-default);
  transform: translateY(-2px);
}

/* Clickable card */
.card--clickable {
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.card--clickable:hover {
  border-color: var(--border-accent);
}

/* Flat — no shadow, just border */
.card--flat {
  box-shadow: none;
}

.card--flat:hover {
  box-shadow: var(--shadow-sm);
}

/* Elevated — stronger shadow */
.card--elevated {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card--elevated:hover {
  box-shadow: var(--shadow-lg);
}

/* Feature card variant */
.card--feature {
  padding: var(--space-xl);
}

.card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background-color: var(--color-accent-ghost);
  color: var(--color-accent);
  display: grid;
  place-items: center;
  margin-block-end: var(--space-md);
  flex-shrink: 0;
}

.card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.card__icon--gold {
  background-color: var(--color-gold-ghost);
  color: var(--color-gold);
}

.card__icon--primary {
  background-color: var(--color-primary-ghost);
  color: var(--color-primary-light);
}

.card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink-primary);
  margin-block-end: var(--space-xs);
  line-height: var(--leading-snug);
}

.card__body {
  font-size: var(--text-sm);
  color: var(--ink-secondary);
  line-height: var(--leading-relaxed);
}

.card__footer {
  margin-block-start: var(--space-md);
  padding-block-start: var(--space-md);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

/* Accent left border */
.card--accent-border {
  border-inline-start: 3px solid var(--color-accent);
}

.card--gold-border {
  border-inline-start: 3px solid var(--color-gold);
}

/* ----------------------------------------------------------
   Badge
   Small colored pill for labels, status, counts
---------------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: 2px var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: var(--leading-snug);
  border-radius: var(--radius-full);
  white-space: nowrap;
  letter-spacing: var(--tracking-wide);
}

/* Variants */
.badge--primary {
  background-color: var(--color-primary-ghost);
  color: var(--color-primary-light);
  border: 1px solid var(--border-primary);
}

.badge--accent {
  background-color: var(--color-accent-ghost);
  color: var(--color-accent-dark);
  border: 1px solid var(--border-accent);
}

.badge--gold {
  background-color: var(--color-gold-ghost);
  color: var(--color-gold-dark);
  border: 1px solid rgba(201, 149, 43, 0.22);
}

.badge--success {
  background-color: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid rgba(16, 135, 90, 0.20);
}

.badge--warning {
  background-color: var(--color-warning-bg);
  color: var(--color-warning);
  border: 1px solid rgba(180, 83, 9, 0.20);
}

.badge--error {
  background-color: var(--color-error-bg);
  color: var(--color-error);
  border: 1px solid rgba(185, 28, 28, 0.20);
}

.badge--neutral {
  background-color: var(--bg-muted);
  color: var(--ink-secondary);
  border: 1px solid var(--border-subtle);
}

/* Solid fill variants */
.badge--solid-accent {
  background-color: var(--color-accent);
  color: #FFFFFF;
  border-color: transparent;
}

.badge--solid-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-color: transparent;
}

.badge--solid-gold {
  background-color: var(--color-gold);
  color: #FFFFFF;
  border-color: transparent;
}

/* With dot indicator */
.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   Trust Badge
   Security / uptime / guarantee indicators
   Conveys reliability — shows credentials, SLA, certs
---------------------------------------------------------- */

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition:
    box-shadow   var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
}

.trust-badge:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-default);
}

.trust-badge__icon {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  background-color: var(--color-success-bg);
  color: var(--color-success);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.trust-badge__icon svg {
  width: 1rem;
  height: 1rem;
}

.trust-badge__icon--accent {
  background-color: var(--color-accent-ghost);
  color: var(--color-accent);
}

.trust-badge__icon--gold {
  background-color: var(--color-gold-ghost);
  color: var(--color-gold);
}

.trust-badge__icon--primary {
  background-color: var(--color-primary-ghost);
  color: var(--color-primary-light);
}

.trust-badge__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.trust-badge__value {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink-primary);
  line-height: var(--leading-tight);
}

.trust-badge__label {
  font-size: var(--text-xs);
  color: var(--ink-muted);
  line-height: var(--leading-snug);
}

/* Row of trust badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

/* Dark section variant */
.on-dark .trust-badge,
.section--dark .trust-badge {
  background-color: rgba(248, 250, 251, 0.05);
  border-color: rgba(248, 250, 251, 0.10);
}

.on-dark .trust-badge__value,
.section--dark .trust-badge__value {
  color: var(--ink-on-dark);
}

.on-dark .trust-badge__label,
.section--dark .trust-badge__label {
  color: var(--ink-on-dark-muted);
}

/* ----------------------------------------------------------
   WhatsApp FAB
   Floating action button — bottom-start for RTL
   Green circle with WhatsApp icon + optional label
---------------------------------------------------------- */

.whatsapp-fab {
  position: fixed;
  bottom: var(--space-lg);
  inset-inline-start: var(--space-lg); /* RTL: bottom-left = bottom-start */
  z-index: var(--z-above);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  cursor: pointer;
}

/* The circle button */
.whatsapp-fab__btn {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background-color: var(--color-whatsapp);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.40),
              0 2px 6px  rgba(0, 0, 0, 0.15);
  transition:
    background-color var(--duration-fast) var(--ease-out),
    transform        var(--duration-normal) var(--ease-out-quart),
    box-shadow       var(--duration-normal) var(--ease-out);
  flex-shrink: 0;
}

.whatsapp-fab__btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

.whatsapp-fab:hover .whatsapp-fab__btn {
  background-color: var(--color-whatsapp-dark);
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45),
              0 4px 10px rgba(0, 0, 0, 0.18);
}

.whatsapp-fab:active .whatsapp-fab__btn {
  transform: scale(0.96);
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab:hover .whatsapp-fab__btn {
    transform: none;
  }
}

/* Optional text label (shows on hover via JS toggle or always) */
.whatsapp-fab__label {
  background-color: var(--bg-dark);
  color: var(--ink-on-dark);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity   var(--duration-normal) var(--ease-out),
    transform var(--duration-normal) var(--ease-out);
  pointer-events: none;
}

/* RTL: label slides in from end side */
[dir="rtl"] .whatsapp-fab__label {
  transform: translateX(6px);
}

.whatsapp-fab:hover .whatsapp-fab__label,
.whatsapp-fab:focus-within .whatsapp-fab__label {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab__label {
    transform: none;
  }
}

/* Pulse ring animation — draws attention */
.whatsapp-fab__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: var(--color-whatsapp);
  opacity: 0;
  animation: whatsapp-pulse 2.5s ease-out infinite;
  pointer-events: none;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  70% {
    transform: scale(1.65);
    opacity: 0;
  }
  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab__pulse {
    animation: none;
  }
}

/* Offset for pages with a cookie bar or bottom nav */
.whatsapp-fab--offset {
  bottom: calc(var(--space-lg) + 3.5rem);
}

/* ----------------------------------------------------------
   Screenshot / App Preview Component
---------------------------------------------------------- */

.screenshot {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  background-color: var(--bg-muted);
  transition:
    box-shadow var(--duration-slow) var(--ease-out),
    transform  var(--duration-slow) var(--ease-out),
    border-color var(--duration-slow) var(--ease-out);
}

.screenshot:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-accent);
}

.screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

/* Browser chrome frame */
.screenshot--framed {
  padding-block-start: 2.25rem;
  position: relative;
}

.screenshot--framed::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2.25rem;
  background-color: var(--bg-muted);
  border-bottom: 1px solid var(--border-subtle);
  background-image:
    radial-gradient(circle at 14px 50%, #FF5F57 5px, transparent 5px),
    radial-gradient(circle at 30px 50%, #FEBC2E 5px, transparent 5px),
    radial-gradient(circle at 46px 50%, #28C840 5px, transparent 5px);
  background-repeat: no-repeat;
}

/* RTL: dots on the end side */
[dir="rtl"] .screenshot--framed::before {
  background-image:
    radial-gradient(circle at calc(100% - 14px) 50%, #FF5F57 5px, transparent 5px),
    radial-gradient(circle at calc(100% - 30px) 50%, #FEBC2E 5px, transparent 5px),
    radial-gradient(circle at calc(100% - 46px) 50%, #28C840 5px, transparent 5px);
}

/* ----------------------------------------------------------
   Feature Card (specialized variant)
---------------------------------------------------------- */

.feature-card {
  padding: var(--space-xl);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow   var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal) var(--ease-out),
    transform    var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.feature-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background-color: var(--color-accent-ghost);
  color: var(--color-accent);
  display: grid;
  place-items: center;
  margin-block-end: var(--space-lg);
  flex-shrink: 0;
}

.feature-card__icon svg {
  width: 1.375rem;
  height: 1.375rem;
}

.feature-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink-primary);
  margin-block-end: var(--space-xs);
  line-height: var(--leading-snug);
}

.feature-card__text {
  font-size: var(--text-sm);
  color: var(--ink-secondary);
  line-height: var(--leading-relaxed);
  max-width: 100%;
}

/* ----------------------------------------------------------
   Testimonial / Quote Block
---------------------------------------------------------- */

.quote-block {
  padding: var(--space-xl);
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  border-inline-start: 3px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.quote-block__text {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--ink-primary);
  line-height: var(--leading-relaxed);
  margin-block-end: var(--space-md);
}

.quote-block__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.quote-block__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.quote-block__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.quote-block__name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink-primary);
}

.quote-block__role {
  font-size: var(--text-xs);
  color: var(--ink-muted);
}

/* ----------------------------------------------------------
   Pricing Card
---------------------------------------------------------- */

.pricing-card {
  padding: var(--space-xl);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: relative;
}

.pricing-card--featured {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--ink-on-dark);
  box-shadow: var(--shadow-xl);
}

.pricing-card--featured .pricing-card__price,
.pricing-card--featured .pricing-card__name {
  color: var(--ink-on-dark);
}

.pricing-card--featured .pricing-card__period,
.pricing-card--featured .pricing-card__feature {
  color: var(--ink-on-dark-muted);
}

.pricing-card__badge {
  position: absolute;
  top: var(--space-md);
  inset-inline-end: var(--space-md);
}

.pricing-card__name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.pricing-card__price {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--ink-primary);
  line-height: 1;
}

.pricing-card__currency {
  font-size: var(--text-xl);
  font-weight: 600;
  vertical-align: top;
  line-height: 1.4;
}

.pricing-card__period {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  font-weight: 400;
  margin-inline-start: var(--space-xs);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--ink-secondary);
  line-height: var(--leading-snug);
}

.pricing-card__feature svg {
  width: 1rem;
  height: 1rem;
  color: var(--color-success);
  flex-shrink: 0;
  margin-block-start: 0.1em;
}

/* ----------------------------------------------------------
   Alert / Notification Strip
---------------------------------------------------------- */

.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  border: 1px solid transparent;
}

.alert--info {
  background-color: var(--color-info-bg);
  border-color: rgba(8, 145, 178, 0.20);
  color: var(--color-accent-dark);
}

.alert--success {
  background-color: var(--color-success-bg);
  border-color: rgba(16, 135, 90, 0.20);
  color: var(--color-success);
}

.alert--warning {
  background-color: var(--color-warning-bg);
  border-color: rgba(180, 83, 9, 0.20);
  color: var(--color-warning);
}

.alert--error {
  background-color: var(--color-error-bg);
  border-color: rgba(185, 28, 28, 0.20);
  color: var(--color-error);
}

.alert__icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  margin-block-start: 0.05em;
}

.alert__content {
  flex: 1;
}

.alert__title {
  font-weight: 700;
  margin-block-end: var(--space-2xs);
}

/* ----------------------------------------------------------
   Gallery / Screenshot Grid
---------------------------------------------------------- */

.gallery {
  display: grid;
  gap: var(--space-lg);
}

.gallery--2col {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
}

.gallery--3col {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

@media (max-width: 600px) {
  .gallery--2col,
  .gallery--3col {
    grid-template-columns: 1fr;
  }
}

/* Hero base removed — page-specific CSS (home.css, pages.css) owns hero styles */

/* ----------------------------------------------------------
   Responsive helpers — hide/show at breakpoints
---------------------------------------------------------- */

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .show-mobile-only {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .hide-tablet {
    display: none !important;
  }
}
