/* --- Variables & Reset --- */
:root {
  --color-bg: #0b0f19;
  --color-text: #f0f4f8;
  --color-text-muted: #94a3b8;
  --color-accent: #ccff00; /* Lime */
  --color-accent-hover: #b3e600;
  --color-border: #2d3748;
  --color-surface: #151c2c;

  --font-main: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;

  --container-width: 1240px;
  --header-height: 80px;
  --radius-sm: 4px;
  --transition: 0.3s ease;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
img {
  max-width: 100%;
  display: block;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container,
.header__container,
.footer__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Typography Helpers --- */
.text-accent {
  color: var(--color-accent);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-bg);
}

.btn--primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(204, 255, 0, 0.2);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

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

.nav__list {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition);
}

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

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

.header__burger {
  display: none;
  color: var(--color-text);
}

/* --- Mobile Menu State --- */
.nav.is-active {
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background-color: var(--color-bg);
  padding: 20px;
  border-bottom: 1px solid var(--color-border);
  flex-direction: column;
}

/* --- Footer --- */
.footer {
  margin-top: auto; /* Push footer to bottom if content is short */
  background-color: #05070b; /* Darker than body */
  padding: 80px 0 20px;
  border-top: 1px solid var(--color-border);
}

.footer__container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer__title {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--color-text);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--color-accent);
  display: inline-block;
  margin-bottom: 20px;
}

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

.footer__list li {
  margin-bottom: 12px;
}

.footer__link {
  color: var(--color-text-muted);
  font-size: 14px;
}

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

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

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

.footer__note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--color-text-muted);
  opacity: 0.6;
  border-left: 2px solid var(--color-accent);
  padding-left: 10px;
}

.footer__bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  font-size: 12px;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .header__burger {
    display: block;
  }

  .nav {
    display: none; /* Hidden by default on mobile, toggled via JS */
  }

  .nav.is-active {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .header__actions .btn {
    display: none; /* Hide CTA button in header on mobile to save space */
  }

  .footer__container {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .header__logo-text {
    font-size: 18px;
  }
}
/* --- Hero Section --- */
.hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(20, 30, 50, 0.4) 0%, rgba(11, 15, 25, 0) 50%);
}

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

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(204, 255, 0, 0.1);
  border: 1px solid rgba(204, 255, 0, 0.2);
  border-radius: 20px;
  font-size: 12px;
  color: var(--color-accent);
  margin-bottom: 24px;
  font-weight: 600;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-accent);
}

/* Typography */
.hero__title {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 700;
}

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

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

/* Actions */
.hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.btn--outline {
  border: 1px solid var(--color-border);
  color: var(--color-text);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
}

.hero__stat-label {
  font-size: 13px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background-color: var(--color-border);
}

/* --- Visual (Code Card) --- */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.code-card {
  width: 100%;
  max-width: 480px;
  background: rgba(21, 28, 44, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
  animation: float 6s ease-in-out infinite;
}

.code-card:hover {
  transform: rotateY(0) rotateX(0);
}

.code-card__header {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

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

.code-card__body {
  font-family: 'Courier New', monospace;
  font-size: 16px;
  line-height: 1.6;
}

.code-line {
  display: block;
}
.indent {
  padding-left: 20px;
}
.mt-2 {
  margin-top: 16px;
}

/* Code Syntax Colors */
.c-purple {
  color: #c792ea;
}
.c-blue {
  color: #82aaff;
}
.c-yellow {
  color: #ffcb6b;
}
.c-string {
  color: #c3e88d;
}
.c-method {
  color: #82aaff;
}
.c-key {
  color: #7fdbca;
}
.c-num {
  color: #f78c6c;
}
.c-comment {
  color: #546e7a;
  font-style: italic;
}

.code-cursor {
  display: inline-block;
  color: var(--color-accent);
  animation: blink 1s step-end infinite;
}

/* Floating Decor */
.hero__decor {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
  font-size: 64px;
  z-index: -1;
  pointer-events: none;
}

.hero__decor--1 {
  top: -20px;
  right: -20px;
  animation: float 8s infinite reverse;
}
.hero__decor--2 {
  bottom: 0;
  left: -40px;
  font-size: 48px;
  animation: float 7s infinite 1s;
}
.hero__decor--3 {
  top: 40%;
  right: -60px;
  font-size: 80px;
  opacity: 0.1;
}

/* Animations Keyframes */
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotateY(-5deg) rotateX(5deg);
  }
  50% {
    transform: translateY(-20px) rotateY(-5deg) rotateX(5deg);
  }
}

