/* --- VARIABLES & RESET --- */
:root {
  --color-bg: #0a0a0a;
  --color-surface: #121212;
  --color-text-main: #e0e0e0;
  --color-text-muted: #888888;
  --color-accent: #3b82f6; /* Tech Blue */
  --color-border: #333333;
  --font-main: "Inter", sans-serif;
  --font-tech: "JetBrains Mono", monospace;

  --container-width: 1400px;
  --header-height: 80px;
  --gap-grid: 1px; /* For Bento Grid feel using borders */
}

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

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

ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}
img {
  max-width: 100%;
  display: block;
}

/* --- TYPOGRAPHY UTILS --- */
.accent {
  color: var(--color-accent);
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(10, 10, 10, 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 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.header__logo-img {
  height: 32px;
  width: auto;
}

.header__cursor {
  animation: blink 1s infinite;
  color: var(--color-accent);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.header__nav {
  display: flex;
}

.header__list {
  display: flex;
  gap: 30px;
  align-items: center;
}

.header__link {
  font-family: var(--font-tech);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  position: relative;
}

.header__link:hover,
.header__link.active {
  color: var(--color-accent);
}

.header__link--cta {
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
  padding: 8px 16px;
  background: var(--color-surface);
}

.header__link--cta:hover {
  border-color: var(--color-accent);
  background: rgba(59, 130, 246, 0.1);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.header__bracket {
  color: var(--color-accent);
  font-weight: bold;
}

.header__burger {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  padding: 8px;
  cursor: pointer;
}

/* --- FOOTER --- */
.footer {
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 60px 20px;
  font-family: var(--font-tech);
}

.footer__grid {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr; /* 4 columns */
  gap: 40px;
}

.footer__title {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer__logo {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 16px;
}

.footer__desc {
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 300px;
}

.footer__copyright {
  font-size: 0.75rem;
  color: #555;
  line-height: 1.4;
}

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

.footer__link {
  font-size: 0.9rem;
  color: var(--color-text-main);
}

.footer__link:hover {
  color: var(--color-accent);
  padding-left: 5px; /* Micro-interaction: shift */
}

.footer__detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--color-text-main);
}

.footer__icon {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.footer__status {
  margin-top: 24px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-accent);
  animation: blink 2s infinite;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header__burger {
    display: block;
  }

  .header__nav {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--color-border);
    transition: 0.4s ease-in-out;
  }

  .header__nav.active {
    right: 0;
  }

  .header__list {
    flex-direction: column;
    gap: 40px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* --- HERO SECTION (Bento Grid) --- */
.hero {
  min-height: calc(100vh - var(--header-height));
  margin-top: var(--header-height);
  padding: 20px;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;

  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  align-content: center;
}

/* Common Cell Style */
.bento-cell {
  background: rgba(18, 18, 18, 0.6);
  border: 1px solid var(--color-border);
  padding: 40px;
  position: relative;
  overflow: hidden;
  /* Crosshair corners */
  background-image:
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: -1px -1px;
}

/* Corner markers for tech feel */
.bento-cell::after {
  content: "+";
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--color-text-muted);
  font-family: var(--font-tech);
}

/* --- Block 1: Main --- */
.hero__main-cell {
  grid-row: 1 / 3; /* Spans 2 rows */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__status {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  color: var(--color-accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-indicator {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
}

.hero__title {
  font-size: 4rem;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 30px;
  text-transform: uppercase;
  font-family: var(--font-tech); /* Tech font for headline */
}

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

.hero__desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: 40px;
}

.hero__desc .highlight {
  color: var(--color-text-main);
  border-bottom: 1px solid var(--color-accent);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}

.hero__note {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  color: #555;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-family: var(--font-tech);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  border: 1px solid var(--color-accent);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.btn--primary:hover {
  background: transparent;
  color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.5);
}

/* --- Block 2: Visual --- */
.hero__visual-cell {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #0f0f0f;
}

.tech-hud {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.hud-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.code-preview {
  font-family: var(--font-tech);
  font-size: 0.9rem;
  background: #000;
  padding: 20px;
  border: 1px solid #333;
  border-left: 3px solid var(--color-accent);
}

/* Code Syntax Highlighting */
.c-k {
  color: #c678dd;
} /* Keyword */
.c-f {
  color: #61afef;
} /* Function */
.c-s {
  color: #98c379;
} /* String */
.c-c {
  color: #5c6370;
  font-style: italic;
} /* Comment */
.c-m {
  color: #e5c07b;
} /* Method */

/* --- Blocks 3 & 4: Features --- */
.hero__feat-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__icon {
  color: var(--color-accent);
  width: 32px;
  height: 32px;
  margin-bottom: 15px;
}

.hero__subtitle {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

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

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .hero__main-cell {
    grid-row: auto;
  }

  .hero__visual-cell {
    grid-column: auto;
  }

  .hero__title {
    font-size: 2.5rem;
  }
}

/* --- SHARED SECTION STYLES --- */
.program-section {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 100px 20px;
  border-left: 1px solid var(--color-border); /* Grid line left */
  border-right: 1px solid var(--color-border); /* Grid line right */
}

.section-header {
  margin-bottom: 60px;
  padding-left: 20px;
  border-left: 3px solid var(--color-accent);
}

.section-tag {
  font-family: var(--font-tech);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--font-main);
}

/* --- PROGRAM GRID --- */
.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0; /* Gaps handled by borders */
  position: relative;
  border-top: 1px solid var(--color-border);
}

.program-card {
  border-bottom: 1px solid var(--color-border);
  padding: 50px 40px;
  position: relative;
  transition: background 0.3s ease;
}

/* Vertical divider between columns */
.program-card:nth-child(odd) {
  border-right: 1px solid var(--color-border);
}

.program-card:hover {
  background: rgba(255, 255, 255, 0.02);
}

.card-header {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 25px;
}

.card-num {
  font-family: var(--font-tech);
  font-size: 1.5rem;
  color: var(--color-text-muted);
  font-weight: 700;
}

.card-title {
  font-family: var(--font-tech);
  font-size: 1.25rem;
  color: var(--color-text-main);
}

.card-desc {
  color: var(--color-text-muted);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.highlight-text {
  color: var(--color-text-main);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 4px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-stack li {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  color: var(--color-accent);
  background: rgba(59, 130, 246, 0.1);
  padding: 5px 10px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Highlight Card (Last one) */
.highlight-card {
  background: repeating-linear-gradient(
    45deg,
    rgba(59, 130, 246, 0.03),
    rgba(59, 130, 246, 0.03) 10px,
    transparent 10px,
    transparent 20px
  );
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-tech);
  color: var(--color-accent);
  font-weight: 700;
  margin-top: 10px;
}

.link-arrow:hover {
  gap: 12px; /* Animated arrow shift */
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .program-grid {
    grid-template-columns: 1fr;
  }

  .program-card:nth-child(odd) {
    border-right: none;
  }

  .program-card {
    padding: 30px 20px;
  }
}

/* --- SPECS SECTION --- */
.specs-section {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

.specs-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
}

.specs-info {
  padding: 100px 40px;
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.specs-desc {
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 400px;
}

/* Terminal CTA */
.terminal-cta {
  background: #1a1a1a;
  border-radius: 6px;
  border: 1px solid #333;
  overflow: hidden;
  font-family: var(--font-tech);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: 400px;
}

.terminal-header {
  background: #252525;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #333;
}

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

.terminal-title {
  margin-left: 10px;
  color: #888;
  font-size: 0.75rem;
}

.terminal-body {
  padding: 20px;
}

.cmd {
  color: #fff;
  margin-bottom: 5px;
}
.cmd-response {
  color: var(--color-text-muted);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.btn--small {
  font-size: 0.8rem;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  text-transform: uppercase;
  display: inline-block;
  cursor: pointer;
}

.btn--small:hover {
  background: var(--color-accent);
  color: #fff;
}

/* Specs Table */
.specs-table {
  display: flex;
  flex-direction: column;
}

.spec-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 2fr; /* Label - Value - Desc */
  padding: 40px;
  border-bottom: 1px solid var(--color-border);
  align-items: center;
  transition: background 0.3s ease;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.spec-label {
  font-family: var(--font-tech);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.spec-label i {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
}

.spec-value {
  font-family: var(--font-tech);
  font-weight: 700;
  color: var(--color-text-main);
  letter-spacing: 1px;
}

.spec-desc {
  font-size: 0.9rem;
  color: #666;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .specs-container {
    grid-template-columns: 1fr;
  }

  .specs-info {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 60px 20px;
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 30px 20px;
  }

  .spec-value {
    font-size: 1.2rem;
    color: var(--color-accent);
  }
}

/* --- CAREER SECTION (DASHBOARD) --- */
.career-section {
  padding: 100px 20px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.career-container {
  max-width: var(--container-width);
  margin: 0 auto;
}

.section-subtitle {
  color: var(--color-text-muted);
  max-width: 500px;
  margin-top: 20px;
  font-size: 1.1rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.dash-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

.dash-header {
  font-family: var(--font-tech);
  color: var(--color-text-muted);
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.dash-value {
  font-family: var(--font-tech);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1;
  margin-bottom: 10px;
}

.dash-delta {
  color: #27c93f; /* Green for growth */
  font-family: var(--font-tech);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.dash-label,
.dash-desc {
  font-size: 0.9rem;
  color: #666;
}

/* Highlight Card */
.highlight-dash {
  border-color: var(--color-accent);
  background: rgba(59, 130, 246, 0.05);
}

.badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-tech);
  font-size: 0.75rem;
  padding: 4px 8px;
  text-transform: uppercase;
}

/* --- FAQ SECTION (CONSOLE) --- */
.faq-section {
  padding: 100px 20px;
  background: var(--color-bg);
}

.faq-container {
  max-width: 800px; /* Narrower for reading */
  margin: 0 auto;
}

.accordion {
  border: 1px solid var(--color-border);
  background: #0f0f0f;
}

.accordion-item {
  border-bottom: 1px solid var(--color-border);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  padding: 20px 25px;
  background: transparent;
  border: none;
  color: var(--color-text-main);
  font-family: var(--font-tech);
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.accordion-header.active {
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-accent);
}

.console-prefix {
  color: var(--color-text-muted);
  margin-right: 10px;
}

.accordion-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: #050505;
}

.console-response {
  padding: 25px;
  font-family: var(--font-main);
  color: #aaa;
  border-left: 2px solid var(--color-accent);
  margin: 0 25px 25px 25px;
}

.faq-footer {
  margin-top: 40px;
  text-align: center;
  font-family: var(--font-tech);
  color: var(--color-text-muted);
  opacity: 0.5;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dash-value {
    font-size: 2.5rem;
  }
}

/* --- CONTACT SECTION --- */
.contact-section {
  padding: 100px 20px;
  background: #080808;
  position: relative;
  overflow: hidden;
}

/* Background Grid Effect for Contact */
.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.contact-container {
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Contact Info */
.server-status {
  margin-top: 60px;
  border: 1px solid var(--color-border);
  padding: 20px;
  font-family: var(--font-tech);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  background: #000;
}

.status-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  border-bottom: 1px dashed #333;
  padding-bottom: 4px;
}

.status-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

/* Form Styles */
.contact-form-wrapper {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Tech Input Fields */
.form-group {
  margin-bottom: 25px;
}

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

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 15px;
  color: var(--color-text-muted);
  width: 18px;
  height: 18px;
}

.form-input {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  padding: 12px 15px 12px 45px; /* padding-left for icon */
  font-family: var(--font-tech);
  font-size: 1rem;
  transition: 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.1);
}

/* Custom Checkbox & Captcha */
.custom-checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.9rem;
  user-select: none;
  position: relative;
}

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

.checkmark {
  height: 24px;
  width: 24px;
  background-color: #0a0a0a;
  border: 1px solid var(--color-border);
  margin-right: 15px;
  position: relative;
  flex-shrink: 0;
}

.checkmark.small {
  height: 18px;
  width: 18px;
  margin-right: 10px;
}

/* Checkmark Tick */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 8px;
  top: 4px;
  width: 6px;
  height: 12px;
  border: solid var(--color-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkmark.small:after {
  left: 6px;
  top: 2px;
  width: 4px;
  height: 10px;
}

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

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

.captcha-box {
  background: #000;
  border: 1px solid var(--color-border);
  padding: 15px;
  width: 100%;
}

.policy-text {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.policy-text a {
  color: var(--color-text-main);
  text-decoration: underline;
}

.btn--full {
  width: 100%;
  margin-top: 10px;
  text-align: center;
}

.form-note {
  margin-top: 15px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  font-family: var(--font-tech);
}

/* Success Overlay */
.success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 10;
}

.success-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.success-content {
  text-align: center;
  padding: 30px;
  border: 1px solid var(--color-accent);
  background: #000;
  max-width: 80%;
}

.success-icon {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.success-title {
  font-family: var(--font-tech);
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.small-note {
  font-size: 0.75rem;
  color: #666;
  margin-top: 5px;
  margin-bottom: 20px;
  font-family: var(--font-tech);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-wrapper {
    padding: 20px;
  }
}

html {
  scroll-behavior: smooth;
}

/* --- COOKIE POPUP --- */
.cookie-popup {
  position: fixed;
  bottom: -150px; /* Hidden initially */
  left: 20px;
  right: 20px;
  margin: 0 auto;
  max-width: 600px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-accent);
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9999;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
  transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-popup.show {
  bottom: 30px;
}

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

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

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

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

@media (max-width: 600px) {
  .cookie-popup {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn--small {
    width: 100%;
    text-align: center;
  }
}

/* --- POLICY PAGES STYLING --- */
/* Use this for privacy.html, terms.html etc. */
.pages {
  padding: 140px 20px 80px; /* Top padding for header */
  min-height: 80vh;
}

.pages .container {
  max-width: 800px;
  margin: 0 auto;
}

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

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

.pages p {
  margin-bottom: 15px;
  color: #bbb;
  font-size: 1rem;
  line-height: 1.7;
}

.pages ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #bbb;
}

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

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

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