/* =========================================================
   MOUNTPEAK GROUP — PREMIUM GLOBAL WEBSITE
   Main Website Styles
   Payment / Old Enrollment Flow Removed
   ========================================================= */

:root{
  --navy:#070713;
  --navy-2:#0d0b1d;
  --purple:#6f3cff;
  --purple-2:#a875ff;
  --gold:#e8c477;
  --gold-2:#f5d995;
  --white:#ffffff;
  --muted:#aaa8bb;
  --muted-2:#858293;
  --line:rgba(255,255,255,.10);
  --card:rgba(255,255,255,.055);
  --card-strong:rgba(255,255,255,.075);
  --shadow:0 25px 70px rgba(0,0,0,.35);
  --radius:22px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
  scroll-padding-top:90px;
}

body{
  margin:0;
  font-family:Inter,Arial,Helvetica,sans-serif;
  background:var(--navy);
  color:var(--white);
  line-height:1.6;
  overflow-x:hidden;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input,
select,
textarea{
  font:inherit;
}

button{
  cursor:pointer;
}

img{
  max-width:100%;
  display:block;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header{
  position:relative;
  z-index:100;
  width:100%;
  min-height:82px;
  display:flex;
  align-items:center;
  gap:28px;
  padding:16px 5%;
  background:rgba(7,7,19,.90);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(18px);
}

.brand{
  display:flex;
  align-items:center;
  flex-shrink:0;
}

.brand-logo{
  width:150px;
  max-height:54px;
  object-fit:contain;
}

.nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:24px;
}

.nav a{
  color:#dddbea;
  font-size:14px;
  font-weight:600;
  transition:.25s ease;
}

.nav a:hover{
  color:var(--gold-2);
}

.nav-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 20px;
  border:1px solid rgba(232,196,119,.55);
  border-radius:999px;
  color:var(--gold-2);
  font-weight:700;
  background:rgba(232,196,119,.06);
  transition:.25s ease;
}

.nav-button:hover{
  background:var(--gold);
  color:#090812;
  transform:translateY(-2px);
}

.menu{
  display:none;
  margin-left:auto;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:white;
  border-radius:12px;
  padding:9px 12px;
}


/* =========================================================
   GLOBAL BUTTONS
   ========================================================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:50px;
  padding:13px 23px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:800;
  transition:.25s ease;
}

.btn.gold{
  background:linear-gradient(135deg,var(--gold-2),var(--gold));
  color:#0b0911;
  box-shadow:0 12px 35px rgba(232,196,119,.18);
}

.btn.gold:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 45px rgba(232,196,119,.28);
}

.btn.ghost{
  background:rgba(255,255,255,.035);
  border-color:rgba(255,255,255,.18);
  color:white;
}

.btn.ghost:hover{
  border-color:rgba(232,196,119,.6);
  color:var(--gold-2);
  transform:translateY(-2px);
}

.full-btn{
  width:100%;
}


/* =========================================================
   HERO
   ========================================================= */

.hero{
  position:relative;
  min-height:760px;
  overflow:hidden;
  display:flex;
  align-items:center;
  background:
    radial-gradient(circle at 75% 35%,rgba(111,60,255,.22),transparent 30%),
    radial-gradient(circle at 50% 90%,rgba(232,196,119,.08),transparent 35%),
    linear-gradient(135deg,#090817,#110b23 55%,#05050c);
}

.hero-background{
  position:absolute;
  inset:0;
  overflow:hidden;
}

.hero-stars{
  position:absolute;
  inset:0;
  opacity:.6;
  background-image:
    radial-gradient(circle,rgba(255,255,255,.7) 1px,transparent 1px);
  background-size:75px 75px;
}

.hero-glow{
  position:absolute;
  width:650px;
  height:650px;
  right:-100px;
  top:-120px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(130,73,255,.27),transparent 67%);
  filter:blur(15px);
}

