#header-placeholder {
    position: relative;
    z-index: 9999;
}

.navbar-wrapper {
    width: 100%;
    max-width: 100%;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 9999 !important;
    margin: 0 0 12px 0;
    border-bottom: 1px solid var(--border-color);
    box-sizing: border-box;
}

nav {
    display: flex;
    max-width: 100%;
    margin: 0;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-sizing: border-box;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    flex: 0 0 auto;
}

.brand-logo img {
    height: 44px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    justify-content: center;
    flex: 1;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
    z-index: 2;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Header Dropdowns */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.2s;
}

.nav-dropdown-trigger:hover,
.nav-dropdown:hover .nav-dropdown-trigger {
    color: var(--primary, #0066FF);
}

.dropdown-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    padding: 8px;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Nav links dropdown (Careers, Tools) - hover/open on desktop */
.nav-links .nav-dropdown:hover > .dropdown-menu,
.nav-links .nav-dropdown.open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-links .nav-dropdown:hover .dropdown-arrow,
.nav-links .nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    color: #0f172a !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    white-space: nowrap !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.dropdown-item span {
    color: inherit !important;
    display: inline-block !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.dropdown-item:hover {
    background: rgba(0, 102, 255, 0.06) !important;
    color: #0066FF !important;
}

.dropdown-icon {
    width: 18px !important;
    height: 18px !important;
    color: #64748b !important;
    flex-shrink: 0 !important;
}

.dropdown-item:hover .dropdown-icon {
    color: #0066FF !important;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto;
    justify-content: flex-end;
}

.nav-auth-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.login-btn {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}
.login-btn:hover { color: var(--primary); }

.signup-btn {
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.signup-btn:hover {
    background: var(--primary-hover);
}

/* User Profile Dropdown in Header */
.nav-avatar-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 24px;
    padding: 4px 12px 4px 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-avatar-btn:hover {
    background: rgba(0, 102, 255, 0.04);
    border-color: var(--primary, #0066FF);
}

.nav-avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066FF, #00C2FF);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main, #0f172a);
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-menu-right {
    left: auto !important;
    right: 0 !important;
    top: calc(100% + 6px);
    transform: translateY(8px);
    min-width: 220px;
}

/* Continuous bridge between trigger and open dropdown */
.dropdown-menu-right::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
}

/* User profile dropdown activation ONLY when .open is set */
.nav-user-dropdown.open > .dropdown-menu-right,
.nav-dropdown.open > .dropdown-menu-right {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    display: flex !important;
}

.nav-user-dropdown.open .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-user-info {
    padding: 10px 14px;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 8px;
    margin-bottom: 4px;
}

.dropdown-user-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main, #0f172a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-user-email {
    font-size: 12px;
    color: var(--text-secondary, #64748b);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color, #e2e8f0);
    margin: 4px 0;
}

/* Hero Layout Constraints */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px 80px; 
    max-width: 1280px;
    margin: 0 auto;
    min-height: calc(100vh - 80px);
    position: relative;
}

/* Hero Left Column */
.hero-left {
    flex: 0 0 520px;
    position: relative;
    z-index: 10;
    transform: translateY(-20px);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    
    color: var(--primary);
    padding: 8px 16px;
    
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    
}

h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.8px;
    margin-bottom: 24px;
    color: var(--text-main);
}

h1 span { color: var(--primary); }

.hero-desc {
    font-size: 19px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    padding: 0 36px;
    height: 56px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--text-main);
    padding: 0 36px;
    height: 56px;
    
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    gap: 10px;
    transition: border-color 0.2s, background 0.2s;
    
}

.btn-secondary:hover {
    border-color: #CBD5E1;
    background: #F8FAFC;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatars { display: flex; }
.avatars img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
    
}
.avatars img:first-child { margin-left: 0; }
.social-proof-text { font-size: 14px; color: var(--text-secondary); font-weight: 500; }

/* Hero Right Column */
.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transform: translate(30px, -20px);
}

.illustration-container {
    position: relative;
    width: 700px;
    height: 600px;
}

.illustration-base {
    width: 360px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    mix-blend-mode: multiply;
}

.connectors {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.connector-path {
    fill: none;
    stroke: rgba(0, 102, 255, 0.25);
    stroke-width: 1.5;
    stroke-dasharray: 4 6;
}

.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    border-radius: 18px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    
    z-index: 5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: float 7s ease-in-out infinite;
    white-space: nowrap;
}

.float-card:hover {
    transform: translateY(-6px) scale(1.02) !important;
    
    animation-play-state: paused;
}

.fc-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--bg-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.fc-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
    letter-spacing: -0.3px;
}

