* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: #0a0e1a;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(
      ellipse at top,
      rgba(0, 217, 255, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at bottom right,
      rgba(0, 217, 255, 0.05) 0%,
      transparent 40%
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.02) 2px,
      rgba(255, 255, 255, 0.02) 4px
    );
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(0, 217, 255, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(80px);
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00d9ff, transparent);
  opacity: 0.5;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-50px, 50px) scale(1.1);
  }
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  border: 1px solid rgba(0, 217, 255, 0.1);
  border-radius: 12px;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 15%;
  left: 10%;
  transform: rotate(25deg);
  animation: rotate-slow 30s linear infinite;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  right: 15%;
  transform: rotate(-15deg);
  animation: rotate-slow 25s linear infinite reverse;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 60%;
  left: 5%;
  border-radius: 50%;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes rotate-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
}

.hero-content {
  text-align: center;
  max-width: 800px;
  z-index: 1;
}

.brand-name {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #00d9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 80px rgba(0, 217, 255, 0.3);
}

.tagline {
  font-size: 24px;
  color: #8b92a8;
  margin-bottom: 48px;
  font-weight: 400;
  line-height: 1.5;
}

.cta-button {
  display: inline-block;
  padding: 18px 48px;
  background: #00d9ff;
  color: #0a0e1a;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 217, 255, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 217, 255, 0.5);
  background: #00f0ff;
}

/* Sections */
section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(0, 217, 255, 0.03) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.services::before {
  top: -200px;
  left: -100px;
  animation: float-left 25s ease-in-out infinite;
}

.projects::before {
  top: 50%;
  right: -150px;
  animation: float-right 30s ease-in-out infinite;
}

.process::before {
  bottom: -200px;
  left: 10%;
  animation: float-left 28s ease-in-out infinite;
}

.why::before {
  top: -100px;
  right: 5%;
  animation: float-right 32s ease-in-out infinite;
}

.contact::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  animation: pulse-slow 20s ease-in-out infinite;
}

@keyframes float-left {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(80px, -60px);
  }
}

@keyframes float-right {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-80px, 60px);
  }
}

@keyframes pulse-slow {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.03;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.06;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00d9ff, transparent);
  opacity: 0.6;
}

.section-subtitle {
  font-size: 20px;
  color: #8b92a8;
}

/* What I Build */
.services {
  background: #131820;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: rgba(26, 35, 50, 0.5);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 12px;
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00d9ff, transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.service-card:hover::before {
  transform: translateX(100%);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: #00d9ff;
  box-shadow: 0 12px 40px rgba(0, 217, 255, 0.25);
  background: rgba(26, 35, 50, 0.8);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: #00d9ff;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.6));
}

.service-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}

.service-description {
  color: #8b92a8;
  font-size: 16px;
  line-height: 1.7;
}

/* Projects */
.projects {
  background: #0a0e1a;
  position: relative;
}

.project-list {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.project-list::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, #00d9ff, transparent);
  opacity: 0.3;
}

.project-item {
  margin-bottom: 64px;
  padding-left: 48px;
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.project-item:nth-child(1) {
  animation-delay: 0.1s;
}
.project-item:nth-child(2) {
  animation-delay: 0.2s;
}
.project-item:nth-child(3) {
  animation-delay: 0.3s;
}
.project-item:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 8px;
  width: 14px;
  height: 14px;
  background: #00d9ff;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
  animation: pulse-dot 3s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 217, 255, 1);
  }
}

.project-name {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
}

.project-tech {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  color: #00d9ff;
  margin-bottom: 16px;
  opacity: 0.8;
}

.project-description {
  color: #8b92a8;
  font-size: 18px;
  line-height: 1.7;
}

/* How I Work */
.process {
  background: #131820;
  position: relative;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.process-step {
  text-align: center;
  transition: all 0.4s ease;

  cursor: default;
}

.process-step:hover {
  transform: translateY(-8px);
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 217, 255, 0.1);
  border: 2px solid #00d9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #00d9ff;
  margin: 0 auto 24px;
  transition: all 0.4s ease;
  position: relative;
}

.step-number::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid #00d9ff;
  opacity: 0;
  transition: all 0.4s ease;
}

.process-step:hover .step-number {
  background: rgba(0, 217, 255, 0.2);
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
}

.process-step:hover .step-number::before {
  opacity: 0.5;
  inset: -16px;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.step-description {
  color: #8b92a8;
  font-size: 16px;
  line-height: 1.6;
}

/* Why Section */
.why {
  background: #0a0e1a;
  position: relative;
}

.why-content {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(26, 35, 50, 0.3);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 16px;
  padding: 60px;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.why-content:hover {
  border-color: rgba(0, 217, 255, 0.4);
  box-shadow: 0 8px 40px rgba(0, 217, 255, 0.15);
}

.benefits-list {
  list-style: none;
}

.benefit-item {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  font-size: 18px;
  line-height: 1.7;
  transition: all 0.3s ease;
  padding-left: 8px;
  cursor: default;
}

.benefit-item:hover {
  transform: translateX(8px);
}

.benefit-item::before {
  content: "→";
  color: #00d9ff;
  font-size: 24px;
  margin-right: 16px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.benefit-item:hover::before {
  transform: translateX(4px);
}

/* Contact */
.contact {
  background: #131820;
  text-align: center;
  position: relative;
}

.contact-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.contact-description {
  font-size: 20px;
  color: #8b92a8;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.contact-email {
  display: inline-block;
  font-size: 24px;
  color: #00d9ff;
  text-decoration: none;
  padding: 16px 40px;
  border: 2px solid #00d9ff;
  border-radius: 8px;
  margin-bottom: 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.contact-email::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(0, 217, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.contact-email:hover::before {
  width: 300px;
  height: 300px;
}

.contact-email:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 217, 255, 0.3);
}

.social-link {
  display: inline-block;
  color: #8b92a8;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #00d9ff;
}

/* Footer */
footer {
  background: #0a0e1a;
  padding: 48px 0;
  text-align: center;
  border-top: 1px solid rgba(0, 217, 255, 0.1);
}

.footer-brand {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-tagline {
  color: #8b92a8;
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-copyright {
  color: #8b92a8;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 0;
  }

  .brand-name {
    font-size: 48px;
  }

  .tagline {
    font-size: 18px;
  }

  section {
    padding: 80px 24px;
  }

  .section-title {
    font-size: 36px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .why-content {
    padding: 40px 32px;
  }

  .contact-title {
    font-size: 36px;
  }

  .contact-email {
    font-size: 18px;
  }
}
