/* =========================================================
   NetStepLab — Auxiliary Pages Stylesheet
   Used by: about.html, privacy-policy.html,
            terms-of-service.html, cookie-policy.html
   No animations or transitions per project requirements
   ========================================================= */

/* === VARIABLES (mirrored from style.css) === */
:root {
  --navy:       #0B1E3D;
  --teal:       #00BFD8;
  --teal-dark:  #0099B5;
  --teal-light: #E0F7FA;
  --light:      #F2F6FA;
  --white:      #FFFFFF;
  --text:       #1A2B3C;
  --muted:      #566878;
  --border:     #D0DCE8;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --radius:    10px;
  --radius-lg: 16px;
  --shadow:    0 2px 16px rgba(11, 30, 61, 0.07);

  --max-w:      1200px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 16px; }
body  { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: var(--teal); text-decoration: none; }
ul, ol { list-style: none; }

/* === LAYOUT === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* =========================================================
   PAGE HEADER (auxiliary pages)
   ========================================================= */
.page-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.page-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}
.brand:hover { color: var(--navy); }
.brand-logo  { width: 44px; height: 44px; flex-shrink: 0; }
.brand-name  { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.025em; color: var(--navy); }

.page-header-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}
.page-header-back:hover { color: var(--navy); }
.page-header-back svg { width: 16px; height: 16px; }

/* =========================================================
   PAGE HERO BANNER
   ========================================================= */
.page-banner {
  background: var(--navy);
  padding: 60px 0;
}
.page-banner-inner {
  max-width: 760px;
}
.page-banner h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.page-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

/* =========================================================
   ABOUT PAGE – CONTENT BLOCKS
   ========================================================= */
.about-block {
  padding: 80px 0;
}
.about-block + .about-block { border-top: 1px solid var(--border); }
.about-block--alt { background: var(--light); }

.about-block-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-block-inner.reverse { direction: rtl; }
.about-block-inner.reverse > * { direction: ltr; }

.about-block-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.about-block h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.about-block p {
  font-size: 0.975rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-block p:last-child { margin-bottom: 0; }

.about-highlight-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}
.about-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}
.about-highlight-item svg { flex-shrink: 0; margin-top: 2px; }

/* Placeholder for about page images */
.page-img-ph {
  background: #DDE6EF;
  border: 2px dashed #B2C4D6;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #8899AA;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  height: 340px;
}
.page-img-ph svg { opacity: 0.45; width: 36px; height: 36px; }

/* =========================================================
   EMPTY POLICY PAGE – PLACEHOLDER BLOCK
   ========================================================= */
.policy-main {
  padding: 80px 0;
  min-height: 400px;
}
.policy-placeholder {
  max-width: 700px;
  background: var(--light);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  color: var(--muted);
}
.policy-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.35;
  margin: 0 auto 20px;
}
.policy-placeholder h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.policy-placeholder p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* =========================================================
   FOOTER (same as main site)
   ========================================================= */
.site-footer {
  background: var(--navy);
  padding: 72px 0 36px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo   { width: 42px; height: 42px; }
.footer-bname  { font-size: 1.25rem; font-weight: 700; color: var(--white); }
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.7; max-width: 280px; }
.footer-col-head {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer-nav a:hover { color: var(--teal); }
.footer-contact-line { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 10px; }
.footer-contact-line a { color: rgba(255,255,255,0.6); }
.footer-contact-line a:hover { color: var(--teal); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy  { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-legal a:hover { color: var(--white); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .about-block-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-block-inner.reverse { direction: ltr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .page-banner h1 { font-size: 2rem; }
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal  { justify-content: center; }
  .about-block { padding: 56px 0; }
  .policy-placeholder { padding: 40px 28px; }
}
@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-banner-btn {
    flex: 1;
    text-align: center;
  }
}

/* =========================================================
   COOKIE CUSTOMIZE MODAL (matches main site)
   ========================================================= */
.cookie-customize-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 30, 61, 0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cookie-customize-modal.active {
  display: flex;
}
.cookie-customize-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(11, 30, 61, 0.25);
}
.cookie-customize-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}
.cookie-category {
  margin-bottom: 24px;
  padding: 16px;
  background: var(--light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cookie-category-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--navy);
}
.cookie-category-toggle {
  width: 44px;
  height: 24px;
  background: var(--border);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  padding: 0;
  transition: background 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
}
.cookie-category-toggle:checked {
  background: var(--teal);
}
.cookie-category-toggle:disabled {
  background: var(--teal);
  cursor: not-allowed;
  opacity: 0.7;
}
.cookie-category-toggle::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--white);
  border-radius: 10px;
  top: 2px;
  left: 2px;
  transition: transform 0.15s ease;
}
.cookie-category-toggle:checked::before {
  transform: translateX(20px);
}
.cookie-category-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}
.cookie-category-required {
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 600;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cookie-customize-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  justify-content: flex-end;
}
.cookie-customize-btn {
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
}
.cookie-customize-btn-save {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.cookie-customize-btn-save:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

@media (max-width: 480px) {
  .cookie-customize-content {
    padding: 24px;
  }
  .cookie-customize-content h2 {
    font-size: 1.25rem;
  }
  .cookie-customize-actions {
    flex-direction: column;
  }
  .cookie-customize-btn {
    width: 100%;
  }
}

/* =========================================================
   COOKIE BANNER (same as main site)
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 20px 0;
  z-index: 9999;
  box-shadow: 0 -2px 16px rgba(11, 30, 61, 0.15);
  display: none;
}
.cookie-banner.active {
  display: block;
}
.cookie-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner-content {
  flex: 1;
  min-width: 300px;
}
.cookie-banner-content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0;
}
.cookie-banner-content a {
  color: var(--teal);
}
.cookie-banner-content a:hover {
  color: var(--white);
}
.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner-btn {
  padding: 10px 18px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-banner-btn-accept {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.cookie-banner-btn-accept:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}
.cookie-banner-btn-decline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.3);
}
.cookie-banner-btn-decline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-banner-btn {
    flex: 1;
    text-align: center;
  }
}
