/* ── Reset & Base ─────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
}

body {
  background: #0d1117;
  color: #c9d1d9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
}

a {
  color: #00d4ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── Navigation ─────────────────────────────────────────── */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #21262d;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav .nav-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: #00d4ff;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.site-nav .nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.site-nav .nav-links a {
  color: #8b949e;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav .nav-links a:hover {
  color: #00d4ff;
  text-decoration: none;
}

/* ── Sections ───────────────────────────────────────────── */

section {
  max-width: 960px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

section:first-of-type {
  padding-top: 8rem;
}

.section-divider {
  border: none;
  border-top: 1px solid #21262d;
  max-width: 960px;
  margin: 0 auto;
}

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  text-align: center;
  padding-top: 10rem;
  padding-bottom: 5rem;
}

.hero .heading {
  font-size: 3.5rem;
  font-weight: 700;
  color: #00d4ff;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: #8b949e;
  margin-bottom: 2.5rem;
}

.hero .badge {
  display: inline-block;
  border: 1.5px solid #00d4ff;
  border-radius: 999px;
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #00d4ff;
  margin-bottom: 2rem;
}

.hero .value-prop {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #e6edf3;
  max-width: 640px;
  margin: 0 auto 1.25rem;
}

.hero .value-detail {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #8b949e;
  max-width: 640px;
  margin: 0 auto;
}

/* ── Services ───────────────────────────────────────────── */

.services {
  text-align: center;
}

.services .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #e6edf3;
  margin-bottom: 0.5rem;
}

.services .section-subtitle {
  font-size: 1.05rem;
  color: #8b949e;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.service-card {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: left;
  transition: border-color 0.2s;
}

.service-card:hover {
  border-color: #00d4ff;
}

.service-card .card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e6edf3;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #8b949e;
}

.service-card.highlight-card {
  border-color: #00d4ff;
  grid-column: 1 / -1;
}

.service-card.highlight-card h3 {
  color: #00d4ff;
}

/* ── Who We Serve ───────────────────────────────────────── */

.serve {
  text-align: center;
}

.serve .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #e6edf3;
  margin-bottom: 1.5rem;
}

.serve-content {
  max-width: 640px;
  margin: 0 auto;
}

.serve-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.serve-list li {
  font-size: 1rem;
  line-height: 1.8;
  color: #c9d1d9;
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.serve-list li::before {
  content: "\2022";
  color: #00d4ff;
  position: absolute;
  left: 0;
}

/* ── CTA Button ─────────────────────────────────────────── */

.cta-button {
  display: inline-block;
  background: #00d4ff;
  color: #0d1117;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: opacity 0.2s;
  margin: 1rem 0;
}

.cta-button:hover {
  opacity: 0.9;
  text-decoration: none;
}

/* ── About ──────────────────────────────────────────────── */

.about {
  text-align: center;
}

.about .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #e6edf3;
  margin-bottom: 1.5rem;
}

.about-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #c9d1d9;
  margin-bottom: 1.25rem;
}

.about-content strong {
  color: #e6edf3;
}

.sectors {
  margin-top: 2rem;
}

.sectors h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e6edf3;
  margin-bottom: 0.75rem;
}

.sector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.sector-tag {
  display: inline-block;
  border: 1px solid #30363d;
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  color: #8b949e;
  transition: border-color 0.2s, color 0.2s;
}

.sector-tag:hover {
  border-color: #00d4ff;
  color: #00d4ff;
}

/* ── Labs ───────────────────────────────────────────────── */

.labs {
  text-align: center;
}

.labs .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #e6edf3;
  margin-bottom: 1.5rem;
}

.labs-content {
  max-width: 640px;
  margin: 0 auto;
}

.labs-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #c9d1d9;
  margin-bottom: 1.25rem;
}

.labs-link {
  display: inline-block;
  border: 1.5px solid #00d4ff;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #00d4ff;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  margin-top: 0.5rem;
}

.labs-link:hover {
  background: #00d4ff;
  color: #0d1117;
  text-decoration: none;
}

/* ── Contact ────────────────────────────────────────────── */

.contact {
  text-align: center;
}

.contact .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #e6edf3;
  margin-bottom: 1.5rem;
}

.contact-content {
  max-width: 640px;
  margin: 0 auto;
}

.contact-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #c9d1d9;
  margin-bottom: 1rem;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #00d4ff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-link:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* ── Contact Form ───────────────────────────────────────── */

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 480px;
  margin: 1.5rem auto;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 8px;
  color: #c9d1d9;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: #6e7681;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #00d4ff;
}

#contact-form button {
  width: 100%;
  padding: 1rem;
  background: #00d4ff;
  color: #0d1117;
  border: none;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 0.25rem;
}

#contact-form button:hover {
  opacity: 0.9;
}

#contact-form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-message {
  margin-top: 1rem;
  font-size: 0.95rem;
  min-height: 1.4em;
  text-align: center;
}

.form-message.success {
  color: #3fb950;
}

.form-message.error {
  color: #f85149;
}

/* ── Footer ─────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid #21262d;
  padding: 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: #8b949e;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: #00d4ff;
}

.site-footer .copyright {
  font-size: 0.85rem;
  color: #484f58;
}

/* ── Responsive ─────────────────────────────────────────── */

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

  .hero .heading {
    font-size: 2.5rem;
  }

  .hero .value-prop {
    font-size: 1.05rem;
  }

  section {
    padding: 3rem 1.5rem;
  }

  .hero {
    padding-top: 7rem;
  }

  .contact-links {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero .heading {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1rem;
  }

  .hero .badge {
    font-size: 0.75rem;
    padding: 0.4rem 1.1rem;
  }

  .site-nav {
    padding: 0.75rem 1rem;
  }

  .site-nav .nav-links {
    gap: 1rem;
  }

  .site-nav .nav-links a {
    font-size: 0.8rem;
  }

  .services .section-title,
  .serve .section-title,
  .about .section-title,
  .labs .section-title,
  .contact .section-title {
    font-size: 1.6rem;
  }

  section {
    padding: 2.5rem 1rem;
  }
}
