/* --- GLOBAL VARIABLES (Tech/Utilitarian Theme) --- */
:root {
  --color-bg: #050a10;
  --color-bg-secondary: #0f1620;
  --color-text: #e0e6ed;
  --color-text-muted: #8b9bb4;
  --color-accent: #00f0ff; /* Electric Cyan */
  --color-accent-hover: #00c2cf;
  --color-border: #1f2a38;
  --color-border-bright: #00f0ff;

  --font-main: "Inter", sans-serif;
  --font-tech: "Share Tech Mono", monospace;

  --gap-sm: 8px;
  --gap-md: 16px;
  --gap-lg: 32px;
  --gap-xl: 64px;

  --container-width: 1280px;
  --header-height: 80px;

  --anim-speed: 0.3s;
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
}

ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color var(--anim-speed);
}
img {
  max-width: 100%;
  display: block;
}

/* --- UTILITY --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--gap-md);
}

/* --- BACKGROUND GRID (Tech Vibe) --- */
.tech-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.05;
  z-index: -1;
  pointer-events: none;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--font-tech);
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  background: transparent;
  transition: all var(--anim-speed);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
  transform: translateY(-2px);
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(5, 10, 16, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header__container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--gap-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-tech);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-text);
}

.logo__highlight {
  color: var(--color-accent);
}

.logo__icon {
  filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.5));
}

/* Navigation */
.nav {
  display: none;
}

@media (min-width: 992px) {
  .nav {
    display: block;
  }
}

.nav__list {
  display: flex;
  gap: var(--gap-lg);
}

.nav__link {
  font-family: var(--font-tech);
  font-size: 0.9rem;
  text-transform: uppercase;
  position: relative;
}

.nav__link::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--anim-speed);
}

.nav__link:hover {
  color: var(--color-accent);
}

.nav__link:hover::before {
  width: 100%;
}

.header__cta {
  display: none;
}

@media (min-width: 768px) {
  .header__cta {
    display: inline-block;
    font-size: 0.9rem;
    padding: 8px 20px;
  }
}

/* Burger */
.burger {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1002;
}

@media (min-width: 992px) {
  .burger {
    display: none;
  }
}

.burger__line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  position: absolute;
  transition: all var(--anim-speed);
}

.burger__line:first-child {
  top: 0;
}
.burger__line:last-child {
  bottom: 0;
}

.burger.active .burger__line:first-child {
  transform: rotate(45deg);
  top: 9px;
}
.burger.active .burger__line:last-child {
  transform: rotate(-45deg);
  bottom: 9px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--color-bg-secondary);
  z-index: 1001;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-left: 1px solid var(--color-accent);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
  text-align: center;
}

.mobile-menu__nav a {
  font-family: var(--font-tech);
  font-size: 1.5rem;
  text-transform: uppercase;
}

/* --- FOOTER --- */
.footer {
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: var(--gap-xl) 0 var(--gap-lg);
  font-size: 0.9rem;
}

.footer__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-lg);
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--gap-md);
}

@media (min-width: 768px) {
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__container {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  }
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}

.footer__title {
  font-family: var(--font-tech);
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: var(--gap-sm);
  opacity: 0.8;
}

.footer__desc {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  max-width: 300px;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  color: var(--color-text-muted);
  transition:
    color var(--anim-speed),
    padding-left var(--anim-speed);
}

.footer__link:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.footer__status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  color: #00ff00;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #00ff00;
  border-radius: 50%;
  box-shadow: 0 0 5px #00ff00;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
}

.contact-icon {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
}

.footer__note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  opacity: 0.6;
  margin-top: 10px;
  border: 1px dashed var(--color-border);
  padding: 5px;
  text-align: center;
}

.footer__bottom {
  margin-top: var(--gap-xl);
  padding-top: var(--gap-md);
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-family: var(--font-tech);
}

/* --- SECTIONS COMMON --- */
.section {
  padding: var(--gap-xl) 0;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}

.section-title {
  font-family: var(--font-tech);
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: var(--gap-sm);
  letter-spacing: 2px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: var(--gap-lg);
  max-width: 600px;
}

.centered {
  text-align: center;
}
.centered .section-desc {
  margin: 0 auto var(--gap-lg);
}

/* --- HERO SECTION --- */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.4;
}

.hero__container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__label {
  font-family: var(--font-tech);
  color: var(--color-accent);
  margin-bottom: var(--gap-md);
  font-size: 0.9rem;
  border: 1px solid var(--color-accent);
  display: inline-block;
  padding: 4px 8px;
  background: rgba(0, 240, 255, 0.05);
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.1;
  margin-bottom: var(--gap-md);
  font-weight: 700;
  text-transform: uppercase;
}