/* Cinematic mountain / horizon effect */
.hero-mountain{
  position:absolute;
  left:35%;
  bottom:-170px;
  width:850px;
  height:520px;
  opacity:.72;
  transform:rotate(-2deg);
  background:
    linear-gradient(145deg,
      transparent 0 24%,
      rgba(255,255,255,.06) 25% 26%,
      transparent 27%),
    linear-gradient(35deg,
      transparent 0 44%,
      rgba(232,196,119,.13) 45% 46%,
      transparent 47%),
    linear-gradient(150deg,#21173b,#090811 65%);
  clip-path:polygon(
    0 100%,
    18% 62%,
    31% 75%,
    51% 23%,
    64% 55%,
    79% 42%,
    100% 100%
  );
  filter:drop-shadow(0 -20px 60px rgba(111,60,255,.18));
}

.hero-orbit{
  position:absolute;
  border:1px solid rgba(232,196,119,.16);
  border-radius:50%;
  transform:rotate(-20deg);
}

.orbit-one{
  width:850px;
  height:300px;
  right:-160px;
  top:150px;
}

.orbit-two{
  width:1000px;
  height:380px;
  right:-230px;
  top:115px;
  border-color:rgba(132,88,255,.15);
}

.hero-content{
  position:relative;
  z-index:2;
  width:min(1180px,90%);
  margin:auto;
  padding:100px 0;
}

.hero-copy{
  max-width:720px;
}

.eyebrow{
  margin:0 0 18px;
  color:var(--gold-2);
  font-size:12px;
  letter-spacing:3px;
  font-weight:800;
}

.hero h1{
  margin:0;
  font-size:clamp(52px,8vw,104px);
  line-height:.9;
  letter-spacing:-5px;
}

.hero h1 span{
  display:block;
  color:var(--gold-2);
}

.hero h2{
  margin:30px 0 18px;
  font-size:clamp(28px,4vw,48px);
  line-height:1.05;
}

.hero h2 em{
  color:var(--gold-2);
  font-style:normal;
}

.hero-description{
  max-width:650px;
  color:#bdb9ce;
  font-size:17px;
}

.hero-actions{
  display:flex;
  gap:14px;
  margin-top:32px;
  flex-wrap:wrap;
}

.hero-message{
  position:absolute;
  right:0;
  bottom:70px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.hero-message span{
  padding:9px 13px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.04);
  color:#bbb7ca;
  font-size:10px;
  letter-spacing:1.4px;
}


/* =========================================================
   STATS
   ========================================================= */

.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--line);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.stats > div{
  padding:35px 20px;
  text-align:center;
  background:#0b0a16;
}

.stats strong{
  display:block;
  font-size:30px;
  color:var(--gold-2);
}

