/* ==========================================================================
   Delimiters.co - Modern Pro Design System & Animation Engine
   Inspired by Raycast, Linear, Supabase, and Vercel
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  /* Brand Palette */
  --primary: #09BDFF;
  --primary-hover: #00A3FF;
  --primary-deep: #0284C7;
  --primary-glow: rgba(9, 189, 255, 0.35);
  --accent-gradient: linear-gradient(135deg, #09BDFF 0%, #0070F3 50%, #7928CA 100%);
  --accent-cyan-blue: linear-gradient(135deg, #00D2FF 0%, #09BDFF 50%, #0066FF 100%);
  --accent-subtle-glow: radial-gradient(circle at 50% 0%, rgba(9, 189, 255, 0.12) 0%, rgba(99, 102, 241, 0.04) 50%, transparent 80%);

  /* Neutrals */
  --bg-page: #F0F8FF;
  --surface-card: #FFFFFF;
  --surface-subtle: #F1F5F9;
  --border-subtle: #E2E8F0;
  --border-strong: #CBD5E1;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-subtle: #94A3B8;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --shadow-glow: 0 0 25px -5px var(--primary-glow);

  /* Unified Border Radii */
  --radius-card: 14px;
  --radius-search: 14px;
  --radius-panel: 14px;
}

/* Global Font Override */
body {
  font-family: var(--font-sans) !important;
  color: var(--text-main);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(9, 189, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(9, 189, 255, 0);
  }
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.6;
  }
}

@keyframes ambientMesh {
  0% {
    transform: translate(0px, 0px) scale(1);
  }
  33% {
    transform: translate(30px, -20px) scale(1.05);
  }
  66% {
    transform: translate(-25px, 20px) scale(0.95);
  }
  100% {
    transform: translate(0px, 0px) scale(1);
  }
}

@keyframes toastSlideIn {
  from {
    transform: translate(-50%, 100%) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
  }
}

@keyframes toastSlideOut {
  from {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
  }
  to {
    transform: translate(-50%, 100%) scale(0.9);
    opacity: 0;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* ==========================================================================
   Header & Glassmorphism Navbar
   ========================================================================== */

.modern-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: linear-gradient(180deg, #1E293B 0%, #131D31 50%, #0F172A 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.35) !important;
  transition: all 0.2s ease;
}

.modern-header-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.modern-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.modern-brand-logo:hover {
  opacity: 0.92;
  transform: scale(1.02);
}

.modern-brand-logo img {
  height: 40px !important;
  width: auto !important;
  max-height: 44px !important;
  display: block;
}

.modern-nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Navigation Links & Log In Button - Unified Modern Raycast/Linear Pill Design */
.modern-nav-item,
.btn-modern-login {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px !important;
  font-size: 0.85rem;
  font-weight: 500;
  color: #94A3B8 !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.modern-nav-item:hover,
.btn-modern-login:hover {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(255, 255, 255, 0.20) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-1px);
}

.modern-nav-item.active,
.btn-modern-login.active {
  color: #FFFFFF !important;
  background: linear-gradient(135deg, rgba(9, 189, 255, 0.14) 0%, rgba(0, 112, 243, 0.18) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}

.modern-nav-item.active:hover,
.btn-modern-login.active:hover {
  color: #FFFFFF !important;
  background: linear-gradient(135deg, rgba(9, 189, 255, 0.20) 0%, rgba(0, 112, 243, 0.25) 100%) !important;
  border-color: rgba(56, 189, 248, 0.50) !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

.modern-nav-item svg {
  width: 16px;
  height: 16px;
  color: #94A3B8 !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

.modern-nav-item:hover svg {
  color: #38BDF8 !important;
  transform: translateY(-0.5px) scale(1.08);
}

.modern-nav-item.active svg {
  color: #38BDF8 !important;
  filter: none !important;
}

/* Modern Dropdown */
.modern-dropdown-wrapper {
  position: relative;
}

.modern-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 260px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  padding: 0.5rem;
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  z-index: 60;
}

.modern-dropdown-wrapper:hover .modern-dropdown-menu,
.modern-dropdown-wrapper:focus-within .modern-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.modern-dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.15s ease;
}

.modern-dropdown-link:hover {
  background: #F8FAFC;
  color: var(--text-main);
  transform: translateX(2px);
}

.modern-dropdown-link.featured {
  background: linear-gradient(135deg, rgba(9, 189, 255, 0.08) 0%, rgba(0, 112, 243, 0.08) 100%);
  color: #0284C7;
  font-weight: 700;
  margin-bottom: 0.35rem;
  border: 1px solid rgba(9, 189, 255, 0.15);
}

.modern-dropdown-link.featured:hover {
  background: linear-gradient(135deg, rgba(9, 189, 255, 0.15) 0%, rgba(0, 112, 243, 0.15) 100%);
  color: #0369A1;
}

/* User Controls in Nav */
.modern-auth-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
}


.btn-modern-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-cyan-blue);
  color: #ffffff !important;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
}

.btn-modern-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.20);
  filter: brightness(1.05);
}

/* Clean Minimal Sign Up Button in Navbar */
.btn-signup-beam {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #FFFFFF !important;
  text-decoration: none;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #09BDFF 0%, #0070F3 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-signup-beam svg {
  width: 14px;
  height: 14px;
  color: #FFFFFF !important;
  transition: transform 0.18s ease;
}

.btn-signup-beam:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  filter: brightness(1.05);
}

.btn-signup-beam:hover svg {
  transform: translateX(2px);
}

/* Responsive Mobile Navigation */
@media (max-width: 860px) {
  .modern-header-container {
    flex-wrap: wrap;
    padding: 0.65rem 1rem;
    gap: 0.5rem;
  }

  .modern-brand-logo {
    order: 1;
  }

  .modern-brand-logo img {
    height: 34px !important;
    max-height: 36px !important;
  }

  .modern-auth-group {
    order: 2;
    padding-left: 0.5rem;
    border-left: none !important;
    gap: 0.4rem;
  }

  .modern-nav-links {
    order: 3;
    width: 100%;
    margin-top: 0.25rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    white-space: nowrap;
    gap: 0.35rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .modern-nav-links::-webkit-scrollbar {
    display: none;
  }

  .modern-nav-item {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    flex-shrink: 0;
  }

  .btn-modern-login {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
  }

  .btn-signup-beam {
    padding: 0.4rem 0.95rem;
    font-size: 0.8rem;
  }
}

.badge-pro-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  color: #78350F;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
  letter-spacing: 0.02em;
}

.badge-admin-nav {
  display: inline-flex;
  align-items: center;
  background: #DC2626;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.15s ease;
}

.badge-admin-nav:hover {
  background: #B91C1C;
}

.btn-dashboard-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  background: rgba(255, 255, 255, 0.08);
  color: #F8FAFC !important;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.38rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.btn-dashboard-nav:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.btn-dashboard-nav svg {
  color: #38BDF8;
  transition: transform 0.2s ease;
}

.btn-dashboard-nav:hover svg {
  transform: scale(1.1);
}

@media (max-width: 640px) {
  .btn-dashboard-nav {
    padding: 0.32rem 0.65rem;
    font-size: 0.75rem;
    gap: 0.25rem;
  }
}

/* ==========================================================================
   Hero Section & Ambient Glowing Mesh
   ========================================================================== */

