/* File: assets/css/components.css */

/* ==========================================================================
   BUTTONS & LABELS
   ========================================================================== */
.btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 28px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  width: fit-content;
  margin-inline: auto;
  box-shadow: 0 4px 18px rgba(15, 44, 89, 0.10), 0 1px 4px rgba(15, 44, 89, 0.07);
  transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn::before {
  display: none;
}

.btn:active {
  transform: translateY(1px);
  opacity: 0.82;
}

@media (hover: hover) {
  .btn:hover {
    opacity: 0.78;
    transform: translateY(-1px);
  }
}

.btn-primary {
  background-color: rgba(100, 180, 230, 0.30);
  color: var(--c-black);
  border: 1.5px solid rgba(100, 180, 230, 0.50);
}

.btn-outline {
  background-color: transparent;
  color: var(--c-black);
  border: 1.5px solid rgba(100, 180, 230, 0.50);
}

.btn-large {
  min-height: 52px;
  font-size: 0.95rem;
  padding: 0 36px;
}

.block-mobile {
  width: 100%;
}

.label-tag {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 24px;
  border: 1px solid var(--c-border);
  color: var(--c-gray);
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.tag-inverted {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--c-white);
}

.btn-line {
  background-color: #06c755;
  color: #ffffff;
  border: 1px solid #06c755;
}

.btn-arrow {
  font-family: var(--font-mono);
  font-weight: bold;
  transition: transform 0.3s ease;
}

/* ==========================================================================
   SHARED ACCORDION / TOGGLE
   ========================================================================== */
.glass-panel-item {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 40px rgba(15, 44, 89, 0.06);
  overflow: hidden;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.glass-panel-header {
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.header-left {
  display: flex;
  align-items: baseline;
  gap: 16px;
  text-align: left;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(15, 44, 89, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-icon::before,
.toggle-icon::after {
  content: "";
  position: absolute;
  background: var(--c-black);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-icon::before {
  width: 14px;
  height: 2px;
}

.toggle-icon::after {
  width: 2px;
  height: 14px;
}

.glass-panel-header.is-active .toggle-icon {
  background: var(--c-black);
  border-color: var(--c-black);
}

.glass-panel-header.is-active .toggle-icon::before {
  background: var(--c-white);
}

.glass-panel-header.is-active .toggle-icon::after {
  transform: rotate(90deg) scale(0);
  background: var(--c-white);
}

.glass-panel-collapse {
  max-height: 0;
  opacity: 0;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.glass-panel-collapse.is-open {
  max-height: 1200px;
  opacity: 1;
}

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
.reveal,
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.reveal.is-visible,
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.6s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.75s; }

/* ==========================================================================
   SHARED SUPPORT CLASSES
   ========================================================================== */
.logo__img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.footer-logo {
  height: 24px;
  width: auto;
}

.footer-company-details--dense {
  line-height: 1.8;
}

.footer-contact-block {
  display: inline-block;
  margin-top: 8px;
}

.footer-link-plain {
  color: inherit;
  text-decoration: none;
}

.footer-link-underlined {
  color: inherit;
  text-decoration: underline;
}

.footer-sales-note {
  font-size: 0.75rem;
  font-weight: bold;
  margin-top: 8px;
}

/* ==========================================================================
   SHARED ANIMATIONS & HOVER STATES
   ========================================================================== */
@keyframes shine-auto {
  0%, 80% { left: -100%; }
  100% { left: 200%; }
}

@media (min-width: 769px) {
  .block-mobile {
    width: auto;
  }
}

@media (max-width: 768px) {
  .header-left {
    flex-direction: column;
    gap: 8px;
  }
}

@media (hover: hover) {
  .btn-primary:hover {
    background-color: var(--c-accent);
    border-color: var(--c-accent);
  }

  .btn-outline:hover {
    background-color: var(--c-light);
  }

  .btn-line:hover {
    background-color: #05b34c;
    border-color: #05b34c;
    color: #ffffff;
  }

  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(15, 44, 89, 0.14);
    opacity: 0.92;
  }



  .glass-panel-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(15, 44, 89, 0.1);
  }
}