/* ============================================================
   GuestFlow Site — Shared Stylesheet
   Canonical styles for all public site pages (site.* views).
   Brand gold ramp: #D99B26 (500) / #E2B24C (400) / #C4881D (600)
   ============================================================ */

/* ---------- Surfaces & Backgrounds ---------- */
.bg-warm-neutral {
    background-color: #FAF8F5;
}

.hero-gradient {
    background: linear-gradient(180deg, rgba(250, 248, 245, 0.2) 0%, rgba(250, 248, 245, 0.95) 100%);
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(11, 25, 44, 0.92) 0%, rgba(11, 25, 44, 0.98) 100%);
}

/* Horizontal overlay variant (contact page) */
.hero-overlay-x {
    background: linear-gradient(90deg, rgba(11, 25, 44, 0.95) 0%, rgba(11, 25, 44, 0.85) 50%, rgba(11, 25, 44, 0.7) 100%);
}

.hero-pattern {
    background-color: #0B132B;
    background-image: radial-gradient(rgba(217, 155, 38, 0.12) 1px, transparent 1px);
    background-size: 28px 28px;
}

/* Larger dot-grid variant (resources page) */
.hero-pattern-lg {
    background-color: #0A192F;
    background-image: radial-gradient(rgba(217, 155, 38, 0.12) 1px, transparent 1px);
    background-size: 32px 32px;
}

.card-img-overlay {
    background: linear-gradient(180deg, rgba(11, 25, 44, 0.2) 0%, rgba(11, 25, 44, 0.92) 85%);
}

