/* Home Page Specific Styles */
/* Base styles, navbar, and buttons are loaded via header-v2.html */

/* UNIFIED ATMOSPHERE (The "Infinite Canvas") */
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  /* Apple-style premium light gray base */
  background-color: #F5F5F7;
  
  /* Global Light Source:
     1. Top Center: Warm brand glow (Yellow)
     2. Top Right: Cool ambient light (White/Blueish)
     3. Bottom Left: Grounding light
  */
  background-image: 
    radial-gradient(circle at 50% -10%, rgba(250, 220, 0, 0.12), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.8), transparent 40%),
    radial-gradient(circle at 0% 90%, rgba(255, 255, 255, 0.6), transparent 40%);
    
  /* Fix the background so content scrolls OVER it */
  background-attachment: fixed;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: visible;
  /* Transparent to reveal global atmosphere */
  background: transparent;
  border-bottom: none;
  z-index: 20; /* Ensure hero content (like dropdowns) sits above subsequent sections */
}

.hero-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(250, 220, 0, 0.35), rgba(250, 220, 0, 0));
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.8;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px;
  padding: 64px 0 72px;
  align-items: center;
  overflow: visible; /* Ensure inner container doesn't clip */
}

  .hero-card {
    padding: 20px;
    width: 100%;
    max-width: 420px;
    margin: 0;
    border-radius: 24px;
  }
  .hero-visual {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 16px;
    overflow: visible;
    /* Staggered entry for visual */
    opacity: 0;
    animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
  }
  .hero-market-card {
    width: 100%;
    max-width: 420px;
    /* Continuous float animation */
    animation: float 6s ease-in-out infinite;
  }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  /* Animation */
  opacity: 0;
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--yellow);
}

.hero-title {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  /* Animation */
  opacity: 0;
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}

/* Apple-style smooth entry */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Continuous floating motion */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 480px;
  /* Animation */
  opacity: 0;
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

.hero-search {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 520px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  /* Animation */
  opacity: 0;
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.4s;
  position: relative;
  z-index: 50;
}

.search-results-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  box-shadow: 
    0 20px 40px -10px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.02);
  margin-top: 0;
  z-index: 1000;
  max-height: 260px;
  overflow-y: auto;
  display: none;
  text-align: left;
  padding: 8px 4px 8px 8px; /* Adjusted padding for scrollbar */
  animation: dropdownFadeIn 0.2s ease-out forwards;
  /* Ensure rounded corners clip the content and scrollbar */
  clip-path: inset(0 round 24px);
}

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

.search-result-item {
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 16px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 2px;
  margin-right: 2px; /* Space for scrollbar */
}

.search-result-item:last-child {
  margin-bottom: 0;
}

.search-result-item:hover {
  background: rgba(0, 0, 0, 0.04);
  transform: scale(0.995);
}

.search-result-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden; /* Prevent text overflow */
}

.search-result-name {
  font-weight: 600;
  font-size: 1rem;
  color: #0f172a;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-ticker {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
}

.search-result-type {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
  background: rgba(0,0,0,0.04);
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 8px;
  font-weight: 600;
  flex-shrink: 0;
}

/* Scrollbar styling */
.search-results-dropdown::-webkit-scrollbar {
  width: 5px;
}
.search-results-dropdown::-webkit-scrollbar-track {
  background: transparent;
  margin: 12px 0; /* Keep scrollbar away from rounded corners */
}
.search-results-dropdown::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-search:focus-within {
  border-color: rgba(15, 23, 42, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.95);
}

.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 16px;
  font-size: 15px;
  background: transparent;
  color: var(--text-main);
}

