/* ========== SIMPLE NDT DESIGN SYSTEM ========== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  --bg: #0a0a0a;
  --bg-elevated: #101012;
  --bg-card: #141416;
  --surface: #1a1a1c;
  --border: #1f1f23;
  --border-hover: #2a2a30;
  --text-primary: #f0f0f5;
  --text-secondary: #8a8a96;
  --text-tertiary: #5c5c68;
  --accent: #5eaed5;
  --accent-light: #7ec4e8;
  --accent-dim: rgba(94, 174, 213, 0.08);
  --accent-glow: rgba(94, 174, 213, 0.2);
  --accent-subtle: rgba(94, 174, 213, 0.04);
  --font-main: 'Outfit', -apple-system, sans-serif;
  --font-mono: 'Space Mono', monospace;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  background-color: #0a0a0a;
}

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

::selection { background: var(--accent); color: var(--bg); }

/* ========== NAV ========== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #0a0a0a;
  border-bottom: 1px solid var(--border);
  transition: transform 0.4s var(--ease);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 28px; height: 28px;
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700;
  color: var(--accent);
}

.nav-logo-text {
  font-weight: 600; font-size: 16px;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex; align-items: center;
  gap: 32px; list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.3px;
  transition: color 0.3s var(--ease);
  position: relative;
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: var(--accent); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-lang {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
}

.nav-lang:hover { border-color: var(--accent); color: var(--accent); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-main);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.3px;
  border: none; border-radius: 8px;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  text-decoration: none;
}

.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--text-tertiary); background: var(--surface); }

.btn-arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ========== PAGE HEADER (for inner pages) ========== */
.page-header {
  padding: 140px 48px 80px;
  background-color: #0a0a0a;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -30%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, var(--accent-dim) 0%, transparent 65%);
  filter: blur(60px);
  opacity: 0.5;
}

.page-header-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-header .breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.page-header .breadcrumb a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.3s;
}

.page-header .breadcrumb a:hover { color: var(--accent); }

.page-header .breadcrumb span { color: var(--accent); }

.page-header h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeUp 0.7s var(--ease-out) both;
}

.page-header .page-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
  font-weight: 300;
  max-width: 600px;
  animation: fadeUp 0.7s var(--ease-out) 0.1s both;
}

.page-header .page-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 24px;
  animation: fadeUp 0.7s var(--ease-out) 0.2s both;
}

.page-tag {
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* ========== CONTENT SECTIONS ========== */
.content-section {
  padding: 80px 48px;
  background-color: #0a0a0a;
}

.content-section.alt { background-color: #101012; }

.content-inner {
  max-width: 800px;
  margin: 0 auto;
}

.content-inner h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.content-inner h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  margin-top: 40px;
  color: var(--text-primary);
}

.content-inner p {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 16px;
}

.content-inner p strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* ========== STANDARDS LIST ========== */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
  margin: 28px 0 40px;
}

.standard-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.3s var(--ease);
}

.standard-item:hover { border-color: var(--border-hover); }

.standard-code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.3px;
  white-space: nowrap;
  padding-top: 2px;
  flex-shrink: 0;
}

.standard-name {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.5;
}

/* ========== FAQ ========== */
.faq-section {
  padding: 80px 48px;
  background-color: #101012;
}

.faq-inner {
  max-width: 800px;
  margin: 0 auto;
}

.faq-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.faq-item:first-of-type { border-top: 1px solid var(--border); }

.faq-question {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.2px;
  margin-bottom: 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.faq-toggle {
  color: var(--text-tertiary);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-answer {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), opacity 0.3s;
  opacity: 0;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  opacity: 1;
}

/* ========== CTA BAND ========== */
.cta-band {
  padding: 80px 48px;
  background-color: #0a0a0a;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  bottom: -15%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, var(--accent-dim) 0%, transparent 65%);
  filter: blur(50px);
  opacity: 0.5;
}

.cta-band-content { position: relative; z-index: 1; }

.cta-band h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.cta-band p {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 32px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-band .cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== OTHER SERVICES GRID ========== */
.other-services {
  padding: 80px 48px;
  background-color: #101012;
}

.other-services-inner {
  max-width: 800px;
  margin: 0 auto;
}

.other-services-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.other-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.other-service-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.other-service-link:hover {
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.other-service-link span {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 400;
}

.other-service-link .arrow {
  color: var(--text-tertiary);
  font-size: 16px;
  transition: all 0.3s var(--ease);
}

.other-service-link:hover .arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* ========== FOOTER ========== */
footer {
  padding: 56px 48px 36px;
  border-top: 1px solid var(--border);
  background-color: #0a0a0a;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 44px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand-name { font-size: 17px; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 8px; }
.footer-brand-desc { font-size: 13px; color: var(--text-tertiary); font-weight: 300; max-width: 300px; line-height: 1.6; }
.footer-columns { display: flex; gap: 56px; }
.footer-col-title { font-family: var(--font-mono); font-size: 10px; color: var(--text-tertiary); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-secondary); text-decoration: none; margin-bottom: 9px; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy { font-size: 12px; color: var(--text-tertiary); font-weight: 300; }
.footer-socials { display: flex; gap: 20px; }
.footer-socials a { font-size: 12px; color: var(--text-tertiary); text-decoration: none; transition: color 0.3s var(--ease); }
.footer-socials a:hover { color: var(--accent); }

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ========== SERVICE CARDS ========== */
.services-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.service-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 36px 30px; display: flex; flex-direction: column; gap: 16px; cursor: pointer; transition: all 0.4s var(--ease); text-decoration: none; position: relative; overflow: hidden; }
.service-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 20px 48px rgba(0,0,0,0.25); }
.service-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 0; background: linear-gradient(180deg, var(--accent-dim), transparent); transition: height 0.5s var(--ease); }
.service-card:hover::after { height: 100px; }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.service-method { font-family: var(--font-mono); font-size: 10px; color: var(--accent); letter-spacing: 1.2px; text-transform: uppercase; }
.service-arrow { color: var(--text-tertiary); font-size: 18px; transition: all 0.3s var(--ease); }
.service-card:hover .service-arrow { color: var(--accent); transform: translateX(3px); }
.service-body { position: relative; z-index: 1; flex: 1; }
.service-title { font-size: 19px; font-weight: 500; color: var(--text-primary); letter-spacing: -0.3px; margin-bottom: 8px; line-height: 1.3; }
.service-desc { font-size: 13.5px; color: var(--text-secondary); font-weight: 300; line-height: 1.65; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .page-header { padding: 120px 24px 60px; }
  .content-section, .faq-section, .cta-band, .other-services { padding: 60px 24px; }
  .standards-grid { grid-template-columns: 1fr; }
  .other-services-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  footer { padding: 40px 24px 28px; }
  .footer-columns { gap: 32px; }
}
