* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family:'Inter',sans-serif; background:#f8f9fa; color:#1e1e2e;
  line-height:1.6; -webkit-font-smoothing:antialiased;
}
::-webkit-scrollbar { width:8px; }
::-webkit-scrollbar-track { background:#e5e7eb; }
::-webkit-scrollbar-thumb { background:#d1d5db; border-radius:4px; }
::-webkit-scrollbar-thumb:hover { background:#9ca3af; }

a { color:#f43f5e; text-decoration:none; transition:color .3s; }
a:hover { color:#e11d48; }

.container { max-width:1200px; margin:0 auto; padding:0 24px; }

/* Nav */
nav {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:rgba(255,255,255,.9); backdrop-filter:blur(20px);
  border-bottom:1px solid rgba(0,0,0,.06);
}
nav .container { display:flex; align-items:center; justify-content:space-between; height:64px; }
.logo { font-size:1.25rem; font-weight:700; letter-spacing:-.5px; color:#1e1e2e; }
.logo span { color:#f43f5e; }
.nav-links { display:flex; gap:8px; list-style:none; }
.nav-links a {
  padding:8px 14px; border-radius:8px; font-size:.85rem; font-weight:500;
  color:#6b7280; transition:all .3s;
}
.nav-links a:hover { color:#1e1e2e; background:rgba(244,63,94,.06); }
.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; padding:4px; }
.hamburger span { display:block; width:24px; height:2px; background:#6b7280; border-radius:2px; transition:all .3s; }
.hamburger.active span:nth-child(1) { transform:rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity:0; }
.hamburger.active span:nth-child(3) { transform:rotate(-45deg) translate(5px,-5px); }

/* Hero */
.hero {
  min-height:100vh; display:flex; align-items:center; position:relative;
  overflow:hidden; padding-top:64px;
}
.hero-bg {
  position:absolute; inset:0; z-index:0;
  background:radial-gradient(ellipse at 25% 40%, rgba(244,63,94,.08) 0%, transparent 60%),
             radial-gradient(ellipse at 75% 60%, rgba(244,63,94,.05) 0%, transparent 60%);
}
.hero-bg-img {
  position:absolute; inset:0; z-index:0;
  background:url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=1920&q=80') center/cover no-repeat;
  opacity:.06;
}
.hero .container { position:relative; z-index:1; display:flex; align-items:center; gap:60px; padding:80px 0; }
.hero-text { flex:1; }
.badge {
  display:inline-block; padding:6px 16px; border-radius:100px; font-size:.8rem; font-weight:500;
  background:rgba(244,63,94,.08); color:#e11d48; margin-bottom:20px;
  border:1px solid rgba(244,63,94,.15);
}
.hero-text h1 { font-size:3.2rem; font-weight:800; line-height:1.15; letter-spacing:-1.5px; margin-bottom:16px; color:#1e1e2e; }
.hero-text h1 span { color:#f43f5e; }
.hero-text p { font-size:1.1rem; color:#6b7280; max-width:560px; margin-bottom:32px; }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; }
.btn {
  display:inline-flex; align-items:center; gap:8px; padding:12px 28px; border-radius:10px;
  font-size:.9rem; font-weight:600; border:none; cursor:pointer; transition:all .3s;
}
.btn-primary { background:#f43f5e; color:#fff; }
.btn-primary:hover { background:#e11d48; transform:translateY(-2px); box-shadow:0 8px 30px rgba(244,63,94,.25); }
.btn-outline { background:transparent; color:#1e1e2e; border:1.5px solid rgba(0,0,0,.15); }
.btn-outline:hover { border-color:#f43f5e; color:#f43f5e; transform:translateY(-2px); }
.hero-visual { flex:1; display:flex; justify-content:center; position:relative; }
.avatar-frame {
  width:340px; height:340px; border-radius:50%;
  background:linear-gradient(135deg,#f43f5e,#e11d48,#be123c);
  display:flex; align-items:center; justify-content:center;
  animation:float 6s ease-in-out infinite;
  box-shadow:0 0 60px rgba(244,63,94,.15);
}
.avatar-inner {
  width:320px; height:320px; border-radius:50%; background:#f8f9fa;
  display:flex; align-items:center; justify-content:center; font-size:5rem; font-weight:700; color:#f43f5e;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }

.floating-icons { position:absolute; width:100%; height:100%; top:0; left:0; pointer-events:none; }
.floating-icons i {
  position:absolute; font-size:1.6rem; color:rgba(244,63,94,.2);
  animation:floatIcon 8s ease-in-out infinite;
}
.floating-icons i:nth-child(1) { top:10%; left:10%; animation-delay:0s; }
.floating-icons i:nth-child(2) { top:20%; right:5%; animation-delay:1.5s; }
.floating-icons i:nth-child(3) { bottom:25%; left:5%; animation-delay:3s; }
.floating-icons i:nth-child(4) { bottom:10%; right:15%; animation-delay:4.5s; }
.floating-icons i:nth-child(5) { top:50%; left:0; animation-delay:2s; }
@keyframes floatIcon { 0%,100%{transform:translateY(0) rotate(0deg);opacity:.2} 50%{transform:translateY(-20px) rotate(10deg);opacity:.35} }

/* Sections */
section { padding:100px 0; }
.section-about { padding-top:60px; }
.section-tools { padding-top:0; }
.section-subtitle--mb { margin-bottom:32px; }
.btn-resume { font-size:1rem; padding:14px 36px; }
.icon-spacer { margin-right:6px; }
.heart-icon { color:#f43f5e; }

.section-label {
  display:inline-block; padding:4px 14px; border-radius:100px; font-size:.78rem; font-weight:600;
  background:rgba(244,63,94,.08); color:#e11d48; margin-bottom:12px; letter-spacing:.5px;
  text-transform:uppercase;
}
.section-title { font-size:2.4rem; font-weight:700; letter-spacing:-1px; margin-bottom:16px; color:#1e1e2e; }
.section-subtitle { color:#6b7280; font-size:1.05rem; max-width:600px; margin-bottom:48px; }

/* About */
.about-wrapper { display:flex; align-items:center; gap:48px; }
.about-text { flex:1; }
.about-image { flex-shrink:0; width:280px; }
.about-image img {
  width:100%; height:280px; object-fit:cover; border-radius:16px;
  box-shadow:0 8px 30px rgba(244,63,94,.1);
}

/* Stats */
.stats-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:16px; }
.stat-card { background:#ffffff; border:1px solid rgba(0,0,0,.08); border-radius:12px; padding:20px; text-align:center; }
.stat-number { font-size:2rem; font-weight:700; color:#f43f5e; }
.stat-label { font-size:.85rem; color:#6b7280; margin-top:4px; }

/* Skills */
.skills-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:16px; }
.skill-card {
  background:#ffffff; border:1px solid rgba(0,0,0,.08);
  border-radius:14px; padding:24px 20px; text-align:center; transition:all .4s;
  position:relative; overflow:hidden;
}
.skill-card::before {
  content:''; position:absolute; top:0; left:0; right:0; bottom:0;
  background:linear-gradient(135deg,rgba(244,63,94,.06),transparent);
  opacity:0; transition:opacity .4s;
}
.skill-card:hover::before { opacity:1; }
.skill-card:hover { transform:translateY(-4px); border-color:rgba(244,63,94,.2); }
.skill-card i { font-size:2rem; color:#f43f5e; margin-bottom:12px; position:relative; z-index:1; }
.skill-card h3 { font-size:.95rem; font-weight:600; color:#1e1e2e; position:relative; z-index:1; }
.skill-card .level { margin-top:10px; height:4px; background:rgba(0,0,0,.06); border-radius:4px; overflow:hidden; position:relative; z-index:1; }
.skill-card .level-bar { height:100%; border-radius:4px; background:linear-gradient(90deg,#f43f5e,#e11d48); width:0; transition:width 1s ease; }

/* Tools */
.tools-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:12px; }
.tool-chip {
  display:flex; align-items:center; gap:10px; padding:14px 18px;
  background:#ffffff; border:1px solid rgba(0,0,0,.08);
  border-radius:10px; font-size:.85rem; font-weight:500; color:#1e1e2e; transition:all .3s;
}
.tool-chip:hover { background:rgba(244,63,94,.06); border-color:rgba(244,63,94,.2); transform:translateY(-2px); }
.tool-chip i { color:#f43f5e; font-size:1.1rem; }

/* Projects */
.projects-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(350px,1fr)); gap:24px; }
.project-card {
  background:#ffffff; border:1px solid rgba(0,0,0,.08);
  border-radius:16px; transition:all .4s;
  position:relative; overflow:hidden;
}
.project-card:hover { transform:translateY(-6px); border-color:rgba(244,63,94,.2); box-shadow:0 12px 40px rgba(244,63,94,.08); }
.project-card-img {
  width:100%; height:200px; overflow:hidden;
  border-radius:16px 16px 0 0;
}
.project-card-img img {
  width:100%; height:100%; object-fit:cover;
  display:block; transition:transform .5s ease;
}
.project-card:hover .project-card-img img { transform:scale(1.05); }
.project-card-body { padding:24px 28px 28px; }
.project-card h3 { font-size:1.15rem; font-weight:600; color:#1e1e2e; margin-bottom:10px; }
.project-card p { font-size:.9rem; color:#6b7280; margin-bottom:16px; line-height:1.7; }
.project-tech { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.project-tech span {
  padding:4px 12px; border-radius:100px; font-size:.75rem; font-weight:500;
  background:rgba(244,63,94,.08); color:#e11d48;
}
.project-links { display:flex; gap:12px; }
.project-links a { font-size:.85rem; font-weight:500; }

/* Certs */
.certs-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:20px; }
.cert-card {
  display:flex; align-items:flex-start; gap:16px;
  background:#ffffff; border:1px solid rgba(0,0,0,.08);
  border-radius:14px; padding:20px; transition:all .3s;
}
.cert-card:hover { border-color:rgba(244,63,94,.2); transform:translateY(-3px); }
.cert-card i { font-size:1.8rem; color:#f43f5e; flex-shrink:0; }
.cert-card h3 { font-size:.95rem; font-weight:600; color:#1e1e2e; margin-bottom:4px; }
.cert-card p { font-size:.82rem; color:#6b7280; }

/* Resume */
.resume-section { text-align:center; }
.resume-content {
  max-width:700px; margin:0 auto;
  background:#ffffff; border:1px solid rgba(0,0,0,.08);
  border-radius:20px; padding:48px 40px;
}
.resume-content i.resume-icon { font-size:3rem; color:#f43f5e; margin-bottom:20px; }
.resume-content h2 { font-size:1.6rem; color:#1e1e2e; margin-bottom:12px; }
.resume-content p { color:#6b7280; margin-bottom:28px; }

/* Contact */
.contact-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:16px; }
.contact-card {
  display:flex; align-items:center; gap:14px;
  background:#ffffff; border:1px solid rgba(0,0,0,.08);
  border-radius:12px; padding:18px 20px; transition:all .3s;
}
.contact-card:hover { border-color:rgba(244,63,94,.2); transform:translateY(-3px); }
.contact-card i { font-size:1.3rem; color:#f43f5e; width:24px; text-align:center; }
.contact-card h3 { font-size:.88rem; font-weight:600; color:#1e1e2e; margin-bottom:2px; }
.contact-card p { font-size:.82rem; color:#6b7280; }

/* Footer */
footer { padding:32px 0; border-top:1px solid rgba(0,0,0,.06); text-align:center; }
footer p { font-size:.85rem; color:#9ca3af; }

/* Animations */
.fade-up { opacity:0; transform:translateY(30px); transition:all .7s ease; }
.fade-up.visible { opacity:1; transform:translateY(0); }

/* Responsive */
@media(max-width:900px){
  .hero .container { flex-direction:column-reverse; text-align:center; padding:40px 0; }
  .hero-text p { margin:0 auto 32px; }
  .hero-actions { justify-content:center; }
  .hero-text h1 { font-size:2.5rem; }
  .avatar-frame { width:240px; height:240px; }
  .avatar-inner { width:225px; height:225px; font-size:3.5rem; }
  .about-wrapper { flex-direction:column; text-align:center; }
  .about-image { width:200px; }
  .about-image img { height:200px; }
  .section-title { font-size:1.8rem; }
  section { padding:70px 0; }
}
@media(max-width:768px){
  .nav-links {
    position:fixed; top:64px; left:0; right:0;
    flex-direction:column; gap:0;
    background:rgba(255,255,255,.95); backdrop-filter:blur(20px);
    border-bottom:1px solid rgba(0,0,0,.06);
    padding:12px 24px; display:none;
  }
  .nav-links.open { display:flex; }
  .hamburger { display:flex; }
  .hero-text h1 { font-size:2rem; }
  .projects-grid { grid-template-columns:1fr; }
  .skills-grid { grid-template-columns:repeat(2,1fr); }
  .tools-grid { grid-template-columns:repeat(2,1fr); }
  .about-image { width:160px; }
  .about-image img { height:160px; }
  .project-card-img { height:160px; }
  .resume-content { padding:32px 24px; }
}
@media(max-width:480px){
  .hero-text h1 { font-size:1.7rem; }
  .avatar-frame { width:180px; height:180px; }
  .avatar-inner { width:165px; height:165px; font-size:2.5rem; }
}
