:root {
  --bg-dark: #0f1115;
  --bg-panel: #171a1f;
  --text-main: #e2e8f0;
  --text-dim: #94a3b8;
  --neon-cyan: #00f3ff;
  --neon-purple: #bd00ff;
  --accent-glow: rgba(0, 243, 255, 0.2);
  --font-main: "Inter", system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  font-size: 16px; /* Strict minimum */
}

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

h1, h2, h3, h4 {
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.5rem; }

p, li, a, span {
  font-size: 1rem; /* Exactly 16px */
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- HEADER & NAVIGATION --- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 17, 21, 0.98);
  border-bottom: 1px solid rgba(0, 243, 255, 0.15);
  backdrop-filter: blur(12px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: #fff;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--neon-cyan);
  text-shadow: 0 0 15px var(--accent-glow);
  font-size: 1.5rem;
}

/* Mobile Nav (Checkbox Hack) */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: block;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  position: relative;
}

.menu-icon .bar {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px 0;
  background-color: var(--neon-cyan);
  transition: var(--transition);
  box-shadow: 0 0 5px var(--accent-glow);
}

.nav-menu {
  position: fixed;
  top: 80px;
  left: -100%;
  width: 100%;
  height: calc(100vh - 80px);
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 0;
  transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.nav-item {
  margin: 1.25rem 0;
}

.nav-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-cta {
  background: rgba(0, 243, 255, 0.05);
  border: 1px solid var(--neon-cyan);
  padding: 0.75rem 2rem;
  border-radius: 4px;
  color: var(--neon-cyan);
  box-shadow: 0 0 10px var(--accent-glow);
}

.lang-switcher {
  display: flex;
  gap: 1.5rem;
  margin-top: auto;
  padding-bottom: 2rem;
}

#menu-toggle:checked ~ .nav-menu {
  left: 0;
}

#menu-toggle:checked ~ .menu-icon .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#menu-toggle:checked ~ .menu-icon .bar:nth-child(2) { opacity: 0; }
#menu-toggle:checked ~ .menu-icon .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- HERO --- */
.hero {
  padding: 5rem 0;
  text-align: center;
  background: radial-gradient(circle at 80% 20%, rgba(189, 0, 255, 0.08), transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(0, 243, 255, 0.08), transparent 40%);
}

.hero h1 {
  font-size: 2.75rem;
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-dim);
  max-width: 750px;
  margin: 0 auto 3rem;
}

.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 1.1rem 2.5rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 240px;
  text-align: center;
}

.btn-primary {
  background: var(--neon-cyan);
  color: var(--bg-dark);
  box-shadow: 0 5px 25px var(--accent-glow);
}

.btn-secondary {
  border: 2px solid var(--neon-cyan);
  color: var(--neon-cyan);
  background: transparent;
}

/* --- DIRECTORY --- */
.directory {
  padding: 4rem 0;
  background: rgba(23, 26, 31, 0.5);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.dir-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.dir-item {
  background: var(--bg-panel);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.dir-item svg {
  width: 36px;
  height: 36px;
  fill: var(--neon-cyan);
}

/* --- SERVICES --- */
.service-section {
  padding: 6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.service-header {
  margin-bottom: 4rem;
}

.service-title {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.service-title svg {
  width: 48px;
  height: 48px;
  fill: var(--neon-cyan);
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.subdisciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.chip {
  background: rgba(189, 0, 255, 0.1);
  color: #d8b4fe;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid rgba(189, 0, 255, 0.3);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 3rem 0;
}

.benefit-card {
  background: var(--bg-panel);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--neon-cyan);
  box-shadow: 10px 10px 30px rgba(0,0,0,0.2);
}

.benefit-card h4 {
  color: var(--neon-cyan);
  margin-bottom: 1rem;
}

.faq-container {
  margin-top: 5rem;
  background: rgba(0,0,0,0.2);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.03);
}

.faq-item {
  margin-bottom: 2.5rem;
}

.faq-item:last-child { margin-bottom: 0; }

.faq-item h4 {
  color: var(--neon-purple);
  margin-bottom: 0.75rem;
}

/* --- INDUSTRY & ABOUT --- */
.expertise-section {
  padding: 6rem 0;
  background: radial-gradient(circle at center, rgba(189, 0, 255, 0.03), transparent 70%);
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.expertise-tag {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dim);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
}

.about-section {
  padding: 6rem 0;
  background: var(--bg-panel);
}

.about-content {
  max-width: 850px;
  margin: 0 auto;
}

/* --- FOOTER --- */
footer {
  background: #080a0d;
  padding: 6rem 0 3rem;
  border-top: 2px solid var(--neon-cyan);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h3 {
  font-size: 1.35rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background: var(--neon-cyan);
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-dim);
}

/* --- BREAKPOINT 1: TABLET (768px+) --- */
@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  
  .hero-btns {
    flex-direction: row;
    justify-content: center;
  }
  
  .dir-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- BREAKPOINT 2: DESKTOP (1024px+) --- */
@media (min-width: 1024px) {
  .menu-icon {
    display: none;
  }
  
  .nav-menu {
    position: static;
    flex-direction: row;
    height: auto;
    width: auto;
    background: transparent;
    padding: 0;
    border: none;
  }
  
  .nav-item {
    margin: 0 0 0 2.5rem;
  }
  
  .lang-switcher {
    margin: 0 0 0 2.5rem;
    padding: 0;
    gap: 1rem;
  }
  
  .dir-grid {
    grid-template-columns: repeat(8, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* UTILS */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.neon-text { color: var(--neon-cyan); text-shadow: 0 0 10px var(--accent-glow); }
.highlight { color: var(--neon-purple); }

/* Focus and Accessibility */
:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 4px;
}

::selection {
  background: var(--neon-cyan);
  color: var(--bg-dark);
}