/* =====================
   CSS VARIABLES
   ===================== */
:root {
  --cyan: #00D4FF;
  --cyan-light: #66EBFF;
  --navy: #003D5C;
  --dark: #0A0E1A;
  --dark-2: #0F1623;
  --dark-3: #0D1F35;
  --border: #1E3A4A;
  --text-muted: #94A3B8;
  --text-white: #FFFFFF;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* =====================
   NAV
   ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 2px;
}

.nav-logo span { color: var(--cyan); }

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  letter-spacing: 0.5px;
}

.nav-links a:hover { color: var(--text-white); }

.nav-cta {
  background: var(--cyan) !important;
  color: var(--dark) !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.5px;
  transition: opacity 0.2s !important;
}

.nav-cta:hover { opacity: 0.85; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 22px;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  gap: 16px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  color: var(--text-muted);
  font-size: 15px;
  padding: 4px 0;
  transition: color 0.2s;
}

.nav-mobile a:hover { color: var(--cyan); }

/* =====================
   SHARED SECTION STYLES
   ===================== */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-header { margin-bottom: 48px; }

.section-eyebrow {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
}

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 64px;
  overflow: hidden;
}

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

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  position: relative;
}

.hero-eyebrow {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-white);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.1s forwards;
}

.hero-accent {
  color: var(--cyan);
  position: relative;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.3s forwards;
}

.hero-stats {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border);
  position: relative;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.4s forwards;
}

.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  color: var(--cyan);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* =====================
   BUTTONS
   ===================== */
.btn-primary {
  display: inline-block;
  background: var(--cyan);
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 4px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* =====================
   SERVICES
   ===================== */
.services { background: var(--dark); }

.services-table { width: 100%; }

.services-thead {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
}

.services-thead span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  flex: 1;
}

.services-row {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 20px 16px;
  gap: 24px;
  align-items: flex-start;
  transition: background 0.2s;
}

.services-row:last-child { border-bottom: none; }
.services-row:hover { background: rgba(0, 212, 255, 0.03); }

.service-name {
  color: var(--text-white);
  font-weight: 600;
  min-width: 240px;
  font-size: 15px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.services-tagline {
  color: var(--cyan);
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  font-size: 14px;
  opacity: 0.85;
}

/* =====================
   WHY TGT
   ===================== */
.why { background: var(--dark-2); }

.why-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.why-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 32px;
  transition: border-color 0.2s, transform 0.2s;
}

.why-card:hover { border-color: var(--cyan); transform: translateY(-2px); }

.why-icon {
  font-size: 28px;
  color: var(--cyan);
  display: block;
  margin-bottom: 20px;
}

.service-icon {
  color: var(--cyan);
  margin-right: 10px;
  width: 16px;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.why-card p { color: var(--text-muted); font-size: 14px; line-height: 1.8; }

/* =====================
   ABOUT
   ===================== */
.about { background: var(--dark); }

.about-layout {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.about-text { flex: 1; }

.about-lead {
  color: var(--text-white);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-text p:not(.about-lead):not(.section-eyebrow) {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-stats {
  flex: 0 0 auto;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-stat { text-align: center; }

.about-stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat-label {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =====================
   TESTIMONIALS
   ===================== */
.testimonials { background: var(--dark-2); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}

.testimonial-card:hover { border-color: var(--cyan); }

.quote-mark {
  color: var(--cyan);
  font-size: 20px;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.quote-text {
  color: var(--text-white);
  font-size: 15px;
  line-height: 1.8;
  flex: 1;
  margin-bottom: 24px;
}

.quote-attr { border-top: 1px solid var(--border); padding-top: 16px; }

.quote-role {
  display: block;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 600;
}

.quote-org {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 4px;
}

/* =====================
   CTA
   ===================== */
.cta {
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark) 50%, var(--dark-3) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-inner { text-align: center; }

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 16px;
}

.cta p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 40px;
}

/* =====================
   FOOTER
   ===================== */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
}

.footer-logo span { color: var(--cyan); }

.footer-copy {
  color: var(--text-muted);
  font-size: 13px;
}

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

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider { width: 48px; height: 1px; }

  .services-thead { display: none; }
  .services-row { flex-direction: column; gap: 8px; }
  .service-name { min-width: unset; }

  .about-layout { flex-direction: column; }
  .about-stats { width: 100%; flex-direction: row; justify-content: space-around; padding: 28px 24px; }
  .about-stat { flex: 1; }

  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .about-stats { flex-direction: column; gap: 24px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; }
}