/* ---------- Gold Gradients ---------- */
.gold-button-gradient {
    background: linear-gradient(135deg, #E2B24C 0%, #C4881D 100%);
}
.gold-button-gradient:hover {
    background: linear-gradient(135deg, #ECC878 0%, #D99B26 100%);
}

.gold-gradient-btn {
    background: linear-gradient(135deg, #E2B24C 0%, #C4881D 100%);
    transition: all 0.3s ease;
}
.gold-gradient-btn:hover {
    background: linear-gradient(135deg, #D99B26 0%, #9A6B17 100%);
    box-shadow: 0 4px 14px rgba(217, 155, 38, 0.35);
}

.gold-gradient-bg {
    background: linear-gradient(135deg, #E2B24C 0%, #FAF0D4 50%, #C4881D 100%);
}

.gold-border-glow:hover {
    box-shadow: 0 10px 25px -5px rgba(217, 155, 38, 0.25);
}

.logo-gold {
    color: #D99B26;
}

/* ---------- Glass Effects ---------- */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Dark gold-bordered variant (partners page) */
.glass-card-gold {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(217, 155, 38, 0.2);
}

.glass-card-dark {
    background: rgba(15, 28, 46, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-dark {
    background: rgba(7, 17, 30, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.glass-search {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.glass-search:focus-within {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(217, 155, 38, 0.6);
    box-shadow: 0 0 25px rgba(217, 155, 38, 0.25);
}

/* ---------- Interactions ---------- */
.journey-card:hover .journey-arrow {
    transform: translateX(4px);
}

/* Toast notification */
.toast {
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ---------- Design System Component Classes ----------
   Plain CSS (the Tailwind Play CDN does not process @apply in
   external stylesheets). Each class mirrors the Tailwind utility
   values it replaces. Prefix: .gf- = GuestFlow site component. */

/* Sections & containers */
.gf-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
@media (min-width: 640px) {
    .gf-section {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.gf-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 640px) {
    .gf-container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
    .gf-container { padding-left: 2rem; padding-right: 2rem; }
}

/* Eyebrow / section overline labels */
.gf-eyebrow {
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C4881D; /* gold-600 */
}
.gf-eyebrow-pill {
    display: inline-block;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C4881D;
    background-color: rgba(250, 240, 212, 0.7); /* gold-100/70 */
    border: 1px solid rgba(236, 200, 120, 0.5); /* gold-300/50 */
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

/* Eyebrow pill variant for dark/navy sections */
.gf-eyebrow-pill-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #E2B24C; /* gold-400 */
    background-color: rgba(226, 178, 76, 0.1);
    border: 1px solid rgba(226, 178, 76, 0.3);
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
}

/* Small navy icon box (list items on light cards) */
.gf-icon-box {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background-color: #0f1c2e; /* navy-800 */
    color: #E2B24C; /* gold-400 */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Circular gold-outline badge on light cards (fills on group hover) */
.gf-icon-circle-light {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    border: 2px solid rgba(217, 155, 38, 0.3);
    color: #C4881D; /* gold-600 */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.group:hover .gf-icon-circle-light {
    background-color: #D99B26;
    border-color: #D99B26;
    color: #0f1c2e; /* navy-800 */
}

/* Cards */
.gf-card {
    background-color: #ffffff;
    border-radius: 1rem; /* rounded-2xl */
    border: 1px solid #E2E8F0; /* slate-200 */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
    transition: all 0.3s ease;
}
.gf-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); /* shadow-lg */
    border-color: #ECC878; /* gold-300 */
}
.gf-card-dark {
    background-color: #0f1c2e; /* navy-800 */
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}
.gf-card-body {
    padding: 1.5rem; /* p-6 */
}

/* Buttons */
.gf-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #E2B24C 0%, #C4881D 100%);
    color: #0F172A; /* slate-900 */
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    text-decoration: none;
}
.gf-btn-primary:hover {
    background: linear-gradient(135deg, #ECC878 0%, #D99B26 100%);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.gf-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #0f1c2e; /* navy-800 */
    color: #ffffff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #0f1c2e;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    text-decoration: none;
}
.gf-btn-secondary:hover {
    background-color: #1E2E42; /* navyLight */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
}

.gf-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: transparent;
    color: #334155; /* slate-700 */
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid #CBD5E1; /* slate-300 */
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.gf-btn-outline:hover {
    background-color: #F8FAFC; /* slate-50 */
    border-color: #94A3B8; /* slate-400 */
}

/* Outline button variant for dark/navy sections */
.gf-btn-ghost-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(148, 163, 184, 0.5); /* slate-400/50 */
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.gf-btn-ghost-dark:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
}

/* Form inputs */
.gf-input {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid #CBD5E1; /* slate-300 */
    background-color: #ffffff;
    color: #0F172A;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.gf-input:focus {
    outline: none;
    border-color: #D99B26;
    box-shadow: 0 0 0 2px rgba(217, 155, 38, 0.35);
}
.gf-checkbox {
    width: 1rem;
    height: 1rem;
    border-radius: 0.25rem;
    border: 1px solid #CBD5E1;
    accent-color: #D99B26;
    cursor: pointer;
}

/* Selected state for demo-slot picker buttons (registration success modal) */
.reg-demo-slot.reg-slot-selected {
    border-color: #D99B26;
    background-color: #FDF9ED;
    color: #6E4B10;
    box-shadow: 0 0 0 2px rgba(217, 155, 38, 0.35);
}

/* Icon badges */
.gf-icon-badge {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background-color: #FDF9ED; /* gold-50 */
    color: #C4881D; /* gold-600 */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.gf-icon-badge-dark {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background-color: rgba(255, 255, 255, 0.08);
    color: #E2B24C; /* gold-400 */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Circular gold badge used on navy/dark sections */
.gf-icon-circle {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    border: 1px solid rgba(217, 155, 38, 0.4);
    background-color: rgba(217, 155, 38, 0.1);
    color: #E2B24C; /* gold-400 */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Footer / dark links */
.gf-link {
    font-size: 0.875rem;
    color: #94A3B8; /* slate-400 */
    text-decoration: none;
    transition: color 0.2s ease;
}
.gf-link:hover {
    color: #E2B24C; /* gold-400 */
}

/* Lucide icon sizing consistency — lucide.replace() emits SVGs */
[data-lucide] { display: inline-block; vertical-align: -0.125em; }

/* ---------- Scrollbars ---------- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #FAF8F5;
}
::-webkit-scrollbar-thumb {
    background: #D99B26;
    border-radius: 4px;
}

/* Slim horizontal scroller (resources page) */
.custom-scrollbar::-webkit-scrollbar {
    height: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #D99B26;
    border-radius: 4px;
}

/* ---------- Range slider (pricing page) ---------- */
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 22px;
    width: 22px;
    border-radius: 50%;
    background: #D99B26;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(217, 155, 38, 0.5);
}
