/* --- BRIDGEQUEST LANDING PAGE THEME --- */

:root {
    --land-bg-deep: #0b1020;
    --land-bg-accent: #1a2035;
    --land-primary: #4fd1c5; /* Teal */
    --land-primary-glow: rgba(79, 209, 197, 0.6);
    --land-text-main: #ffffff;
    --land-text-muted: #a0aec0;
    
    --font-hero: "Merriweather", "Times New Roman", serif;
    --font-ui: "Poppins", system-ui, sans-serif;
}

body.landing-page {
    background-color: var(--land-bg-deep);
    color: var(--land-text-main);
    font-family: var(--font-ui);
    overflow: hidden;
    margin: 0;
    min-height: 100vh;
}

a { color: inherit; }

/* 1. HERO SECTION & BACKGROUNDS */
.hero-stage {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- FULL-SCREEN SLIDER / DECK --- */
.landing-deck {
    position: fixed;
    inset: 0;
    z-index: 1;
}

.deck-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
    background: linear-gradient(180deg, rgba(11, 16, 32, 1) 0%, rgba(26, 32, 53, 0.35) 100%);
}

.deck-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.deck-slide--hero {
    background: transparent;
}

.deck-content {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
}

/* Ensure fixed nav and deck controls don't overlap content */
.deck-content .landing-wrap {
    padding-top: 7.25rem;
    padding-bottom: 5.25rem;
}

/* The Cinematic Background Image */
.hero-bg-layer {
    position: absolute;
    inset: 0;
    background-image: url('https://res.cloudinary.com/hlpqigl8t/image/upload/v1766878245/bridgequest/landing/hero_bg.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
    
    /* Animation: Ken Burns Effect */
    animation: kenBurns 20s ease-out infinite alternate;
}

/* The Vignette & Color Grade */
.hero-overlay-layer {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(11, 16, 32, 0.3) 0%, rgba(11, 16, 32, 0.95) 100%);
    z-index: 1;
}

/* The Topographic Texture */
.hero-texture-layer {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            115deg,
            rgba(255, 255, 255, 0.04) 0px,
            rgba(255, 255, 255, 0.04) 2px,
            transparent 2px,
            transparent 28px
        ),
        repeating-linear-gradient(
            -115deg,
            rgba(79, 209, 197, 0.08) 0px,
            rgba(79, 209, 197, 0.08) 1px,
            transparent 1px,
            transparent 22px
        );
    background-size: 640px 640px, 520px 520px;
    opacity: 0.35;
    mix-blend-mode: overlay;
    z-index: 2;
}

/* 2. NAVIGATION (Glassmorphism) */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    background: rgba(11, 16, 32, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
    text-decoration: none;
}
.brand-logo span { color: var(--land-primary); }

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--land-text-muted);
    margin-left: 2rem;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.nav-links a:hover { color: white; }

.nav-cta {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.25rem;
    border-radius: 99px;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.nav-cta:hover { background: rgba(255, 255, 255, 0.2); }

/* 3. HERO CONTENT */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.hero-title {
    font-family: var(--font-hero);
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    
    /* Animation: Slide Up */
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards;
}

.hero-title .hero-emphasis {
    color: var(--land-primary);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--land-text-muted);
    margin-bottom: 3rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    
    opacity: 0;
    animation: fadeSimple 1s ease-out 1s forwards;
}

/* 4. MAIN ACTION BUTTON */
.btn-journey {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0b1020;
    background: linear-gradient(90deg, #319795 0%, var(--land-primary) 100%);
    border-radius: 99px;
    text-decoration: none;
    border: none;
    
    box-shadow: 0 0 30px var(--land-primary-glow);
    transition: transform 0.3s, box-shadow 0.3s;
    
    opacity: 0;
    transform: scale(0.9);
    animation: popIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s forwards;
}

.btn-journey:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px var(--land-primary-glow);
    filter: brightness(1.1);
}

.btn-journey span { font-size: 1.3rem; }

.btn-journey.btn-journey--small {
    padding: 0.95rem 1.25rem;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: none;
    box-shadow: 0 0 22px var(--land-primary-glow);
}

/* --- BELOW-THE-FOLD SECTIONS --- */
.landing-section {
    position: relative;
    padding: 0;
    background: transparent;
    border-top: none;
}

.landing-wrap {
    width: min(1100px, calc(100% - 3rem));
    margin: 0 auto;
}

.landing-h2 {
    font-family: var(--font-hero);
    font-size: 2.1rem;
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.landing-lede {
    color: var(--land-text-muted);
    max-width: 760px;
    margin: 0 0 2.25rem;
    line-height: 1.6;
}

/* How it works */
.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.landing-subsection {
    margin-top: 2.75rem;
}

.how-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.25rem 1.25rem 1.15rem;
}

