/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0e17;
  color: #e0e4ec;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(10,14,23,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  z-index: 1000;
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo {
  font-size: 1.4rem; font-weight: 800;
  background: linear-gradient(135deg, #00d4ff, #7b61ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: #8892a4; transition: color 0.3s;
}
.nav-links a:hover { color: #fff; }
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  position: relative;
  padding: 120px 24px 80px;
  background: linear-gradient(135deg, #0a0e17 0%, #0f1a2e 50%, #0a0e17 100%);
  overflow: hidden;
}
.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 50px;
  font-size: 0.85rem; font-weight: 500;
  color: #00d4ff;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #00d4ff 50%, #7b61ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -2px;
}
.hero-sub { font-size: 1.15rem; color: #8892a4; max-width: 650px; margin: 0 auto 16px; }
.hero-desc { font-size: 1rem; color: #6b7280; max-width: 600px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-contact { font-size: 0.95rem; color: #8892a4; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-contact a { color: #00d4ff; transition: color 0.3s; }
.hero-contact a:hover { color: #7b61ff; }
.separator { color: #333; }
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
  position: absolute; border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}
.shape-1 { width: 600px; height: 600px; background: #00d4ff; top: -200px; right: -200px; animation: float 20s ease-in-out infinite; }
.shape-2 { width: 400px; height: 400px; background: #7b61ff; bottom: -100px; left: -100px; animation: float 25s ease-in-out infinite reverse; }
.shape-3 { width: 300px; height: 300px; background: #00d4ff; top: 50%; left: 50%; animation: float 30s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 8px;
  font-size: 0.95rem; font-weight: 600;
  transition: all 0.3s; cursor: pointer; border: none;
}
.btn-primary { background: linear-gradient(135deg, #00d4ff, #7b61ff); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,212,255,0.3); }
.btn-outline { background: transparent; color: #00d4ff; border: 1px solid rgba(0,212,255,0.4); }
.btn-outline:hover { background: rgba(0,212,255,0.1); border-color: #00d4ff; }
.btn-full { width: 100%; justify-content: center; }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-dark { background: #0d1225; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem; font-weight: 600;
  color: #00d4ff;
  background: rgba(0,212,255,0.1);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-header h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 16px; }
.section-header p { color: #8892a4; font-size: 1.05rem; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.about-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}
.about-card:hover { transform: translateY(-4px); border-color: rgba(0,212,255,0.2); box-shadow: 0 8px 40px rgba(0,212,255,0.08); }
.about-icon {
  width: 48px; height: 48px;
  background: rgba(0,212,255,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: #00d4ff;
}
.about-icon svg { width: 24px; height: 24px; }
.about-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.about-card p { color: #8892a4; font-size: 0.95rem; line-height: 1.6; }

/* ===== SKILLS ===== */
.skills-filter { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.filter-btn {
  padding: 8px 20px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 500;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #8892a4;
  cursor: pointer; transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active { background: rgba(0,212,255,0.15); border-color: rgba(0,212,255,0.3); color: #00d4ff; }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.skill-category {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 28px;
  transition: opacity 0.3s, transform 0.3s;
}
.skill-category.hidden { display: none; }
.skill-category h3 {
  font-size: 1.05rem; font-weight: 600;
  color: #00d4ff;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.skill-category ul li {
  padding: 6px 0; font-size: 0.9rem;
  color: #b0b8c8;
  padding-left: 20px;
  position: relative;
}
.skill-category ul li::before { content: '>'; position: absolute; left: 0; color: #00d4ff; font-weight: 700; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.service-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(123,97,255,0.2); box-shadow: 0 8px 40px rgba(123,97,255,0.08); }
.service-number {
  font-size: 3rem; font-weight: 800;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(123,97,255,0.15));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.service-card p { color: #8892a4; font-size: 0.95rem; line-height: 1.6; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(0,212,255,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #00d4ff;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-item h4 { font-size: 0.85rem; color: #8892a4; margin-bottom: 4px; }
.contact-item a { color: #00d4ff; transition: color 0.3s; }
.contact-item a:hover { color: #7b61ff; }
.contact-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px;
}
.form-group { margin-bottom: 16px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #e0e4ec; font-size: 0.95rem;
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #00d4ff; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #6b7280; }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 40px 0; text-align: center; }
.footer p { color: #6b7280; font-size: 0.9rem; }
.footer-tag { margin-top: 8px; font-size: 0.85rem; color: #4a5568; }

/* ===== SCROLL ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute; top: 70px; left: 0; right: 0;
    background: rgba(10,14,23,0.98);
    flex-direction: column; padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .skills-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .hero-actions { flex-direction: column; align-items: center; }
}