/* ===================================================
   PERSONAL PROFILE — STYLESHEET
   =================================================== */

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

:root {
  --color-bg:          #0f1117;
  --color-surface:     #1a1d27;
  --color-surface-alt: #1f2235;
  --color-border:      #2a2f45;
  --color-accent:      #4f8ef7;
  --color-accent-2:    #7c5cf7;
  --color-text:        #e2e8f0;
  --color-text-muted:  #8892a4;
  --color-badge-bg:    rgba(79, 142, 247, 0.12);
  --color-badge-text:  #7eb8ff;

  --radius-card:  14px;
  --radius-badge: 100px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);

  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  min-height: 100vh;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #12152a 0%, #1a1040 50%, #0f1b2d 100%);
  border-bottom: 1px solid var(--color-border);
  padding: 64px 0 56px;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 36px;
}

.hero__avatar {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(79, 142, 247, 0.2);
}

.avatar-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.avatar-initials {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.hero__text {
  flex: 1;
}

.hero__name {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.hero__tagline {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}

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

.badge {
  display: inline-block;
  background: var(--color-badge-bg);
  color: var(--color-badge-text);
  border: 1px solid rgba(79, 142, 247, 0.25);
  border-radius: var(--radius-badge);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 14px;
  letter-spacing: 0.3px;
}

/* ===== MAIN CONTENT ===== */
main.container {
  padding-top: 40px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ===== CARD ===== */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 36px 40px;
  box-shadow: var(--shadow-card);
}

.section-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

/* ===== SUMMARY ===== */
.summary-text {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.8;
}

.summary-text strong {
  color: #fff;
  font-weight: 600;
}

/* ===== COMPETENCIES ===== */
.competency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.competency-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--color-text);
  transition: border-color 0.2s, background 0.2s;
}

.competency-item:hover {
  border-color: rgba(79, 142, 247, 0.4);
  background: rgba(79, 142, 247, 0.05);
}

.competency-icon {
  color: var(--color-accent);
  font-size: 0.6rem;
  margin-top: 5px;
  flex-shrink: 0;
}

/* ===== EXPERTISE ===== */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.expertise-card {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.expertise-card:hover {
  border-color: rgba(79, 142, 247, 0.4);
  transform: translateY(-2px);
}

.expertise-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.cloud-icon { color: #4fc3f7; }
.ai-icon    { color: #ce93d8; }
.arch-icon  { color: #a5d6a7; }
.people-icon{ color: #ffcc80; }

.expertise-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.expertise-card p {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 24px 0;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.footer__copy,
.footer__ai-note {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.footer__ai-note strong {
  color: var(--color-badge-text);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .hero__inner {
    flex-direction: column;
    text-align: center;
  }

  .hero__badges {
    justify-content: center;
  }

  .card {
    padding: 24px 20px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}
