:root {
  --bg: #071319;
  --surface: #0f232d;
  --panel: #122b36;
  --teal: #2dd4bf;
  --teal-dark: #0f766e;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --line: rgba(148, 163, 184, 0.22);
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 19, 25, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-inner,
.container,
.hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--teal);
  color: #042f2e;
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

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

.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(circle at top left, rgba(45, 212, 191, 0.22), transparent 36rem),
    linear-gradient(135deg, #071319 0%, #0f232d 100%);
}

.hero-eyebrow {
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.75rem);
  line-height: 0.95;
  margin: 18px 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 { color: var(--teal); }

.hero-title {
  color: var(--muted);
  font-size: 1.35rem;
  font-weight: 700;
}

.hero-summary {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-cta,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.btn,
.btn-form {
  display: inline-flex;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.btn-primary,
.btn-form {
  background: var(--teal);
  color: #042f2e;
}

.btn-outline {
  border: 1px solid var(--line);
  color: var(--white);
}

.hero-stats > div {
  min-width: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.stat-num {
  font-size: 1.8rem;
  color: var(--teal);
  font-weight: 900;
}

.stat-label { color: var(--muted); }

.section { padding: 76px 0; }
.section-alt { background: #0a1a22; }
.section-dark { background: #051015; }

.section-heading {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
  color: var(--muted);
}

.accent-bar {
  width: 72px;
  height: 4px;
  margin: 16px auto;
  border-radius: 999px;
  background: var(--teal);
}

.two-col,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.skills-grid,
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.skill-card,
.industry-card,
.timeline-card,
.contact-info,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  background: var(--panel);
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 18px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-group {
  display: grid;
  gap: 8px;
}

label {
  color: var(--white);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font: inherit;
}

textarea { min-height: 140px; }

.contact-status {
  margin: 0;
  font-weight: 700;
}

.contact-status-success { color: var(--teal); }
.contact-status-error { color: #fca5a5; }

.blog-index,
.blog-post {
  background: #0a1a22;
}

.blog-list {
  display: grid;
  gap: 20px;
}

.blog-card,
.blog-empty {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  background: var(--panel);
  color: var(--muted);
}

.blog-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.blog-card h2 a,
.blog-read-more,
.blog-back-link {
  color: var(--white);
  text-decoration: none;
}

.blog-card h2 a:hover,
.blog-read-more:hover,
.blog-back-link:hover {
  color: var(--teal);
}

.blog-date {
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.blog-post-container {
  max-width: 860px;
}

.blog-post h1 {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
}

.blog-post-summary {
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.75;
}

.blog-post-body {
  margin-top: 32px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.blog-post-body h2,
.blog-post-body h3 {
  color: var(--white);
  margin-top: 2rem;
}

.blog-post-body a {
  color: var(--teal);
}

footer {
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  .nav-inner,
  .nav-links,
  .two-col,
  .contact-grid,
  .skills-grid,
  .industries-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 10px;
    padding: 16px 0;
  }
}