.hero-ambient-wrapper {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 1rem 0.5rem 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-ambient-wrapper {
    padding: 1.5rem 1.5rem 0.65rem 1.5rem;
  }
}

.ambient-orb,
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  animation: ambientMesh 16s ease-in-out infinite alternate;
}

.ambient-orb-1 {
  display: none !important;
}

.ambient-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(99, 102, 241, 0) 70%);
  top: -80px;
  right: 20%;
  animation-duration: 20s;
  animation-direction: alternate-reverse;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0 auto;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 0.22rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.45rem;
}

.hero-status-simple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 0.5rem;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.hero-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulseDot 2s ease-in-out infinite;
}

.hero-title {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 1.95rem;
  }
}

.hero-title-gradient {
  background: var(--accent-cyan-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 0.5rem auto;
}

/* ==========================================================================
   IDE Studio Workspace (Flagship Tool Studio)
   ========================================================================== */

.studio-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto 2rem auto !important;
  padding: 0 1rem !important;
  box-sizing: border-box !important;
}

@media (min-width: 640px) {
  .studio-wrapper {
    padding: 0 1.5rem !important;
  }
}

@media (min-width: 1024px) {
  .studio-wrapper {
    padding: 0 2.5rem !important;
  }
}

/* Quick Presets Bar */
.modern-presets-bar {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 0.45rem 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  margin-bottom: 1.15rem;
}

.presets-label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748B;
  margin-right: 0.25rem;
}

.modern-preset-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  color: #475569 !important;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.32rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.modern-preset-btn:hover,
.modern-preset-btn.active {
  background: linear-gradient(135deg, #09BDFF 0%, #0070F3 100%) !important;
  border-color: transparent !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15) !important;
  transform: translateY(-1px);
}

.modern-preset-btn:active {
  transform: scale(0.96) translateY(0);
}

.modern-preset-btn.active:hover {
  background: linear-gradient(135deg, #0284C7 0%, #0060DF 100%) !important;
  border-color: transparent !important;
  color: #FFFFFF !important;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.2) !important;
  transform: translateY(-1px);
}

/* IDE Studio Window */
.ide-window {
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.05), 0 2px 8px -2px rgba(15, 23, 42, 0.02);
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ide-window:focus-within {
  border-color: #09BDFF;
  box-shadow: 0 0 0 3px rgba(9, 189, 255, 0.16), 0 14px 34px -4px rgba(15, 23, 42, 0.08);
}

/* IDE Window Topbar */
.ide-toolbar {
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.65rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.ide-window-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ide-dot-red { background: #FF5F56; }
.ide-dot-amber { background: #FFBD2E; }
.ide-dot-green { background: #27C93F; }

.ide-file-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #ffffff;
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  margin-left: 0.5rem;
}

.ide-stats-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.775rem;
  color: var(--text-muted);
}

.ide-stat-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ide-stat-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-main);
  background: #E2E8F0;
  padding: 0.15rem 0.45rem;
  border-radius: 5px;
  font-size: 0.725rem;
}

.ide-btn-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ide-btn-wrap:hover {
  background: #F1F5F9;
  color: var(--text-main);
}

.ide-btn-wrap.active {
  background: #09BDFF;
  border-color: #09BDFF;
  color: #ffffff;
}

/* IDE Editor Body */
.ide-editor-body {
  display: flex;
  height: 380px;
  min-height: 260px;
  background: #ffffff;
  position: relative;
}

@media (min-width: 768px) {
  .ide-editor-body {
    height: 440px;
  }
}

.ide-gutter {
  width: 48px;
  min-width: 48px;
  background: #F8FAFC;
  border-right: 1px solid var(--border-subtle);
  padding: 16px 8px 16px 4px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 22px;
  color: #94A3B8;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
  white-space: pre;
  box-sizing: border-box;
  cursor: default;
}

.ide-textarea {
  flex: 1;
  width: 100%;
  height: 100%;
  padding: 16px 16px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 22px;
  color: #1E293B;
  resize: none;
  outline: none;
  border: none;
  background: transparent;
  box-sizing: border-box;
  overflow: auto;
  white-space: pre;
  word-break: normal;
  tab-size: 2;
}

.ide-textarea::placeholder {
  color: #94A3B8;
  font-family: var(--font-sans);
  font-size: 14px;
}

/* Primary Action Bar */
.modern-actions-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.btn-action-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent-cyan-blue);
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-action-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
  filter: brightness(1.05);
}

.btn-action-primary:active {
  transform: translateY(0);
}

.btn-action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-action-secondary:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-action-secondary:active {
  transform: translateY(0);
}

.btn-action-secondary.btn-action-active {
  background: #F8FAFC;
  border-color: #09BDFF;
  color: #0F172A;
  box-shadow: 0 0 0 1px #09BDFF, var(--shadow-sm);
}

.btn-action-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #FFF1F2;
  color: #E11D48;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  border: 1px solid #FFE4E6;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-action-danger:hover {
  background: #FFE4E6;
  border-color: #FDA4AF;
}

/* ==========================================================================
   Option Groups Cards
   ========================================================================== */

.modern-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .modern-options-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.modern-option-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.modern-option-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}

.modern-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modern-card-header svg {
  width: 18px;
  height: 18px;
  color: #09BDFF;
}

.modern-input-text {
  width: 100%;
  padding: 0.55rem 0.85rem;
  font-size: 0.875rem;
  font-family: var(--font-mono);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: #F8FAFC;
  color: var(--text-main);
  outline: none;
  transition: all 0.15s ease;
}

.modern-input-text:focus {
  border-color: #09BDFF;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(9, 189, 255, 0.15);
}

/* Custom Checkbox & Radio Labels */
.modern-control-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease;
}

.modern-control-label:hover {
  color: var(--text-main);
}

.modern-control-label input[type="radio"],
.modern-control-label input[type="checkbox"] {
  accent-color: #09BDFF;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* ==========================================================================
   Tools Hub & Cards
   ========================================================================== */

.modern-hub-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem auto;
}

.modern-hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0284C7;
  background: rgba(9, 189, 255, 0.1);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.modern-hub-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.modern-hub-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.modern-tool-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.35rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.modern-tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-cyan-blue);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.modern-tool-card:hover {
  transform: translateY(-2px);
  border-color: #93C5FD;
  box-shadow: 0 6px 16px -3px rgba(9, 189, 255, 0.12), var(--shadow-sm);
}

.modern-tool-card:hover::before {
  opacity: 1;
}

/* ==========================================================================
   Tool Cards & Studio Grid (Unified Design System)
   ========================================================================== */

.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

@media (min-width: 1024px) {
  .tools-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tool-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  border: none !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 1px 4px -1px rgba(15, 23, 42, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -3px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.03) !important;
}

.tool-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
  transition: all 0.2s ease;
}

.tool-card:hover .tool-card-icon {
  transform: scale(1.08);
  background: #F1F5F9;
  border-color: #CBD5E1;
}

.tool-card-title {
  font-weight: 700;
  font-size: 15px;
  color: #111827;
  margin-bottom: 4px;
  transition: color 0.15s ease;
}

.tool-card:hover .tool-card-title {
  color: #0F172A;
}

.tool-card-desc {
  font-size: 12px;
  color: #64748B;
  line-height: 1.5;
  margin: 0;
}

