/* ======================================================
   APERTUREOS - styles.css © Copyright 2025 ApertureOS
====================================================== */
:root {
  --bg-color: #191b22;
  --text-color: #d4d8e0;
  --accent-color: #45455e;
  --btn-hover: #6d7592;
  --link-color: #8aa8ff;
  --link-hover: #aabaff;
  --footer-bg: #1f212b;
  --footer-border: #383649;
}

/* Transition for smooth theme change */
body, header, footer, main, section, .btn, a, .code-block {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Sansation", sans-serif;
  background-color: #191b22;
  color: #d4d8e0;
  line-height: 1.8;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(25, 27, 34, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #383649;
  z-index: 100;
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.logo {
  height: 50px;
  width: auto;
  display: block;
}

/* ===== DESKTOP NAV ===== */
.desktop-nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.desktop-nav a {
  color: #afb4c4;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
}

.desktop-nav a:hover {
  color: #d4d8e0;
}

/* ===== MOBILE MENU ===== */
.menu-checkbox {
  display: none;
}

.menu-icon-label {
  display: none;
  cursor: pointer;
}

.menu-icon {
  width: 36px;
  height: auto;
  filter: brightness(0) invert(1);
}

/* === Fullscreen Overlay Menu === */
.nav-links {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  opacity: 0;
  pointer-events: none;
  transform: translateY(-30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 999;
}

.nav-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.nav-links a {
  color: #d4d8e0;
  font-size: 2rem;
  text-decoration: none;
  font-weight: bold;
}

.nav-links a:hover {
  color: #45455e;
}

.close-icon {
  display: none;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  cursor: pointer;
}

.close-icon-img {
  width: 36px;
  filter: brightness(0) invert(1);
}

/* ===== MOBILE MODE ===== */
@media (max-width: 850px) {
  .desktop-nav {
    display: none;
  }

  .menu-icon-label {
    display: block;
    margin-left: auto;
  }

  .menu-checkbox:checked ~ .nav-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .menu-checkbox:checked + .menu-icon-label {
    display: none;
  }

  .menu-checkbox:checked ~ .nav-links .close-icon {
    display: block;
  }
}

/* ===== MAIN CONTENT ===== */
main {
  margin-top: 90px;
  padding: 0 1.5rem;
}

section {
  padding: 3rem 0;
  max-width: 1100px;
  margin: 0 auto;
}

.hero {
  text-align: center;
}
.hero img {
  display: block;
  max-width: 100%;
  margin: 2rem auto 0;
  border-radius: 10px;
  border: 2px solid #45455e;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

h1, h2, h3 {
  color: #d4d8e0;
}
.title{
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

p, a, li{
  color: #afb4c4;
  font-size: 1.1rem;
}

.btn {
  background: #45455e;
  color: #d4d8e0;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 1.2rem;
  cursor: pointer;
  font-size: 1.1rem;
}

.btn:hover {
  background: #6d7592;
}

/* ===== FILE UPLOAD ===== */
.file-upload-wrapper {
  position: relative;
  margin-top: 1rem;
}

.file-upload-wrapper input[type="file"] {
  display: none;
}

.file-upload-wrapper label {
  display: inline-block;
  cursor: pointer;
}

/* ===== LISTS ===== */
.features-list, .contact-list {
  list-style: none;
  margin: 1.2em 0;
  padding: 0;
}

.features-list li, .contact-list li {
  position: relative;
  margin: 0.6em 0;
  padding: 0.6em 1em;
  border-left: 4px solid #45455e;
  border-radius: 3px;
}

.features-list li:hover, .contact-list li:hover {
  background: rgba(255, 255, 255, 0.04);
}

.features-list a, .contact-list a {
  color: #8aa8ff;
  text-decoration: underline;
}

.features-list a:hover, .contact-list a:hover {
  color: #aabaff;
  text-decoration: none;
}

/* ===== FOOTER ===== */
footer {
  background: #1f212b;
  border-top: 1px solid #383649;
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-logo {
  margin-bottom: 1rem;
  max-width: 20%;
}

.footer-links a {
  color: #afb4c4;
  margin: 0 0.75rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: #8aa8ff;
}

.copyright {
  margin-top: 1.5rem;
  color: #6d7592;
  font-size: 0.9rem;
}

/* ===== CLOAK NOTICE ===== */
.cloakNotice {
  color: #de3f31;
  font-size: 1rem;
  margin-top: 1rem;
  line-height: 1.6;
  text-decoration: underline;
}

.cloakNoticeBold {
  color: #de3f31;
  font-size: 1.1rem;
  font-weight: bolder;
  text-decoration: underline;
}

.cloakNotice a,
.cloakNoticeBold a {
  color: #de3f31;
  text-decoration: underline;
}

.cloakNotice a:hover,
.cloakNoticeBold a:hover {
  color: #ff6655;
  text-decoration: none;
}

/* ===== DOWNLOAD / GUIDE / CODE BLOCKS ===== */
.downloads, .file-upload-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.code-block {
  position: relative;
  background-color: #2b2f3a;
  color: #d4d8e0;
  border-radius: 8px;
  margin: 1rem 0;
  padding: 1rem;
  font-family: monospace;
}

.code-wrapper {
  overflow-x: auto;
  padding-right: 1rem;
}

.copy-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: #45455e;
  color: #d4d8e0;
  border: none;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  z-index: 10;
}

.copy-btn:hover {
  background: #6d7592;
}

.copy-feedback {
  font-size: 0.9rem;
  color: #8aa8ff;
  margin-top: 0.3rem;
  min-height: 1em;
}

/* ===== GUIDE LISTS ===== */
.guide ol {
  padding-left: 1.5rem;
  margin-left: 0;
}

.guide ol li {
  margin-bottom: 0.8rem;
}

.guide ol li ul {
  padding-left: 1rem;
  margin-top: 0.3rem;
}

/* ===== MOBILE ADJUSTMENTS ===== */
@media (max-width: 850px) {
  main {
    padding: 0 1rem;
  }

  section {
    padding: 2rem 0;
  }

  .btn, .file-upload-wrapper, .downloads {
    width: 100%;
    max-width: 400px;
    margin: 0.5rem auto;
  }

  .code-block {
    padding: 1rem;
  }
}

/* ===== PRIVACY TEXT STYLING ===== */
.privacy-text {
  color: var(--text-color);
  font-size: 1.1rem;
  line-height: 1.8; /* line spacing within a paragraph */
}

.privacy-text p {
  display: block;
  margin: 1rem 0 1.5rem 0; /* space above and below paragraph */
}

.privacy-text br {
  display: block;
  margin-bottom: 1rem; /* space for manual line breaks */
}

.privacy-text h1,
.privacy-text h2,
.privacy-text h3,
.privacy-text .heading_1,
.privacy-text .heading_2 {
  margin: 2rem 0 1.5rem 0; /* spacing above and below headings */
  font-weight: bold;
}

.privacy-text ul,
.privacy-text ol {
  margin: 1.5rem 0 1.5rem 2.5rem;
  padding: 0;
}

.privacy-text li {
  margin-bottom: 1rem;
  list-style: disc;
}