/* Explain: Styles for UI components like buttons, cards, and animations. - */
.eyebrow {
    font-size: 1.1rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.top-strip {
    border-bottom: 1px solid var(--border-color);
    background: color-mix(in srgb, var(--ivory-color) 88%, transparent);
    backdrop-filter: blur(20px);
}

.hero-moodboard {
    position: relative;
    isolation: isolate;
}

.hero-moodboard::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(115deg, color-mix(in srgb, var(--ivory-color) 94%, transparent), color-mix(in srgb, var(--taupe-color) 28%, transparent)),
        url('https://files.cdn-files-a.com/uploads/12386175/normal_gi-6a311fd7ecb82.jpg?format=avif');
    background-size: cover;
    background-position: center;
}

.hero-moodboard::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, color-mix(in srgb, var(--ivory-color) 92%, transparent), color-mix(in srgb, var(--ivory-color) 74%, transparent), color-mix(in srgb, var(--charcoal-color) 12%, transparent));
}

.arch-panel {
    border-radius: 0.5rem;
    box-shadow: var(--shadow-soft);
}

.material-swatch {
    border: 1px solid color-mix(in srgb, var(--charcoal-color) 12%, transparent);
    box-shadow: var(--shadow-card);
}

.signup-card {
    position: relative;
    border: 1px solid color-mix(in srgb, var(--taupe-color) 48%, transparent);
    background: color-mix(in srgb, var(--surface-color) 86%, transparent);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(24px);
}

.signup-card::before,
.overlay-card::before {
    content: "";
    position: absolute;
    inset: 0.85rem;
    pointer-events: none;
    border: 1px solid color-mix(in srgb, var(--taupe-color) 48%, transparent);
    border-radius: inherit;
}

.signup-status.success {
    display: block;
    border: 1px solid color-mix(in srgb, var(--sage-color) 50%, transparent);
    background: color-mix(in srgb, var(--sage-color) 20%, var(--ivory-color));
    color: var(--charcoal-color);
}

.signup-status.error {
    display: block;
    border: 1px solid color-mix(in srgb, var(--clay-color) 46%, transparent);
    background: color-mix(in srgb, var(--clay-color) 16%, var(--ivory-color));
    color: var(--charcoal-color);
}

.trust-pill,
.takeaway-card,
.value-card,
.host-card,
.testimonial-card,
.faqlet-card {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background: color-mix(in srgb, var(--surface-color) 82%, transparent);
    box-shadow: var(--shadow-card);
    transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}

.takeaway-card:hover,
.value-card:hover,
.host-card:hover,
.faqlet-card:hover {
    transform: translateY(-0.35rem);
    border-color: color-mix(in srgb, var(--clay-color) 42%, transparent);
    background: var(--surface-color);
}

.testimonial-card:hover {
    transform: translateY(-0.35rem);
    border-color: color-mix(in srgb, var(--clay-color) 42%, transparent);
    background: var(--surface-color);
}

.icon-medallion {
    display: inline-flex;
    height: 3.25rem;
    width: 3.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: color-mix(in srgb, var(--clay-color) 15%, transparent);
    color: var(--clay-color);
}

.section-soft {
    background: color-mix(in srgb, var(--taupe-color) 13%, var(--ivory-color));
}

.section-charcoal {
    background: var(--charcoal-color);
    color: var(--ivory-color);
}

.floating-save-button {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 9999;
    box-shadow: 0 1.2rem 3rem color-mix(in srgb, var(--charcoal-color) 30%, transparent);
}

.signup-modal-open {
    overflow: hidden;
}

.signup-modal {
    z-index: 10000;
}

.overlay-card {
    background: color-mix(in srgb, var(--ivory-color) 90%, transparent);
    box-shadow: 0 2rem 6rem color-mix(in srgb, var(--charcoal-color) 42%, transparent);
    backdrop-filter: blur(24px);
}

@media (min-width: 1024px) {
    .floating-save-button {
        display: none;
    }
}

.special-offer-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background-color: #d97706;
  color: #ffffff;
  font-weight: bold;
  font-size: 0.85rem;
  border-radius: 6px;
  margin-left: 8px;
  white-space: nowrap;
  animation: pulseBlink 2s infinite ease-in-out;
}

@keyframes pulseBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0; transform: scale(0.95); }
}

@keyframes smoothFade {
    0% { opacity: 0; }
    15% { opacity: 1; }
    33% { opacity: 1; }
    48% { opacity: 0; }
    100% { opacity: 0; }
}

.animate-smooth-fade {
    animation: smoothFade 3s ease-in-out infinite;
}
