:root {
  --bg: #050915;
  --surface: #0c162d;
  --card: #111d3a;
  --text: #e8edf7;
  --muted: #9db1d8;
  --accent: #f59e0b;
  --accent-2: #22d3ee;
  --border: #1e2b4a;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 16px;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 10% 20%, rgba(34, 211, 238, 0.08), transparent 30%),
              radial-gradient(circle at 80% 0%, rgba(245, 158, 11, 0.1), transparent 25%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding: 24px;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  color: var(--muted);
}

.bg-texture {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(34, 211, 238, 0.12), transparent 28%),
              radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.08), transparent 22%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.bg-accent {
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  margin-bottom: 20px;
  background: rgba(12, 22, 45, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #0a0d1a;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
}

.brand-tag {
  font-size: 13px;
  color: var(--muted);
}

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

.nav a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  background: rgba(34, 211, 238, 0.12);
  color: #f8fafc;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.lang-toggle button {
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-toggle button.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(34, 211, 238, 0.12));
  color: var(--text);
}

.lang-toggle button:hover {
  color: var(--text);
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-weight: 700;
  padding: 12px 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b1021;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(34, 211, 238, 0.25);
}

.secondary-button {
  background: rgba(34, 211, 238, 0.12);
  color: var(--text);
  border-color: rgba(34, 211, 238, 0.35);
}

.secondary-button:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 158, 11, 0.4);
}

.ghost-button {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}

.ghost-button:hover {
  border-color: rgba(34, 211, 238, 0.35);
  color: #f8fafc;
}

main {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.hero-text {
  padding: 24px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(245, 158, 11, 0.08));
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--accent-2);
  font-weight: 700;
  margin-bottom: 8px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 12px;
}

.lede {
  font-size: 17px;
  color: #d6e4ff;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: #dfe7fb;
  font-weight: 600;
  font-size: 14px;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  color: #fbd38d;
  font-weight: 700;
  font-size: 13px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
}

.metric .label {
  color: var(--muted);
  font-size: 13px;
}

.metric .value {
  font-size: 18px;
  font-weight: 700;
  margin-top: 4px;
}

.quick-links {
  display: grid;
  gap: 8px;
}

.quick-links a {
  color: #c9ddff;
  font-weight: 600;
}

.section {
  margin-bottom: 36px;
}

.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(22px, 3vw, 28px);
}

.section-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.section-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.highlight-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(34, 211, 238, 0.1));
  border-color: rgba(245, 158, 11, 0.25);
}

.highlight-item + .highlight-item {
  margin-top: 10px;
}

.highlight-item h3 {
  margin: 0 0 4px 0;
  font-size: 16px;
}

.highlight-item p {
  margin: 0;
}

.list {
  display: grid;
  gap: 14px;
}

.experience-card {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.experience-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.experience-title {
  font-size: 18px;
}

.experience-meta {
  color: var(--muted);
  font-weight: 600;
}

.experience-card ul {
  margin: 10px 0 0 0;
  padding-left: 18px;
  color: var(--muted);
}

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

.project-card {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 8px;
}

.project-card .tagline {
  color: var(--muted);
}

.contact {
  margin-top: 20px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: center;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(245, 158, 11, 0.12));
  border: 1px solid var(--border);
}

.contact-links {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.contact-links a {
  font-weight: 700;
  color: #dfe7fb;
}

.contact-actions {
  display: grid;
  gap: 10px;
  align-content: center;
}

.footer {
  text-align: center;
  color: var(--muted);
  padding: 20px 0 10px;
  font-size: 14px;
  z-index: 1;
  position: relative;
}

@media (max-width: 1024px) {
  body {
    padding: 16px;
  }

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

  .section-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .topbar {
    position: static;
  }

  .hero-actions {
    width: 100%;
  }

  .hero h1 {
    font-size: 26px;
  }
}
