:root {
  --bg: #071023;
  --bg2: #0a1423;
  --card: #0b1220;
  --muted: #9aa7b2;
  --accent1: #6ee7b7;
  --accent2: #3b82f6;
  --accent3: #f97316;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-2: rgba(255, 255, 255, 0.02);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  background: linear-gradient(135deg, #020817 0%, #071023 50%, #0a1423 100%);
  color: #e6eef6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
/* Header */
.site-header {
  backdrop-filter: blur(10px);
  background: linear-gradient(
    90deg,
    rgba(11, 18, 32, 0.8),
    rgba(7, 16, 35, 0.4)
  );
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(110, 231, 183, 0.1);
}

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

.brand h1 {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 22px;
}

.brand h1 span {
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand .sub {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--accent1);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav a:hover {
  color: #fff;
  background: rgba(110, 231, 183, 0.1);
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav .cta {
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  color: #020817;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(110, 231, 183, 0.2);
  font-size: 13px;
  margin-left: 8px;
}

.nav .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(110, 231, 183, 0.3);
  background: linear-gradient(90deg, var(--accent2), var(--accent1));
}

.hero {
  padding: 80px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h2 {
  font-size: 44px;
  margin: 0 0 20px;
  line-height: 1.2;
  background: linear-gradient(90deg, #fff, var(--accent1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.lead {
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
  margin: 0 0 28px;
}

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(90deg, var(--accent2), var(--accent1));
  color: #020817;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
}

.btn.ghost {
  border: 2px solid var(--accent1);
  color: var(--accent1);
  background: transparent;
}

.btn.ghost:hover {
  background: rgba(110, 231, 183, 0.1);
}

.hero-card {
  background: linear-gradient(
    135deg,
    rgba(110, 231, 183, 0.08),
    rgba(59, 130, 246, 0.08)
  );
  border: 1px solid rgba(110, 231, 183, 0.2);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(3, 6, 23, 0.8);
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.card-layout {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: flex-start;
}

.avatar {
  width: 160px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.avatar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.avatar svg {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: relative;
  z-index: 2;
}

.card-body {
  text-align: left;
}

.card-body h3 {
  margin: 0 0 2px;
  font-size: 18px;
  font-weight: 800;
}

.card-body p {
  margin: 2px 0;
  font-size: 13px;
  line-height: 1.4;
}

.muted {
  color: var(--muted);
  font-size: 12px;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.socials a {
  color: var(--accent1);
  text-decoration: none;
  font-weight: 700;
  padding: 8px 16px;
  border: 1px solid var(--accent1);
  border-radius: 6px;
  transition: all 0.3s;
  font-size: 12px;
}

.socials a:hover {
  background: var(--accent1);
  color: #020817;
}

.quick-stats {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.quick-stats li {
  background: linear-gradient(
    135deg,
    rgba(110, 231, 183, 0.1),
    rgba(59, 130, 246, 0.1)
  );
  padding: 14px 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(110, 231, 183, 0.2);
}

.quick-stats li strong {
  display: block;
  font-size: 20px;
  color: var(--accent1);
  font-weight: 800;
}

.quick-stats li span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

/* Sections */
.section {
  padding: 60px 0;
}

.section-title {
  font-size: 28px;
  margin: 0 0 28px;
  font-weight: 800;
  background: linear-gradient(90deg, #fff, var(--accent1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--muted);
  font-size: 13px;
  margin: -20px 0 28px;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.project-card {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.08),
    rgba(110, 231, 183, 0.05)
  );
  border: 1px solid rgba(110, 231, 183, 0.15);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s;
}

.project-card:hover {
  border-color: var(--accent1);
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.12),
    rgba(110, 231, 183, 0.08)
  );
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(110, 231, 183, 0.1);
}

.project-icon {
  font-size: 40px;
  margin-bottom: 12px;
  display: block;
}

.project-card h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.project-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

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

.tech-tags span {
  background: linear-gradient(
    90deg,
    rgba(110, 231, 183, 0.15),
    rgba(59, 130, 246, 0.15)
  );
  color: var(--accent1);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(110, 231, 183, 0.2);
  white-space: nowrap;
}

.skill-card {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1),
    rgba(110, 231, 183, 0.05)
  );
  border: 1px solid rgba(110, 231, 183, 0.2);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s;
}

.skill-card:hover {
  border-color: var(--accent1);
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.15),
    rgba(110, 231, 183, 0.1)
  );
  transform: translateY(-2px);
}

.skill-card h4 {
  margin: 0 0 12px;
  color: var(--accent2);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.skill-card ul {
  margin: 0;
  padding-left: 16px;
  list-style: none;
}

.skill-card li {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
  position: relative;
  padding-left: 8px;
}

.skill-card li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent1);
}

