* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Cairo', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: #080c14;
  color: #f9fafb;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #06b6d4, #8b5cf6);
  z-index: 2000;
  width: 0%;
  transition: width 0.1s linear;
}

.glow-circle {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  max-width: 100vw;
}

.glow-1 {
  top: -50px;
  right: 0;
  background: rgba(139, 92, 246, 0.15);
}

.glow-2 {
  top: 600px;
  left: 0;
  background: rgba(6, 182, 212, 0.12);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 8%;
  background: rgba(8, 12, 20, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  color: #8b5cf6;
  animation: pulse 2s infinite ease-in-out;
}

.logo .dot {
  color: #06b6d4;
}

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

.nav-link {
  color: #9ca3af;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.nav-link:hover, 
.nav-link.active {
  color: #ffffff;
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.3);
  transform: translateY(-2px);
}

.hero { 
  text-align: center; 
  padding: 8rem 1rem 3rem; 
}

.hero-tag {
  background: rgba(139, 92, 246, 0.12);
  color: #8b5cf6;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(139, 92, 246, 0.25);
  display: inline-block;
  transition: transform 0.3s ease;
}

.hero-tag:hover {
  transform: scale(1.05);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin: 1.2rem 0;
  color: #ffffff;
}

.hero p {
  color: #9ca3af;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.share-btn {
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.share-btn:hover {
  background: #06b6d4;
  color: #000000;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
  transform: translateY(-3px);
}

.container {
  padding: 4rem 8%;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
}

.section-header p {
  color: #9ca3af;
  font-size: 0.95rem;
}

.features-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 20px; 
}

.feature-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.8rem;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: #1f293d;
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 10px 25px -10px rgba(6, 182, 212, 0.25);
}

.icon-box {
  width: 48px;
  height: 48px;
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.feature-card:hover .icon-box {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: #9ca3af;
  font-size: 0.88rem;
}

.apps-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.app-box { 
  background: #111827; 
  border-radius: 16px; 
  padding: 1.8rem; 
  border-right: 4px solid transparent; 
  transition: all 0.3s ease;
}

.app-box:hover {
  transform: translateX(-6px);
  background: #1f293d;
}

.border-purple { border-right-color: #8b5cf6; }
.border-cyan { border-right-color: #06b6d4; }
.border-pink { border-right-color: #ec4899; }

.icon-purple { color: #8b5cf6; }
.icon-cyan { color: #06b6d4; }
.icon-pink { color: #ec4899; }

.app-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.app-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.app-list li {
  color: #9ca3af;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-list li i {
  color: #06b6d4;
  font-size: 0.8rem;
}

.coders-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.coder-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
}

.coder-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 10px 25px -10px rgba(139, 92, 246, 0.3);
}

.coder-card .avatar {
  width: 65px;
  height: 65px;
  background: rgba(139, 92, 246, 0.12);
  color: #8b5cf6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.coder-card:hover .avatar {
  transform: scale(1.1) rotate(8deg);
}

.coder-card h3 {
  font-size: 1.2rem;
}

.coder-card .role {
  color: #06b6d4;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.portfolio-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f9fafb;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.portfolio-btn:hover { 
  background: #8b5cf6; 
  border-color: #8b5cf6; 
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.back-to-top {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 42px;
  height: 42px;
  background: #8b5cf6;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.back-to-top.show {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #9ca3af;
  font-size: 0.85rem;
  background: #05080e;
}

@media (max-width: 768px) {
  .navbar { padding: 1rem 5%; }
  .nav-menu { display: none; }
  .hero h1 { font-size: 1.8rem; }
  .container { padding: 3rem 5%; }
  .coder-card { padding: 1.8rem; width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
}
