:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --panel-alt: #eef4ff;
  --primary: #1f6feb;
  --primary-dark: #164fc2;
  --primary-soft: rgba(31, 111, 235, 0.12);
  --text: #111827;
  --muted: #5f6f8b;
  --line: #dfe7f4;
  --success: #1bb57a;
  --shadow: 0 20px 45px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

body {
  background: linear-gradient(180deg, #edf3ff 0%, #f9fbff 28%, #f5f7fb 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

header {
  padding: 24px 0 0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(223, 231, 244, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 14px 22px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 16px;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #5ca0ff);
  color: white;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  box-shadow: 0 12px 18px rgba(31, 111, 235, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

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

.nav a:hover {
  color: var(--primary);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 12px;
  padding: 13px 22px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(31, 111, 235, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(31, 111, 235, 0.25);
}

.hero {
  padding: 58px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid rgba(31, 111, 235, 0.14);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
  margin-bottom: 18px;
}

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

.subtitle {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: white;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 22px;
  font-weight: 700;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

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

.mini-number {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.04em;
}

.mini-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.profile-panel {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f1f6ff 100%);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.profile-card {
  background: linear-gradient(160deg, #e8f1ff 0%, #ffffff 40%, #f6f9ff 100%);
  border: 1px solid rgba(31, 111, 235, 0.1);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.profile-photo {
  background: linear-gradient(135deg, #dfeeff, #cfe0ff);
  padding: 18px 18px 0;
}

.profile-photo img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 22px 22px 0 0;
  object-position: center top;
}

.profile-info {
  padding: 22px 22px 18px;
}

.profile-name {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.profile-role {
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 10px;
}

.location {
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

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

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

.soft-skills {
  padding: 54px 0 18px;
}

.section-header {
  margin: 0 auto 24px;
  text-align: center;
  max-width: 720px;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--muted);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.skill-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 18px;
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 36px rgba(17, 24, 39, 0.08);
}

.skill-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.skill-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.skill-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.experience {
  padding: 42px 0 20px;
}

.carousel-section {
  padding: 20px 0 64px;
}

.swiper {
  width: 100%;
  padding-bottom: 46px !important;
}

.swiper-slide {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px 22px;
  height: auto;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.swiper-slide:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 111, 235, 0.45);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.card-description {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 16px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tag {
  background: #f3f6fb;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 10px;
  padding: 5px 9px;
  font-size: 0.74rem;
  font-weight: 600;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  font-weight: 700;
}

.swiper-pagination-bullet {
  background: #c9d6ee !important;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 999px;
  background: var(--primary) !important;
}

footer {
  padding: 14px 0 42px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

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

  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 40px;
  }

  .mini-stats,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .profile-photo img {
    height: 340px;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
}
