/* =============================================================
   WorkSites Websites — Main Stylesheet
   Shared across index.html and privacy.html
   ============================================================= */

/* ── CSS Variables ── */
:root {
  --ws-navy:   #0d1b2a;
  --ws-blue:   #1a6fc4;
  --ws-sky:    #38b6ff;
  --ws-lime:   #b5e550;
  --ws-white:  #f5f7fa;
  --ws-muted:  #6b7a8d;
  --ws-card:   #ffffff;
  --ws-border: #e3e8f0;
  --radius:    14px;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, h5, .brand-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
}

/* ── NAVBAR ── */
.navbar {
  background: var(--ws-navy);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid rgba(56,182,255,.15);
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff !important;
  letter-spacing: -.02em;
}
.brand-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.brand-icon i { color: var(--ws-navy); font-size: 1.15rem; }

.navbar-nav .nav-link {
  color: rgba(255,255,255,.75);
  font-weight: 500;
  font-size: .92rem;
  letter-spacing: .03em;
  padding: .45rem .9rem !important;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
  background: rgba(56,182,255,.12);
}
.nav-cta {
  background: var(--ws-lime) !important;
  color: var(--ws-navy) !important;
  font-weight: 700 !important;
  padding: .45rem 1.15rem !important;
}
.nav-cta:hover { background: #c8f060 !important; }

.navbar-toggler { border: none; color: #fff; }
.navbar-toggler i { font-size: 1.4rem; color: #fff; }

/* ── HERO ── */
.hero {
  background: var(--ws-navy);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(26,111,196,.35) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(56,182,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,182,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(181,229,80,.12);
  border: 1px solid rgba(181,229,80,.35);
  color: var(--ws-lime);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 100px;
  margin-bottom: 1.4rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 1.2rem;
}
.hero h1 span { color: var(--ws-sky); }
.hero p.lead {
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 520px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.hero-stats {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-val {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--ws-lime);
  line-height: 1;
}
.hero-stat-label { font-size: .82rem; color: rgba(255,255,255,.5); margin-top: .2rem; }

/* Hero browser mockup */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.browser-mockup {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.browser-bar {
  background: rgba(255,255,255,.08);
  padding: .7rem 1rem;
  display: flex; align-items: center; gap: .6rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-url {
  flex: 1;
  background: rgba(255,255,255,.07);
  border-radius: 4px;
  padding: .2rem .7rem;
  font-size: .7rem;
  color: rgba(255,255,255,.45);
  margin: 0 .4rem;
}
.browser-content { padding: 1.2rem; }
.browser-line {
  height: 8px; border-radius: 4px;
  background: rgba(255,255,255,.15);
  margin-bottom: .6rem;
}
.browser-line.short { width: 55%; }
.browser-line.med   { width: 75%; }

/* Floating cards */
.floating-card {
  position: absolute;
  background: var(--ws-navy);
  border: 1px solid rgba(56,182,255,.25);
  border-radius: var(--radius);
  padding: .8rem 1.1rem;
  display: flex; align-items: center; gap: .7rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  font-size: .82rem;
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
  animation: floatCard 4s ease-in-out infinite alternate;
}
.floating-card i { color: var(--ws-lime); font-size: 1.2rem; }
@keyframes floatCard {
  from { transform: translateY(0px); }
  to   { transform: translateY(-8px); }
}
.fc-topleft  { top: -1.2rem; left: -1.5rem; animation-delay: 0s; }
.fc-btmright { bottom: -1rem; right: -1rem; animation-delay: 1.5s; }

/* ── SHARED SECTION STYLES ── */
section { padding: 5rem 0; }
.section-label {
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ws-blue);
  margin-bottom: .6rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -.025em;
  line-height: 1.15;
}
.section-sub { color: var(--ws-muted); font-size: 1rem; line-height: 1.7; margin-top: .8rem; }

/* ── BUTTONS ── */
.btn-primary-ws {
  background: var(--ws-lime);
  color: var(--ws-navy);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: .7rem 1.6rem;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: background .2s, transform .15s;
}
.btn-primary-ws:hover { background: #c8f060; color: var(--ws-navy); transform: translateY(-1px); }

.btn-ghost-ws {
  background: transparent;
  color: rgba(255,255,255,.85);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  padding: .7rem 1.6rem;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: border-color .2s, color .2s, transform .15s;
}
.btn-ghost-ws:hover { border-color: rgba(255,255,255,.6); color: #fff; transform: translateY(-1px); }

.btn-outline-ws {
  background: transparent;
  color: var(--ws-blue);
  border: 1.5px solid var(--ws-blue);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .92rem;
  padding: .65rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: background .2s, color .2s;
}
.btn-outline-ws:hover { background: var(--ws-blue); color: #fff; }

/* ── SERVICES ── */
#services { background: #fff; }
.service-card {
  background: var(--ws-white);
  border: 1px solid var(--ws-border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ws-blue), var(--ws-sky));
  opacity: 0;
  transition: opacity .25s;
}
.service-card:hover { border-color: var(--ws-sky); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,111,196,.1); }
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(26,111,196,.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.service-icon i { font-size: 1.4rem; color: var(--ws-blue); }
.service-card h4 { font-size: 1.1rem; margin-bottom: .5rem; }
.service-card p { color: var(--ws-muted); font-size: .9rem; line-height: 1.65; margin: 0; }
.service-price {
  display: inline-block;
  background: rgba(181,229,80,.15);
  color: #4a6d0b;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  padding: .2rem .65rem;
  border-radius: 100px;
  margin-top: .9rem;
}

/* ── PROCESS ── */
#process { background: var(--ws-navy); }
#process .section-label { color: var(--ws-sky); }
#process .section-title { color: #fff; }
#process .section-sub { color: rgba(255,255,255,.55); }

.process-step {
  display: flex; gap: 1.2rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  transition: background .25s, border-color .25s;
  margin-bottom: 1rem;
}
.process-step:hover { background: rgba(56,182,255,.06); border-color: rgba(56,182,255,.2); }
.step-num {
  width: 42px; height: 42px; min-width: 42px;
  border-radius: 10px;
  background: rgba(56,182,255,.12);
  border: 1px solid rgba(56,182,255,.3);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--ws-sky);
}
.process-step h5 { color: #fff; font-size: 1rem; margin-bottom: .3rem; }
.process-step p  { color: rgba(255,255,255,.5); font-size: .88rem; line-height: 1.6; margin: 0; }

/* ── BENEFITS ── */
#benefits { background: #fff; }
.benefit-item {
  display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.4rem;
}
.benefit-icon {
  width: 42px; height: 42px; min-width: 42px;
  border-radius: 10px;
  background: rgba(181,229,80,.18);
  display: flex; align-items: center; justify-content: center;
}
.benefit-icon i { font-size: 1.1rem; color: #4a6d0b; }
.benefit-item h5 { font-size: .98rem; margin-bottom: .25rem; }
.benefit-item p  { color: var(--ws-muted); font-size: .88rem; margin: 0; line-height: 1.6; }

.info-block {
  background: var(--ws-navy);
  border-radius: 18px;
  padding: 2.5rem;
  color: #fff;
  height: 100%;
}
.info-block h3 { color: #fff; font-size: 1.6rem; margin-bottom: 1rem; }
.info-block p  { color: rgba(255,255,255,.6); font-size: .92rem; line-height: 1.7; }
.info-block .highlight {
  background: rgba(56,182,255,.1);
  border-left: 3px solid var(--ws-sky);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.2rem;
  margin-top: 1.2rem;
  font-size: .9rem;
  color: rgba(255,255,255,.75);
}

/* ── PRICING ── */
#pricing { background: var(--ws-white); }
.pricing-card {
  border: 1.5px solid var(--ws-border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  background: #fff;
  transition: transform .25s, box-shadow .25s;
}
.pricing-card.featured {
  border-color: var(--ws-blue);
  background: var(--ws-navy);
  color: #fff;
  position: relative;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.featured-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--ws-lime);
  color: var(--ws-navy);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .08em;
  padding: .25rem .8rem;
  border-radius: 100px;
}
.pricing-price {
  font-family: 'Syne', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}
.pricing-price sup { font-size: 1.2rem; vertical-align: top; margin-top: .5rem; font-weight: 400; }
.pricing-period { font-size: .85rem; color: var(--ws-muted); margin-left: .3rem; }
.featured .pricing-period { color: rgba(255,255,255,.5); }
.pricing-card h4 { font-size: 1rem; margin-bottom: .3rem; }
.featured h4 { color: #fff; }
.pricing-desc { font-size: .85rem; color: var(--ws-muted); margin-bottom: 1.5rem; }
.featured .pricing-desc { color: rgba(255,255,255,.55); }
.pricing-features { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .88rem; padding: .45rem 0;
  border-bottom: 1px solid var(--ws-border);
  color: var(--ws-navy);
}
.featured .pricing-features li { border-color: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }
.pricing-features li:last-child { border: none; }
.pricing-features li i { color: var(--ws-blue); font-size: .9rem; margin-top: .1rem; }
.featured .pricing-features li i { color: var(--ws-lime); }

/* ── PORTFOLIO ── */
#portfolio { background: #fff; }
.portfolio-item {
  border: 1px solid var(--ws-border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  display: flex; align-items: center; gap: 1rem;
  text-decoration: none; color: var(--ws-navy);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.portfolio-item:hover { border-color: var(--ws-sky); transform: translateX(4px); box-shadow: 0 6px 20px rgba(26,111,196,.08); color: var(--ws-navy); }
.portfolio-dot { width: 36px; height: 36px; min-width: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.portfolio-item h6 { font-size: .95rem; margin: 0; }
.portfolio-item p  { font-size: .8rem; color: var(--ws-muted); margin: 0; }
.portfolio-arrow { margin-left: auto; color: var(--ws-muted); }

/* ── CONTACT ── */
#contact { background: var(--ws-navy); }
#contact .section-label { color: var(--ws-sky); }
#contact .section-title { color: #fff; }
#contact .section-sub { color: rgba(255,255,255,.55); }

.contact-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  display: flex; align-items: center; gap: 1.1rem;
  text-decoration: none;
  color: #fff;
  transition: background .2s, border-color .2s;
}
.contact-card:hover { background: rgba(56,182,255,.08); border-color: rgba(56,182,255,.3); color: #fff; }
.contact-card-icon {
  width: 48px; height: 48px; min-width: 48px;
  border-radius: 12px;
  background: rgba(56,182,255,.12);
  display: flex; align-items: center; justify-content: center;
}
.contact-card-icon i { font-size: 1.3rem; color: var(--ws-sky); }
.contact-card-label { font-size: .75rem; color: rgba(255,255,255,.45); }
.contact-card-val { font-size: 1rem; font-weight: 500; }

.contact-form-wrap {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 2.2rem;
}
.form-label { font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: .35rem; }
.form-control, .form-select {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  color: #fff !important;
  border-radius: 8px;
  font-size: .9rem;
  padding: .7rem 1rem;
}
.form-control::placeholder { color: rgba(255,255,255,.3) !important; }
.form-control:focus, .form-select:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(56,182,255,.2) !important;
  border-color: rgba(56,182,255,.4) !important;
}
.form-select option { background: var(--ws-navy); }

/* ── FOOTER ── */
footer {
  background: #070e18;
  color: rgba(255,255,255,.45);
  padding: 2rem 0;
  font-size: .85rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
footer a { color: rgba(255,255,255,.45); text-decoration: none; }
footer a:hover { color: var(--ws-sky); }

/* ── SCROLL ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.visible { opacity: 1; transform: none; }
.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .3s; }
.fade-up-delay-4 { transition-delay: .4s; }

/* ── PRIVACY PAGE ── */
.page-header {
  background: var(--ws-navy);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(56,182,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,182,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.page-header .label {
  display: inline-block;
  background: rgba(181,229,80,.12);
  border: 1px solid rgba(181,229,80,.35);
  color: var(--ws-lime);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .25rem .8rem; border-radius: 100px;
  margin-bottom: 1rem;
}
.page-header h1 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -.025em; }
.page-header p  { color: rgba(255,255,255,.55); font-size: .9rem; margin: .5rem 0 0; }

.policy-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 3.5rem 1rem 4rem;
}
.policy-body h2 {
  font-size: 1.2rem;
  color: var(--ws-navy);
  margin: 2.2rem 0 .7rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--ws-border);
}
.policy-body h2:first-of-type { margin-top: 0; }
.policy-body p, .policy-body li {
  font-size: .95rem;
  line-height: 1.75;
  color: #3a4a5a;
}
.policy-body ul { padding-left: 1.4rem; }
.policy-body ul li { margin-bottom: .4rem; }
.policy-body a { color: var(--ws-blue); }
.policy-body a:hover { color: var(--ws-sky); }

.info-box {
  background: rgba(26,111,196,.06);
  border: 1px solid rgba(26,111,196,.2);
  border-left: 4px solid var(--ws-blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.3rem;
  margin: 1.5rem 0;
  font-size: .92rem;
  color: #2a3a4a;
  line-height: 1.65;
}

/* ── RESPONSIVE ── */
@media (max-width: 767px) {
  .hero { padding: 3.5rem 0 3rem; }
  .hero-visual { margin-top: 3rem; }
  .floating-card { display: none; }
  section { padding: 3.5rem 0; }
}