.hero-search input::placeholder {
  color: #94a3b8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  /* Animation */
  opacity: 0;
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.5s;
  position: relative;
  z-index: 10;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.hero-stat {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.hero-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.hero-stat-value {
  font-size: 14px;
  font-weight: 600;
}

.hero-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-meta a {
  font-size: 13px;
}

.hero-sublink {
  color: var(--text-main);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0,0,0,0.02);
  padding: 24px;
  backdrop-filter: blur(12px);
}

.hero-card--portfolio {
  padding-bottom: 16px;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 13px;
}

.badge {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  background: #ecfdf3;
  color: #166534;
  font-weight: 600;
}

.hero-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-card-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.hero-card-asset {
  font-weight: 600;
  font-size: 14px;
}

.hero-card-type {
  font-size: 12px;
  color: var(--text-muted);
}

.hero-card-footnote {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 14px;
}

.hero-market-card {
  position: relative;
  padding-top: 24px;
}

.hero-market-card .hero-card-header {
  margin-bottom: 14px;
}

.hero-tab-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* iOS Segmented Control Style */
.hero-tabs {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 20px;
  border-radius: 999px;
  padding: 4px;
  background: rgba(118, 118, 128, 0.12); /* iOS gray track */
  position: relative;
  z-index: 1;
}

.hero-tab {
  border-radius: 999px;
  padding: 6px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  z-index: 2;
}

.hero-tab:hover {
  color: var(--text-main);
}

.hero-tab-panel {
  display: none;
}

/* Active State - Floating White Pill */
#hero-tab-stocks:checked ~ .hero-tabs label[for='hero-tab-stocks'],
#hero-tab-crypto:checked ~ .hero-tabs label[for='hero-tab-crypto'] {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 3px 1px rgba(0, 0, 0, 0.04);
}

#hero-tab-stocks:checked ~ .hero-tab-panels [data-tab='stocks'],
#hero-tab-crypto:checked ~ .hero-tab-panels [data-tab='crypto'] {
  display: block;
  animation: fadeSlideUp 0.4s ease-out forwards;
}

.hero-market-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.hero-market-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.hero-market-list li:last-child {
  border-bottom: none;
}

.hero-market-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-market-rank {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-tab-cta {
  width: 100%;
  margin-top: 18px;
  justify-content: center;
}

.hero-market-card {
  position: relative;
  padding-top: 24px;
}

.hero-tab-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hero-tabs {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  padding: 4px;
  background: rgba(248, 250, 252, 0.9);
}

.hero-tab {
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-tab-panel {
  display: none;
}

#hero-tab-stocks:checked ~ .hero-tabs label[for='hero-tab-stocks'],
#hero-tab-crypto:checked ~ .hero-tabs label[for='hero-tab-crypto'] {
  background: #111827;
  color: #fff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
}

#hero-tab-stocks:checked ~ .hero-tab-panels [data-tab='stocks'],
#hero-tab-crypto:checked ~ .hero-tab-panels [data-tab='crypto'] {
  display: block;
}

.hero-market-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.hero-market-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.hero-market-list li:last-child {
  border-bottom: none;
}

.hero-market-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-market-rank {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-tab-cta {
  width: 100%;
  margin-top: 18px;
  justify-content: center;
}

.hero-card--highlight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.hero-highlight-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.hero-highlight-value {
  font-size: 14px;
  font-weight: 600;
}

.pill {
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
}

.pill-green {
  background: #ecfdf3;
  color: #15803d;
}

.pill-amber {
  background: #fef3c7;
  color: #b45309;
}

.pill-grey {
  background: #e5e7eb;
  color: #374151;
}

/* Trust Section */
.trust {
  position: relative;
  overflow: hidden;
  background: transparent;
  border-top: none;
  color: var(--text-main);
  padding: 72px 0;
}

.trust::after {
  /* Keep the subtle local highlight but make it softer */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(250, 220, 0, 0.08), transparent 50%);
  pointer-events: none;
}

.trust-inner {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 2.8fr);
  gap: 48px;
  align-items: start;
  position: relative;
}

.trust-copy {
  max-width: 560px;
}

