/* ADVISOR-OPPORTUNITY.CSS - Page-specific styles */

:root {
    --bg-dark: #0F0F0F;
    --bg-card: #1A1A1A;
    --primary-teal: #D4AF37;
    --primary-glow: rgba(212, 175, 55, 0.4);
    --text-main: #FFFFFF;
    --text-muted: #888888;
    --border-color: #333333;
    --nav-bg: rgba(15, 15, 15, 0.9);
    --radius-card: 12px;
    --radius-btn: 6px;

    --gold: #D4AF37;
    --gold-light: #F4DF8D;
    --gold-dim: #AA8A28;
    --charcoal: #1C1A16;
    --charcoal-mid: #2E2B24;
    --black: #0F0F0F;
    --white: #FAF8F4;
    --grey: #A89F94;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    padding-top: 80px;
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

/* NAV - Standardized */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 60px;
    background: linear-gradient(to bottom, rgba(10, 9, 6, 0.95) 0%, transparent 100%);
}

.nav-logo-img {
    display: flex;
    align-items: center;
    text-decoration: none;
}

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

.nav-links a {
    color: #999999;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #c9a84c;
}

.nav-cta {
    background: transparent;
    border: 1px solid rgba(201, 168, 76, 0.5);
    color: #c9a84c;
    padding: 10px 24px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.nav-cta:hover {
    background: #c9a84c;
    color: #0a0906;
}

/* Gateway Mode Override */
body.gateway-mode nav {
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
}

/* --- DROPDOWN SYSTEM --- */
.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-trigger::after {
    content: '▼';
    font-size: 0.5rem;
    transition: 0.3s;
    opacity: 0.7;
    margin-left: 5px;
}

.dropdown-container:hover .dropdown-trigger::after {
    transform: rotate(180deg);
    color: var(--primary-teal);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dropdown-container:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-item {
    display: block;
    padding: 10px 15px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: 0.2s;
    text-align: left;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: rgba(45, 212, 191, 0.1);
    color: var(--primary-teal);
    padding-left: 20px;
}

/* --- HERO --- */
#hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    background: radial-gradient(circle at 50% 30%, #1e293b 0%, #020617 70%);
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 40%, rgba(45, 212, 191, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 80% 60%, rgba(45, 212, 191, 0.03) 0%, transparent 20%);
    z-index: 0;
}

#hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeIn 1s ease-out;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* --- BUTTONS --- */
.btn-main {
    background: var(--primary-teal);
    color: #020617;
    padding: 14px 40px;
    border-radius: var(--radius-btn);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    display: inline-block;
    transition: 0.3s;
    border: 1px solid var(--primary-teal);
}

.btn-main:hover {
    background: transparent;
    color: var(--primary-teal);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    border-color: var(--primary-teal);
}

.premium-link {
    color: var(--primary-teal);
    text-decoration: none !important;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.premium-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-teal);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.premium-link:hover {
    color: var(--white);
}

.premium-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
    background-color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    padding: 14px 40px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    display: inline-block;
    border: 1px solid var(--border-color);
    transition: 0.3s;
    margin-left: 20px;
}

.btn-outline:hover {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* --- SECTIONS --- */
section {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
}

.section-subtitle {
    color: var(--primary-teal);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

/* --- CARDS (Institutional) --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card-inst {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-card);
    transition: 0.3s;
}

.card-inst:hover {
    border-color: var(--primary-teal);
    transform: translateY(-5px);
}

.card-title {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.icon-box {
    width: 50px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 800;
}

/* --- LADDER VISUALIZATION --- */
.ladder-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.ladder-step {
    text-align: center;
    position: relative;
    flex: 1;
}

.step-marker {
    width: 44px;
    height: 44px;
    background: var(--bg-dark);
    border: 2px solid var(--primary-teal);
    border-radius: 50%;
    margin: -63px auto 20px;
    z-index: 5;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ladder-step:hover .step-marker {
    transform: scale(1.2);
    box-shadow: 0 0 25px var(--primary-glow);
    background: var(--primary-glow);
}

.step-title {
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* --- FOOTER --- */
footer {
    background: #020617;
    border-top: 1px solid var(--border-color);
    padding: 60px 5%;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
}

.footer-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    height: 40px;
    margin-bottom: 20px;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .ladder-container {
        flex-direction: column;
        gap: 40px;
        border-top: none;
        border-left: 1px solid var(--border-color);
        padding-top: 0;
        padding-left: 30px;
        margin-left: 20px;
    }

    .step-marker {
        margin: 0;
        position: absolute;
        left: -53px;
        top: 0;
    }

    .ladder-step {
        text-align: left;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 15px;
        display: block;
    }
}

/* Application Form Styles */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

input,
select {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-btn);
    color: white;
    font-family: inherit;
}

option {
    background: var(--bg-card);
    color: var(--text-main);
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary-teal);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- MOBILE MENU --- */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(2, 6, 23, 0.98);
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-link {
    font-size: 1.1rem;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

/* --- HAMBURGER --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 2001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

@media (max-width: 900px) {
    .nav-bar {
        padding: 0 4%;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* FOOTER */
footer {
    padding: 48px 60px;
    background: var(--charcoal);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--charcoal-mid);
    text-align: left;
}

footer .logo img {
    height: 44px;
    width: auto;
}

footer p {
    font-size: 12px;
    color: var(--grey);
    margin: 0;
    letter-spacing: 1px;
}

footer .tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 14px;
    color: var(--gold-dim);
}

@media (max-width: 900px) {
    footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 40px 24px;
    }
}