/* ========================================
   MAGICROLL CAREERS PAGE - PREMIUM STYLES
   ======================================== */

:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a25;
    --bg-card-hover: #222230;

    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7a;

    --accent-purple: #a855f7;
    --accent-indigo: #6366f1;
    --accent-pink: #ec4899;
    --accent-cyan: #22d3ee;

    --gradient-primary: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    --gradient-glow: linear-gradient(135deg, rgba(168, 85, 247, 0.3) 0%, rgba(99, 102, 241, 0.3) 100%);
    --gradient-card: linear-gradient(180deg, rgba(168, 85, 247, 0.1) 0%, transparent 100%);

    --border-default: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(168, 85, 247, 0.4);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;

    /* Effects */
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(168, 85, 247, 0.3);
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Particles Background */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-purple);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-10vh) rotate(720deg);
        opacity: 0;
    }
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-default);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

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

.nav-cta {
    background: var(--gradient-primary) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid var(--border-default);
    z-index: 999;
}

.mobile-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 12px 0;
}

.mobile-menu.active {
    display: flex;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.video-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: repeat(3, 180px);
    gap: 24px;
    opacity: 0.15;
}

.video-frame {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 12px;
    animation: frameFloat 8s ease-in-out infinite;
}

.video-frame:nth-child(2) {
    animation-delay: -2s;
}

.video-frame:nth-child(3) {
    animation-delay: -4s;
}

@keyframes frameFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.frame-content {
    width: 100%;
    height: 80px;
    background: var(--gradient-glow);
    border-radius: 8px;
    margin-bottom: 8px;
}

.timeline {
    height: 8px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-indigo), var(--accent-cyan));
    border-radius: 4px;
}

.waveform {
    height: 20px;
    background: repeating-linear-gradient(90deg, var(--accent-purple) 0px, var(--accent-purple) 2px, transparent 2px, transparent 6px);
    opacity: 0.6;
}

.ai-scan {
    height: 2px;
    background: var(--accent-cyan);
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(60px);
    }
}

.glow-orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 15s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(168, 85, 247, 0.15);
    top: -200px;
    left: -200px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(99, 102, 241, 0.12);
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: rgba(236, 72, 153, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-purple);
    margin-bottom: 32px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-purple);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-subtitle strong {
    color: var(--text-primary);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
}

.tag {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-default);
}

.btn-secondary:hover {
    border-color: var(--border-hover);
    background: rgba(168, 85, 247, 0.1);
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-purple);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-default);
}

