/* ============================================
   GIZMO PLATFORMS INC. - Page & Component Styles
   ============================================ */

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(0, 255, 136, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, transparent 0%, var(--primary) 100%);
}

.hero__content { position: relative; z-index: 2; max-width: 800px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 32px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero__title { margin-bottom: 24px; line-height: 1.1; }
.hero__title-line { display: block; }

.hero__title-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__description {
  font-size: 1.2rem;
  color: var(--gray-400);
  margin-bottom: 48px;
  max-width: 560px;
  line-height: 1.8;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 80px;
  padding-top: 48px;
  border-top: var(--border-subtle);
}

.hero__stat { text-align: left; }

.hero__stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
  font-family: var(--font-mono);
}

.hero__stat-value span { color: var(--accent); }

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  z-index: 1;
  opacity: 0.6;
}

.hero__radar { position: relative; width: 100%; height: 100%; }

.hero__radar-ring {
  position: absolute;
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero__radar-ring:nth-child(1) { width: 200px; height: 200px; }
.hero__radar-ring:nth-child(2) { width: 350px; height: 350px; }
.hero__radar-ring:nth-child(3) { width: 500px; height: 500px; }

.hero__radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform-origin: left center;
  animation: radar-sweep 4s linear infinite;
}

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

.hero__radar-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: radar-dot-pulse 3s ease-in-out infinite;
}

.hero__radar-dot:nth-child(5) { top: 30%; left: 60%; animation-delay: 0s; }
.hero__radar-dot:nth-child(6) { top: 55%; left: 75%; animation-delay: 1s; }
.hero__radar-dot:nth-child(7) { top: 40%; left: 45%; animation-delay: 2s; }

@keyframes radar-dot-pulse {
  0%, 100% { opacity: 0; transform: scale(0); }
  20% { opacity: 1; transform: scale(1); }
  80% { opacity: 1; transform: scale(1); }
}

@media (max-width: 1024px) {
  .hero__visual { display: none; }
  .hero__stats { gap: 32px; }
}

@media (max-width: 768px) {
  .hero__stats { flex-direction: column; gap: 24px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

/* --- Feature Cards --- */
.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 212, 255, 0.15);
  transform: translateY(-4px);
}

.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  color: var(--accent);
}

.feature-card__icon svg { width: 28px; height: 28px; }
.feature-card__title { font-size: 1.2rem; margin-bottom: 12px; }
.feature-card__text { font-size: 0.95rem; color: var(--gray-400); line-height: 1.7; }

.feature-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.feature-card__link:hover { color: var(--white); }

/* --- Capability Rows --- */
.capability-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: var(--border-subtle);
}

.capability-row:last-child { border-bottom: none; }
.capability-row--reverse { direction: rtl; }
.capability-row--reverse > * { direction: ltr; }
.capability__content { max-width: 480px; }

.capability__number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.capability__title { margin-bottom: 16px; }
.capability__text { margin-bottom: 24px; color: var(--gray-400); }

.capability__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }

.capability__list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-300);
}

.capability__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--accent);
}

.capability__visual {
  position: relative;
  aspect-ratio: 4/3;
  background: rgba(255, 255, 255, 0.02);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.capability__visual-inner {
  padding: 40px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  .capability-row { grid-template-columns: 1fr; gap: 40px; }
  .capability-row--reverse { direction: ltr; }
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--primary-light);
  border-top: var(--border-subtle);
  border-bottom: var(--border-subtle);
  padding: 60px 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stats-bar__item { position: relative; }

.stats-bar__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.stats-bar__value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.stats-bar__value span { color: var(--accent); }

.stats-bar__label {
  font-size: 0.85rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__item:not(:last-child)::after { display: none; }
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(0, 212, 255, 0.06) 0%, transparent 60%);
}

.cta-section__content { position: relative; z-index: 2; }
.cta-section__title { margin-bottom: 20px; }
.cta-section__text { margin: 0 auto 40px; text-align: center; font-size: 1.15rem; }
.cta-section__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Page Hero (Interior) --- */
.page-hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 30% 40%, rgba(0, 212, 255, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.page-hero__content { position: relative; z-index: 2; }

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.page-hero__breadcrumb a { color: var(--gray-500); }
.page-hero__breadcrumb a:hover { color: var(--accent); }
.page-hero__breadcrumb span { color: var(--gray-600); }

.page-hero__title { margin-bottom: 20px; }

.page-hero__subtitle {
  font-size: 1.2rem;
  color: var(--gray-400);
  max-width: 640px;
  line-height: 1.8;
}

/* --- Solutions Cards --- */
.solution-card {
  background: rgba(255, 255, 255, 0.02);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.solution-card:hover {
  border-color: rgba(0, 212, 255, 0.15);
  transform: translateY(-4px);
}

.solution-card__visual {
  height: 240px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.solution-card__visual-icon {
  width: 80px;
  height: 80px;
  color: var(--accent);
  opacity: 0.6;
}

.solution-card__content { padding: 32px; }
.solution-card__tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.solution-card__title { font-size: 1.4rem; margin-bottom: 12px; }
.solution-card__text { font-size: 0.95rem; color: var(--gray-400); line-height: 1.7; margin-bottom: 24px; }

.solution-card__features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }

.solution-card__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--gray-300);
}

