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

:root {
  --bg: #0a0a0a;
  --bg-light: #111;
  --bg-card: #151515;
  --text: #c8c8c8;
  --text-muted: #666;
  --accent: #00e5a0;
  --accent-dim: rgba(0, 229, 160, 0.15);
  --font: 'JetBrains Mono', Consolas, 'Courier New', monospace;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

/* ── Nav ── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #1a1a1a;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo:hover {
  opacity: 1;
}

.nav-logo-img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.nav-links a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
  opacity: 1;
}

/* ── Hero ── */

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

.hero-content {
  text-align: center;
}

.hero-logo {
  max-width: 480px;
  width: 90%;
  height: auto;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--accent);
  margin-bottom: 1rem;
}

.cursor {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* ── Sections ── */

.about,
.services,
.contact {
  max-width: 960px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #fff;
}

.accent {
  color: var(--accent);
}

/* ── About ── */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

.about-text p {
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.certs {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #1e1e1e;
}

.certs h3 {
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.certs ul {
  list-style: none;
}

.certs li {
  font-size: 0.8rem;
  color: var(--accent);
  padding: 0.3rem 0;
}

.certs li::before {
  content: '~ ';
  color: var(--text-muted);
}

.info-card {
  background: var(--bg-card);
  border: 1px solid #1e1e1e;
  border-radius: 6px;
  padding: 1.5rem;
}

.info-card h3 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1rem;
}

.info-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card strong {
  color: var(--accent);
}

/* ── Services ── */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid #1e1e1e;
  border-radius: 6px;
  padding: 1.5rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-dim);
}

.service-card h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* ── Tags ── */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tags span {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 3px;
}

/* ── Contact ── */

.contact > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.contact-info p {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.contact-info p:last-child {
  margin-bottom: 0;
}

.contact-info strong {
  color: var(--accent);
}

/* ── Footer ── */

.footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  border-top: 1px solid #1a1a1a;
}

/* ── Responsive ── */

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

@media (max-width: 600px) {
  .nav {
    padding: 0.75rem 1.25rem;
  }

  .nav-links {
    gap: 0.75rem;
    font-size: 0.8rem;
  }

  .about,
  .services,
  .contact {
    padding: 3.5rem 1.25rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}
