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

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-2: #181818;
  --border: #1e1e1e;
  --border-light: #2a2a2a;
  --white: #ffffff;
  --text-primary: #ffffff;
  --text-secondary: #888888;
  --text-muted: #444444;
  --accent: #ffffff;
  --radius: 4px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.92);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

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

.nav-logo .logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  gap: 36px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  position: relative;
  letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger .bar {
  width: 22px;
  height: 1.5px;
  background: var(--text-secondary);
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100vh;
  background: radial-gradient(
    ellipse at 80% 50%,
    rgba(255, 255, 255, 0.025) 0%,
    transparent 65%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero-title .highlight {
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 480px;
}

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

.btn {
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--white);
  color: var(--bg);
}

.btn-primary:hover {
  background: #e0e0e0;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.profile-card {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-image {
  width: 280px;
  height: 280px;
  border-radius: 2px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.profile-image i {
  font-size: 100px;
  color: var(--text-muted);
}

.floating-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  font-size: 22px;
  color: var(--text-secondary);
  opacity: 0.5;
  animation: float 4s ease-in-out infinite;
}

.icon-1 {
  top: 18%;
  left: 6%;
  animation-delay: 0s;
}
.icon-2 {
  top: 8%;
  right: 18%;
  animation-delay: 0.6s;
}
.icon-3 {
  bottom: 18%;
  left: 12%;
  animation-delay: 1.2s;
}
.icon-4 {
  bottom: 8%;
  right: 8%;
  animation-delay: 1.8s;
}

/* Sections */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 60px;
  position: relative;
  color: var(--white);
  letter-spacing: -0.5px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 32px;
  height: 1px;
  background: var(--white);
}

/* About Section */
.about {
  padding: 120px 0;
}

.about-text {
  max-width: 700px;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 60px;
  line-height: 1.9;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.stat-item {
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid var(--border);
  background: var(--surface);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.stat-item p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Skills Section */
.skills {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.skill-category {
  background: var(--surface);
  padding: 40px;
}

.skill-category h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 32px;
  color: var(--white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.skill-category h3 i {
  margin-right: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.skill-item {
  margin-bottom: 20px;
}

.skill-name {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.skill-bar {
  width: 100%;
  height: 2px;
  background: var(--border-light);
  border-radius: 0;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: var(--white);
  border-radius: 0;
  transition: width 1s ease-in-out;
  width: 0;
}

/* Projects Section */
.projects {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.project-card {
  background: var(--surface);
  overflow: hidden;
  transition: background 0.2s ease;
}

.project-card:hover {
  background: var(--surface-2);
}

.project-image {
  height: 160px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.project-image i {
  font-size: 40px;
  color: var(--text-muted);
}

.project-content {
  padding: 28px;
}

.project-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
  letter-spacing: 0.3px;
}

.project-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 0.875rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tech-tag {
  background: transparent;
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 400;
  border: 1px solid var(--border-light);
  letter-spacing: 0.3px;
}

.project-links {
  display: flex;
  gap: 12px;
}

.project-link {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.8rem;
}

.project-link:hover {
  border-color: var(--white);
  color: var(--white);
}

/* Experience Section */
.experience {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.timeline {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: var(--border-light);
  top: 0;
}

.timeline-item {
  margin-bottom: 48px;
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--white);
  top: 8px;
  border: 2px solid var(--bg);
}

.timeline-content {
  background: var(--surface);
  padding: 28px;
  width: 44%;
  position: relative;
  border: 1px solid var(--border);
  color: var(--white);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-content h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--white);
  letter-spacing: 0.2px;
}

.timeline-content h4 {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.timeline-date {
  background: transparent;
  color: var(--text-muted);
  padding: 0;
  font-size: 0.75rem;
  font-weight: 400;
  display: block;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.875rem;
}

/* Contact Section */
.contact {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

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

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--white);
  letter-spacing: -0.3px;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.8;
  font-size: 0.95rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  gap: 16px;
}

.contact-item i {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.contact-item span {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.8rem;
}

.social-link:hover {
  border-color: var(--white);
  color: var(--white);
}

.contact-form {
  background: var(--surface);
  padding: 40px;
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 0;
  font-size: 0.875rem;
  background: var(--bg);
  color: var(--white);
  transition: border-color 0.2s ease;
  font-family: inherit;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--border-light);
  background: var(--surface-2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background: var(--surface);
  color: var(--text-muted);
  padding: 28px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  letter-spacing: 0.3px;
}

.footer i {
  color: var(--text-muted);
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 64px;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .profile-image {
    width: 200px;
    height: 200px;
  }

  .profile-image i {
    font-size: 72px;
  }

  .stats {
    grid-template-columns: 1fr;
    border: 1px solid var(--border);
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .timeline::before {
    left: 16px;
  }

  .timeline-content {
    width: calc(100% - 52px);
    margin-left: 52px !important;
  }

  .timeline-dot {
    left: 16px;
  }

  .section-title {
    font-size: 1.75rem;
  }

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

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

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
  }

  .hero-title {
    font-size: 2.25rem;
  }
}