.trust-eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.trust-title {
  font-size: clamp(28px, 3.4vw, 38px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.trust-subtext {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.trust-points {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-points li p {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 14px;
}

.trust-point-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-badge {
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 6px 14px;
  font-size: 12px;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.trust-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.trust-panel-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 20px 22px;
  backdrop-filter: blur(8px);
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15);
}

.trust-panel-card.trust-panel-list {
  padding-bottom: 24px;
}

.trust-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.trust-panel-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Updated Metrics Grid for Depth */
.trust-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trust-metrics-grid > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(241, 245, 249, 0.5);
  border: 1px solid rgba(15, 23, 42, 0.04);
  border-radius: 16px;
  padding: 16px;
  transition: transform 0.2s ease;
}

.trust-metrics-grid > div:hover {
  transform: translateY(-2px);
  background: rgba(241, 245, 249, 0.8);
}

.trust-metric-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.trust-metric-value {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

/* Trust Credentials Grid */
.trust-credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.trust-credential {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(248, 250, 252, 0.6);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 100%;
}

.trust-credential:hover {
  background: #fff;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: rgba(15, 23, 42, 0.04);
}

.trust-credential-logo {
  height: 32px;
  width: 48px; /* Fixed width for alignment */
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.trust-credential-multi {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 48px; /* Match fixed width */
  flex-shrink: 0;
}

.trust-credential-multi img {
  height: 24px;
  width: auto;
  max-width: 20px; /* Fit two in the space */
  object-fit: contain;
}

.trust-credential-text {
  flex: 1;
  min-width: 0; /* Prevent flex overflow */
}

.trust-credential-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.trust-credential-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Partners Section - Infinite Scroll */
.clients-partners-section {
  background: transparent;
  padding: 2.5rem 0 3.5rem;
  overflow: hidden;
  border-top: none;
}

.clients-scrolling-wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  margin: auto;
  padding: 1rem 0;
  /* Fade edges for depth */
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.clients-logos {
  display: flex;
  width: max-content;
}

.clients-logo-container {
  display: flex;
  gap: 2rem;
  animation: clients-scroll 40s linear infinite; /* Slower, more organic */
  align-items: flex-start; /* Align top so margin-bottom creates space below */
}

/* Duplicate container ensures seamless scrolling */
.clients-logo-container-duplicate {
  margin-left: 2rem;
}

/* Stop animation when hovering */
.clients-scrolling-wrapper:hover .clients-logo-container {
  animation-play-state: paused;
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  height: 90px; /* Restored original height */
  width: 150px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
  overflow: visible;
  margin-bottom: 50px; /* Reserve layout space for the label */
}

.client-logo-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.8);
  z-index: 10;
}

.client-logo-item img {
  max-height: 60px;
  max-width: 100px;
  object-fit: contain;
  transition: all 0.4s ease;
  /* Restored color so they don't look "dead", just slightly blended */
  filter: grayscale(0%) opacity(0.85);
}

.client-logo-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%) opacity(1);
}

.client-label {
  position: absolute;
  bottom: -45px; /* Position in the reserved margin space */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.9);
  color: white;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  z-index: 100;
}

.client-logo-item:hover .client-label {
  opacity: 1;
  visibility: visible;
  bottom: -38px; /* Slight lift on hover */
}

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