.how-kicker {
    font-size: 0.85rem;
    color: var(--land-text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.how-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.how-body {
    color: var(--land-text-muted);
    line-height: 1.55;
}

/* Stages */
.stage-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.stage-tablist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.stage-tab {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(11, 16, 32, 0.55);
    color: var(--land-text-main);
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.stage-tab:hover {
    transform: translateY(-1px);
    border-color: rgba(79, 209, 197, 0.5);
}

.stage-tab.is-active {
    border-color: rgba(79, 209, 197, 0.9);
    box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.18);
}

.stage-panel {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.25rem;
    min-height: 220px;
    background-image: var(--stage-bg);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.stage-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 10%, rgba(11, 16, 32, 0.45) 0%, rgba(11, 16, 32, 0.92) 70%);
    pointer-events: none;
}

.stage-panel > * {
    position: relative;
    z-index: 1;
}

.stage-title {
    font-weight: 800;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.stage-bullets {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--land-text-muted);
    line-height: 1.55;
}

.stage-bullets li { margin: 0.25rem 0; }

/* Micro-scenario preview */
.preview-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr;
    gap: 1rem;
    align-items: start;
}

.preview-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.25rem;
}

.preview-kicker {
    font-size: 0.85rem;
    color: var(--land-text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.preview-kicker-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.preview-kicker-row .preview-kicker { margin-bottom: 0; }

.audio-toggle {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(11, 16, 32, 0.55);
    color: var(--land-text-main);
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}

.audio-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(79, 209, 197, 0.5);
}

.preview-title {
    margin: 0 0 0.5rem;
    font-size: 1.3rem;
    letter-spacing: -0.01em;
}

.preview-body {
    color: var(--land-text-muted);
    line-height: 1.65;
    margin: 0 0 1rem;
}

.preview-actions {
    display: grid;
    gap: 0.6rem;
}

.preview-btn {
    text-align: left;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(11, 16, 32, 0.55);
    color: var(--land-text-main);
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.preview-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(79, 209, 197, 0.5);
}

.preview-btn.is-selected {
    border-color: rgba(79, 209, 197, 0.9);
    box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.18);
}

.dial-list {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.dial {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0.8rem;
    border-radius: 14px;
    background: rgba(11, 16, 32, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dial-val {
    font-weight: 800;
    color: var(--land-primary);
}

.advisor-note {
    border-radius: 18px;
    padding: 1rem;
    background: rgba(79, 209, 197, 0.08);
    border: 1px solid rgba(79, 209, 197, 0.18);
}

.advisor-title {
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.advisor-body {
    color: var(--land-text-muted);
    line-height: 1.55;
}

.preview-cta { margin-top: 1rem; }

/* Slider controls */
.deck-controls {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 1.15rem;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    pointer-events: none;
}

.deck-controls > * { pointer-events: auto; }

.deck-arrow {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(11, 16, 32, 0.55);
    color: var(--land-text-main);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.deck-arrow:hover {
    transform: translateY(-1px);
    border-color: rgba(79, 209, 197, 0.5);
}

.deck-dots {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(11, 16, 32, 0.45);
}

.deck-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
}

.deck-dot.is-active {
    border-color: rgba(79, 209, 197, 0.9);
    background: rgba(79, 209, 197, 0.75);
}

/* 5. FOOTER / PROOF */
.landing-footer {
    padding: 1.25rem 0 0;
    display: flex;
    justify-content: center;
}

.landing-footer--inline {
    margin-top: 1.2rem;
}

.partner-logos {
    display: flex;
    gap: 3rem;
    opacity: 0.4;
    filter: grayscale(100%);
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.partner-logos span {
    font-weight: 600;
    letter-spacing: 1px;
}

/* ANIMATION KEYFRAMES */
@keyframes kenBurns {
    from { transform: scale(1.0); }
    to { transform: scale(1.1); }
}
@keyframes slideUpFade {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSimple {
    to { opacity: 1; }
}
@keyframes popIn {
    to { opacity: 1; transform: scale(1); }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .landing-nav { padding: 1.25rem 1.5rem; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .landing-nav .nav-links { display: none; } /* Simplified mobile nav */
    .btn-journey { width: 100%; justify-content: center; }
}

@media (max-width: 980px) {
    .how-grid { grid-template-columns: 1fr; }
    .preview-grid { grid-template-columns: 1fr; }
    .landing-h2 { font-size: 1.8rem; }
    .deck-content .landing-wrap { padding-top: 6.5rem; padding-bottom: 5rem; }
}