.fc-text p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Float Card Positions */
.card-ai { top: 40px; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.card-skills { top: 65%; right: 0; transform: translateY(-50%); animation-delay: -2.5s; }
.card-prep { top: 65%; left: -60px; transform: translateY(-50%); animation-delay: -1.5s; }
.card-jobs { bottom: 40px; left: 60%; transform: translateX(-50%); animation-delay: -3.5s; }

.card-ai:hover { transform: translateX(-50%) translateY(-6px) scale(1.02) !important; }
.card-skills:hover { transform: translateY(-50%) translateY(-6px) scale(1.02) !important; }
.card-prep:hover { transform: translateY(-50%) translateY(-6px) scale(1.02) !important; }
.card-jobs:hover { transform: translateX(-50%) translateY(-6px) scale(1.02) !important; }

@keyframes float {
    0% { margin-top: 0px; }
    50% { margin-top: -10px; }
    100% { margin-top: 0px; }
}

.glow-element {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    z-index: 2;
    opacity: 0.7;
}
.glow-1 {
    width: 10px;
    height: 10px;
    top: 25%;
    left: 20%;
    
    animation: pulse 4s infinite alternate;
}
.glow-2 {
    width: 8px;
    height: 8px;
    bottom: 25%;
    right: 20%;
    
    animation: pulse 3s infinite alternate-reverse;
}

@keyframes pulse {
    0% { opacity: 0.3; transform: scale(0.8); }
    100% { opacity: 0.9; transform: scale(1.3); }
}

@media (max-width: 1366px) {
    .hero { padding: 40px 40px 80px; }
    .hero-left { flex: 0 0 450px; }
    h1 { font-size: 56px; }
    .illustration-container { width: 650px; height: 550px; }
    .illustration-base { width: 320px; }
}

@media (max-width: 1200px) {
    .hero-left { flex: 0 0 400px; }
    h1 { font-size: 48px; }
    .illustration-container { width: 550px; height: 500px; }
    .illustration-base { width: 280px; }
}

@media (max-width: 1024px) {
    .navbar-wrapper {}
    .hero { flex-direction: column; text-align: center; padding: 40px 24px 60px; min-height: auto; }
    .hero-left { max-width: 100%; flex: auto; margin-bottom: 60px; }
    .hero-buttons { justify-content: center; }
    .social-proof { justify-content: center; }
    .nav-links { display: none; }
    .hero-right { padding-left: 0; width: 100%; }
    .illustration-container { width: 100%; max-width: 500px; height: 500px; }
    
    .float-card { transform: scale(0.85); }
    .card-ai { top: -20px; }
    .card-skills { right: -40px; }
    .card-prep { left: -40px; }
    .card-jobs { bottom: -20px; }
    .connectors { display: none; }
}

/* --- LOWER CONTENT STYLES --- */
.section-label { font-size: 11px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; text-align: center; }
.section-title { font-size: 44px; font-weight: 900; letter-spacing: -2px; text-align: center; color: var(--text-main); margin-bottom: 60px; line-height: 1.1; }
.section-title span { color: var(--primary); }

/* FEATURES */
.features { padding: 100px 48px; max-width: 1200px; margin: 0 auto 12px auto;
    border-bottom: 1px solid var(--border-color); position: relative; z-index: 1; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: white;   padding: 32px; transition: all 0.3s ease; position: relative; overflow: hidden; text-decoration: none; display: block;  }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--primary); opacity: 0; transition: opacity 0.25s; }
.feature-card:hover { border-color: rgba(0, 102, 255, 0.2); transform: translateY(-4px);  }
.feature-card:hover::before { opacity: 1; }
.feature-icon { font-size: 36px; margin-bottom: 20px; display: block; }
.feature-title { font-size: 19px; font-weight: 700; color: var(--text-main); margin-bottom: 10px; }
.feature-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.feature-card.rize-card { border-color: rgba(0, 102, 255, 0.15); background: var(--bg-accent); }
.feature-card.rize-card::before { opacity: 1; }
.rize-badge { display: inline-flex; align-items: center; gap: 5px; background: white;  color: var(--primary); font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 12px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px;  }

/* HOW IT WORKS */
.how { padding: 80px 48px; max-width: 900px; margin: 0 auto 12px auto;
    border-bottom: 1px solid var(--border-color); position: relative; z-index: 1; }
.steps-list { display: flex; flex-direction: column; gap: 0; margin-top: 48px; }
.step-row { display: flex; gap: 24px; position: relative; padding-bottom: 40px; }
.step-row:last-child { padding-bottom: 0; }
.step-row:not(:last-child)::after { content: ''; position: absolute; left: 19px; top: 44px; bottom: 0; width: 2px; background: linear-gradient(180deg, rgba(0, 102, 255, 0.3), transparent); }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 900; color: white; flex-shrink: 0;  }
.step-title { font-size: 19px; font-weight: 700; color: var(--text-main); margin-bottom: 6px; }
.step-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

/* CTA */
.cta-section { padding: 80px 48px; text-align: center; position: relative; z-index: 1; }
.cta-box { background: white;  border-radius: 28px; padding: 64px 40px; max-width: 700px; margin: 0 auto 12px auto;
    border-bottom: 1px solid var(--border-color); position: relative; overflow: hidden;  }
.cta-box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(0, 102, 255, 0.06) 0%, transparent 70%); pointer-events: none; }
.cta-box h2 { font-size: 40px; font-weight: 900; letter-spacing: -2px; color: var(--text-main); margin-bottom: 14px; }
.cta-box p { font-size: 17px; color: var(--text-secondary); margin-bottom: 36px; line-height: 1.7; }
@media (max-width: 768px) {
    nav {
        padding: 16px 20px;
    }
    .brand-logo img {
        height: 28px;
    }
    .hero {
        flex-direction: column;
        padding: 40px 20px;
    }
    .hero-right {
        margin-top: 40px;
    }
    .hero-right img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}