/* Responsive design for Partners */
@media (max-width: 768px) {
  .clients-partners-section {
      padding: 3rem 0;
  }

  .clients-logo-container {
      gap: 1.5rem;
  }
  
  .clients-logo-container-duplicate {
      margin-left: 1.5rem;
  }
  
  .client-logo-item {
      height: 100px;
      width: 140px;
      padding: 1rem;
      border-radius: 20px;
  }
  
  .client-logo-item img {
      max-height: 45px;
      max-width: 80px;
  }
  
  .client-label {
      display: none; /* Hide labels on mobile for cleaner look */
  }
  
  .clients-scrolling-wrapper {
      padding: 1rem 0;
      mask-image: none; /* Remove mask on mobile if performance issue, or keep */
      -webkit-mask-image: none;
  }

  .trust-credentials-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .trust-credential {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    padding: 16px;
    gap: 12px;
  }

  .trust-credential-logo {
    width: auto !important;
    height: 40px;
    margin: 0 auto;
    flex-shrink: 0;
  }

  .trust-credential-multi {
    width: auto !important;
    justify-content: center;
    margin: 0 auto;
    flex-shrink: 0;
  }

  .trust-credential-multi img {
    height: 28px;
    max-width: 24px;
  }

  .trust-credential-text {
    text-align: center;
  }
}

.partners-title {
  font-size: clamp(28px, 3.4vw, 38px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
}

.partners-subtext {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  line-height: 1.5;
}

/* Capabilities Section */
.capabilities {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: transparent;
  border-top: none;
}

.capabilities-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.35), transparent 55%);
  pointer-events: none;
}

.capabilities-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2.6fr) minmax(0, 3.4fr);
  gap: 48px;
  align-items: start;
}

.capabilities-copy {
  max-width: 520px;
}

.capabilities-eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.capabilities-title {
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.capabilities-subtext {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.capabilities-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.capabilities-tags span {
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 6px 14px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-main);
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.1);
}

.capabilities-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.capabilities-stats > div {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
}

.capabilities-stat-value {
  font-size: 18px;
  font-weight: 600;
}

.capabilities-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.capability-card {
  background: rgba(255, 255, 255, 0.75); /* Increased transparency for glass effect */
  border-radius: 24px; /* Generous corners */
  border: 1px solid rgba(255, 255, 255, 0.6); /* Subtle white border to catch light */
  padding: 24px;
  backdrop-filter: blur(16px); /* Stronger blur for depth */
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04); /* Softer, diffused shadow */
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.capability-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.capability-card-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 4px;
}

.capability-chip {
  align-self: flex-start;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.06); /* Subtle gray instead of solid black */
  color: var(--text-muted);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.capability-card-head h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.capability-copy {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.capability-bullets {
  margin-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-main);
}

.capability-card-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.capability-card--highlight {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.8));
  color: #fff;
  border: none;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.4);
}

.capability-card--highlight .capability-copy,
.capability-card--highlight .capability-bullets {
  color: rgba(255, 255, 255, 0.85);
}

.capability-card--highlight .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-compact {
  padding: 10px 18px;
  font-size: 13px;
}

.pill-red {
  background: #fef2f2;
  color: #b91c1c;
}

.pill-amber {
  background: #fef3c7;
  color: #b45309;
}

.pill-grey {
  background: #e5e7eb;
  color: #374151;
}

/* Sections */
section {
  padding: 56px 0;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 520px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  font-size: 13px;
}

.trust-logos {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
}

.trust-logo {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px dashed var(--border-subtle);
  background: #f9fafb;
}

/* Layout Utilities */
.layout-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
}

/* How It Works Section */
#how-it-works {
  position: relative;
  overflow: hidden;
  /* Center glow to highlight the process */
  background: transparent;
  border-top: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.step-number {
  width: 36px;
  height: 36px;
  background: var(--text-main);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.step strong {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Learn Section */
#learn {
  position: relative;
  overflow: hidden;
  background: transparent;
  border-top: none;
}

.learn-card {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 16px;
  overflow: hidden;
}

.learn-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 255, 255, 0.8);
}

.learn-card-media {
  width: 200px;
  align-self: stretch;
  border-radius: 20px 0 0 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 248, 232, 0.95), rgba(255, 255, 255, 0.95));
  border-right: 1px solid rgba(255, 214, 102, 0.18);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.learn-card-media:empty {
  display: none;
}

.learn-card-media img,
.learn-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.learn-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
  padding: 24px 24px 24px 4px;
}