.stats span{
  color:var(--muted);
  font-size:13px;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section{
  padding:110px 5%;
  background:#0b0a16;
}

.section:nth-of-type(even){
  background:#080812;
}

.section h2{
  font-size:clamp(34px,5vw,58px);
  line-height:1.05;
  margin:0 0 20px;
}

.section p{
  color:var(--muted);
}

.about,
.services,
.employer,
.jobs,
.form-section{
  max-width:1300px;
  margin:auto;
}

.services{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.service-card,
.about-card,
.employer-card,
.job-card{
  padding:30px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--card);
  box-shadow:var(--shadow);
}

.service-card:hover,
.job-card:hover{
  border-color:rgba(232,196,119,.3);
  transform:translateY(-4px);
  transition:.25s ease;
}


/* =========================================================
   CANDIDATE / EMPLOYER / GLOBAL
   ========================================================= */

.dark{
  background:
    radial-gradient(circle at 20% 20%,rgba(111,60,255,.16),transparent 30%),
    #070710;
}

.candidate-section{
  padding:110px 5%;
}

.global-section{
  padding:120px 5%;
  min-height:500px;
  background:
    radial-gradient(circle at center,rgba(111,60,255,.18),transparent 32%),
    #080812;
  text-align:center;
}

.enroll-banner{
  padding:85px 5%;
  text-align:center;
  background:
    linear-gradient(120deg,rgba(111,60,255,.18),rgba(232,196,119,.08)),
    #0c0a18;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}


/* =========================================================
   JOBS
   ========================================================= */

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

.job-search{
  grid-column:1/-1;
  display:flex;
  gap:12px;
  margin-bottom:5px;
}

.job-search input,
.job-search select{
  width:100%;
  padding:16px 20px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#11101c;
  color:white;
  outline:none;
}

.job-search input:focus,
.job-search select:focus{
  border-color:rgba(232,196,119,.6);
  box-shadow:0 0 0 3px rgba(232,196,119,.05);
}

.job-search select{
  max-width:240px;
}

.job-card{
  position:relative;
}

.job-card h3{
  margin-top:0;
  margin-bottom:10px;
}

.job-card .job-meta{
  color:var(--gold-2);
  font-size:13px;
}

.job-card p{
  color:var(--muted);
}

.job-card .btn{
  margin-top:12px;
}


/* =========================================================
   PROFILE / APPLICATION FORM
   ========================================================= */

.form-section{
  position:relative;
}

.form-section::before{
  content:"";
  position:absolute;
  width:300px;
  height:300px;
  right:-100px;
  top:50px;
  border-radius:50%;
  background:rgba(111,60,255,.08);
  filter:blur(80px);
  pointer-events:none;
}

.form-section form{
  position:relative;
  z-index:1;
  max-width:900px;
  margin-top:30px;
  padding:32px;
  border:1px solid var(--line);
  border-radius:24px;
  background:
    radial-gradient(circle at top right,rgba(111,60,255,.10),transparent 35%),
    rgba(255,255,255,.035);
  box-shadow:var(--shadow);
}

.form-section input,
.form-section select,
.form-section textarea,
.contact input,
.contact textarea,
.contact select{
  width:100%;
  margin-top:7px;
  padding:14px 15px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#11101c;
  color:white;
  outline:none;
  transition:.2s ease;
}

.form-section input:focus,
.form-section select:focus,
.form-section textarea:focus,
.contact input:focus,
.contact textarea:focus,
.contact select:focus{
  border-color:rgba(232,196,119,.60);
  box-shadow:0 0 0 3px rgba(232,196,119,.05);
}

.form-section label,
.contact label{
  display:block;
  margin-bottom:18px;
  color:#dddbea;
  font-size:14px;
  font-weight:600;
}

.form-section textarea,
.contact textarea{
  min-height:130px;
  resize:vertical;
}

.form-section input[type="file"]{
  padding:11px;
}

.form-section input[type="file"]::file-selector-button{
  margin-right:12px;
  padding:9px 14px;
  border:1px solid rgba(232,196,119,.35);
  border-radius:9px;
  background:rgba(232,196,119,.08);
  color:var(--gold-2);
  cursor:pointer;
}

.form-section button[type="submit"],
.contact button[type="submit"]{
  border:0;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact{
  max-width:1300px;
  margin:auto;
}

.contact form{
  max-width:900px;
  margin-top:30px;
  padding:32px;
  border:1px solid var(--line);
  border-radius:24px;
  background:rgba(255,255,255,.035);
  box-shadow:var(--shadow);
}


/* =========================================================
   AI NAVIGATION
   ========================================================= */

.ai-nav,
.ai-chat{
  position:fixed;
  z-index:900;
}

.ai-nav{
  right:25px;
  bottom:90px;
}

.ai-chat{
  right:25px;
  bottom:25px;
}

.ai-nav button,
.ai-chat button{
  border:1px solid rgba(232,196,119,.25);
  background:#121020;
  color:white;
  border-radius:999px;
  padding:12px 17px;
  box-shadow:0 15px 40px rgba(0,0,0,.35);
  transition:.25s ease;
}

.ai-nav button:hover,
.ai-chat button:hover{
  border-color:rgba(232,196,119,.55);
  color:var(--gold-2);
  transform:translateY(-2px);
}

.ai-panel,
.ai-chat-box{
  display:none;
}


/* =========================================================
   AI PANEL / CHAT
   ========================================================= */

.ai-panel.open,
.ai-chat-box.open{
  display:block;
}

.ai-panel{
  position:absolute;
  right:0;
  bottom:58px;
  width:280px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#0d0b1a;
  box-shadow:0 25px 70px rgba(0,0,0,.5);
}

.ai-panel a,
.ai-panel button{
  display:block;
  width:100%;
  margin:5px 0;
  padding:11px 13px;
  border:1px solid var(--line);
  border-radius:10px;
  background:rgba(255,255,255,.035);
  color:#dddbea;
  text-align:left;
}

.ai-panel a:hover,
.ai-panel button:hover{
  border-color:rgba(232,196,119,.4);
  color:var(--gold-2);
}

.ai-chat{
  width:auto;
}

.ai-chat-box{
  position:absolute;
  right:0;
  bottom:58px;
  width:350px;
  max-width:calc(100vw - 30px);
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:20px;
  background:#0d0b1a;
  box-shadow:0 25px 80px rgba(0,0,0,.55);
}

.chat-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:15px 17px;
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.035);
}

.chat-header strong{
  color:var(--gold-2);
}

.chat-header button{
  padding:5px 9px;
  border-radius:8px;
  font-size:14px;
}

.chat-messages{
  height:300px;
  overflow-y:auto;
  padding:15px;
}

.chat-message{
  max-width:85%;
  margin-bottom:10px;
  padding:10px 12px;
  border-radius:12px;
  background:rgba(255,255,255,.055);
  color:#dddbea;
  font-size:13px;
}

.chat-message.user{
  margin-left:auto;
  background:rgba(111,60,255,.18);
}

.chat-input{
  display:flex;
  gap:8px;
  padding:12px;
  border-top:1px solid var(--line);
}

.chat-input input{
  min-width:0;
  flex:1;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#11101c;
  color:white;
  outline:none;
}

.chat-input button{
  padding:10px 13px;
  border-radius:10px;
  background:var(--gold);
  color:#0b0911;
  border:0;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer{
  padding:60px 5%;
  background:#05050c;
  border-top:1px solid var(--line);
  color:#888596;
}

footer a{
  transition:.2s ease;
}

footer a:hover{
  color:var(--gold-2);
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media(max-width:1000px){

  .nav{
    gap:15px;
  }

  .nav a{
    font-size:12px;
  }

  .services{
    grid-template-columns:repeat(2,1fr);
  }

  .hero-mountain{
    left:25%;
    width:750px;
  }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media(max-width:760px){

  .site-header{
    min-height:70px;
    padding:12px 5%;
  }

  .brand-logo{
    width:125px;
  }

  .menu{
    display:block;
  }

  .nav{
    display:none;
    position:absolute;
    left:5%;
    right:5%;
    top:70px;
    padding:18px;
    flex-direction:column;
    align-items:stretch;
    background:#0d0b19;
    border:1px solid var(--line);
    border-radius:18px;
    box-shadow:0 20px 50px rgba(0,0,0,.45);
  }

  .nav.open{
    display:flex;
  }

  .nav a{
    padding:10px;
  }

  .nav-button{
    display:none;
  }

  .hero{
    min-height:700px;
  }

  .hero-content{
    padding:80px 0;
  }

  .hero h1{
    letter-spacing:-3px;
  }

  .hero-message{
    position:static;
    justify-content:flex-start;
    margin-top:45px;
  }

  .hero-mountain{
    left:0;
    bottom:-100px;
    width:700px;
    opacity:.45;
  }

  .hero-orbit{
    opacity:.5;
  }

  .stats{
    grid-template-columns:repeat(2,1fr);
  }

  .services,
  .jobs{
    grid-template-columns:1fr;
  }

  .job-search{
    flex-direction:column;
  }

  .job-search select{
    max-width:none;
  }

  .section,
  .candidate-section{
    padding:80px 5%;
  }

  .form-section form,
  .contact form{
    padding:23px;
  }

  .ai-nav{
    right:15px;
    bottom:80px;
  }

  .ai-chat{
    right:15px;
    bottom:15px;
  }

}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media(max-width:450px){

  .hero h1{
    font-size:47px;
  }

  .hero h2{
    font-size:27px;
  }

  .hero-description{
    font-size:15px;
  }

  .hero-actions{
    flex-direction:column;
  }

  .hero-actions .btn{
    width:100%;
  }

  .stats{
    grid-template-columns:1fr;
  }

  .service-card,
  .about-card,
  .employer-card,
  .job-card{
    padding:23px;
  }

  .form-section form,
  .contact form{
    border-radius:18px;
    padding:20px;
  }

  .ai-chat-box{
    width:calc(100vw - 30px);
  }

}


/* =========================================================
   ACCESSIBILITY / STATES
   ========================================================= */

::selection{
  background:rgba(232,196,119,.30);
  color:white;
}

:focus-visible{
  outline:2px solid var(--gold-2);
  outline-offset:3px;
}

[hidden]{
  display:none !important;
}
