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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #0c0f14 0%, #181a1b 50%, #1a1d1f 100%);
  color: #f5f6fa;
  line-height: 1.6;
  overflow-x: hidden;
}

.fixed-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(24,26,27,0.95);
  backdrop-filter: blur(10px);
  z-index: 999;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

nav h1 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00e6a8;
  letter-spacing: 1px;
}

nav h1 i {
  margin-right: 0.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: #f5f6fa;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

nav a:hover {
  color: #00e6a8;
  background: rgba(0,230,168,0.1);
}

nav a i {
  margin-right: 0.5rem;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 2rem 2rem;
  background: radial-gradient(circle at 20% 80%, rgba(0,230,168,0.1) 0%, transparent 50%), 
              radial-gradient(circle at 80% 20%, rgba(35,39,47,0.3) 0%, transparent 50%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  width: 100%;
  align-items: center;
}

.hero-text {
  animation: slideInLeft 1s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #f5f6fa;
  line-height: 1.1;
}

.highlight {
  background: linear-gradient(45deg, #00e6a8, #00b8d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #00e6a8;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero-desc {
  font-size: 1.1rem;
  color: #b2becd;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.skill-tag {
  background: rgba(0,230,168,0.1);
  color: #00e6a8;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(0,230,168,0.3);
  font-size: 0.9rem;
  font-weight: 500;
}

.skill-tag i {
  margin-right: 0.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-cta.primary {
  background: linear-gradient(45deg, #00e6a8, #00b8d4);
  color: #23272f;
  box-shadow: 0 4px 20px rgba(0,230,168,0.3);
}

.hero-cta.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0,230,168,0.4);
}

.hero-cta.secondary {
  background: transparent;
  color: #00e6a8;
  border: 2px solid #00e6a8;
}

.hero-cta.secondary:hover {
  background: #00e6a8;
  color: #23272f;
  transform: translateY(-2px);
}

.hero-animation {
  position: relative;
  height: 400px;
  animation: slideInRight 1s ease-out;
}

.developer-desk {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1000px;
}

.monitor {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 120px;
  background: #2c3e50;
  border-radius: 10px 10px 5px 5px;
  border: 3px solid #34495e;
}

.screen {
  width: 180px;
  height: 100px;
  background: #0d1117;
  margin: 10px auto;
  border-radius: 5px;
  padding: 10px;
  overflow: hidden;
}

.code-line {
  height: 4px;
  background: #00e6a8;
  margin: 8px 0;
  border-radius: 2px;
  animation: typing 2s infinite alternate;
}

.code-line.short {
  width: 60%;
  background: #ffa502;
}

.code-line.medium {
  width: 80%;
  background: #3742fa;
}

.keyboard {
  position: absolute;
  bottom: 180px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 15px;
  background: #2c3e50;
  border-radius: 5px;
  border: 2px solid #34495e;
}

.mouse {
  position: absolute;
  bottom: 180px;
  right: 40%;
  width: 20px;
  height: 25px;
  background: #2c3e50;
  border-radius: 10px 10px 5px 5px;
  border: 2px solid #34495e;
}

.coffee-cup {
  position: absolute;
  top: 80px;
  right: 30%;
  width: 30px;
  height: 35px;
  background: #8b4513;
  border-radius: 5px 5px 10px 10px;
}

.steam {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 15px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  animation: steam 2s infinite;
}

.developer {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
}

.head {
  width: 40px;
  height: 40px;
  background: #f39c12;
  border-radius: 50%;
  margin: 0 auto;
}

.body {
  width: 50px;
  height: 60px;
  background: #3498db;
  margin: 5px auto;
  border-radius: 10px;
}

.arm {
  position: absolute;
  width: 30px;
  height: 10px;
  background: #f39c12;
  border-radius: 5px;
  top: 50px;
}

.arm.left {
  left: -15px;
  transform: rotate(-30deg);
}

.arm.right {
  right: -15px;
  transform: rotate(30deg);
  animation: typing-arm 1s infinite alternate;
}

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

.floating-icon {
  position: absolute;
  font-size: 2rem;
  color: rgba(0,230,168,0.3);
  animation: float 3s infinite ease-in-out;
}

.floating-icon:nth-child(1) {
  top: 20%;
  right: 10%;
  animation-delay: 0s;
}

.floating-icon:nth-child(2) {
  top: 60%;
  left: 5%;
  animation-delay: 1s;
}

.floating-icon:nth-child(3) {
  bottom: 20%;
  right: 20%;
  animation-delay: 2s;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

section {
  margin-bottom: 6rem;
  scroll-margin-top: 80px;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #f5f6fa;
  margin-bottom: 1rem;
}

.section-header h2 i {
  margin-right: 1rem;
  color: #00e6a8;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #b2becd;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #b2becd;
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  gap: 1.5rem;
}

.stat-card {
  background: rgba(35,39,47,0.5);
  padding: 2rem 1rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(0,230,168,0.2);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-card i {
  font-size: 2rem;
  color: #00e6a8;
  margin-bottom: 1rem;
}

.stat-card h3 {
  font-size: 2rem;
  color: #f5f6fa;
  margin-bottom: 0.5rem;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes typing {
  0% { width: 0; }
  100% { width: 100%; }
}

@keyframes typing-arm {
  0% { transform: rotate(30deg); }
  100% { transform: rotate(20deg); }
}

@keyframes steam {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-10px) rotate(5deg); }
  66% { transform: translateY(5px) rotate(-3deg); }
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  nav ul {
    gap: 1rem;
  }
  
  .hero {
    padding: 5rem 1rem 2rem 1rem;
  }
}

header {
  background: #23272f;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}
section {
  margin-bottom: 6rem;
  scroll-margin-top: 80px;
}
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.input-group {
  position: relative;
}
.input-group i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #00e6a8;
  z-index: 1;
}
#contact-form input, #contact-form textarea {
  width: 100%;
  background: rgba(35,39,47,0.8);
  border: 2px solid rgba(0,230,168,0.2);
  border-radius: 15px;
  color: #f5f6fa;
  padding: 1rem 1rem 1rem 3rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  resize: none;
}
#contact-form input:focus, #contact-form textarea:focus {
  outline: none;
  border-color: #00e6a8;
  box-shadow: 0 0 0 3px rgba(0,230,168,0.1);
}
#contact-form textarea {
  min-height: 120px;
  padding-top: 1rem;
}
#contact-form textarea + i {
  top: 1rem;
  transform: none;
}
#contact-form button {
  background: linear-gradient(45deg, #00e6a8, #00b8d4);
  color: #23272f;
  border: none;
  border-radius: 25px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
#contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,230,168,0.3);
}
.contact-email {
  margin-top: 1.2rem;
  color: #b2becd;
  font-size: 1rem;
}