/* Media Queries for Hero */
@media (max-width: 992px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__desc {
    margin: 0 auto 32px;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    margin-top: 20px;
  }

  .code-card {
    transform: none;
    animation: none; /* Disable 3d float on mobile for performance */
  }

  .hero__title {
    font-size: 40px;
  }
}

@media (max-width: 576px) {
  .hero__title {
    font-size: 32px;
  }
  .hero__actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
}

/* --- Global Section Styles --- */
.section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 60px;
  max-width: 800px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 600px;
}

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

.bento-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

/* Hover Effects */
.bento-item:hover {
  border-color: var(--color-accent);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bento-item:hover .bento-icon {
  background-color: var(--color-accent);
  color: var(--color-bg);
}

/* Specific Grid Areas */
.bento-item--large {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--color-surface) 0%, #1a2336 100%);
}

.bento-item--tall {
  grid-row: span 2;
  background: radial-gradient(circle at top right, rgba(204, 255, 0, 0.05), transparent 40%),
    var(--color-surface);
}

.bento-item--cta {
  background-color: var(--color-accent);
  color: var(--color-bg);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.bento-item--cta:hover {
  background-color: var(--color-accent-hover);
  transform: scale(0.98);
  box-shadow: 0 0 20px rgba(204, 255, 0, 0.3);
}

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

.bento-item--cta .bento-content {
  align-items: center;
  justify-content: center;
}

.bento-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-accent);
  transition: var(--transition);
}

.bento-title {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 12px;
  font-weight: 700;
}

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

.bento-item--cta .bento-title,
.bento-item--cta .bento-text {
  color: var(--color-bg);
}

.bento-tags {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

.bento-tags span {
  font-size: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 12px;
  border-radius: 20px;
  color: var(--color-text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Progress Bar inside card */
.bento-info {
  width: 100%;
  margin-top: auto;
}

.info-label {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  display: block;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.progress-fill {
  height: 100%;
  background: var(--color-accent);
  border-radius: 2px;
}

.bento-note {
  font-size: 12px;
  margin-top: 12px;
  color: var(--color-accent);
  opacity: 0.8;
}

.btn-link {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

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

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

@media (max-width: 600px) {
  .bento-grid {
    display: flex;
    flex-direction: column;
  }

  .section-title {
    font-size: 32px;
  }
}

/* --- Animation Utilities --- */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, visibility;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}

/* --- Methodology (Pipeline) --- */
.pipeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  margin-top: 60px;
}

.pipeline-step {
  flex: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  position: relative;
  transition: var(--transition);
}

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

.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 15px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
}

.step-icon {
  color: var(--color-accent);
  width: 28px;
  height: 28px;
}

.step-title {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 600;
}

.step-desc {
  font-size: 14px;
  color: var(--color-text-muted);
}

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

.pipeline-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
  color: var(--color-border);
}

.methodology-footer {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(204, 255, 0, 0.05);
  border-radius: 20px;
  font-size: 12px;
  color: var(--color-accent);
}

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

.small-note {
  font-size: 12px;
  color: var(--color-text-muted);
  opacity: 0.5;
}

/* --- Reviews (Horizontal Scroll) --- */
.reviews-scroller {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  /* Hide Scrollbar */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE */
}

.reviews-scroller::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.review-card {
  min-width: 350px;
  max-width: 350px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 30px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}

.review-author {
  font-size: 16px;
  font-weight: 600;
}

.review-role {
  font-size: 12px;
  color: var(--color-text-muted);
  display: block;
}

.review-text {
  font-size: 14px;
  color: var(--color-text-muted);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.review-text strong {
  color: var(--color-text);
  font-style: normal;
}

.review-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-success {
  width: 16px;
  height: 16px;
}

.review-card--call {
  background: rgba(204, 255, 0, 0.05);
  border: 1px dashed var(--color-accent);
  justify-content: center;
  align-items: center;
  text-align: center;
}

.review-content-center h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 992px) {
  .pipeline {
    flex-direction: column;
    gap: 0;
  }

  .pipeline-connector {
    padding: 20px 0;
    transform: rotate(90deg);
  }

  .review-card {
    min-width: 300px;
  }
}

/* --- Career Section --- */
.career__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.career__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}

