/* 
   Next3 Academy Careers - Premium High-Performance Stylesheet
   V3.1 - Enhanced Visibility & Typography Polish
*/

/* 1. TYPOGRAPHY SYSTEM (Outfit for Headings, Inter for Body) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700;800;900&family=Inter:wght@400;500;600;700;800&display=swap');

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

html, body { 
    height: 100%; 
    background-color: #0c111d !important; 
    color: #f8fafc; 
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body { line-height: 1.5; -webkit-font-smoothing: antialiased; }

h1, h2, h3, h4, h5, h6, .sh h2, .ctitle {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800;
    letter-spacing: -0.01em;
}

/* UTILS */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* HEADER */
.sticky-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(12, 17, 29, 0.85); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    padding: 1rem 0;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 0.75rem; font-weight: 900; font-size: 1.25rem; text-decoration: none; color: #fff; }
.logo-box { width: 32px; height: 32px; background: #3b82f6; border-radius: 8px; display: flex; align-items: center; justify-content: center; }

/* HERO */
.hero { z-index: 1;
    padding-top: 14rem; padding-bottom: 12rem;
    position: relative; overflow: hidden;
    text-align: center;
}
.hero-kitchen-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(to bottom, rgba(12, 17, 29, 0.85), rgba(12, 17, 29, 0.7)), 
                      url('https://next3academy.com/wp-content/uploads/2026/03/careers_hero_kitchen_1773133639183.png');
    background-size: cover; background-position: center; z-index: -1;
}
.hero-pill {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(59, 130, 246, 0.2); border: 1px solid rgba(59, 130, 246, 0.4);
    padding: 0.6rem 1.25rem; border-radius: 99px; font-size: 0.7rem; font-weight: 800; color: #fff; text-transform: uppercase; margin-bottom: 2.5rem;
    letter-spacing: 0.1em;
}
.hero h1 { font-size: clamp(3rem, 9vw, 5.2rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 2rem; color: #ffffff !important; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.hero h1 span { background: linear-gradient(135deg, #60a5fa, #3b82f6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: #f1f5f9 !important; font-size: 1.25rem; max-width: 720px; margin: 0 auto 3.5rem; line-height: 1.7; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 1.2rem 2.5rem; border-radius: 14px; font-weight: 800; font-size: 1rem; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: none; text-decoration: none; }
.btn-primary { background: #3b82f6; color: white; box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3); }
.btn-primary:hover { background: #2563eb; transform: translateY(-4px); box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4); }

/* GRID & CARDS */
.wrap { max-width: 1200px; margin: 0 auto; padding: 8rem 1.5rem; }
.sh { text-align: center; margin-bottom: 5rem; }
.sh h2 { font-size: 3rem; font-weight: 900; color: #f8fafc; margin: 0 0 1rem; letter-spacing: -0.03em; }
.sh p { color: #94a3b8; font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 2.5rem; }
.jcard { background: #161c2c; border: 1px solid rgba(51, 65, 85, 0.3); border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.jcard:hover { transform: translateY(-12px); border-color: #3b82f6; box-shadow: 0 40px 80px rgba(0, 0, 0, .6); }
.cimg { height: 260px; position: relative; background-size: cover; background-position: center top; transition: transform 0.6s ease; }
.jcard:hover .cimg { transform: scale(1.05); }
.cimg-ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 17, 29, .9) 0%, transparent 60%); }

.badge { position: absolute; top: 1.25rem; left: 1.25rem; padding: 0.5rem 1rem; border-radius: 10px; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; backdrop-filter: blur(8px); }
.badge.bg { background: rgba(59, 130, 246, 0.8); color: #fff; }
.badge.gg { background: rgba(16, 185, 129, 0.8); color: #fff; }
.badge.gd { background: linear-gradient(135deg, rgba(245, 158, 11, 0.8), rgba(217, 119, 6, 0.8)); color: #fff; }

.cbody { padding: 2.5rem; flex-grow: 1; }
.ccat { display: flex; align-items: center; gap: .5rem; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; color: #64748b; }
.ccat.gold { color: #f59e0b; }
.ctitle { font-size: 1.6rem; font-weight: 800; color: #f8fafc; margin: 0 0 1rem; }
.cdesc { font-size: 0.95rem; color: #94a3b8; line-height: 1.8; margin: 0; }
.ctags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.tag { font-size: .6rem; font-weight: 800; padding: 0.4rem 0.8rem; border-radius: 8px; text-transform: uppercase; letter-spacing: .05em; border: 1px solid; }
.tag.tg { background: rgba(245, 158, 11, .05); color: #f59e0b; border-color: rgba(245, 158, 11, .2); }
.tag.tb { background: rgba(59, 130, 246, .05); color: #60a5fa; border-color: rgba(59, 130, 246, .2); }
.tag.te { background: rgba(16, 185, 129, .05); color: #34d399; border-color: rgba(16, 185, 129, .2); }
.cfoot { padding: 0 2.5rem 2.5rem; display: flex; gap: 1rem; }

/* WHY CARDS */
.wgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; margin-top: 4rem; }
.wcard { background: rgba(255,255,255,0.02); padding: 2.5rem; border-radius: 24px; border: 1px solid rgba(255,255,255,0.05); transition: all 0.3s; }
.wcard:hover { background: rgba(255,255,255,0.04); border-color: rgba(59, 130, 246, 0.2); }
.wicon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }

/* FORM SECTION */
.apply-section { padding: 10rem 0; background: #080a12; }
.form-card { max-width: 1000px; margin: 0 auto; background: #161c2c; border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 40px; overflow: hidden; box-shadow: 0 60px 120px -20px rgba(0,0,0,0.7); }
.form-header { padding: 5rem 6rem 3rem; text-align: center; }
.form-header h2 { font-size: 3.5rem; font-weight: 900; margin-bottom: 1rem; letter-spacing: -0.04em; color: #fff; }
.form-header p { color: #94a3b8; font-size: 1.2rem; }

.form-body { padding: 2rem 6rem 6rem; }

/* PROGRESS BAR */
.ff-step-container { margin-bottom: 4rem; }
.ff-progress-bar { height: 8px; background: rgba(51, 65, 85, 0.3); border-radius: 20px; position: relative; overflow: hidden; display: flex; gap: 12px; }
.ff-progress-segment { flex: 1; height: 100%; border-radius: 20px; background: rgba(51, 65, 85, 0.3); transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); }
.ff-progress-segment.active { background: #3b82f6; box-shadow: 0 0 20px rgba(59, 130, 246, 0.5); }
.ff-step-label { font-size: 0.7rem; font-weight: 900; color: #64748b; text-transform: uppercase; letter-spacing: 0.12em; text-align: center; margin-top: 1rem; }

/* FLUENT FORM DARK MODE */
.fluentform .ff-el-form-label { color: #64748b !important; font-weight: 900 !important; font-size: 0.7rem !important; text-transform: uppercase !important; margin-bottom: 1rem !important; letter-spacing: 0.1em !important; }
.fluentform .ff-el-form-control { 
    background: #0c111d !important; 
    border: 1px solid rgba(255,255,255,0.08) !important; 
    border-radius: 16px !important; 
    color: #f8fafc !important; 
    padding: 1.25rem 1.5rem !important; 
    font-size: 1rem !important;
    font-family: 'Inter', sans-serif !important;
}

.ff-btn-submit, .next-step-btn {
    background: #3b82f6 !important;
    color: white !important;
    font-weight: 800 !important;
    padding: 1.2rem 2.5rem !important;
    border-radius: 14px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}
.next-step-btn:hover { background: #2563eb !important; transform: translateX(5px); }

/* FOOTER */
.n3-footer {
    background: #0c111d !important;
    border-top: 1px solid rgba(51, 65, 85, 0.3) !important;
    padding: 4rem 0 !important;
}
.n3-footer a { color: #64748b !important; text-decoration: none !important; transition: color 0.2s; }
.n3-footer a:hover { color: #f8fafc !important; }