.tool-card-action {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.tool-card:hover .tool-card-action {
  color: #0F172A;
  transform: translateX(4px);
}

.card-badge-mini {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 2px 6px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #475569;
}

.card-badge-free {
  background: #ECFDF5 !important;
  color: #059669 !important;
  border: 1px solid #A7F3D0 !important;
  font-weight: 800 !important;
}

.card-badge-pro {
  background: linear-gradient(135deg, #FAF5FF 0%, #F3E8FF 100%) !important;
  color: #7E22CE !important;
  border: 1px solid #E9D5FF !important;
  font-weight: 800 !important;
  box-shadow: 0 1px 4px rgba(168, 85, 247, 0.15);
}

/* ==========================================================================
   Toast Notification Engine
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  pointer-events: none;
}

.modern-toast {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #0F172A;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 20px 30px -5px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: toastSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: auto;
}

.modern-toast.hiding {
  animation: toastSlideOut 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-icon {
  width: 18px;
  height: 18px;
  color: #34D399;
  flex-shrink: 0;
}

/* ==========================================================================
   Back to Top Floating Button
   ========================================================================== */

.btn-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 40;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: #0F172A;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s, background 0.2s, box-shadow 0.2s;
  pointer-events: none;
}

.btn-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.btn-back-to-top:hover {
  background: linear-gradient(135deg, #09BDFF 0%, #0070F3 100%);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
  border-color: transparent;
}

.btn-back-to-top:active {
  transform: translateY(-1px);
}

.btn-back-to-top svg {
  width: 18px;
  height: 18px;
  transition: transform 0.15s ease;
}

.btn-back-to-top:hover svg {
  transform: translateY(-2px);
}

/* ==========================================================================
   Modern Footer
   ========================================================================== */

.modern-footer {
  background: linear-gradient(180deg, #1E293B 0%, #131D31 50%, #0F172A 100%);
  color: #94A3B8;
  padding: 3.5rem 1.5rem 2rem 1.5rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand-logo {
  display: inline-block;
  margin-bottom: 1.15rem;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.footer-brand-logo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.footer-brand-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.footer-brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.footer-brand-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #94A3B8;
  max-width: 320px;
  margin-bottom: 1.25rem;
}

.footer-col-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #F1F5F9;
  margin-bottom: 1rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-link {
  color: #94A3B8;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.footer-link:hover {
  color: #38BDF8;
  transform: translateX(2px);
}

.footer-bottom-bar {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  sm-flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: #64748B;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.1);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.725rem;
  font-weight: 600;
}

/* ==========================================================================
   Modern Action Buttons Overrides
   ========================================================================== */
#delimitBtn,
#copyBtn,
#downloadBtn,
#restoreBtn,
#clearBtn {
  height: 46px !important;
  min-width: 105px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem !important;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-shadow: none !important;
}

#delimitBtn {
  background: linear-gradient(135deg, #09BDFF 0%, #0070F3 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15) !important;
  min-width: 125px !important;
}

#delimitBtn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.20) !important;
  filter: brightness(1.06) !important;
}

#copyBtn,
#downloadBtn,
#restoreBtn {
  background: #ffffff !important;
  color: #1E293B !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
}

#copyBtn:hover,
#downloadBtn:hover,
#restoreBtn:hover {
  background: #F8FAFC !important;
  border-color: #CBD5E1 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08) !important;
}

#clearBtn {
  background: #FFF1F2 !important;
  color: #E11D48 !important;
  border: 1px solid #FFE4E6 !important;
  box-shadow: 0 1px 2px rgba(225, 29, 72, 0.05) !important;
}

#clearBtn:hover {
  background: #FFE4E6 !important;
  border-color: #FDA4AF !important;
  transform: translateY(-1px) !important;
}

/* ==========================================================================
   Delimiter Studio Settings (2 Unified Panels: Formatting vs Custom Inputs)
   ========================================================================== */
.studio-settings-section {
  width: 100% !important;
  max-width: 100% !important;
  margin: 1.25rem 0 2rem 0 !important;
  box-sizing: border-box !important;
}

.studio-settings-section.drawer-open {
  animation: settingsDrawerFade 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.studio-settings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.studio-panel {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.85rem 2rem;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.04), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.studio-panel:hover {
  border-color: #CBD5E1;
  box-shadow: 0 6px 16px -3px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
}

.studio-panel-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid #F1F5F9;
  letter-spacing: -0.01em;
}

.studio-panel-title svg,
.studio-panel-icon {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  color: #09BDFF !important;
  fill: currentColor !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.setting-item {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.setting-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.setting-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1E293B;
  letter-spacing: -0.01em;
}

.setting-badge {
  font-size: 0.7rem;
  font-weight: 500;
  font-family: var(--font-mono);
  color: #64748B;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

/* Modern Segmented Control for Buttons */
.segmented-control-track {
  display: grid;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
  width: 100%;
}

.segmented-control-track.cols-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 100%;
}

.segmented-control-track.cols-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 320px;
}

.segmented-control-track.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 220px;
}

