@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --bg: #0f1115;
  --surface: #18181b;
  --surface-alt: #1f1f24;
  --text: #e8e9ed;
  --muted: #a7a9b2;
  --accent: #00d1b2;
  --accent-strong: #01b49b;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  --radius: 14px;
}

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(15, 17, 21, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.logo img {
  height: 34px;
  width: 34px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
}

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

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-links .active {
  color: var(--text);
  background: rgba(0, 209, 178, 0.12);
  border: 1px solid rgba(0, 209, 178, 0.5);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  align-items: center;
  justify-content: center;
}

.hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(0, 209, 178, 0.12), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(0, 209, 178, 0.08), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.05), transparent 35%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.eyebrow::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(0, 209, 178, 0.18);
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 16px 0 12px;
  letter-spacing: -0.03em;
}

.hero p {
  color: var(--muted);
  font-size: 1.04rem;
  margin-bottom: 24px;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  background: var(--surface-alt);
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #0f1115;
  border: none;
  box-shadow: 0 18px 40px rgba(0, 209, 178, 0.35);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.section {
  padding: 80px 0;
}

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

.section h2 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.02em;
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 209, 178, 0.4);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
}

.list li::before {
  content: '•';
  color: var(--accent);
  margin-top: -2px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.timeline {
  border-left: 2px solid rgba(0, 209, 178, 0.4);
  padding-left: 16px;
  display: grid;
  gap: 18px;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -27px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(0, 209, 178, 0.14);
}

.profile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 209, 178, 0.2), rgba(24, 24, 27, 0.9));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(0, 209, 178, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}

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

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  margin-right: 6px;
  margin-top: 6px;
}

.project-card {
  cursor: pointer;
  position: relative;
}

.project-card:hover::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 209, 178, 0.35);
}

.footer {
  margin-top: 40px;
  padding: 32px 0 36px;
  border-top: 1px solid var(--border);
  background: #0d0f13;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: start;
}

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

.social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.2s ease, border 0.2s ease;
}

.social a:hover {
  color: var(--accent);
  border-color: rgba(0, 209, 178, 0.5);
}

form {
  display: grid;
  gap: 16px;
}

.input-group {
  display: grid;
  gap: 6px;
}

label {
  font-weight: 600;
}

input,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(0, 209, 178, 0.4);
  border-color: rgba(0, 209, 178, 0.6);
}

.error {
  color: #ff7b7b;
  font-size: 0.9rem;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.cta-panel {
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(0, 209, 178, 0.14), rgba(24, 24, 27, 0.9));
  border: 1px solid rgba(0, 209, 178, 0.4);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.modal.active {
  display: flex;
}

.modal-content {
  width: min(600px, 94vw);
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow);
}

.close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: 1px solid var(--border);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
}

.meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
}

.contact-info {
  display: grid;
  gap: 10px;
}

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

@media (max-width: 900px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .nav-links {
    position: absolute;
    top: 100%;
    right: 4%;
    width: 240px;
    flex-direction: column;
    background: rgba(24, 24, 27, 0.95);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(4px);
  }

  .nav-links a {
    width: 100%;
  }

  .hero {
    padding: 96px 0 64px;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 2.15rem;
  }

  .nav {
    padding: 14px 0;
  }
}
