/* Stone Theme - Shared Component Styles */

/* ============================================
   Primary Button - Stone
   ============================================ */
.btn-primary-stone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background-color: #1c1917;
  color: #fafaf9;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 9999px;
  border: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary-stone:hover {
  background-color: #292524;
}

.btn-primary-stone:active {
  transform: scale(0.97);
}

/* ============================================
   Secondary Button - Stone
   ============================================ */
.btn-secondary-stone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: transparent;
  color: #1c1917;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 9999px;
  border: 1px solid #d6d3d1;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary-stone:hover {
  background-color: #f5f5f4;
}

.btn-secondary-stone:active {
  transform: scale(0.97);
}

/* ============================================
   Card Hover - Stone
   ============================================ */
.card-hover-stone {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-stone:hover {
  transform: translateY(-2px);
  box-shadow:
    0 2px 4px rgba(120, 113, 108, 0.04),
    0 4px 12px rgba(120, 113, 108, 0.08);
}

/* ============================================
   Section Tag / Pill - Stone
   ============================================ */
.section-tag-stone {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background-color: #e7e5e4;
  color: #57534e;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 9999px;
}

/* ============================================
   Text Gradient - Stone
   ============================================ */
.text-gradient-stone {
  background: linear-gradient(135deg, #1c1917 0%, #78716c 50%, #1c1917 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Header Glass Effect - Stone
   ============================================ */
.header-glass-stone {
  background: rgba(250, 250, 249, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle, #e7e5e4);
}

/* Header hero mode — white text over dark hero image (homepage only) */
.header-hero-mode .nav-dropdown-trigger,
.header-hero-mode a.text-stone-600,
.header-hero-mode .text-stone-900 {
  color: rgba(255, 255, 255, 0.9) !important;
}

.header-hero-mode .nav-dropdown-trigger:hover,
.header-hero-mode a.text-stone-600:hover {
  color: #fff !important;
  background-color: rgba(255, 255, 255, 0.1);
}

.header-hero-mode .rounded-full.bg-stone-900 {
  background-color: #fff !important;
  color: #1c1917 !important;
}

.header-hero-mode .rounded-full.bg-stone-900:hover {
  background-color: rgba(255, 255, 255, 0.9) !important;
}

.header-hero-mode #mobile-menu-button {
  color: #fff;
}

/* Dark glass when hero mode + scrolled — frosted dark overlay over hero image */
.header-hero-mode.header-glass-stone {
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   Logo Band Scroll Animation
   ============================================ */
@keyframes right-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-66.67%);
  }
}

#right-left-cards {
  animation: right-left 60s infinite linear;
}

/* ============================================
   Tertiary Link Button (arrow link)
   ============================================ */
.link-arrow-stone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #1c1917;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.link-arrow-stone:hover {
  gap: 0.75rem;
}

.link-arrow-stone svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.link-arrow-stone:hover svg {
  transform: translateX(2px);
}

/* ============================================
   Security Tabs Section (Shared)
   ============================================ */

.security-tabs-container {
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.security-tabs-container::-webkit-scrollbar {
  display: none;
}

.security-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  min-width: max-content;
}

@media (min-width: 640px) {
  .security-tabs-nav {
    justify-content: center;
    gap: 2rem;
  }
}

@media (min-width: 768px) {
  .security-tabs-nav {
    gap: 3rem;
  }
}

.security-tab-btn {
  position: relative;
  padding-bottom: 0.75rem;
  font-size: 1rem;
  color: #78716c;
  transition: color 0.2s ease;
  background: transparent;
  border: none;
  cursor: pointer;
}

@media (min-width: 640px) {
  .security-tab-btn {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .security-tab-btn {
    font-size: 1.25rem;
  }
}

.security-tab-btn:hover {
  color: #1c1917;
}

.security-tab-btn.active {
  color: #1c1917;
}

.security-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #1c1917;
}

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

.security-tab-panel.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   Customer Stories Horizontal Scroll (Shared)
   ============================================ */

.stories-scroll-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.stories-scroll-container::-webkit-scrollbar {
  display: none;
}

.story-card-wrapper {
  flex-shrink: 0;
  width: 280px;
  scroll-snap-align: start;
}

@media (min-width: 480px) {
  .story-card-wrapper {
    width: 320px;
  }
}

@media (min-width: 640px) {
  .story-card-wrapper {
    width: 380px;
  }
}

@media (min-width: 1024px) {
  .story-card-wrapper {
    width: 420px;
  }
}

.story-card-inner {
  position: relative;
  background: white;
  border: 1px solid #e7e5e4;
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.story-card-wrapper:hover .story-card-inner {
  border-color: #d6d3d1;
}

/* ============================================
   Logo Band - Brand Color Hover
   ============================================ */
.related-company {
  width: 134px;
  min-width: 134px;
  height: 40px;
  min-height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
