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

:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --border: #222;
  --text: #e0e0e0;
  --text-muted: #888;
  --heading: #ffffff;
  --accent: #00b4d8;
  --accent-dim: #00b4d820;
  --radius: 8px;
  --max-w: 1100px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ────────────────────────────────────────── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #0a0a0aee;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.5px;
}

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

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--heading);
  text-decoration: none;
}

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

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

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
}

.hero-content {
  max-width: 680px;
}

.hero-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid var(--accent);
  border-radius: 20px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--heading);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0a0a0a;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: opacity 0.2s;
}

.hero-cta:hover {
  opacity: 0.85;
  text-decoration: none;
}

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

section {
  padding: 100px 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.25s, background 0.25s;
}

.service-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
}

.service-icon {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Expertise ────────────────────────────────────── */

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.expertise-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.expertise-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.expertise-card h3::before {
  content: '';
  width: 3px;
  height: 20px;
  background: var(--accent);
  border-radius: 2px;
}

.expertise-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.expertise-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.expertise-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ── Technologies ────────────────────────────────── */

.tech-group {
  margin-bottom: 32px;
}

.tech-group-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 0.8rem;
  color: var(--text);
  transition: border-color 0.2s, color 0.2s;
}

.tech-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Experience Timeline ─────────────────────────── */

.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}

.timeline-item.current::before {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.timeline-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-bottom: 6px;
}

.timeline-role {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading);
}

.timeline-date {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
}

.timeline-company {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.timeline-tools {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.timeline-tool {
  font-size: 0.7rem;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 500;
}

.experience-summary p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 720px;
}

.experience-summary p:first-child {
  color: var(--heading);
  font-size: 1.05rem;
  font-weight: 600;
}

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

#contact {
  border-top: 1px solid var(--border);
}

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

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.contact-value {
  font-size: 0.95rem;
  color: var(--heading);
}

footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Privacy Policy ──────────────────────────────── */

.page-header {
  padding: 140px 0 60px;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--heading);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
}

.page-header .policy-meta {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.policy-section {
  padding: 60px 0 100px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.policy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.policy-card h2 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.policy-card h2::before {
  content: '';
  flex-shrink: 0;
  width: 3px;
  height: 20px;
  background: var(--accent);
  border-radius: 2px;
}

.policy-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 10px;
}

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

.policy-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.policy-card li {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  padding-left: 16px;
  position: relative;
}

.policy-card li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.policy-card code {
  font-size: 0.8rem;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 4px;
  word-break: break-all;
}

/* ── Animations ──────────────────────────────────── */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #0a0a0aee;
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

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

  .nav-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  section {
    padding: 64px 0;
  }

  .page-header {
    padding: 104px 0 48px;
  }

  .policy-section {
    padding: 48px 0 64px;
  }

  .timeline {
    padding-left: 24px;
  }

  .timeline-item::before {
    left: -24px;
  }
}
