/* ================================================================
   JOBSNOW USA — SHARED STYLESHEET
   Used by: index.html, privacy-policy.html, terms.html,
            contact.html, about.html
   Domain: https://job.innovativetechplatform.com/
   ================================================================ */

/* ===== RESET & ROOT ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --navy:    #0A1628;
  --navy2:   #112240;
  --accent:  #FF6B35;
  --accent2: #FF8C5A;
  --gold:    #F5C842;
  --sky:     #4FC3F7;
  --mint:    #00E5A0;
  --white:   #FFFFFF;
  --gray:    #8A94A6;
  --card-bg: #15253D;
  --radius:  14px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Noise texture */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 0.5;
}

/* ===== COOKIE CONSENT BANNER ===== */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99999;
  background: #0d1f38;
  border-top: 1px solid rgba(255,107,53,0.3);
  padding: 16px 5%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.5);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
#cookie-banner.show { transform: translateY(0); }
.cookie-text {
  font-size: 0.83rem; color: rgba(255,255,255,0.72);
  max-width: 680px; line-height: 1.6;
}
.cookie-text a { color: var(--accent); text-decoration: none; }
.cookie-text a:hover { text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--accent); color: #fff; border: none;
  padding: 10px 22px; border-radius: 8px; font-weight: 700;
  font-size: 0.85rem; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: background 0.2s;
}
.btn-cookie-accept:hover { background: var(--accent2); }
.btn-cookie-decline {
  background: transparent; color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 18px; border-radius: 8px;
  font-size: 0.85rem; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: all 0.2s;
}
.btn-cookie-decline:hover { border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.8); }

/* ===== STICKY ANCHOR AD — MOBILE ===== */
#sticky-anchor-ad {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9990;
  background: rgba(10,22,40,0.97);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: none; align-items: center; justify-content: center;
  padding: 8px 0 env(safe-area-inset-bottom, 0px);
  min-height: 66px; box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
}
#sticky-anchor-ad.visible { display: flex; }
#sticky-anchor-close {
  position: absolute; top: 5px; right: 10px;
  background: none; border: none;
  color: rgba(255,255,255,0.3); font-size: 14px;
  cursor: pointer; padding: 4px 6px;
}
#sticky-anchor-close:hover { color: rgba(255,255,255,0.7); }
.sticky-adlabel {
  font-size: 8px; color: rgba(255,255,255,0.2);
  text-transform: uppercase; letter-spacing: 0.06em;
  display: block; margin-bottom: 3px; text-align: center;
}
@media (min-width: 769px) { #sticky-anchor-ad { display: none !important; } }
@media (max-width: 768px) { body.has-sticky { padding-bottom: 74px; } }

/* ===== AD UNITS ===== */
.ad-wrap {
  text-align: center; padding: 14px 5%;
  position: relative; z-index: 1;
}
.ad-label-tag {
  display: block; font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.18); margin-bottom: 4px;
}
.ad-border {
  display: inline-block;
  border: 1px dashed rgba(255,255,255,0.06);
  border-radius: 4px; padding: 2px;
}
#div-gpt-ad-leaderboard-top,
#div-gpt-ad-leaderboard-bottom { min-height: 50px; width: 100%; max-width: 728px; margin: 0 auto; }
#div-gpt-ad-rectangle-1,
#div-gpt-ad-rectangle-2 { min-height: 250px; width: 100%; max-width: 336px; margin: 0 auto; }
#div-gpt-ad-infeed { min-height: 50px; width: 100%; max-width: 468px; margin: 0 auto; }
.infeed-ad-card {
  background: rgba(255,255,255,0.025);
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 8px;
  display: flex; align-items: center; justify-content: center;
  min-height: 80px; position: relative;
}
.infeed-ad-card::before {
  content: 'Sponsored'; position: absolute; top: 7px; right: 10px;
  font-size: 9px; color: rgba(255,255,255,0.18);
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* ===== HEADER & NAV ===== */
header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10,22,40,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0 5%;
}
nav {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; height: 68px;
}
.logo {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.45rem; color: var(--white);
  text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.logo span { color: var(--accent); }
.logo-dot {
  width: 8px; height: 8px; background: var(--mint);
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.4);opacity:0.6} }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.68); text-decoration: none;
  font-size: 0.88rem; font-weight: 500; transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.nav-cta {
  background: var(--accent) !important; color: var(--white) !important;
  padding: 9px 22px !important; border-radius: 8px !important;
  font-weight: 600 !important; transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--accent2) !important; transform: translateY(-1px) !important; }
.nav-cta.active::after { display: none !important; }

