/* --- Global Reset & Variables --- */
:root {
  --bg-color: #050505;
  --text-main: #e0e0e0;
  --text-muted: #858585;
  --accent-color: #00ff41; /* Matrix/Terminal Green */
  --border-color: #333333;
  --surface-color: #111111;

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

  --container-width: 1440px;
  --header-height: 80px;
  --border-radius: 4px; /* Small radius for tech feel */
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  /* Tech grid background pattern */
  background-image:
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 100px 100px;
  background-position: center top;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-tech);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* --- Utility Classes for Tech Vibe --- */
.tech-border {
  border: 1px solid var(--border-color);
  position: relative;
}

/* Decorative crosses in corners */
.tech-border::after {
  content: "+";
  position: absolute;
  bottom: -8px;
  right: -5px;
  font-family: var(--font-tech);
  color: var(--accent-color);
  background: var(--bg-color);
  font-size: 12px;
  padding: 0 2px;
}

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

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

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-tech);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

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

.header__nav {
  display: flex;
  gap: 2rem;
}

.header__link {
  font-family: var(--font-tech);
  font-size: 0.9rem;
  text-transform: uppercase;
  position: relative;
  padding: 5px 0;
}

.header__link::before {
  content: "[";
  margin-right: 5px;
  opacity: 0;
  color: var(--accent-color);
  transition: opacity 0.3s;
}

.header__link::after {
  content: "]";
  margin-left: 5px;
  opacity: 0;
  color: var(--accent-color);
  transition: opacity 0.3s;
}

.header__link:hover::before,
.header__link:hover::after,
.header__link.active::before,
.header__link.active::after {
  opacity: 1;
}

.header__link:hover,
.header__link.active {
  color: #fff;
}

.burger {
  display: none;
  cursor: pointer;
  color: var(--text-main);
}

/* --- Mobile Menu --- */
@media (max-width: 992px) {
  .header__nav {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--border-color);
  }

  .header__nav.active {
    right: 0;
  }

  .burger {
    display: block;
  }
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 60px 0 20px;
  background: var(--surface-color);
  margin-top: auto; /* Push to bottom if content is short */
  position: relative;
}

/* Bento Grid Layout for Footer */
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer__col h3 {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  display: inline-block;
  width: 100%;
}

.footer__logo {
  font-family: var(--font-tech);
  font-size: 1.5rem;
  margin-bottom: 15px;
  display: block;
}

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

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

.footer__link {
  font-size: 0.9rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__link:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.footer__contact-item i {
  color: var(--accent-color);
  margin-top: 4px;
}

.footer__bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-tech);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

@media (max-width: 576px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

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

.hero__container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  padding: 4px 12px;
  margin-bottom: 24px;
  background: rgba(0, 255, 65, 0.1);
}

.hero__badge-icon {
  animation: blink 1s infinite;
}

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

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
  min-height: 2.2em; /* Fix layout shift during animation */
  word-break: break-word;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 40px;
  border-left: 2px solid var(--accent-color);
  padding-left: 20px;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-family: var(--font-tech);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  text-decoration: none;
}

.btn--primary {
  background: var(--accent-color);
  color: #000;
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );
}

.btn--primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 255, 65, 0.2);
}

.hero__note {
  margin-top: 12px;
  font-size: 0.75rem;
  color: #555;
  font-style: italic;
}

/* Visual Elements */
.hero__visual {
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tech-circle {
  width: 300px;
  height: 300px;
  border: 1px dashed var(--border-color);
  border-radius: 50%;
  position: absolute;
  animation: rotate 20s linear infinite;
}

.tech-circle__inner {
  width: 200px;
  height: 200px;
  border: 1px solid var(--accent-color);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
}

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

.code-block {
  font-family: var(--font-tech);
  color: var(--text-muted);
  background: #000;
  padding: 20px;
  border: 1px solid var(--border-color);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

/* Mobile Response */
@media (max-width: 992px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero__visual {
    display: none; /* Hide complex visual on mobile to save space */
  }
}

/* --- ADVANTAGES (BENTO GRID) --- */
.advantages {
  padding: 100px 0;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.section-subtitle {
  font-family: var(--font-tech);
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

/* Grid Layout */
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 24px;
}

/* Bento Card Styles */
.bento-card {
  background: rgba(20, 20, 20, 0.5);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  background: rgba(30, 30, 30, 0.8);
  border-color: var(--accent-color);
  transform: translateY(-5px);
}

/* Layout Modifiers */
.bento-card--large {
  grid-column: span 2;
}

.bento-card--tall {
  grid-column: span 1;
  grid-row: span 2;
}

.bento-card--wide {
  grid-column: span 2;
}

/* Card Content */
.bento-card__icon {
  color: var(--accent-color);
  margin-bottom: 20px;
  width: 48px;
  height: 48px;
}
/* Adjust icon size explicitly for Lucide if needed via CSS, 
   though Lucide usually handles it via attributes. 
   Here we ensure container size. */
.bento-card__icon svg {
  width: 40px;
  height: 40px;
}

.bento-card__title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #fff;
}

.bento-card__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.bento-card__number {
  font-family: var(--font-tech);
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: 20px;
  right: 20px;
  font-weight: 700;
}

/* Specific Styles for Tall Card */
.bento-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}
.bento-card__header i {
  color: var(--accent-color);
  width: 32px;
  height: 32px;
}

.bento-card__visual {
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px dashed var(--border-color);
}

.tech-progress {
  height: 4px;
  background: #333;
  width: 100%;
  margin-bottom: 10px;
  position: relative;
}

.tech-progress__bar {
  height: 100%;
  background: var(--accent-color);
  position: relative;
}

.tech-progress__bar::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 2px;
  height: 10px;
  background: #fff;
}

.tech-stat {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

.link-arrow:hover {
  gap: 12px;
}

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

  .bento-card--large,
  .bento-card--wide,
  .bento-card--tall {
    grid-column: span 2; /* Make all full width or half on tablet */
    grid-row: auto;
  }

  .bento-card--tall {
    grid-column: span 1; /* Keep tall card narrow if possible, or full width */
  }
}

@media (max-width: 768px) {
  .advantages__grid {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }

  .bento-card {
    min-height: 200px;
  }
}

/* --- COURSES (TERMINAL LIST) --- */
.courses {
  padding: 100px 0;
  font-family: var(--font-tech); /* Force monospace for whole section */
}

/* Header styled like a window title bar */
.terminal-header {
  background: #1a1a1a;
  padding: 15px 20px;
  border: 1px solid var(--border-color);
  border-bottom: none;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
}
.terminal-dots span:nth-child(1) {
  background: #ff5f56;
} /* Mac close color */
.terminal-dots span:nth-child(2) {
  background: #ffbd2e;
}
.terminal-dots span:nth-child(3) {
  background: #27c93f;
}

.terminal-title {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* List Container */
.course-list {
  border: 1px solid var(--border-color);
  background: rgba(10, 10, 10, 0.8);
}

/* Header Row */
.course-list__header {
  display: grid;
  grid-template-columns: 80px 2fr 1fr 1fr 40px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* Course Item (Details) */
.course-item {
  border-bottom: 1px solid var(--border-color);
  transition: background 0.2s;
}

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

.course-item[open] {
  background: rgba(0, 255, 65, 0.03); /* Subtle green tint when open */
}

/* Summary Row */
.course-item__summary {
  display: grid;
  grid-template-columns: 80px 2fr 1fr 1fr 40px;
  padding: 20px;
  cursor: pointer;
  list-style: none; /* Remove default triangle */
  align-items: center;
  font-size: 0.95rem;
}

/* Remove default marker for Chrome/Safari */
.course-item__summary::-webkit-details-marker {
  display: none;
}

.course-item:hover .course-item__summary {
  background: rgba(255, 255, 255, 0.02);
}

.course-id {
  color: var(--text-muted);
}

.course-name {
  color: #fff;
  font-weight: 700;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
  margin-right: 6px;
}

.status-dot.blink {
  animation: blink 1.5s infinite;
}

/* Dropdown Content */
.course-item__content {
  padding: 0 20px 20px 100px; /* Indent to align with name */
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px dashed #222;
  margin-top: 10px;
  padding-top: 20px;
}

.course-desc p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.comment {
  color: #555;
  font-style: italic;
  display: block;
  margin-top: 5px;
}

.course-meta {
  display: flex;
  gap: 30px;
  margin-bottom: 25px;
}

.course-meta div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}

.course-meta i {
  width: 16px;
  height: 16px;
  color: var(--accent-color);
}

/* Toggle Icon Rotation */
.course-toggle {
  width: 16px;
  transition: transform 0.3s;
  color: var(--text-muted);
}

.course-item[open] .course-toggle {
  transform: rotate(180deg);
  color: var(--accent-color);
}

/* Text Button Style */
.btn-text {
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn-text:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.course-footer {
  padding: 10px 0;
  text-align: right;
  font-size: 0.8rem;
  color: #444;
}

/* Responsive */
@media (max-width: 768px) {
  .course-list__header {
    display: none; /* Hide table headers on mobile */
  }

  .course-item__summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    position: relative;
  }

  .course-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .course-item__content {
    padding: 0 20px 20px 20px; /* Reset padding */
  }

  .course-id {
    font-size: 0.8rem;
    opacity: 0.5;
  }
}

/* --- MENTORS (ID CARDS) --- */
.mentors {
  padding: 100px 0;
  background: #080808; /* Slightly lighter bg to distinguish section */
  border-bottom: 1px solid var(--border-color);
}

.mentors__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  justify-items: center;
}

/* ID Card Container */
.id-card {
  width: 100%;
  max-width: 320px;
  background: #e0e0e0; /* Plastic card color */
  color: #111;
  border-radius: 8px;
  padding: 0;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  font-family: var(--font-tech);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  overflow: hidden;
}

.id-card:hover {
  transform: translateY(-5px) rotate(1deg);
  box-shadow: 0 15px 40px rgba(0, 255, 65, 0.1);
}

/* Holographic Overlay Effect on Hover */
.id-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.2) 45%,
    rgba(255, 255, 255, 0) 50%
  );
  pointer-events: none;
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.id-card:hover::after {
  transform: translateX(100%);
}

/* Card Header */
.id-card__top {
  background: var(--accent-color);
  padding: 15px;
  text-align: center;
  position: relative;
}

.id-card__hole {
  width: 40px;
  height: 6px;
  background: #111;
  border-radius: 3px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
}

.id-card__company {
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

/* Card Body */
.id-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.id-card__photo-zone {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.id-avatar {
  width: 80px;
  height: 80px;
  background: #000;
  border: 1px solid #999;
}

.id-status {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border: 1px solid #111;
  border-radius: 4px;
}

.id-name {
  font-size: 1.5rem;
  text-transform: uppercase;
  border-bottom: 2px solid #111;
  padding-bottom: 5px;
  margin-bottom: 5px;
}

.id-role {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 15px;
}

/* Specs / Stats */
.id-specs {
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
}

.id-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.spec-bar {
  width: 100px;
  height: 6px;
  background: #999;
  border-radius: 3px;
  overflow: hidden;
}

.spec-bar div {
  height: 100%;
  background: #111;
}

.id-quote {
  font-family: var(--font-main);
  font-style: italic;
  font-size: 0.85rem;
  color: #444;
  line-height: 1.4;
  border-left: 2px solid var(--accent-color);
  padding-left: 10px;
}

/* Card Footer */
.id-card__footer {
  background: #ccc;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: #555;
  border-top: 1px solid #999;
}

.id-card__footer i {
  opacity: 0.5;
}

/* --- CONTACT SECTION --- */
.contact {
  padding: 100px 0;
  position: relative;
  /* Matrix-like background effect for this section */
  background: radial-gradient(circle at 50% 50%, #111 0%, #050505 100%);
}

.contact__container {
  max-width: 800px; /* Narrower container for form */
}

.contact__header {
  text-align: center;
  margin-bottom: 50px;
}

.contact__subtitle {
  color: var(--text-muted);
  margin-top: 15px;
  font-size: 1.1rem;
}

.text-sm {
  font-size: 0.85rem;
}

.contact__wrapper {
  background: #000;
  padding: 40px;
  position: relative;
  /* Tech border styling is handled by global class, we add shadow */
  box-shadow: 0 0 50px rgba(0, 255, 65, 0.05);
}

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

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

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

.input-icon {
  position: absolute;
  left: 15px;
  color: #555;
  width: 20px;
  height: 20px;
  transition: color 0.3s;
}

.form-input {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid #333;
  color: #fff;
  padding: 15px 15px 15px 45px; /* Space for icon */
  font-family: var(--font-tech);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s;
}

.form-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.form-input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--accent-color);
}

.error-msg {
  color: #ff3333;
  font-size: 0.75rem;
  font-family: var(--font-tech);
  margin-top: 5px;
  display: none; /* Hidden by default */
}

.form-input.invalid {
  border-color: #ff3333;
}

/* Custom Checkbox */
.custom-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.9rem;
  user-select: none;
  font-family: var(--font-tech);
}

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

.checkmark {
  height: 24px;
  width: 24px;
  background-color: #0a0a0a;
  border: 1px solid #333;
  margin-right: 15px;
  position: relative;
  transition: all 0.3s;
}

.custom-checkbox:hover .checkmark {
  border-color: #666;
}

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

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

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

.custom-checkbox.small {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-main);
}

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

.custom-checkbox.small .checkmark:after {
  left: 6px;
  top: 2px;
  width: 4px;
  height: 9px;
}

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

/* Success Message */
.hidden {
  display: none !important;
}

.success-message {
  text-align: center;
  padding: 40px 20px;
  animation: fadeIn 0.5s ease;
}

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

.success-icon {
  color: var(--accent-color);
  margin-bottom: 20px;
  display: inline-block;
}
.success-icon svg {
  width: 64px;
  height: 64px;
}

.success-title {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.code-output {
  margin-top: 30px;
  background: #111;
  padding: 15px;
  text-align: left;
  font-family: var(--font-tech);
  color: var(--text-muted);
  font-size: 0.8rem;
  border-left: 2px solid var(--accent-color);
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background: #111;
  border: 1px solid var(--accent-color);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9999;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
  font-family: var(--font-tech);
  font-size: 0.85rem;
}

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

.cookie-content i {
  color: var(--accent-color);
  min-width: 24px;
}

.cookie-content a {
  color: #fff;
  text-decoration: underline;
}

.btn--small {
  padding: 8px 16px;
  font-size: 0.8rem;
  background: var(--text-main);
  color: #000;
  border: none;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
}

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

/* --- POLICY PAGES STYLES (privacy.php, etc.) --- */
.pages {
  padding: 120px 0 80px; /* Top padding for fixed header */
  min-height: 80vh;
}

.pages .container {
  max-width: 800px;
  background: rgba(20, 20, 20, 0.5);
  padding: 40px;
  border: 1px solid var(--border-color);
}

.pages h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 15px;
  color: #fff;
}

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

.pages p {
  margin-bottom: 15px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.pages ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.pages li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 15px;
  color: var(--text-muted);
}

.pages li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-family: var(--font-tech);
}

.pages strong {
  color: #fff;
  font-weight: 600;
}

.pages a {
  color: var(--accent-color);
  text-decoration: none;
  border-bottom: 1px dashed var(--accent-color);
}

.pages a:hover {
  background: rgba(0, 255, 65, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    bottom: 0;
    width: 100%;
    left: 0;
    transform: none;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
  }

  .pages .container {
    padding: 20px;
    border: none;
  }

  .pages h1 {
    font-size: 2rem;
  }
}
