/* ===============================================================
   YRsite 2026 — Master Neo-Electric Cyber Design System
   Exact style based on the official template specification:
   Colors: Deep Forest (#06201F), Electric Lime (#C6F432), 
           Hot Pink (#FF4D8D), Solar Gold (#FFC233), Deep Teal (#0F3836)
   Typography: Cairo (Arabic) & Sora (English)
   =============================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Sora:wght@400;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  /* Brand Tokens: Modern Dark Gray Theme */
  --bg: #121418;          /* Sleek Executive Dark Gray */
  --card: #1A1D24;        /* Rich Dark Gray Card */
  --alt: #16181F;         /* Alternate Section Dark Gray */
  --tx: #F8FAFC;          /* Crisp White/Light Gray Text */
  --mu: #94A3B8;          /* Muted Slate Gray Text */
  --bd: #282D37;          /* Refined Dark Gray Border */
  --lm: #C6F432;          /* Electric Lime Accent */
  --gd: #FFC233;          /* Solar Gold Accent */
  --pk: #FF4D8D;          /* Hot Neo-Pink Accent */

  /* Legacy & Semantic Aliases */
  --surface: #1A1D24;
  --surface-hover: #222630;
  --surface-border: #282D37;
  --surface-border-hover: #C6F432;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-sub: #64748B;

  --primary: #C6F432;
  --primary-light: #FFC233;
  --primary-dark: #4F7A00;
  --primary-soft: rgba(198, 244, 50, 0.15);
  --primary-glow: 0 8px 30px rgba(198, 244, 50, 0.3);

  --accent-pink: #FF4D8D;
  --accent-gold: #FFC233;
  --accent-cyan: #38bdf8;

  --success: #10B981;
  --success-soft: rgba(16, 185, 129, 0.15);
  --warning: #FFC233;
  --warning-soft: rgba(255, 194, 51, 0.15);
  --danger: #FF4D8D;
  --danger-soft: rgba(255, 77, 141, 0.15);

  --font-display: 'Cairo', 'Sora', -apple-system, sans-serif;
  --font-body: 'Cairo', 'Sora', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

[data-theme="light"] {
  --bg: #FFFFFF;          /* Pure White Background */
  --card: #FFFFFF;        /* Crisp Clean White Card */
  --alt: #F8FAFC;         /* Soft Clean Slate Light Gray Section */
  --tx: #0F172A;          /* Deep Readable Slate Text */
  --mu: #475569;          /* Muted Slate Text */
  --bd: #E2E8F0;          /* Clean Subtle Light Border */
  --lm: #4D7C0F;          /* Lime Green Accent */
  --gd: #B45309;          /* Solar Gold Accent */
  --pk: #E11D48;          /* Hot Pink Accent */
  --surface: #FFFFFF;
  --surface-hover: #F1F5F9;
  --surface-border: #E2E8F0;
  --surface-border-hover: #4D7C0F;
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-sub: #64748B;
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--tx);
  line-height: 1.7;
  overflow-x: clip;
  min-height: 100vh;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a {
  color: var(--tx);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.15s ease;
}
a:hover {
  color: var(--gd);
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--tx);
  line-height: 1.2;
}

.mono {
  font-family: var(--font-mono);
  direction: ltr;
  unicode-bidi: embed;
}

/* Badges & Tags */
.tag-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--gd);
  color: var(--gd);
  padding: 6px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}

.tag-pink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--pk);
  color: #06201F;
  padding: 6px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
}

.highlight-lime {
  background: #C6F432;
  color: #06201F;
  padding: 2px 14px;
  border-radius: 14px;
  display: inline-block;
}

.highlight-pink {
  color: #FF4D8D;
}

.highlight-gold {
  color: #FFC233;
}

/* Buttons with Retro Cyber Shadows */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.85rem 1.8rem;
  border-radius: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: #C6F432;
  color: #0F172A !important;
  font-weight: 900;
  box-shadow: 4px 4px 0 #FF4D8D;
}
.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #FF4D8D;
  color: #0F172A !important;
}
.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #FF4D8D;
}

.btn-pink {
  background: #FF4D8D;
  color: #0F172A !important;
  font-weight: 900;
  border-radius: 999px;
}
.btn-pink:hover {
  background: #ff669d;
  transform: scale(1.03);
}

.btn-outline {
  border: 2px solid var(--tx);
  color: var(--tx) !important;
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--gd);
  color: var(--gd) !important;
  transform: translate(-1px, -1px);
}

.btn-secondary {
  background: var(--card);
  color: var(--tx) !important;
  border: 1px solid var(--bd);
}
.btn-secondary:hover {
  border-color: var(--lm);
  color: var(--lm) !important;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(18, 20, 24, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bd);
  transition: all 0.2s ease;
}

[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.94);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1rem;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-text {
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.5px;
  color: var(--tx);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}
.nav-links a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--tx);
}
.nav-links a:hover {
  color: var(--gd);
}

.lang-switch-btn {
  color: var(--lm) !important;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(198, 244, 50, 0.1);
  border: 1px solid rgba(198, 244, 50, 0.25);
}
.lang-switch-btn:hover {
  background: var(--lm);
  color: #06201F !important;
}