.text-glitch {
  color: var(--color-text);
  position: relative;
}

/* Glitch Effect CSS */
.text-glitch::before,
.text-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg);
}
.text-glitch::before {
  left: 2px;
  text-shadow: -1px 0 red;
  clip: rect(24px, 550px, 90px, 0);
  animation: glitch-anim-2 3s infinite linear alternate-reverse;
}
.text-glitch::after {
  left: -2px;
  text-shadow: -1px 0 blue;
  clip: rect(85px, 550px, 140px, 0);
  animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% {
    clip: rect(10px, 9999px, 30px, 0);
  }
  20% {
    clip: rect(80px, 9999px, 100px, 0);
  }
  100% {
    clip: rect(10px, 9999px, 120px, 0);
  }
}
@keyframes glitch-anim-2 {
  0% {
    clip: rect(60px, 9999px, 10px, 0);
  }
  20% {
    clip: rect(20px, 9999px, 80px, 0);
  }
  100% {
    clip: rect(90px, 9999px, 10px, 0);
  }
}

.hero__subtitle {
  max-width: 500px;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: var(--gap-lg);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  align-items: flex-start;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-family: var(--font-tech);
}
.hero__note i {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}

/* HUD Corners */
.hero__hud {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-accent);
  opacity: 0.5;
}
.hud-tl {
  top: -20px;
  left: 0;
  border-right: none;
  border-bottom: none;
}
.hud-br {
  bottom: -20px;
  right: 0;
  border-left: none;
  border-top: none;
}

/* --- BENTO GRID --- */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-md);
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
  }
  .bento-item--large {
    grid-row: span 2;
  }
  .bento-item--wide {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
  }
  .bento-item--large {
    grid-column: span 1;
    grid-row: span 2;
  }
  .bento-item--wide {
    grid-column: span 2;
    grid-row: span 1;
  }
}

.bento-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  padding: var(--gap-lg);
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--anim-speed),
    transform var(--anim-speed);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-item:hover {
  border-color: var(--color-accent);
  transform: translateY(-5px);
}

.bento-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bento-content--row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
}

.bento-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  margin-bottom: var(--gap-md);
}

.bento-title {
  font-family: var(--font-tech);
  font-size: 1.25rem;
  margin-bottom: var(--gap-sm);
  text-transform: uppercase;
}

.bento-text {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--gap-md);
}

.bento-link {
  color: var(--color-accent);
  font-family: var(--font-tech);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.bento-bg-num {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 8rem;
  font-family: var(--font-tech);
  color: rgba(255, 255, 255, 0.03);
  z-index: 1;
}

.bento-item--img {
  padding: 0;
}

.bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity var(--anim-speed);
}

.bento-item:hover .bento-img {
  opacity: 0.8;
}

.bento-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--gap-md);
  background: linear-gradient(to top, var(--color-bg), transparent);
  font-family: var(--font-tech);
  color: var(--color-accent);
}

/* --- TOOLS SECTION --- */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--color-accent);
  color: var(--color-bg);
  padding: 10px 0;
  margin-bottom: var(--gap-xl);
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
}

.ticker__item {
  display: inline-block;
  padding: 0 2rem;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 1.2rem;
}

@keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.tools__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-lg);
  align-items: center;
}

@media (min-width: 992px) {
  .tools__container {
    grid-template-columns: 1fr 1fr;
  }
}

.code-block {
  background: #0d1117;
  border: 1px solid var(--color-border);
  padding: var(--gap-lg);
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.code-line {
  margin-bottom: 5px;
}
.indent {
  padding-left: 20px;
}
.c-purple {
  color: #c678dd;
}
.c-blue {
  color: #61afef;
}
.c-yellow {
  color: #e5c07b;
}
.c-green {
  color: #98c379;
}
.c-comment {
  color: #5c6370;
  font-style: italic;
}

.cursor-blink {
  display: inline-block;
  animation: blink 1s step-end infinite;
}

.tech-list {
  margin: var(--gap-lg) 0;
  border-top: 1px solid var(--color-border);
}

.tech-item {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  padding: var(--gap-md) 0;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--anim-speed);
}

.tech-item:hover {
  background: rgba(255, 255, 255, 0.02);
  padding-left: 10px;
}

.tech-num {
  font-family: var(--font-tech);
  color: var(--color-accent);
}

.tech-name {
  font-weight: 600;
  flex-grow: 1;
}

.tech-desc {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  display: none;
}

@media (min-width: 480px) {
  .tech-desc {
    display: block;
  }
}