#projects-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background: rgba(35,39,47,0.8);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,230,168,0.1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,230,168,0.1) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.6s ease;
}

.project-card:hover::before {
  transform: scale(1);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,230,168,0.2);
  border-color: rgba(0,230,168,0.3);
}

.project-title {
  font-size: 1.5rem;
  color: #00e6a8;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.project-desc {
  color: #b2becd;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.tech-tag {
  background: rgba(0,230,168,0.1);
  color: #00e6a8;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  border: 1px solid rgba(0,230,168,0.2);
}

.project-link {
  color: #00e6a8;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: rgba(0,230,168,0.1);
  border-radius: 25px;
  border: 1px solid rgba(0,230,168,0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.project-link:hover {
  background: #00e6a8;
  color: #23272f;
  transform: translateY(-2px);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-group {
  position: relative;
}

.input-group i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #00e6a8;
  z-index: 1;
}

#contact-form input, #contact-form textarea {
  width: 100%;
  background: rgba(35,39,47,0.8);
  border: 2px solid rgba(0,230,168,0.2);
  border-radius: 15px;
  color: #f5f6fa;
  padding: 1rem 1rem 1rem 3rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  resize: none;
}

#contact-form input:focus, #contact-form textarea:focus {
  outline: none;
  border-color: #00e6a8;
  box-shadow: 0 0 0 3px rgba(0,230,168,0.1);
}

#contact-form textarea {
  min-height: 120px;
  padding-top: 1rem;
}

#contact-form textarea + i {
  top: 1rem;
  transform: none;
}

#contact-form button {
  background: linear-gradient(45deg, #00e6a8, #00b8d4);
  color: #23272f;
  border: none;
  border-radius: 25px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

#contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,230,168,0.3);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(35,39,47,0.5);
  border-radius: 15px;
  border: 1px solid rgba(0,230,168,0.2);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(10px);
  border-color: rgba(0,230,168,0.4);
}

.contact-item i {
  font-size: 1.5rem;
  color: #00e6a8;
  min-width: 30px;
}

.contact-item a {
  color: #f5f6fa;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #00e6a8;
}

@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  #projects-list {
    grid-template-columns: 1fr;
  }
}

.project-card {
  background: rgba(35,39,47,0.8);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,230,168,0.1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,230,168,0.1) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.6s ease;
}
.project-card:hover::before {
  transform: scale(1);
}
.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,230,168,0.2);
  border-color: rgba(0,230,168,0.3);
}
.project-title {
  font-size: 1.5rem;
  color: #00e6a8;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}
.project-desc {
  color: #b2becd;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.tech-tag {
  background: rgba(0,230,168,0.1);
  color: #00e6a8;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  border: 1px solid rgba(0,230,168,0.2);
}
.project-link {
  color: #00e6a8;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: rgba(0,230,168,0.1);
  border-radius: 25px;
  border: 1px solid rgba(0,230,168,0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}
.project-link:hover {
  background: #00e6a8;
  color: #23272f;
  transform: translateY(-2px);
}
.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(12,15,20,0.9);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.3s ease;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: rgba(35,39,47,0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  max-width: 600px;
  width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,230,168,0.2);
  border: 1px solid rgba(0,230,168,0.3);
  position: relative;
  color: #f5f6fa;
  animation: modalSlideIn 0.3s ease-out;
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2rem;
  color: #00e6a8;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,230,168,0.1);
}

.close-modal:hover {
  color: #fff;
  background: rgba(0,230,168,0.2);
  transform: scale(1.1);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 600px) {
  nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  main {
    padding: 0 0.5rem;
  }
  #projects-list {
    grid-template-columns: 1fr;
  }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.input-group textarea + i, 
.input-group:has(textarea) i {
  top: 1.2rem;
  transform: none;
}