/* Ticker Strip (Rotated Ribbon) */
.ticker-strip {
  background: #C6F432;
  color: #0F172A;
  transform: rotate(-1.5deg);
  margin: 1.5rem 0;
  width: 100%;
  max-width: 100%;
  padding: 14px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.ticker-strip span {
  display: inline-flex;
  align-items: center;
}

/* Service & Feature Cards */
.service-card-01 {
  background: #C6F432;
  color: #0F172A;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 8px 8px 0 var(--tx);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  transition: transform 0.2s;
}
.service-card-01:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 var(--tx);
}

.service-card-02 {
  background: #FF4D8D;
  color: #0F172A;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 8px 8px 0 var(--tx);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  transition: transform 0.2s;
}
.service-card-02:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 var(--tx);
}

.service-card-03 {
  background: #FFC233;
  color: #0F172A;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 8px 8px 0 var(--tx);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  transition: transform 0.2s;
}
.service-card-03:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 var(--tx);
}

/* SaaS Window Card with Browser Dots */
.window-card {
  background: var(--card);
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--bd);
  transition: all 0.2s ease;
}
.window-card:hover {
  transform: translateY(-4px);
  border-color: var(--lm);
  box-shadow: 0 16px 32px -8px rgba(0,0,0,0.5);
}

.window-header {
  padding: 12px 20px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0F172A;
}
.window-dot.muted {
  opacity: 0.5;
}

.window-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Ready to Start CTA Banner */
.cta-banner-pink {
  background: #FF4D8D;
  color: #0F172A;
  border-radius: 36px;
  padding: 56px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 10px 10px 0 #C6F432;
}

/* Footer */
.footer-simple {
  border-top: 1px solid var(--bd);
  padding: 36px 20px;
  text-align: center;
  color: var(--mu);
  font-size: 0.95rem;
}

/* Form inputs in dark style */
.input-field, .form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--bd);
  background: var(--bg);
  color: var(--tx);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}
.input-field:focus, .form-control:focus {
  border-color: var(--lm);
  background: var(--card);
  box-shadow: 0 0 0 3px rgba(198, 244, 50, 0.2);
}
.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--tx);
}