/* --- PRACTICES / STATS --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--gap-md);
  margin-bottom: var(--gap-xl);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  text-align: center;
  border: 1px solid var(--color-border);
  padding: var(--gap-lg);
  background: rgba(255, 255, 255, 0.01);
}

.stat-val {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-text);
  font-family: var(--font-tech);
  margin-bottom: 10px;
}

.stat-label {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.practices__footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-md);
}

/* --- CONTACT SECTION (TERMINAL STYLE) --- */
.contact {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at center, #0f1620 0%, #050a10 100%);
}

.contact__wrapper {
  display: flex;
  justify-content: center;
}

.contact__terminal {
  width: 100%;
  max-width: 500px;
  background: rgba(13, 17, 23, 0.95);
  border: 1px solid var(--color-border);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(0, 240, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

/* Terminal Header */
.terminal-header {
  background: #161b22;
  padding: 10px 15px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.red {
  background: #ff5f56;
}
.yellow {
  background: #ffbd2e;
}
.green {
  background: #27c93f;
}

.terminal-title {
  font-family: monospace;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  margin-left: 10px;
  opacity: 0.7;
}

.terminal-body {
  padding: var(--gap-lg);
}

.contact__title {
  font-family: var(--font-tech);
  color: var(--color-text);
  text-transform: uppercase;
  margin-bottom: 10px;
  text-align: center;
}

.contact__desc {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--gap-lg);
}

.highlight-text {
  color: var(--color-accent);
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 5px;
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #30363d;
  padding: 10px 0;
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--anim-speed);
}

.form-input:focus {
  border-bottom-color: var(--color-accent);
}

.input-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.form-input:focus + .input-border {
  width: 100%;
}

.form-hint {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  opacity: 0.5;
  margin-top: 4px;
  display: block;
}

/* Custom Checkbox */
.checkbox-group {
  display: flex;
  align-items: center;
}

.captcha-container {
  background: #f9f9f9;
  border: 1px solid #d3d3d3;
  padding: 15px;
  border-radius: 4px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.captcha-container .custom-checkbox {
  color: #000; /* Captcha usually has light bg */
}
.captcha-container .checkbox-box {
  border-color: #c1c1c1;
}

.captcha-logo {
  height: 30px;
  opacity: 0.7;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  user-select: none;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-box {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-text-muted);
  border-radius: 3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  background: transparent;
}

/* Checkmark */
.checkbox-box::after {
  content: "";
  display: none;
  width: 5px;
  height: 10px;
  border: solid var(--color-bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.custom-checkbox input:checked ~ .checkbox-box {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.custom-checkbox input:checked ~ .checkbox-box::after {
  display: block;
}

.custom-checkbox a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Button & Loader */
.btn--block {
  width: 100%;
  margin-top: 10px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 240, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--color-accent);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.btn.loading .btn-text {
  display: none;
}
.btn.loading .btn-loader {
  display: block;
}

/* Success Message */
.success-message {
  display: none;
  text-align: center;
  padding: 20px;
  animation: fadeIn 0.5s ease;
}

.success-icon {
  color: #00ff00;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}
.success-icon svg {
  width: 100%;
  height: 100%;
}

.success-message h3 {
  font-family: var(--font-tech);
  color: var(--color-accent);
  margin-bottom: 10px;
}

.success-message p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- COOKIE POPUP --- */
.cookie-popup {
  position: fixed;
  bottom: -100px; /* Hidden initially */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background: rgba(5, 10, 16, 0.95);
  border: 1px solid var(--color-accent);
  padding: 15px 25px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
  transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 4px;
}

.cookie-popup.active {
  bottom: 20px;
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cookie-icon {
  color: var(--color-accent);
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--color-text);
}

.cookie-text a {
  color: var(--color-accent);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .cookie-popup {
    flex-direction: column;
    text-align: center;
  }
  .cookie-content {
    flex-direction: column;
    gap: 10px;
  }
}

/* --- POLICY PAGES STYLING (.pages) --- */
.pages {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  min-height: 100vh;
}

.pages .container {
  max-width: 900px; /* Better readability for text */
}

.pages h1 {
  font-family: var(--font-tech);
  color: var(--color-accent);
  font-size: 2.5rem;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 20px;
}

.pages h2 {
  font-family: var(--font-tech);
  color: var(--color-text);
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 20px;
}

.pages p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  text-align: justify;
}

.pages ul {
  list-style: disc; /* Override global reset */
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--color-text-muted);
}

.pages li {
  margin-bottom: 10px;
}

.pages strong {
  color: var(--color-text);
}

.pages a {
  color: var(--color-accent);
  text-decoration: underline;
}