@media (max-width: 600px) {
    .stat-divider {
        display: none;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Section Styles */
.section {
    padding: var(--section-padding) 0;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

/* Smooth Section Reveal Animations */
.section-header,
.benefits-grid,
.work-details,
.quick-apply-grid,
.roles-categories,
.roles-note,
.form-container,
.hero-content {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-header.visible,
.benefits-grid.visible,
.work-details.visible,
.quick-apply-grid.visible,
.roles-categories.visible,
.roles-note.visible,
.form-container.visible,
.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for child elements */
.benefits-grid.visible .benefit-card,
.quick-apply-grid.visible .quick-apply-card {
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.benefits-grid.visible .benefit-card:nth-child(1) {
    animation-delay: 0.05s;
}

.benefits-grid.visible .benefit-card:nth-child(2) {
    animation-delay: 0.1s;
}

.benefits-grid.visible .benefit-card:nth-child(3) {
    animation-delay: 0.15s;
}

.benefits-grid.visible .benefit-card:nth-child(4) {
    animation-delay: 0.2s;
}

.benefits-grid.visible .benefit-card:nth-child(5) {
    animation-delay: 0.25s;
}

.benefits-grid.visible .benefit-card:nth-child(6) {
    animation-delay: 0.3s;
}

.quick-apply-grid.visible .quick-apply-card:nth-child(1) {
    animation-delay: 0.05s;
}

.quick-apply-grid.visible .quick-apply-card:nth-child(2) {
    animation-delay: 0.1s;
}

.quick-apply-grid.visible .quick-apply-card:nth-child(3) {
    animation-delay: 0.15s;
}

.quick-apply-grid.visible .quick-apply-card:nth-child(4) {
    animation-delay: 0.2s;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Role categories staggered animation */
.roles-categories.visible .role-category {
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.roles-categories.visible .role-category:nth-child(1) {
    animation-delay: 0.1s;
}

.roles-categories.visible .role-category:nth-child(2) {
    animation-delay: 0.2s;
}

.roles-categories.visible .role-category:nth-child(3) {
    animation-delay: 0.3s;
}

/* Work details staggered */
.work-details.visible .detail-card {
    animation: fadeSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.work-details.visible .detail-card:nth-child(1) {
    animation-delay: 0.1s;
}

.work-details.visible .detail-card:nth-child(2) {
    animation-delay: 0.2s;
}

.work-details.visible .detail-card:nth-child(3) {
    animation-delay: 0.3s;
}

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

.section-tag {
    display: inline-block;
    background: var(--gradient-glow);
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-purple);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Why Section */
.why-section {
    background: var(--bg-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-featured {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .benefit-featured {
        grid-column: span 1;
    }
}

.benefit-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--accent-purple);
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    position: relative;
}

.benefit-card p {
    color: var(--text-secondary);
    position: relative;
}

.work-details {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.detail-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 20px 28px;
}

.detail-icon {
    font-size: 2rem;
}

.detail-content h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.detail-content p {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Quick Apply Cards */
.quick-apply-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.quick-apply-card {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.quick-apply-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-purple);
}

.quick-apply-card.selected {
    border-color: var(--accent-purple);
    background: rgba(168, 85, 247, 0.1);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.quick-apply-card:hover .card-glow {
    opacity: 1;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.quick-apply-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.quick-apply-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.card-arrow {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-smooth);
}

.card-arrow svg {
    width: 20px;
    height: 20px;
    color: white;
}

.quick-apply-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Role Categories */
.roles-categories {
    margin-bottom: 40px;
}

.role-category {
    margin-bottom: 40px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.category-icon {
    font-size: 1.5rem;
}

.category-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.role-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.role-item {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.role-item:hover {
    border-color: var(--border-hover);
    transform: translateX(8px);
}

.role-info {
    flex: 1;
}

.role-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.role-type {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.role-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag-small {
    background: rgba(168, 85, 247, 0.15);
    color: var(--accent-purple);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tag-ppo {
    background: rgba(34, 211, 238, 0.15);
    color: var(--accent-cyan);
}

.role-apply-btn {
    background: transparent;
    border: 1px solid var(--border-default);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.role-apply-btn:hover {
    background: var(--gradient-primary);
    border-color: transparent;
}

.roles-note {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 24px;
    color: var(--text-secondary);
}

/* PPO Journey */
.ppo-section {
    background: var(--bg-secondary);
}

.ppo-journey {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 80px;
    position: relative;
}

.journey-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 16px;
    padding: 24px;
    min-width: 160px;
    max-width: 180px;
    transition: var(--transition-smooth);
}

.journey-step:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.step-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.journey-connector {
    color: var(--accent-purple);
}

.journey-connector svg {
    width: 24px;
    height: 24px;
}

.step-final {
    border-color: var(--accent-purple);
    background: rgba(168, 85, 247, 0.1);
}

@media (max-width: 900px) {
    .ppo-journey {
        flex-direction: column;
    }

    .journey-connector {
        transform: rotate(90deg);
    }
}

.what-we-look-for {
    text-align: center;
}

.what-we-look-for h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 32px;
}

.traits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.trait {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 16px;
    padding: 28px;
    transition: var(--transition-smooth);
}

.trait:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.trait-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.trait h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.trait p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Application Form */
.apply-section {
    background: var(--bg-primary);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.application-form {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 24px;
    padding: 48px;
}

@media (max-width: 600px) {
    .application-form {
        padding: 24px;
    }
}

.selected-role-banner {
    background: var(--gradient-glow);
    border: 1px solid var(--accent-purple);
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.banner-text {
    color: var(--text-primary);
}

.banner-clear {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
}

.banner-clear:hover {
    color: var(--text-primary);
}

.custom-role-input {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid var(--accent-purple);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 32px;
}

.custom-role-input label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
}

.custom-role-input input {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-size: 1rem;
}

.form-section {
    margin-bottom: 40px;
}

.form-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-default);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

@media (max-width: 600px) {
    .form-group.full-width {
        grid-column: span 1;
    }
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.required {
    color: var(--accent-pink);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: 10px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.file-upload {
    position: relative;
    border: 2px dashed var(--border-default);
    border-radius: 12px;
    transition: var(--transition-fast);
}

.file-upload:hover {
    border-color: var(--accent-purple);
}

.file-upload input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px;
    color: var(--text-muted);
}

.file-upload-content svg {
    width: 32px;
    height: 32px;
}

.file-name {
    color: var(--accent-purple);
    font-weight: 600;
}

.radio-group {
    display: flex;
    gap: 24px;
    margin-top: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-secondary);
}

.radio-option input {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-default);
    border-radius: 50%;
    position: relative;
    transition: var(--transition-fast);
}

.radio-option input:checked+.radio-custom {
    border-color: var(--accent-purple);
    background: var(--accent-purple);
}

.radio-option input:checked+.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.form-submit {
    text-align: center;
    padding-top: 20px;
}

.form-disclaimer {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 20px;
}

.form-success {
    text-align: center;
    padding: 60px 40px;
    background: var(--bg-card);
    border: 1px solid var(--accent-purple);
    border-radius: 24px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: #22c55e;
}

.form-success h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.success-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px !important;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-default);
    padding: 80px 0 40px;
}

.footer-content {
    text-align: center;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        text-align: center;
    }
}

.footer-brand {
    text-align: left;
}

@media (max-width: 768px) {
    .footer-brand {
        text-align: center;
    }
}

.footer-tagline {
    color: var(--text-muted);
    margin-top: 12px;
}

.footer-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.footer-cta p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 40px;
    border-top: 1px solid var(--border-default);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.email-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.email-link:hover {
    color: var(--accent-indigo);
}

.email-link svg {
    width: 20px;
    height: 20px;
}

.footer-credit {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.backed-by {
    margin-top: 8px;
}

.backed-by strong {
    color: var(--accent-purple);
}

/* Track Selector Section */
.track-section {
    background: var(--bg-primary);
    padding-top: 60px;
}

.track-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .track-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.track-card {
    background: var(--bg-card);
    border: 2px solid var(--border-default);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.track-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow);
}

.track-card.selected {
    border-color: var(--accent-purple);
    background: rgba(168, 85, 247, 0.08);
    box-shadow: var(--shadow-glow);
}

.track-glow {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(ellipse, rgba(168, 85, 247, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.track-card:hover .track-glow {
    opacity: 1;
}

.track-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.track-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.track-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.track-card>p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.track-features {
    list-style: none;
    margin-bottom: 28px;
}

.track-features li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-default);
}

.track-features li:last-child {
    border-bottom: none;
}

.track-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: white;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.track-cta svg {
    width: 20px;
    height: 20px;
    transition: var(--transition-fast);
}

.track-card:hover .track-cta svg {
    transform: translateX(4px);
}

/* Hero adjustments */
.hero {
    min-height: 100vh;
    padding: 140px 24px 80px;
}

.hero-cta {
    margin-bottom: 60px;
}

/* Inline Track Selector in Form */
.track-selection-section {
    margin-bottom: 40px;
}

.track-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 600px) {
    .track-options {
        grid-template-columns: 1fr;
    }
}

.track-option {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-default);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.track-option:hover {
    border-color: var(--accent-purple);
    background: rgba(168, 85, 247, 0.05);
}

.track-option.selected {
    border-color: var(--accent-purple);
    background: rgba(168, 85, 247, 0.1);
}

.track-option-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.track-option-content {
    flex: 1;
}

.track-option-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.track-option-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.track-check {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-default);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.track-check svg {
    width: 14px;
    height: 14px;
    opacity: 0;
    color: white;
}

.track-option.selected .track-check {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
}

.track-option.selected .track-check svg {
    opacity: 1;
}

.track-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hero Track Selector */
.hero-track-selector {
    margin-top: 40px;
    margin-bottom: 40px;
}

.hero-track-label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
}

.hero-track-options {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-track-option {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 2px solid var(--border-default);
    border-radius: 50px;
    padding: 14px 28px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.hero-track-option:hover {
    border-color: var(--accent-purple);
    background: rgba(168, 85, 247, 0.1);
    transform: translateY(-2px);
}

.hero-track-option.selected {
    border-color: var(--accent-purple);
    background: var(--gradient-primary);
    box-shadow: var(--shadow-glow);
}

.hero-track-icon {
    font-size: 1.4rem;
}

.hero-track-text {
    font-size: 1rem;
    font-weight: 600;
}

@media (max-width: 480px) {
    .hero-track-options {
        flex-direction: column;
        align-items: center;
    }

    .hero-track-option {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Loading States for Dynamic Content */
.loading-shimmer {
    background: linear-gradient(90deg,
            var(--bg-card) 0%,
            var(--bg-card-hover) 50%,
            var(--bg-card) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 12px;
    height: 100px;
}

.loading-card .loading-shimmer {
    height: 140px;
}

.loading-category .loading-shimmer {
    height: 200px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.loading-card,
.loading-category {
    pointer-events: none;
}

/* Hide loading cards when content is loaded */
.quick-apply-grid.loaded .loading-card,
.roles-categories.loaded .loading-category {
    display: none;
}