/* Segmented Toggle Buttons */
.format-btn,
.duplicates-btn,
.newlines-btn,
.quotes-btn {
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.8125rem !important;
  height: 38px !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 0 0.75rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  transition: all 0.15s ease !important;
  cursor: pointer !important;
  border: none !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

.format-btn.bg-\[\#18586A\],
.duplicates-btn.bg-\[\#18586A\],
.newlines-btn.bg-\[\#18586A\],
.quotes-btn.bg-\[\#18586A\] {
  background: transparent !important;
  color: #64748B !important;
}

.format-btn.bg-\[\#18586A\]:hover,
.duplicates-btn.bg-\[\#18586A\]:hover,
.newlines-btn.bg-\[\#18586A\]:hover,
.quotes-btn.bg-\[\#18586A\]:hover {
  background: rgba(255, 255, 255, 0.8) !important;
  color: #0F172A !important;
}

.format-btn.bg-blue1,
.duplicates-btn.bg-blue1,
.newlines-btn.bg-blue1,
.quotes-btn.bg-blue1 {
  background: linear-gradient(135deg, #09BDFF 0%, #0070F3 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(0, 112, 243, 0.28) !important;
  transform: none !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
}

/* Styled Input Fields */
.studio-option-input {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #CBD5E1;
  background: #F8FAFC;
  padding: 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-main);
  transition: all 0.15s ease;
  outline: none;
  box-sizing: border-box !important;
}

.studio-option-input:focus {
  border-color: #09BDFF;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(9, 189, 255, 0.15);
}

.studio-option-input::placeholder {
  color: #94A3B8;
  font-family: var(--font-mono);
  font-size: 0.825rem;
}

.interval-input-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.interval-number-input {
  width: 90px !important;
  flex-shrink: 0 !important;
  text-align: center;
  font-weight: 700;
}

.studio-option-desc {
  font-size: 0.8rem;
  color: #64748B;
  line-height: 1.4;
}

/* Studio Content Card (SEO & FAQ) */
.studio-content-card {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 3rem 0 !important;
  padding: 2.25rem 1.75rem !important;
  background: #ffffff !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 14px !important;
  box-shadow: var(--shadow-sm) !important;
  box-sizing: border-box !important;
}

@media (min-width: 640px) {
  .studio-content-card {
    padding: 2.5rem 2.5rem !important;
    width: 100% !important;
  }
}

.studio-ad-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 1.5rem 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90px;
  overflow: hidden;
  box-sizing: border-box !important;
}

/* Enforce Small, Sharp Dimensions for All Studio & Action Bar SVGs */
.modern-presets-bar svg,
.btn-action-primary svg,
.btn-action-secondary svg,
.btn-action-danger svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

/* Modern Ambient Mesh Background */
.modern-ambient-bg {
  background-color: #F0F8FF !important;
  background-image: 
    radial-gradient(at 0% 0%, rgba(9, 189, 255, 0.09) 0px, transparent 45%),
    radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.08) 0px, transparent 45%),
    radial-gradient(at 50% 100%, rgba(9, 189, 255, 0.05) 0px, transparent 45%) !important;
  background-attachment: fixed !important;
}

/* 1. Animated Conic Border Beam Card */
.border-beam {
  position: relative;
  border-radius: 22px;
  background: transparent !important;
  isolation: isolate;
  overflow: hidden;
  padding: 2.5px;
  box-shadow: 0 14px 40px -4px rgba(9, 189, 255, 0.22), 0 4px 16px -2px rgba(15, 23, 42, 0.06);
}

.border-beam::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    #09BDFF 30deg,
    #0066FF 65deg,
    #8B5CF6 105deg,
    #EC4899 140deg,
    #09BDFF 175deg,
    transparent 220deg
  );
  animation: spinBeam 4.5s linear infinite;
  z-index: 1;
}

.border-beam::after {
  content: '';
  position: absolute;
  inset: 2.5px;
  border-radius: 19.5px;
  background: #ffffff;
  z-index: 2;
}

.border-beam > * {
  position: relative;
  z-index: 3;
}

@keyframes spinBeam {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 2. Interactive Glowing Hover Card */
.brand-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.brand-card:hover {
  transform: translateY(-2px);
  border-color: rgba(9, 189, 255, 0.55);
  box-shadow: 0 6px 16px -3px rgba(9, 189, 255, 0.12), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
}

/* 3. Live Radar Pulsing Badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.28);
  backdrop-filter: blur(8px);
}

.radar-dot {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
  align-items: center;
  justify-content: center;
}

.radar-ping {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #10B981;
  opacity: 0.75;
  animation: pingRadar 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.radar-core {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #059669;
}

@keyframes pingRadar {
  70%, 100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

/* 4. Ambient Mesh & Gradient Typography */
.title-gradient {
  background: linear-gradient(135deg, #0F172A 0%, #0284C7 45%, #6366F1 80%, #EC4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cyan-gradient {
  background: linear-gradient(135deg, #09BDFF 0%, #0070F3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 5. Tactile Micro-Interactions */
.btn-brand-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 12px;
  color: #ffffff !important;
  background: linear-gradient(135deg, #09BDFF 0%, #0070F3 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-brand-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.20);
  filter: brightness(1.05);
}

.btn-brand-primary:active {
  transform: scale(0.96);
}

.btn-brand-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 12px;
  color: #334155 !important;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-brand-secondary:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  color: #0F172A !important;
  transform: translateY(-2px);
}

.btn-brand-secondary:active {
  transform: scale(0.96);
}

/* 6. Quick Delimiter Pill Selectors */
.delimiter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #475569;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.delimiter-pill:hover {
  border-color: #09BDFF;
  color: #0284C7;
  background: #F0F9FF;
  transform: translateY(-1px);
}

.delimiter-pill.active {
  border-color: #0284C7;
  background: linear-gradient(135deg, rgba(9, 189, 255, 0.15), rgba(0, 112, 243, 0.15));
  color: #0284C7;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

/* 7. Bento Grid Structure */
.brand-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.brand-bento-8 {
  grid-column: span 8;
}

.brand-bento-4 {
  grid-column: span 4;
}

.brand-bento-6 {
  grid-column: span 6;
}

.brand-bento-12 {
  grid-column: span 12;
}

@media (max-width: 900px) {
  .brand-bento-8,
  .brand-bento-4,
  .brand-bento-6 {
    grid-column: span 12;
  }
}

/* ==========================================================================
   Modern Platform Experience: Crypto Slider, Text Fade Mask, Buttons
   ========================================================================== */

/* 8. Vibrant Electric Blue Buttons */
.btn-brand-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #09BDFF 0%, #0070F3 100%) !important;
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.65rem 1.4rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  text-decoration: none !important;
}

.btn-brand-blue:hover {
  background: linear-gradient(135deg, #0284C7 0%, #0060DF 100%) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
  transform: translateY(-1px);
  color: #FFFFFF !important;
}

.btn-brand-blue:active {
  transform: scale(0.96) translateY(0);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.15);
}

.btn-brand-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  color: #0284C7 !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.65rem 1.3rem;
  border-radius: 12px;
  border: 1.5px solid rgba(9, 189, 255, 0.4);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
}

.btn-brand-outline:hover {
  border-color: #0070F3;
  background: #F0F9FF;
  color: #0070F3 !important;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.10);
}

/* 9. Infinite Formats & Transformations Marquee Slider */
.crypto-marquee-section,
.format-marquee-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin: 2.5rem 0 3.5rem 0;
  padding: 1.5rem 0;
}

.crypto-marquee-header,
.format-marquee-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.crypto-marquee-title,
.format-marquee-title {
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #475569;
}

.crypto-marquee-container,
.format-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1.25rem 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.crypto-marquee-track,
.format-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 1.25rem;
  padding: 0.5rem 0;
  animation: marqueeSlide 38s linear infinite;
}

.crypto-marquee-container:hover .crypto-marquee-track,
.format-marquee-container:hover .format-marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0.625rem));
  }
}

.crypto-pill,
.format-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: #FFFFFF;
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  padding: 0.65rem 1.2rem;
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  white-space: nowrap;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  will-change: transform, box-shadow;
}

.crypto-pill:hover,
.format-pill:hover {
  border-color: #CBD5E1;
  box-shadow: 0 6px 16px -2px rgba(15, 23, 42, 0.08);
  transform: translateY(-4px);
}

.crypto-icon-box,
.format-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.825rem;
  font-family: var(--font-mono);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.crypto-name,
.format-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.01em;
}

.crypto-symbol,
.format-detail {
  font-size: 0.775rem;
  font-weight: 600;
  color: #94A3B8;
  font-family: var(--font-mono);
}

.crypto-tag,
.format-tag {
  font-size: 0.7125rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: #F0F9FF;
  color: #0284C7;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

/* 10. Text Fade Mask Component */
.brand-text-fade-card {
  position: relative;
  background: #FFFFFF !important;
  border: 1px solid transparent !important;
  border-radius: 24px !important;
  padding: 2.5rem;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.05), 0 2px 8px -2px rgba(15, 23, 42, 0.02) !important;
  margin: 3rem 0;
}

.brand-text-fade-wrapper {
  position: relative;
  max-height: 240px;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-text-fade-wrapper.expanded {
  max-height: 2400px;
}

.brand-text-fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 60%, #FFFFFF 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.brand-text-fade-wrapper.expanded .brand-text-fade-overlay {
  opacity: 0;
}

.brand-fade-toggle-bar {
  display: flex;
  justify-content: center;
  position: relative;
  margin-top: 1rem;
  z-index: 10;
}