/* Mobile hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 8px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,0.8); border-radius: 2px;
  transition: all 0.3s;
}
.nav-mobile {
  display: none; flex-direction: column; gap: 0;
  background: var(--navy2); border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0; overflow: hidden; max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.nav-mobile.open { display: flex; max-height: 400px; padding: 12px 0; }
.nav-mobile a {
  color: rgba(255,255,255,0.72); text-decoration: none;
  font-size: 0.92rem; font-weight: 500; padding: 13px 5%;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s, color 0.2s;
}
.nav-mobile a:hover { background: rgba(255,107,53,0.08); color: var(--white); }
.nav-mobile a.active { color: var(--accent); }
.nav-mobile a.nav-cta-mobile {
  background: var(--accent); color: var(--white) !important;
  margin: 12px 5%; border-radius: 8px; border-bottom: none;
  text-align: center; font-weight: 700;
}
.nav-mobile a.nav-cta-mobile:hover { background: var(--accent2); }

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

/* ===== PAGE HERO BANNER (for inner pages) ===== */
.page-hero {
  position: relative; z-index: 1;
  padding: 64px 5% 48px;
  background: var(--navy2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,107,53,0.1);
  filter: blur(80px);
  top: -100px; right: -80px; pointer-events: none;
}
.page-hero-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
  margin-bottom: 16px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: rgba(255,255,255,0.2); }
.page-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.page-title {
  font-family: 'Syne', sans-serif; font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800; color: var(--white); margin-bottom: 10px; line-height: 1.15;
}
.page-subtitle { font-size: 0.95rem; color: var(--gray); }

/* ===== PAGE CONTENT AREA ===== */
.page-content {
  max-width: 900px; margin: 0 auto;
  padding: 56px 5% 80px;
  position: relative; z-index: 1;
}
.page-content h2 {
  font-family: 'Syne', sans-serif; font-size: 1.25rem; font-weight: 700;
  color: var(--white); margin: 40px 0 14px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.07);
}
.page-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.page-content p { color: rgba(255,255,255,0.7); margin-bottom: 14px; font-size: 0.97rem; line-height: 1.8; }
.page-content ul { color: rgba(255,255,255,0.7); padding-left: 22px; margin-bottom: 16px; }
.page-content ul li { margin-bottom: 7px; line-height: 1.7; font-size: 0.97rem; }
.page-content a { color: var(--accent); text-decoration: none; }
.page-content a:hover { text-decoration: underline; }
.info-box {
  background: rgba(255,107,53,0.07);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 10px; padding: 18px 22px; margin: 22px 0;
}
.info-box p { margin: 0; color: rgba(255,255,255,0.82); }
.info-box strong { color: var(--white); }

/* ===== FOOTER ===== */
footer {
  background: rgba(0,0,0,0.45);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 60px 5% 0;
  position: relative; z-index: 1;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-brand .logo { font-size: 1.3rem; margin-bottom: 14px; display: inline-flex; }
.footer-brand p { font-size: 0.86rem; color: var(--gray); margin: 0 0 20px; line-height: 1.75; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: rgba(255,255,255,0.5); font-size: 0.82rem; font-weight: 700;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-socials a:hover { background: rgba(255,107,53,0.15); border-color: rgba(255,107,53,0.3); color: var(--accent); }
.footer-col h4 {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 0.88rem; margin-bottom: 16px; color: var(--white);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--gray); text-decoration: none;
  font-size: 0.86rem; transition: color 0.2s;
  display: flex; align-items: center; gap: 6px;
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-col ul li a.active-link { color: var(--accent); }
.footer-divider {
  border: none; border-top: 1px solid rgba(255,255,255,0.06);
  margin: 0 0 24px;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--gray); flex-wrap: wrap; gap: 12px;
  padding-bottom: 24px;
}
.footer-bottom a { color: var(--gray); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-ad-disclosure {
  font-size: 0.72rem; color: rgba(255,255,255,0.18);
  text-align: center; padding: 14px 0 20px; line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-ad-disclosure a { color: rgba(255,107,53,0.4); text-decoration: none; }
.footer-ad-disclosure a:hover { color: var(--accent); }

/* ===== FLOATING CTA ===== */
.float-cta {
  position: fixed; bottom: 28px; right: 28px; z-index: 997;
  background: var(--accent); color: var(--white);
  padding: 13px 22px; border-radius: 100px;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.88rem;
  cursor: pointer; border: none;
  box-shadow: 0 6px 30px rgba(255,107,53,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; align-items: center; gap: 7px;
  animation: floatIn 0.5s ease 1.5s both;
}
.float-cta:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 10px 40px rgba(255,107,53,0.55); }
@media (max-width: 768px) { .float-cta { bottom: 80px; right: 14px; } }

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeInUp   { from{opacity:0;transform:translateY(25px)}  to{opacity:1;transform:translateY(0)} }
@keyframes fadeInRight{ from{opacity:0;transform:translateX(30px)}  to{opacity:1;transform:translateX(0)} }
@keyframes floatIn    { from{opacity:0;transform:translateY(20px)}  to{opacity:1;transform:translateY(0)} }

/* ===== RESPONSIVE FOOTER ===== */
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }
