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

:root {
  --primary-color: #0a0e27;
  --secondary-color: #1a1f3a;
  --accent-color: #00d9ff;
  --accent-hover: #00b8d4;
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --danger-color: #ff4757;
  --success-color: #2ed573;
  --warning-color: #ffa502;
  --card-bg: #151a30;
  --card-hover: #1e2645;
  --border-color: #2d3748;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background: var(--primary-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 24px; */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 24px;
  font-weight: 700;
  color: #3b82f6;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-menu a {
  color: #1f2937;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #3b82f6;
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: #3b82f6;
}

.nav-menu a:hover::after {
  width: 100%;
}

.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 24px 80px;
  background: linear-gradient(135deg, #f5f7fb 0%, #e8f0fb 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero-content {
  text-align: left;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}

.hero-name {
  color: #3b82f6;
  font-weight: 800;
}

.hero-greeting {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #1f2937;
}

.hero-subtitle {
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-weight: 600;
}

.hero-description {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 32px;
  line-height: 1.8;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.primary-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.4);
}

.secondary-btn {
  background: transparent;
  color: #3b82f6;
  border: 2px solid #3b82f6;
}

.secondary-btn:hover {
  background: rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.hero-social {
  padding-top: 40px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #6b7280;
}

.social-icon:hover {
  color: #3b82f6;
  border-color: #3b82f6;
  transform: translateY(-3px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-visual {
  position: relative;
  width: 350px;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-circle {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3);
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.profile-icon {
  width: 140px;
  height: 140px;
  color: #ffffff;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

.floating-badge {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  animation: float-badge 4s ease-in-out infinite;
}

.floating-badge svg {
  width: 28px;
  height: 28px;
  color: #3b82f6;
}

@keyframes float-badge {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-15px) scale(1.05);
  }
}

.badge-1 {
  top: 10px;
  right: -20px;
  animation-delay: 0s;
}

.badge-2 {
  top: 50px;
  left: -30px;
  animation-delay: 0.5s;
}

.badge-3 {
  bottom: 80px;
  left: -40px;
  animation-delay: 1s;
}

.badge-4 {
  bottom: 40px;
  right: -35px;
  animation-delay: 1.5s;
}

.badge-5 {
  bottom: 10px;
  right: 50px;
  animation-delay: 2s;
}

section {
  padding: 100px 24px;
}

.section-title {
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-primary);
}

.about {
  background: var(--secondary-color);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.8;
}

.vulnerability-types {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.vuln-tag {
  padding: 8px 16px;
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid var(--danger-color);
  border-radius: 8px;
  font-size: 14px;
  color: var(--danger-color);
  font-weight: 600;
}

.cve-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cve-card {
  background: var(--card-bg);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.cve-card:hover {
  border-color: var(--accent-color);
  transform: translateX(5px);
}

.cve-icon {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 165, 2, 0.1);
  border: 1px solid var(--warning-color);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--warning-color);
  margin-bottom: 12px;
}

.cve-id {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.cve-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

.services {
  background: var(--primary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  background: var(--card-hover);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--text-primary);
  font-weight: 700;
}

.service-card ul {
  list-style: none;
}

.service-card li {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.service-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: 800;
}

.projects {
  background: var(--secondary-color);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.project-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  background: var(--card-hover);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.project-header h3 {
  font-size: 24px;
  color: var(--text-primary);
  font-weight: 700;
}

.project-badge {
  padding: 6px 14px;
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid var(--accent-color);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-color);
}

.project-card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.publications {
  background: var(--primary-color);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.pub-cert-section h3 {
  font-size: 28px;
  margin-bottom: 30px;
  color: var(--text-primary);
  font-weight: 700;
}

.pub-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  display: flex;
  gap: 20px;
  align-items: start;
}

.pub-icon {
  font-size: 40px;
}

.pub-card h4 {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.4;
}

.pub-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

.cert-grid {
  display: grid;
  gap: 16px;
}

.cert-badge {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
}

.cert-badge:hover {
  border-color: var(--success-color);
  background: var(--card-hover);
}

.contact {
  background: var(--secondary-color);
  text-align: center;
}

.contact-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  background: var(--card-hover);
}

.contact-icon {
  font-size: 40px;
}

.contact-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.contact-value {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 600;
}

.footer {
  background: var(--primary-color);
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.footer p {
  color: var(--text-secondary);
  font-size: 14px;
}

@media (max-width: 1024px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-visual {
    width: 280px;
    height: 280px;
  }

  .profile-circle {
    width: 220px;
    height: 220px;
  }

  .profile-icon {
    width: 110px;
    height: 110px;
  }

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

  .about-content {
    grid-template-columns: 1fr;
  }

  .cve-cards {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-greeting {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-visual {
    width: 240px;
    height: 240px;
  }

  .profile-circle {
    width: 180px;
    height: 180px;
  }

  .profile-icon {
    width: 90px;
    height: 90px;
  }

  .floating-badge {
    width: 50px;
    height: 50px;
  }

  .floating-badge svg {
    width: 24px;
    height: 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 36px;
  }

  .cve-cards {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 22px;
  }

  .hero-greeting {
    font-size: 28px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-button {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
  }

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

  .hero-social {
    width: 100%;
  }

  .social-icon {
    flex: 1;
  }

  .hero-visual {
    width: 200px;
    height: 200px;
  }

  .profile-circle {
    width: 150px;
    height: 150px;
  }

  .profile-icon {
    width: 75px;
    height: 75px;
  }
}