.brand-fade-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #475569;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.6rem 1.5rem;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-fade-toggle-btn:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  color: #0F172A;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.10);
  transform: translateY(-2px);
}

.brand-fade-toggle-btn svg {
  transition: transform 0.3s ease;
}

.brand-text-fade-wrapper.expanded + .brand-fade-toggle-bar .brand-fade-toggle-btn svg {
  transform: rotate(180deg);
}

/* 11. Testimonials / Social Proof Showcase */
.brand-testimonials-section {
  margin: 3.5rem 0;
}

.brand-section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.brand-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  background: rgba(9, 189, 255, 0.1);
  border: 1px solid rgba(9, 189, 255, 0.3);
  color: #0284C7;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.brand-section-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.brand-section-subtitle {
  font-size: 1rem;
  color: #64748B;
  max-width: 600px;
  margin: 0.5rem auto 0 auto;
}

/* 11. Infinite Panorama Tool Reviews (Fluid Panoramic Stream) */
.brand-panorama-section {
  position: relative;
  width: 100%;
  margin: 4.5rem 0 5rem 0;
  overflow: hidden;
}

.brand-panorama-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 1.75rem auto;
  padding: 0 1rem;
}

.brand-panorama-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.brand-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748B;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.brand-filter-btn:hover {
  border-color: #09BDFF;
  color: #0284C7;
  background: #F0F9FF;
  transform: translateY(-1px);
}

.brand-filter-btn.active {
  background: linear-gradient(135deg, #09BDFF 0%, #0070F3 100%);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}

.brand-panorama-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  cursor: grab;
  padding: 1.75rem 0;
  user-select: none;
  -webkit-user-select: none;
}

.brand-panorama-viewport:active {
  cursor: grabbing;
}

.brand-panorama-track {
  display: flex;
  align-items: stretch;
  gap: 1.15rem;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  padding: 0 1.5rem;
}

.brand-review-bubble {
  position: relative;
  width: 360px;
  background: #ffffff;
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  padding: 1.1rem 1.15rem 0.95rem 1.15rem;
  box-shadow: 0 4px 18px -3px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  user-select: none;
  overflow: visible;
}

@media (max-width: 640px) {
  .brand-review-bubble {
    width: 290px;
    padding: 0.95rem 0.95rem 0.85rem 0.95rem;
  }
}

/* Authentic Postal Airmail Edge Stripe */
.envelope-airmail-strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  background: repeating-linear-gradient(
    -45deg,
    #09BDFF 0,
    #09BDFF 8px,
    #ffffff 8px,
    #ffffff 13px,
    #0070F3 13px,
    #0070F3 21px,
    #ffffff 21px,
    #ffffff 26px
  );
  opacity: 0.8;
  transition: opacity 0.3s ease;
  z-index: 5;
}

/* 3D Envelope Triangular Flap & Wax Seal */
.envelope-flap-wrap {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 18px;
  z-index: 15;
  perspective: 500px;
  pointer-events: none;
}