/* Timeline */
.timeline {
  display: grid;
  gap: 20px;
}

.timeline-item {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.08),
    rgba(110, 231, 183, 0.05)
  );
  border: 1px solid rgba(110, 231, 183, 0.15);
  padding: 24px;
  border-radius: 12px;
  transition: all 0.3s;
}

.timeline-item:hover {
  border-color: var(--accent1);
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.12),
    rgba(110, 231, 183, 0.08)
  );
  transform: translateY(-2px);
}

.timeline-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.timeline-item .meta {
  color: var(--accent1);
  font-size: 12px;
  margin-bottom: 12px;
  font-weight: 600;
}

.timeline-item ul {
  margin: 12px 0 0;
  padding-left: 18px;
  list-style: disc;
}

.timeline-item li {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 6px;
  line-height: 1.6;
}

/* Education & Certs */
.edu-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 16px;
}

.edu-list li {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.08),
    rgba(110, 231, 183, 0.05)
  );
  border: 1px solid rgba(110, 231, 183, 0.15);
  padding: 18px;
  border-radius: 12px;
  transition: all 0.3s;
}

.edu-list li:hover {
  border-color: var(--accent1);
}

.edu-list li strong {
  color: #fff;
  font-weight: 700;
}

.edu-list li em {
  color: var(--accent1);
  font-style: normal;
  font-weight: 600;
}

/* Languages */
.languages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.language-item {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.08),
    rgba(110, 231, 183, 0.05)
  );
  border: 1px solid rgba(110, 231, 183, 0.15);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s;
}

.language-item:hover {
  border-color: var(--accent1);
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.12),
    rgba(110, 231, 183, 0.08)
  );
}

.language-item h4 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.language-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.level {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  margin-top: 8px;
}

.level.native {
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  color: #020817;
}

.level.fluent {
  background: var(--accent2);
  color: #fff;
}

.level.advanced {
  background: rgba(110, 231, 183, 0.7);
  color: #020817;
}

.level.intermediate {
  background: rgba(249, 115, 22, 0.7);
  color: #fff;
}

/* Contact */
.contact-section {
  background: linear-gradient(
    135deg,
    rgba(110, 231, 183, 0.1),
    rgba(59, 130, 246, 0.1)
  );
  border: 1px solid rgba(110, 231, 183, 0.2);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}

.contact-section p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-section a {
  color: var(--accent1);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
}

.contact-section a:hover {
  color: var(--accent2);
}

/* Footer */
.site-footer {
  padding: 40px 0;
  color: var(--muted);
  border-top: 1px solid rgba(110, 231, 183, 0.1);
  margin-top: 60px;
  text-align: center;
  font-size: 13px;
}

.site-footer a {
  color: var(--accent1);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-copy h2 {
    font-size: 36px;
  }
  .nav {
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .header-inner {
    flex-direction: column;
    gap: 16px;
  }
  .nav {
    flex-direction: row;
    width: 100%;
    gap: 8px;
    justify-content: center;
  }
  .nav a {
    font-size: 12px;
    padding: 6px 10px;
    flex: 1 1 auto;
    text-align: center;
    max-width: 90px;
  }
  .nav .cta {
    flex: 0 0 auto;
    max-width: none;
    margin-left: 0;
  }
  .card-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .avatar {
    width: 140px;
    height: 180px;
    margin: 0 auto 12px;
  }
  .card-body {
    text-align: center;
  }
  .socials {
    justify-content: center;
  }
  .hero {
    padding: 40px 0;
  }
  .hero-copy h2 {
    font-size: 28px;
  }
  .lead {
    font-size: 14px;
  }
  .hero-ctas {
    gap: 12px;
  }
  .quick-stats {
    gap: 12px;
  }
  .section-title {
    font-size: 24px;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .languages-grid {
    grid-template-columns: 1fr;
  }
  .contact-section {
    padding: 24px;
  }
}