.career__item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  font-size: 15px;
}

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

/* --- Visual: Offer Card UI --- */
.career__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.career__blob {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(204, 255, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 0;
  animation: pulse 4s infinite ease-in-out;
}

.offer-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  background: rgba(21, 28, 44, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}

.offer-card:hover {
  transform: rotate(0) scale(1.02);
}

.offer-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--color-text-muted);
}

.offer-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-accent);
}

.status-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-accent);
}

.offer-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.offer-label {
  color: var(--color-text-muted);
}
.offer-value {
  color: var(--color-text);
  font-weight: 500;
}
.text-white {
  color: #fff;
  font-weight: 600;
}

.offer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 16px 0;
}

.offer-details {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.salary-label {
  display: block;
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.salary-amount {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
}

.offer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-small {
  padding: 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.btn-accept {
  background: var(--color-accent);
  color: var(--color-bg);
}

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

.btn-decline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn-decline:hover {
  border-color: var(--color-text);
}

/* Floating Tags */
.company-tag {
  position: absolute;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  z-index: 1;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tag-1 {
  top: -20px;
  right: 20px;
  transform: rotate(5deg);
}
.tag-2 {
  bottom: -10px;
  left: 10px;
  transform: rotate(-3deg);
}
.tag-3 {
  top: 50%;
  left: -40px;
  transform: rotate(-8deg);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
}

@media (max-width: 992px) {
  .career__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .career__list {
    align-items: center; /* Центруємо список на мобільних */
    margin-bottom: 40px;
  }

  .career__visual {
    padding: 20px 0;
  }

  .company-tag {
    display: none;
  } /* Приховуємо теги на малих екранах щоб не заважали */
}

/* --- Contact Section --- */
.contact {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at bottom left, rgba(204, 255, 0, 0.03), transparent 40%);
}

.contact__container {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.contact__form-wrapper {
  width: 100%;
  max-width: 500px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

.form__input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 16px;
  transition: var(--transition);
}

.form__input:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.05);
}

/* Checkbox */
.form__checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.form__checkbox {
  margin-top: 4px;
  accent-color: var(--color-accent);
}

.form__checkbox-label {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

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

/* Submit Button & Loader */
.form__btn {
  width: 100%;
  position: relative;
}

.loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-bg);
  border-bottom-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.form.is-loading .btn-text {
  opacity: 0;
}
.form.is-loading .loader {
  display: block;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.form__message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
}
.form__message--success {
  background: rgba(204, 255, 0, 0.1);
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

/* Visual Background Decor */
.contact__visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.contact__circle {
  position: absolute;
  top: 10%;
  right: 10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 170, 255, 0.05), transparent 70%);
}
.contact__circle--2 {
  top: auto;
  bottom: -50px;
  left: -50px;
  background: radial-gradient(circle, rgba(204, 255, 0, 0.05), transparent 70%);
}

/* --- Cookie Popup --- */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 20px;
  border-radius: 12px;
  max-width: 350px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.cookie-popup.is-visible {
  transform: translateY(0);
}

.cookie-content p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}
.cookie-content a {
  color: var(--color-accent);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 12px;
}

/* --- Styles for Policy Pages (privacy.html etc.) --- */
/* Этот блок использовать для отдельных html страниц */
.pages {
  padding: 120px 0 80px;
  min-height: 80vh;
}

.pages h1 {
  font-family: var(--font-display);
  font-size: 36px;
  margin-bottom: 30px;
  color: var(--color-text);
}

.pages h2 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 40px 0 20px;
  color: var(--color-text);
}

.pages p {
  margin-bottom: 16px;
  color: var(--color-text-muted);
  font-size: 16px;
}

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

.pages li {
  margin-bottom: 8px;
}
.pages strong {
  color: var(--color-text);
}
.pages a {
  color: var(--color-accent);
  text-decoration: underline;
}