.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #F8FAFC 0%, #E2E8F0 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 3px rgba(15, 23, 42, 0.08));
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.envelope-seal {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #09BDFF, #0070F3);
  box-shadow: 0 2px 6px rgba(0, 112, 243, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 16;
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, opacity 0.25s ease;
}

@media (max-width: 640px) {
  .envelope-flap-wrap {
    width: 72px;
    height: 16px;
  }
  .envelope-seal {
    width: 14px;
    height: 14px;
    top: 9px;
  }
}

/* Subtle Postal Stamp Watermark on Card */
.brand-review-bubble::after {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px dashed rgba(9, 189, 255, 0.22);
  pointer-events: none;
  background: radial-gradient(circle, rgba(9, 189, 255, 0.04) 0%, transparent 70%);
  transform: rotate(-12deg);
  transition: transform 0.4s ease, border-color 0.4s ease, opacity 0.4s ease;
  opacity: 0.6;
  z-index: 1;
}

/* Interactive Hover Animations */
.brand-review-bubble:hover {
  transform: translateY(-4px);
  border-color: rgba(9, 189, 255, 0.65);
  box-shadow: 0 8px 22px -4px rgba(9, 189, 255, 0.16), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
}

.brand-review-bubble:hover .envelope-airmail-strip {
  opacity: 1;
}

.brand-review-bubble:hover .envelope-flap {
  transform: rotateX(165deg);
  background: linear-gradient(180deg, #E2E8F0 0%, #CBD5E1 100%);
  filter: drop-shadow(0 -3px 6px rgba(9, 189, 255, 0.3));
}

.brand-review-bubble:hover .envelope-seal {
  transform: translateX(-50%) translateY(-14px) scale(0.9);
  box-shadow: 0 -2px 8px rgba(9, 189, 255, 0.55);
  opacity: 0.95;
}

.brand-review-bubble:hover::after {
  transform: rotate(0deg) scale(1.08);
  border-color: rgba(9, 189, 255, 0.5);
  opacity: 0.9;
}

.brand-review-bubble:hover .brand-review-text {
  transform: translateY(-2px);
  color: #0F172A;
}

.brand-review-text {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.brand-review-bubble:hover .brand-review-header {
  transform: translateY(-2px);
}

.brand-review-header {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.brand-review-tool-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  background: rgba(9, 189, 255, 0.1);
  border: 1px solid rgba(9, 189, 255, 0.3);
  color: #0284C7;
  font-size: 0.7rem;
  font-weight: 700;
}

.brand-online-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.12rem 0.42rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.625rem;
  font-weight: 700;
  color: #059669;
  letter-spacing: 0.02em;
}

.brand-status-dot-wrap {
  position: relative;
  display: inline-flex;
  width: 7px;
  height: 7px;
  align-items: center;
  justify-content: center;
}

.brand-status-dot-ping {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #10B981;
  opacity: 0.75;
  animation: pingRadar 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.brand-status-dot-core {
  position: relative;
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #059669;
}

.brand-review-text {
  font-size: 0.8125rem;
  line-height: 1.46;
  color: #1E293B;
  margin-bottom: 0.5rem;
  flex-grow: 1;
}

.brand-review-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(241, 245, 249, 0.95);
  margin-top: auto;
}

.brand-review-author-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.brand-review-avatar {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.72rem;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.brand-avatar-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  border: 1.5px solid #FFFFFF;
  box-shadow: 0 0 4px rgba(16, 185, 129, 0.5);
}

.brand-review-author-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-review-author-role {
  font-size: 0.65rem;
  color: #64748B;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-review-metric {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: #F8FAFC;
  color: #0369A1;
  border: 1px solid #E0F2FE;
  margin-bottom: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .brand-review-author-bar {
    gap: 0.35rem;
  }
  .brand-review-author-role {
    display: none;
  }
  .brand-review-metric {
    font-size: 0.58rem;
    padding: 0.12rem 0.35rem;
  }
}

.brand-panorama-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.brand-nav-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-nav-arrow-btn:hover {
  background: linear-gradient(135deg, #09BDFF 0%, #0070F3 100%);
  border-color: transparent;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(9, 189, 255, 0.4);
}

.brand-nav-arrow-btn:active {
  transform: scale(0.94);
}

/* 12. High-Tech Stats Counter Bar & Envelope Pods */
.brand-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin: 2.25rem 0;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

@media (max-width: 900px) {
  .brand-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 520px) {
  .brand-stats-bar {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

.brand-stat-box {
  position: relative;
  background: #ffffff;
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  padding: 1.35rem 1.1rem 1.15rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 18px -3px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
  user-select: none;
}

/* Stat Card Envelope Airmail Top Strip */
.stat-card-strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  background: repeating-linear-gradient(
    -45deg,
    #09BDFF 0,
    #09BDFF 8px,
    #ffffff 8px,
    #ffffff 13px,
    #0070F3 13px,
    #0070F3 21px,
    #ffffff 21px,
    #ffffff 26px
  );
  opacity: 0.8;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.stat-theme-emerald .stat-card-strip {
  background: repeating-linear-gradient(
    -45deg,
    #10B981 0,
    #10B981 8px,
    #ffffff 8px,
    #ffffff 13px,
    #059669 13px,
    #059669 21px,
    #ffffff 21px,
    #ffffff 26px
  );
}

.stat-theme-purple .stat-card-strip {
  background: repeating-linear-gradient(
    -45deg,
    #8B5CF6 0,
    #8B5CF6 8px,
    #ffffff 8px,
    #ffffff 13px,
    #6366F1 13px,
    #6366F1 21px,
    #ffffff 21px,
    #ffffff 26px
  );
}

.stat-theme-amber .stat-card-strip {
  background: repeating-linear-gradient(
    -45deg,
    #F59E0B 0,
    #F59E0B 8px,
    #ffffff 8px,
    #ffffff 13px,
    #D97706 13px,
    #D97706 21px,
    #ffffff 21px,
    #ffffff 26px
  );
}

/* Stat Card 3D Envelope Flap & Seal */
.stat-card-flap-wrap {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 14px;
  z-index: 15;
  perspective: 400px;
  pointer-events: none;
}

.stat-card-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #F8FAFC 0%, #E2E8F0 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 1.5px 2px rgba(15, 23, 42, 0.08));
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.stat-card-seal {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #09BDFF, #0070F3);
  box-shadow: 0 2px 5px rgba(0, 112, 243, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 16;
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, opacity 0.25s ease;
}

.stat-theme-emerald .stat-card-seal {
  background: linear-gradient(135deg, #10B981, #059669);
  box-shadow: 0 2px 5px rgba(16, 185, 129, 0.35);
}

.stat-theme-purple .stat-card-seal {
  background: linear-gradient(135deg, #8B5CF6, #6366F1);
  box-shadow: 0 2px 5px rgba(139, 92, 246, 0.35);
}

.stat-theme-amber .stat-card-seal {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  box-shadow: 0 2px 5px rgba(245, 158, 11, 0.35);
}

/* Stat Card Hover Animations */
.brand-stat-box:hover {
  transform: translateY(-5px);
  border-color: rgba(9, 189, 255, 0.65);
  box-shadow: 0 10px 24px -4px rgba(9, 189, 255, 0.16), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
}

.brand-stat-box.stat-theme-emerald:hover {
  border-color: rgba(16, 185, 129, 0.65);
  box-shadow: 0 10px 24px -4px rgba(16, 185, 129, 0.16), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
}

.brand-stat-box.stat-theme-purple:hover {
  border-color: rgba(139, 92, 246, 0.65);
  box-shadow: 0 10px 24px -4px rgba(139, 92, 246, 0.16), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
}

.brand-stat-box.stat-theme-amber:hover {
  border-color: rgba(245, 158, 11, 0.65);
  box-shadow: 0 10px 24px -4px rgba(245, 158, 11, 0.16), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
}

.brand-stat-box:hover .stat-card-strip {
  opacity: 1;
}

.brand-stat-box:hover .stat-card-flap {
  transform: rotateX(165deg);
  background: linear-gradient(180deg, #E2E8F0 0%, #CBD5E1 100%);
  filter: drop-shadow(0 -2px 5px rgba(9, 189, 255, 0.3));
}

.brand-stat-box.stat-theme-emerald:hover .stat-card-flap {
  filter: drop-shadow(0 -2px 5px rgba(16, 185, 129, 0.3));
}

.brand-stat-box.stat-theme-purple:hover .stat-card-flap {
  filter: drop-shadow(0 -2px 5px rgba(139, 92, 246, 0.3));
}

.brand-stat-box.stat-theme-amber:hover .stat-card-flap {
  filter: drop-shadow(0 -2px 5px rgba(245, 158, 11, 0.3));
}

.brand-stat-box:hover .stat-card-seal {
  transform: translateX(-50%) translateY(-11px) scale(0.9);
  box-shadow: 0 -2px 7px rgba(9, 189, 255, 0.55);
  opacity: 0.95;
}

.brand-stat-box.stat-theme-emerald:hover .stat-card-seal {
  box-shadow: 0 -2px 7px rgba(16, 185, 129, 0.55);
}

.brand-stat-box.stat-theme-purple:hover .stat-card-seal {
  box-shadow: 0 -2px 7px rgba(139, 92, 246, 0.55);
}

.brand-stat-box.stat-theme-amber:hover .stat-card-seal {
  box-shadow: 0 -2px 7px rgba(245, 158, 11, 0.55);
}

.brand-stat-box:hover .brand-stat-number {
  transform: translateY(-2px);
}

.brand-stat-box:hover .stat-card-badge {
  transform: translateY(-1px);
  background: rgba(9, 189, 255, 0.12);
  border-color: rgba(9, 189, 255, 0.35);
  color: #0284C7;
}

.brand-stat-box.stat-theme-emerald:hover .stat-card-badge {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #059669;
}

.brand-stat-box.stat-theme-purple:hover .stat-card-badge {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.35);
  color: #7C3AED;
}

.brand-stat-box.stat-theme-amber:hover .stat-card-badge {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #B45309;
}

.stat-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  background: rgba(241, 245, 249, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.85);
  color: #475569;
  margin-top: 0.45rem;
  transition: all 0.25s ease;
}

.live-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #059669 !important;
  background: #ECFDF5 !important;
  border: 1px solid #A7F3D0 !important;
  border-radius: 9999px !important;
  padding: 2px 8px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.brand-stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.02em;
  line-height: 1.2;
  transition: transform 0.3s ease, color 0.3s ease;
}

.brand-stat-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748B;
  margin-top: 0.2rem;
  transition: color 0.3s ease;
}

/* ==========================================================================
   13. Unified Pro Tool Styling System (Delimiters.co Tools)
   ========================================================================== */

/* Universal SVG containment for tools */
svg {
  flex-shrink: 0;
}

svg.w-3, svg[class*="w-3 "] { width: 12px !important; height: 12px !important; max-width: 12px !important; max-height: 12px !important; }
svg.w-3\.5, svg[class*="w-3.5"] { width: 14px !important; height: 14px !important; max-width: 14px !important; max-height: 14px !important; }
svg.w-4, svg[class*="w-4"] { width: 16px !important; height: 16px !important; max-width: 16px !important; max-height: 16px !important; }
svg.w-5, svg[class*="w-5"] { width: 20px !important; height: 20px !important; max-width: 20px !important; max-height: 20px !important; }
svg.w-6, svg[class*="w-6"] { width: 24px !important; height: 24px !important; max-width: 24px !important; max-height: 24px !important; }
svg.w-7, svg[class*="w-7"] { width: 28px !important; height: 28px !important; max-width: 28px !important; max-height: 28px !important; }
svg.w-8, svg[class*="w-8"] { width: 32px !important; height: 32px !important; max-width: 32px !important; max-height: 32px !important; }
svg.w-10, svg[class*="w-10"] { width: 40px !important; height: 40px !important; max-width: 40px !important; max-height: 40px !important; }
svg.w-12, svg[class*="w-12"] { width: 48px !important; height: 48px !important; max-width: 48px !important; max-height: 48px !important; }
svg.w-14, svg[class*="w-14"] { width: 56px !important; height: 56px !important; max-width: 56px !important; max-height: 56px !important; }
svg.w-16, svg[class*="w-16"] { width: 64px !important; height: 64px !important; max-width: 64px !important; max-height: 64px !important; }

/* Buttons SVGs constraint */
button svg,
.btn-brand-blue svg,
.btn-brand-outline svg {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

/* Fail-safe restraint for any SVG inside tools and cards */
.tool-studio-card svg:not([width]),
.tool-info-card svg:not([width]),
.modern-tool-card svg:not([width]) {
  max-width: 100%;
}

/* Tool Cards */
.tool-studio-card,
.modern-tool-card {
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 24px !important;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.05), 0 2px 8px -2px rgba(15, 23, 42, 0.02) !important;
  padding: 1.75rem 2rem !important;
  margin-top: 2rem !important;
  margin-bottom: 2.5rem !important;
}

@media (max-width: 640px) {
  .tool-studio-card,
  .modern-tool-card {
    padding: 1.25rem 1rem !important;
    border-radius: 20px !important;
    margin-top: 1.5rem !important;
    margin-bottom: 2rem !important;
  }
}

.tool-info-card {
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.85) !important;
  border-radius: 24px !important;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.05) !important;
  padding: 2.25rem 2.5rem !important;
  margin-top: 2rem !important;
  margin-bottom: 2.5rem !important;
}

@media (max-width: 640px) {
  .tool-info-card {
    padding: 1.5rem 1.25rem !important;
    border-radius: 20px !important;
    margin-top: 1.5rem !important;
    margin-bottom: 2rem !important;
  }
}

/* Modern Tool Dropzone */
.tool-dropzone,
.drop-area,
.upload-area {
  border: 2px dashed #CBD5E1 !important;
  border-radius: 20px !important;
  background-color: rgba(248, 250, 252, 0.7) !important;
  padding: 2.5rem 1.5rem !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}

.tool-dropzone:hover,
.tool-dropzone.dragover,
.drop-area:hover,
.drop-area.dragover,
.upload-area:hover,
.upload-area.dragover {
  border-color: #09BDFF !important;
  background-color: #F0F9FF !important;
}

.tool-dropzone-icon {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  margin: 0 auto 1rem auto !important;
  border-radius: 16px !important;
  background: #E0F2FE !important;
  color: #0284C7 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #BAE6FD !important;
  transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.tool-dropzone:hover .tool-dropzone-icon,
.group:hover .tool-dropzone-icon {
  transform: scale(1.08) !important;
  background-color: #BAE6FD !important;
}

.tool-dropzone-icon svg {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
}

/* Utility Polyfills for Blade Views */
.inline-flex { display: inline-flex !important; }
.items-center { align-items: center !important; }
.rounded-\[24px\], .rounded-3xl { border-radius: 24px !important; }
.rounded-\[20px\] { border-radius: 20px !important; }
.rounded-\[18px\] { border-radius: 18px !important; }
.rounded-2xl { border-radius: 16px !important; }
.rounded-xl { border-radius: 12px !important; }
.rounded-lg { border-radius: 8px !important; }
.rounded-md { border-radius: 6px !important; }
.rounded { border-radius: 4px !important; }
.rounded-sm { border-radius: 2px !important; }
.rounded-full { border-radius: 9999px !important; }

/* Gaps */
.gap-1\.5 { gap: 0.375rem !important; }
.gap-2\.5 { gap: 0.625rem !important; }
.gap-3\.5 { gap: 0.875rem !important; }
.gap-5 { gap: 1.25rem !important; }

/* Width & Height Dimensions */
.w-3\.5 { width: 0.875rem !important; }
.h-3\.5 { height: 0.875rem !important; }
.w-4 { width: 1rem !important; }
.h-4 { height: 1rem !important; }
.w-5 { width: 1.25rem !important; }
.h-5 { height: 1.25rem !important; }
.w-6 { width: 1.5rem !important; }
.h-6 { height: 1.5rem !important; }
.w-7 { width: 1.75rem !important; }
.h-7 { height: 1.75rem !important; }
.w-8 { width: 2rem !important; }
.h-8 { height: 2rem !important; }
.w-10 { width: 2.5rem !important; }
.h-10 { height: 2.5rem !important; }
.w-12 { width: 3rem !important; }
.h-12 { height: 3rem !important; }
.w-14 { width: 3.5rem !important; }
.h-14 { height: 3.5rem !important; }
.w-16 { width: 4rem !important; }
.h-16 { height: 4rem !important; }

/* Max Width Containers */
.max-w-xl { max-width: 36rem !important; }
.max-w-2xl { max-width: 42rem !important; }
.max-w-3xl { max-width: 48rem !important; }
.max-w-4xl { max-width: 56rem !important; }
.max-w-5xl { max-width: 64rem !important; }
.max-w-6xl { max-width: 72rem !important; }

/* Slate Colors & Distinct Card/Box Borders */
.border {
  border-width: 1px !important;
  border-style: solid !important;
}

.border-slate-100 { 
  border-width: 1px !important;
  border-style: solid !important;
  border-color: #E2E8F0 !important; 
}
.border-slate-200, 
.border-slate-200\/90, 
.border-slate-200\/80, 
.border-slate-200\/70, 
.border-slate-200\/60, 
.border-slate-200\/50,
.border-slate-200\/40 { 
  border-width: 1px !important;
  border-style: solid !important;
  border-color: #E2E8F0 !important; 
}
.border-slate-300 { 
  border-width: 1px !important;
  border-style: solid !important;
  border-color: #CBD5E1 !important; 
}

.bg-slate-50, 
.bg-slate-50\/90, 
.bg-slate-50\/80, 
.bg-slate-50\/70, 
.bg-slate-50\/60, 
.bg-slate-50\/50, 
.bg-slate-50\/40 { background-color: #F8FAFC !important; }
.bg-slate-100 { background-color: #F1F5F9 !important; }
.bg-slate-200, .bg-slate-200\/70 { background-color: #E2E8F0 !important; }

.rounded-xl { border-radius: 12px !important; }
.rounded-2xl { border-radius: 16px !important; }

/* Inner Box Card - Universal standard for nested boxes inside tool-studio-card & tool-info-card */
.inner-box-card {
  background-color: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  margin-top: 1.5rem !important;
  transition: all 0.2s ease !important;
}
.inner-box-card:hover {
  border-color: #CBD5E1 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06) !important;
}

.text-slate-400 { color: #94A3B8 !important; }
.text-slate-500 { color: #64748B !important; }
.text-slate-600 { color: #475569 !important; }
.text-slate-700 { color: #334155 !important; }
.text-slate-800 { color: #1E293B !important; }
.text-slate-900 { color: #0F172A !important; }

/* Sky & Blue */
.bg-sky-50, .bg-sky-50\/30 { background-color: #F0F9FF !important; }
.bg-sky-100 { background-color: #E0F2FE !important; }
.border-sky-100 { border-color: #E0F2FE !important; }
.border-sky-200 { border-color: #BAE6FD !important; }
.border-sky-300 { border-color: #7DD3FC !important; }
.border-sky-400 { border-color: #38BDF8 !important; }
.border-sky-500 { border-color: #0EA5E9 !important; }
.text-sky-500 { color: #0EA5E9 !important; }
.text-sky-600 { color: #0284C7 !important; }

/* Emerald & Green */
.bg-emerald-50, .bg-emerald-50\/50 { background-color: #ECFDF5 !important; }
.bg-emerald-100 { background-color: #D1FAE5 !important; }
.border-emerald-200, .border-emerald-200\/80 { border-color: #A7F3D0 !important; }
.border-emerald-300 { border-color: #6EE7B7 !important; }
.text-emerald-500 { color: #10B981 !important; }
.text-emerald-600 { color: #059669 !important; }
.text-emerald-700 { color: #047857 !important; }
.bg-emerald-500 { background-color: #10B981 !important; }

/* Indigo */
.border-indigo-200 { border-color: #C7D2FE !important; }
.border-indigo-300 { border-color: #A5B4FC !important; }
.bg-indigo-50 { background-color: #EEF2FF !important; }
.text-indigo-600 { color: #4F46E5 !important; }
.text-indigo-700 { color: #4338CA !important; }

/* Rose & Red */
.bg-rose-50, .bg-red-50 { background-color: #FFF1F2 !important; }
.border-rose-200, .border-red-200 { border-color: #FECDD3 !important; }
.text-rose-600, .text-rose-700 { color: #E11D48 !important; }

/* Responsive Grid System */
.grid { display: grid !important; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }

@media (min-width: 640px) {
  .sm\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .sm\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
}

@media (min-width: 768px) {
  .md\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .md\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
}

/* Grid & Flex Gaps */
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-5 { gap: 1.25rem !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-8 { gap: 2rem !important; }

@media (min-width: 640px) {
  .sm\:gap-3 { gap: 0.75rem !important; }
  .sm\:gap-4 { gap: 1rem !important; }
  .sm\:gap-6 { gap: 1.5rem !important; }
}

@media (min-width: 768px) {
  .md\:gap-4 { gap: 1rem !important; }
  .md\:gap-6 { gap: 1.5rem !important; }
}

/* Spacing System: Margins & Paddings */
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 0.75rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-6 { margin-top: 1.5rem !important; }
.mt-8 { margin-top: 2rem !important; }
.mt-10 { margin-top: 2.5rem !important; }
.mt-12 { margin-top: 3rem !important; }

.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.mb-10 { margin-bottom: 2.5rem !important; }
.mb-12 { margin-bottom: 3rem !important; }
.mb-14 { margin-bottom: 3.5rem !important; }
.mb-16 { margin-bottom: 4rem !important; }

.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 0.75rem !important; }
.pt-4 { padding-top: 1rem !important; }
.pt-6 { padding-top: 1.5rem !important; }
.pt-8 { padding-top: 2rem !important; }
.pt-10 { padding-top: 2.5rem !important; }
.pt-12 { padding-top: 3rem !important; }

.pb-2 { padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 0.75rem !important; }
.pb-4 { padding-bottom: 1rem !important; }
.pb-6 { padding-bottom: 1.5rem !important; }
.pb-8 { padding-bottom: 2rem !important; }
.pb-10 { padding-bottom: 2.5rem !important; }
.pb-12 { padding-bottom: 3rem !important; }
.pb-16 { padding-bottom: 4rem !important; }

.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-6 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-8 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-10 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
.py-12 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.py-16 { padding-top: 4rem !important; padding-bottom: 4rem !important; }

@media (min-width: 640px) {
  .sm\:pt-6 { padding-top: 1.5rem !important; }
  .sm\:pt-8 { padding-top: 2rem !important; }
  .sm\:pt-10 { padding-top: 2.5rem !important; }
  .sm\:pb-8 { padding-bottom: 2rem !important; }
  .sm\:pb-12 { padding-bottom: 3rem !important; }
  .sm\:py-8 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  .sm\:py-10 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  .sm\:py-12 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
}

/* Custom Shadows */
.shadow-\[0_10px_30px_-4px_rgba\(15\,23\,42\,0\.05\)\,0_2px_8px_-2px_rgba\(15\,23\,42\,0\.02\)\] {
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.05), 0 2px 8px -2px rgba(15, 23, 42, 0.02) !important;
}
.shadow-\[0_10px_30px_-4px_rgba\(15\,23\,42\,0\.05\)\] {
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.05) !important;
}

/* 14. Unified Pricing Page System */
.pro-active-banner {
  margin-top: 0 !important;
  margin-bottom: 2.75rem !important;
  padding: 1.5rem 1.75rem !important;
  background: rgba(236, 253, 245, 0.95) !important;
  border: 1px solid #A7F3D0 !important;
  border-radius: 20px !important;
  text-align: center;
  box-shadow: 0 4px 16px -2px rgba(16, 185, 129, 0.08) !important;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .pro-active-banner {
    margin-bottom: 2.5rem !important;
    padding: 1.35rem 1.5rem !important;
  }
}

@media (max-width: 640px) {
  .pro-active-banner {
    margin-bottom: 2.25rem !important;
    padding: 1.25rem 1.25rem !important;
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  margin-top: 1rem !important;
  margin-bottom: 3.5rem !important;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
    margin-top: 1rem !important;
  }
}

.py-10 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
.mb-10 { margin-bottom: 2.5rem !important; }
.mb-12 { margin-bottom: 3rem !important; }
.mb-14 { margin-bottom: 3.5rem !important; }

.pricing-plan-card {
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 24px !important;
  padding: 2.25rem 2rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  position: relative !important;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.05), 0 2px 8px -2px rgba(15, 23, 42, 0.02) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

@media (max-width: 640px) {
  .pricing-plan-card {
    padding: 1.75rem 1.5rem !important;
  }
}

.pricing-plan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.08) !important;
  border-color: rgba(9, 189, 255, 0.5) !important;
}

.pricing-plan-card.popular {
  border: 2px solid #0070F3 !important;
  box-shadow: 0 20px 45px -10px rgba(0, 112, 243, 0.22), 0 2px 8px -2px rgba(0, 112, 243, 0.1) !important;
  background: #ffffff !important;
}

.pricing-plan-card .badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #09BDFF 0%, #0070F3 100%);
  color: #ffffff !important;
  padding: 5px 18px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 112, 243, 0.35);
  z-index: 10;
  white-space: nowrap;
}

.pricing-plan-card form,
.pricing-btn-wrapper {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

.pricing-plan-card .btn-brand-blue,
.pricing-plan-card .btn-brand-outline {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 0.85rem 1.25rem !important;
  font-size: 0.925rem !important;
  font-weight: 700 !important;
  border-radius: 14px !important;
  margin: 0 !important;
}

.crypto-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #1E293B;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.crypto-pill:hover {
  border-color: #09BDFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(9, 189, 255, 0.2);
  background: #F0F9FF;
}

.pricing-step-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 28px 22px;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08);
  border-color: rgba(9, 189, 255, 0.4);
}