/* Subpage Hero */
.subpage-hero {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, rgba(26, 29, 36, 0.5) 0%, rgba(18, 20, 24, 0) 100%);
  border-bottom: 1px solid var(--bd);
  text-align: center;
}
[data-theme="light"] .subpage-hero {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}
.subpage-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin: 14px 0 10px;
  color: var(--tx);
}
.subpage-hero p {
  color: var(--mu);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Cards & Bento Grid */
.card {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all 0.2s ease;
  position: relative;
}
.card:hover {
  border-color: var(--lm);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1;
}
.badge-lime { background: var(--lm); color: #0F172A; }
.badge-pink { background: var(--pk); color: #0F172A; }
.badge-gold { background: var(--gd); color: #0F172A; }
.badge-outline {
  border: 1px solid var(--bd);
  background: var(--alt);
  color: var(--mu);
}

/* Alerts */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
}
.alert-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #10b981;
}
.alert-danger {
  background: rgba(255, 77, 141, 0.15);
  border: 1px solid var(--pk);
  color: var(--pk);
}
.alert-warning {
  background: rgba(255, 194, 51, 0.15);
  border: 1px solid var(--gd);
  color: var(--gd);
}
.alert-info {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid #38bdf8;
  color: #38bdf8;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--bd);
  color: var(--tx);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.pagination a:hover {
  border-color: var(--lm);
  color: var(--lm);
}
.pagination a.active, .pagination span.active {
  background: var(--lm);
  color: #0F172A;
  border-color: var(--lm);
  font-weight: 900;
  box-shadow: 2px 2px 0 #FF4D8D;
}

/* Portfolio Card specific */
.portfolio-item-card {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.portfolio-item-card:hover {
  transform: translateY(-6px);
  border-color: var(--lm);
  box-shadow: 6px 6px 0 #FF4D8D;
}
.portfolio-item-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--alt);
  border-bottom: 1px solid var(--bd);
}
.portfolio-item-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

/* Checkout Components */
.checkout-card {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 24px;
}
.checkout-plan-opt {
  background: var(--bg);
  border: 2px solid var(--bd);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.checkout-plan-opt:hover {
  border-color: var(--lm);
}
.checkout-plan-opt.selected, .checkout-plan-opt:has(input:checked) {
  border-color: var(--lm);
  background: rgba(198, 244, 50, 0.08);
  box-shadow: 4px 4px 0 #FF4D8D;
}

/* Responsive tweaks & Mobile Hero Layout */
.hero-mobile-logo-wrap {
  display: none !important;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-container {
    padding-block: 0.5rem;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .header-actions {
    gap: 6px !important;
  }
  .currency-toggle-wrap {
    padding: 2px !important;
  }
  .currency-toggle-wrap button {
    padding: 2px 7px !important;
    font-size: 11px !important;
  }
  .header-actions .client-auth-btn {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
  .header-actions .client-auth-btn span {
    display: none;
  }
  .header-actions .nav-cta-btn {
    padding: 7px 14px !important;
    font-size: 12px !important;
    white-space: nowrap;
  }
  .subpage-hero {
    padding: 36px 0 24px;
  }
  .card, .checkout-card {
    padding: 20px;
  }
  .wrap {
    padding-inline: 1.1rem !important;
  }

  /* Hero Section: Mobile Logo Beside Text, Hide Huge Composition Underneath */
  .hero-desktop-visual {
    display: none !important;
  }
  .hero-header-mobile-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }
  .hero-text-block {
    flex: 1 !important;
    min-width: 0 !important;
  }
  .hero-mobile-logo-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }
  .hero-mobile-logo-card {
    position: relative;
    width: 74px;
    height: 74px;
    background: #06201F;
    border: 2px solid var(--bd);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(4deg);
    box-shadow: 4px 4px 0 #FF4D8D, 0 8px 22px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s ease;
  }
  .hero-mobile-logo-sun {
    position: absolute;
    top: -6px;
    inset-inline-end: -6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FFC233;
    opacity: 0.95;
    z-index: -1;
  }
  .hero-headline {
    font-size: clamp(23px, 6.2vw, 36px) !important;
    line-height: 1.25 !important;
    margin: 8px 0 0 !important;
  }
  .hero-desc {
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    margin-top: 10px !important;
  }
  .hero-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 12px !important;
  }
  .hero-actions .btn {
    flex: 1 !important;
    padding: 12px 14px !important;
    font-size: 13.5px !important;
    text-align: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }
}

/* Light Mode Card & Shadow Enhancements */
[data-theme="light"] .card,
[data-theme="light"] .window-card,
[data-theme="light"] .checkout-card,
[data-theme="light"] .portfolio-item-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .window-header {
  background: #F1F5F9 !important;
  border-bottom: 1px solid #E2E8F0 !important;
}
[data-theme="light"] .plan-option,
[data-theme="light"] .checkout-plan-opt {
  background: #F8FAFC;
  border-color: #E2E8F0;
}
[data-theme="light"] .ticker-strip {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .service-card-01,
[data-theme="light"] .service-card-02,
[data-theme="light"] .service-card-03 {
  box-shadow: 6px 6px 0 #0F172A;
}
[data-theme="light"] .cta-banner-pink {
  box-shadow: 8px 8px 0 #0F172A;
  color: #0F172A;
}

/* Partner & Client Brand Showcase (Compact 6x3 Grid with 3D Dynamic Swap) */
.partners-grid-6x3 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  perspective: 1000px;
}
@media (max-width: 1100px) {
  .partners-grid-6x3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .partners-grid-6x3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.partner-logo-cell {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 14px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.25s ease,
              background 0.25s ease;
}

.partner-logo-cell:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--lm);
  box-shadow: 0 8px 24px rgba(198, 244, 50, 0.22);
  z-index: 2;
}

.partner-logo-img {
  max-height: 38px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease, opacity 0.25s ease;
  user-select: none;
  pointer-events: none;
}

.partner-logo-cell:hover .partner-logo-img {
  transform: scale(1.08);
}

/* 3D Flip Swap Animation */
.partner-logo-cell.is-flipping {
  animation: partner3DFlip 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
}
@keyframes partner3DFlip {
  0% {
    transform: perspective(600px) rotateY(0deg) scale(1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  45% {
    transform: perspective(600px) rotateY(90deg) scale(0.92);
    border-color: var(--lm);
    box-shadow: 0 0 25px rgba(198, 244, 50, 0.55);
  }
  55% {
    transform: perspective(600px) rotateY(-90deg) scale(0.92);
    border-color: var(--pk);
    box-shadow: 0 0 25px rgba(255, 77, 141, 0.55);
  }
  100% {
    transform: perspective(600px) rotateY(0deg) scale(1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
}

/* Position Shifting Glow Animation */
.partner-logo-cell.is-shifting {
  animation: partnerShiftGlow 0.7s ease;
  z-index: 3;
}
@keyframes partnerShiftGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 1;
  }
  50% {
    transform: scale(0.92);
    border-color: var(--gd);
    box-shadow: 0 0 25px rgba(255, 194, 51, 0.55);
    opacity: 0.3;
  }
  100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 1;
  }
}

/* Light Mode Overrides for Partner Cells */
[data-theme="light"] .partner-logo-cell {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .partner-logo-cell:hover {
  border-color: #06201F;
  box-shadow: 0 8px 20px rgba(6, 32, 31, 0.12);
}
[data-theme="light"] .partner-logo-img {
  filter: invert(1) hue-rotate(180deg) brightness(0.2);
}

/* Classic fallback */
.partner-card {
  background: var(--card);
  border: 1.5px solid var(--bd);
  border-radius: 18px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.partner-card:hover {
  transform: translateY(-4px);
  border-color: var(--lm);
  box-shadow: 0 12px 24px rgba(198, 244, 50, 0.12);
}
.partner-logo-box {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--alt);
  border: 1px solid var(--bd);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.partner-card:hover .partner-logo-box {
  background: var(--bg);
  border-color: var(--lm);
  transform: scale(1.06);
}