.solution-card__feature-icon { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

/* --- Technology Diagram --- */
.tech-diagram {
  background: rgba(255, 255, 255, 0.02);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 60px;
  position: relative;
}

.tech-diagram__center {
  width: 120px;
  height: 120px;
  background: rgba(0, 212, 255, 0.1);
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 40px;
  position: relative;
}

.tech-diagram__center-icon { width: 48px; height: 48px; color: var(--accent); }

.tech-diagram__nodes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tech-diagram__node {
  background: rgba(255, 255, 255, 0.03);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: all var(--transition-base);
}

.tech-diagram__node:hover {
  border-color: rgba(0, 212, 255, 0.2);
  background: rgba(0, 212, 255, 0.05);
}

.tech-diagram__node-icon { width: 32px; height: 32px; color: var(--accent); margin: 0 auto 12px; }
.tech-diagram__node-title { font-size: 0.95rem; color: var(--white); margin-bottom: 8px; font-weight: 600; }
.tech-diagram__node-text { font-size: 0.8rem; color: var(--gray-500); line-height: 1.5; }

@media (max-width: 768px) {
  .tech-diagram__nodes { grid-template-columns: 1fr; }
  .tech-diagram { padding: 32px; }
}

/* --- Timeline --- */
.timeline { position: relative; padding-left: 40px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 212, 255, 0.15);
}

.timeline__item {
  position: relative;
  padding-bottom: 48px;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__item::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.timeline__year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.timeline__title { font-size: 1.1rem; margin-bottom: 8px; }
.timeline__text { font-size: 0.95rem; color: var(--gray-400); }

/* --- Team Grid --- */
.team-card {
  background: rgba(255, 255, 255, 0.02);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.team-card:hover {
  border-color: rgba(0, 212, 255, 0.15);
  transform: translateY(-4px);
}

.team-card__photo {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light), var(--gray-800));
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card__photo-placeholder {
  width: 64px;
  height: 64px;
  color: var(--gray-600);
}

.team-card__info { padding: 24px; }
.team-card__name { font-size: 1.1rem; margin-bottom: 4px; }
.team-card__role { font-size: 0.85rem; color: var(--accent); margin-bottom: 12px; }
.team-card__bio { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; }

/* --- Contact Form --- */
.contact-form {
  background: rgba(255, 255, 255, 0.02);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.contact-form__group { margin-bottom: 24px; }

.contact-form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.contact-form__input,
.contact-form__textarea,
.contact-form__select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.contact-form__input:focus,
.contact-form__textarea:focus,
.contact-form__select:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form__textarea { min-height: 160px; resize: vertical; }

.contact-form__select { appearance: none; cursor: pointer; }

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .contact-form__row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}

/* --- Contact Info --- */
.contact-info { display: flex; flex-direction: column; gap: 32px; }

.contact-info__item { display: flex; gap: 16px; }
.contact-info__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: var(--radius-md);
  color: var(--accent);
}

.contact-info__icon svg { width: 20px; height: 20px; }
.contact-info__label { font-size: 0.8rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.contact-info__value { font-size: 1rem; color: var(--white); }

/* --- Legal Pages --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 16px;
  max-width: 100%;
}

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  color: var(--gray-400);
  font-size: 0.95rem;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.legal-content .last-updated {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 40px;
  font-family: var(--font-mono);
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* --- Spec Table --- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: var(--border-subtle);
}

.spec-table th {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  background: rgba(255, 255, 255, 0.02);
}

.spec-table td {
  font-size: 0.95rem;
  color: var(--gray-300);
}

.spec-table td:first-child {
  color: var(--white);
  font-weight: 600;
}

/* --- Process Steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  counter-increment: step;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(0, 212, 255, 0.15);
  display: block;
  margin-bottom: 16px;
}

.process-step__title { font-size: 1.05rem; margin-bottom: 8px; }
.process-step__text { font-size: 0.9rem; color: var(--gray-500); line-height: 1.6; }

@media (max-width: 1024px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* --- Careers --- */
.job-card {
  background: rgba(255, 255, 255, 0.02);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: all var(--transition-base);
}

.job-card:hover {
  border-color: rgba(0, 212, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.job-card__info { flex: 1; }
.job-card__title { font-size: 1.15rem; margin-bottom: 8px; }

.job-card__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.job-card__meta-item {
  font-size: 0.85rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-card__meta-icon { width: 14px; height: 14px; color: var(--accent); }

@media (max-width: 768px) {
  .job-card { flex-direction: column; align-items: flex-start; }
}

/* --- Notification Bar --- */
.notification-bar {
  background: rgba(0, 212, 255, 0.08);
  border-bottom: 1px solid rgba(0, 212, 255, 0.12);
  padding: 10px 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--accent);
}

.notification-bar a {
  font-weight: 600;
  text-decoration: underline;
}

/* --- ITAR Notice --- */
.itar-notice {
  background: rgba(255, 107, 53, 0.08);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 40px 0;
}

.itar-notice__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--warning);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.itar-notice__text {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* --- Classification Banner --- */
.classification-banner {
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.classification-banner__icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
}

.classification-banner__text {
  font-size: 0.9rem;
  color: var(--gray-400);
}

/* --- Value Props --- */
.value-prop {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
}

.value-prop__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: var(--radius-md);
  color: var(--accent);
}

.value-prop__icon svg { width: 24px; height: 24px; }
.value-prop__title { font-size: 1.05rem; margin-bottom: 6px; }
.value-prop__text { font-size: 0.9rem; color: var(--gray-500); line-height: 1.6; }

/* --- Animated Grid Background --- */
.animated-grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.animated-grid__line {
  position: absolute;
  background: rgba(0, 212, 255, 0.04);
}

.animated-grid__line--h {
  height: 1px;
  width: 100%;
  animation: grid-line-h 8s ease-in-out infinite;
}

.animated-grid__line--v {
  width: 1px;
  height: 100%;
  animation: grid-line-v 8s ease-in-out infinite;
}

@keyframes grid-line-h {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

@keyframes grid-line-v {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--primary-dark); }
::-webkit-scrollbar-thumb { background: var(--gray-700); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-600); }

/* --- Selection --- */
::selection { background: rgba(0, 212, 255, 0.3); color: var(--white); }