.learn-card-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.learn-card-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.learn-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.learn-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* FAQ Section */
.faq-header {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 600;
}

.faq-item {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding: 18px 0;
}

.faq-item:first-of-type {
  padding-top: 0;
}

.faq-q {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.faq-a {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

footer {
  border-top: 1px solid var(--border-subtle);
  padding: 18px 0 28px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Half Underline Style - Removed for Clarity */
/* .half-underline { ... } */

/* Responsive */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 40px;
    gap: 32px;
  }
  .hero-visual {
    order: 2;
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    gap: 16px;
  }
  .hero-content {
    order: 1;
    text-align: center;
    margin: 0 auto;
  }
  .hero-title {
    font-size: clamp(30px, 4.8vw, 36px);
  }
  .hero-pill,
  .hero-subtitle,
  .hero-meta,
  .hero-search {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-pill,
  .hero-meta {
    justify-content: center;
  }
  .hero-search {
    width: 100%;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-market-list li {
    padding: 8px 0;
  }
  .hero-tab-cta {
    margin-top: 12px;
  }
  .capabilities-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .capabilities-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .capability-card--highlight {
    grid-column: span 1;
  }
  .capabilities-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .layout-two-column {
    grid-template-columns: minmax(0, 1fr);
  }
  .trust-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .trust-credentials-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .trust-credential {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    padding: 16px;
    gap: 12px;
  }

  .trust-credential-logo {
    width: auto !important;
    height: 40px;
    margin: 0 auto;
    flex-shrink: 0;
  }

  .trust-credential-multi {
    width: auto !important;
    justify-content: center;
    margin: 0 auto;
    flex-shrink: 0;
  }

  .trust-credential-multi img {
    height: 28px;
    max-width: 24px;
  }

  .trust-credential-text {
    text-align: center;
  }

  .learn-card-media {
    width: 170px;
    border-radius: 18px 0 0 18px;
  }
}

@media (max-width: 600px) {
  body {
    /* Keep the global atmosphere */
    background-color: #F5F5F7;
  }

  .learn-card {
    flex-direction: column;
    align-items: stretch;
  }

  .learn-card-media {
    width: 100%;
    height: 190px;
    border-radius: 20px 20px 0 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 214, 102, 0.18);
  }

  .learn-card-body {
    padding: 20px;
  }

  .container {
    padding: 0 20px;
  }

  .hero {
    padding: 36px 0 52px;
    border-radius: 0 0 32px 32px;
  }

  .hero-inner {
    gap: 28px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-pill {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 18px;
    border-radius: 24px;
    gap: 10px;
  }

  .hero-pill img {
    height: 20px;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .hero-search {
    /* Restore row layout for mobile since we removed the button */
    flex-direction: row;
    border-radius: 999px;
    padding: 8px;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
  }

  .hero-search input {
    /* Reset mobile-specific overrides that conflict with new design */
    width: 100%;
    border: none;
    border-radius: 0;
    padding: 12px;
    background: transparent;
    font-size: 16px;
    text-align: left;
  }

  .hero-search button {
    display: none; /* Ensure any old button styles don't interfere */
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-glow {
    width: 250px;
    height: 250px;
    right: -60px;
    top: -60px;
    filter: blur(50px);
    opacity: 0.6;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 52px;
    font-size: 15px;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-card {
    padding: 18px;
    width: 100%;
    max-width: 420px;
    border-radius: 22px;
    margin: 0 auto;
  }

  .hero-visual {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 16px;
    overflow: visible;
    padding-bottom: 0;
  }

  .hero-market-card {
    width: 100%;
    max-width: 420px;
  }

  .hero-tabs {
    width: 100%;
  }

  .hero-tab {
    flex: 1;
    text-align: center;
  }

  .hero-market-list li {
    flex-direction: row;
    align-items: center;
    padding: 10px 0;
  }

  .hero-tab-cta {
    width: 100%;
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .capabilities-inner,
  .layout-two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .capabilities {
    padding: 64px 0;
  }

  .capabilities-copy {
    text-align: center;
  }

  .capabilities-tags {
    justify-content: center;
    gap: 8px;
  }

  .capabilities-stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .capabilities-grid {
    gap: 16px;
  }

  .capability-card {
    padding: 18px 18px 20px;
    border-radius: 22px;
  }

  .capability-card--highlight {
    grid-column: span 1;
    border-radius: 28px;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .trust {
    padding: 60px 0 70px;
    border-radius: 32px 32px 0 0;
  }

  .trust-inner {
    gap: 32px;
  }

  .trust-copy {
    text-align: center;
  }

  .trust-points {
    gap: 14px;
  }

  .trust-points li {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 16px 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-panel {
    gap: 14px;
  }

  .trust-panel-card {
    padding: 18px;
    border-radius: 24px;
  }

  .trust-metrics-grid,
  .trust-logos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-credentials-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .trust-credential {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    padding: 16px;
    gap: 12px;
  }

  .trust-credential-logo {
    width: auto !important;
    height: 40px;
    margin: 0 auto;
    flex-shrink: 0;
  }

  .trust-credential-multi {
    width: auto !important;
    justify-content: center;
    margin: 0 auto;
    flex-shrink: 0;
  }

  .trust-credential-multi img {
    height: 28px;
    max-width: 24px;
  }

  .trust-credential-text {
    text-align: center;
  }

  .faq-item {
    padding: 14px 0;
  }

  footer {
    padding-bottom: 36px;
  }
}

/* User Dashboard Preview Section */
.dashboard-preview {
  position: relative;
  overflow: hidden;
  padding: 40px 0 60px;
  background: transparent;
  border-bottom: none;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.dashboard-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.dashboard-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

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

.dashboard-card {
  /* Glassmorphism per DESIGN_SYSTEM.md */
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  
  /* Light border to catch light, not define box */
  border: 1px solid rgba(255, 255, 255, 0.6);
  
  /* Generous radius */
  border-radius: 24px;
  padding: 24px;
  
  /* Diffused shadow for depth */
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(255,255,255,0.1);
  
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.dashboard-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.08);
}

.dashboard-card-large {
  grid-row: span 1;
}

.dashboard-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.dashboard-card-header h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portfolio-visual {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}

.portfolio-donut {
  position: relative;
  width: 100px;
  height: 100px;
}

.circular-chart {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 100%;
}

.circle-bg {
  fill: none;
  stroke: #f1f5f9;
  stroke-width: 2.5;
}

.circle {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  animation: progress 1s ease-out forwards;
}

.circular-chart.green .circle { stroke: #16a34a; }

.percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.percentage .number {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.percentage .label {
  font-size: 10px;
  color: var(--text-muted);
}

.portfolio-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.stat-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.stat-row strong {
  margin-left: auto;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot.green { background: #16a34a; }
.dot.amber { background: #d97706; }
.dot.red { background: #dc2626; }

.watchlist-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.watchlist-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.watchlist-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.asset-info {
  display: flex;
  flex-direction: column;
}

.asset-symbol {
  font-weight: 600;
  font-size: 14px;
}

.asset-name {
  font-size: 11px;
  color: var(--text-muted);
}

.recommendation-item {
  display: flex;
  align-items: center;
  gap: 12px;
  /* Inner card needs to be slightly distinct but not heavy */
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 12px;
  border-radius: 16px;
  margin-top: auto;
}

.asset-icon {
  width: 40px;
  height: 40px;
  background: #fff;
  /* Subtle shadow for the icon */
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
}

.icon-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.2s;
}

.icon-btn:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--text-main);
}

.btn-xs {
  padding: 6px 12px;
  font-size: 11px;
  margin-left: auto;
}

@media (max-width: 960px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-card-large {
    grid-column: span 1;
  }
}
