


:root {
  --bg: #0b0f14;
  --bg-soft: #0f1620;
  --card: #111826;
  --text: #e5e7eb;
  --muted: #9aa4b2;
  --brand: #4f46e5;
  --brand-2: #22d3ee;
  --ring: rgba(79,70,229,.5);
}
:root.light {
  --bg: #f7f7fb;
  --bg-soft: #ffffff;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --brand: #4f46e5;
  --brand-2: #06b6d4;
  --ring: rgba(79,70,229,.35);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 80% -20%, rgba(34,211,238,.12), transparent 60%),
              radial-gradient(1000px 600px at -10% -10%, rgba(79,70,229,.12), transparent 60%),
              var(--bg);
  color: var(--text);
}
.container { width: min(1100px, 92%); margin: 0 auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(8px); background: color-mix(in oklab, var(--bg) 86%, transparent); border-bottom: 1px solid rgba(255,255,255,.06); }
.header-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 1rem; padding: .8rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.logo { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: white; font-weight: 800; }
.brand-name { letter-spacing: .2px; }
.nav { display: none; gap: .6rem; }
.nav .nav-link { background: transparent; border: none; color: var(--text); padding: .6rem .8rem; border-radius: 10px; cursor: pointer; }
.nav .nav-link:hover { background: rgba(255,255,255,.06); }
.actions { display: flex; gap: .6rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .7rem 1rem; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); color: var(--text); text-decoration: none; cursor: pointer; transition: transform .08s ease, background .2s ease, border-color .2s; }
.btn.small { padding: .5rem .8rem; border-radius: 10px; font-size: .9rem; }
.btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: white; border: none; box-shadow: 0 10px 24px rgba(79,70,229,.25); }
.btn.primary:active { transform: translateY(1px); }
.btn.ghost { background: rgba(255,255,255,.06); }
.btn.ghost:hover { border-color: rgba(255,255,255,.28); }

/* Hero */
.hero { padding: 2rem 0 1rem; }
.profile-card { position: relative; border: 1px solid rgba(255,255,255,.08); background: color-mix(in oklab, var(--card) 92%, transparent); border-radius: 24px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.cover { height: 180px; background: radial-gradient(800px 300px at 30% -20%, rgba(34,211,238,.24), transparent 70%), linear-gradient(135deg, rgba(79,70,229,.4), rgba(79,70,229,.1)); border-bottom: 1px solid rgba(255,255,255,.06); }
.avatar { width: 128px; height: 128px; object-fit: cover; border-radius: 20px; border: 6px solid var(--bg-soft); position: absolute; left: 32px; top: 120px; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.profile-body { padding: 92px 28px 28px 28px; }
.profile-body h1 { margin: 0 0 .3rem; font-size: clamp(1.4rem, 2.2vw + .6rem, 2.2rem); }
.subtitle { margin: 0 0 1rem; color: var(--muted); }
.quick-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1rem 0; }
.stats { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.stats li { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: .9rem; text-align: center; }
.stats .num { display: block; font-weight: 800; font-size: 1.3rem; }
.stats .label { color: var(--muted); font-size: .9rem; }

/* Tabs */
.tabs { margin-top: 1rem; }
.tabs-header { display: grid; grid-template-columns: repeat(4, max-content); gap: .5rem; padding: .4rem; width: max-content; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.tab-btn { background: transparent; color: var(--text); border: none; padding: .6rem .9rem; border-radius: 10px; cursor: pointer; }
.tab-btn.active, .tab-btn:hover { background: rgba(255,255,255,.08); }
.tab-panel { display: none; padding: 1.2rem 0; }
.tab-panel.active { display: block; }
    a {
        text-decoration: none;
    }

/* About */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: .6rem; }
.about-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 1rem; }
.about-card h3 { margin: 0 0 .6rem; }
.about-card ul { margin: 0; padding-left: 1.1rem; }

/* Skills */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: .45rem .7rem; border-radius: 999px; font-size: .9rem; }
.skill-bars { margin-top: 1rem; display: grid; gap: .7rem; }
.skill { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; align-items: center; }
.skill .bar { height: 10px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; }
.skill .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }

/* Projects */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.card-media { background: linear-gradient(135deg, rgba(79,70,229,.3), rgba(34,211,238,.28)); height: 140px; }
.card-body { padding: .9rem; display: grid; gap: .5rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags span { font-size: .8rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: .25rem .5rem; border-radius: 999px; }

/* Contact */
.contact-form { display: grid; gap: .9rem; max-width: 640px; }
.field { display: grid; gap: .4rem; }
.field input, .field textarea { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: var(--text); padding: .7rem .8rem; border-radius: 12px; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--ring); box-shadow: 0 0 0 4px var(--ring); }
.form-status { color: var(--muted); margin-left: .6rem; }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,.08); margin-top: 2rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 0; }
.socials { display: flex; gap: .6rem; }
.socials a { text-decoration: none; font-size: 1.1rem; }

/* Responsive */
@media (max-width: 900px) {
  .about-grid, .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .avatar { left: 20px; top: 116px; width: 112px; height: 112px; }
  .about-grid, .grid { grid-template-columns: 1fr; }
  .skill { grid-template-columns: 1fr; }
}

.hire-options {
  margin: 1rem 0;
  padding-left: 1.2rem;
  line-height: 1.6;
}
.hire-options li {
  margin-bottom: .4rem;
}

/* Contact Section */
#contact {
  padding: 40px 30px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 40px auto;
}

#contact h2 {
  font-size: 26px;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}

#contact p {
  text-align: center;
  margin-bottom: 25px;
  font-size: 15px;
  color: #666;
}

/* Form Elements */
#contactForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#contactForm input,
#contactForm textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border 0.3s, box-shadow 0.3s;
}

#contactForm input:focus,
#contactForm textarea:focus {
  border: 1px solid #007bff;
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.25);
}

#contactForm textarea {
  resize: none;
  min-height: 120px;
}

/* Button */
#contactForm .btn {
  padding: 12px;
  background: linear-gradient(90deg, #007bff, #00c6ff);
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

#contactForm .btn:hover {
  background: linear-gradient(90deg, #0056b3, #0096ff);
  transform: scale(1.02);
}

/* Status Message */
#status {
  text-align: center;
  font-size: 13px;
  margin-top: 8px;
  color: #888;
}
