/* Home Page Styles */

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 50px,
      rgba(255, 255, 255, 0.02) 50px,
      rgba(255, 255, 255, 0.02) 51px
    );
  pointer-events: none;
}

.hero-content {
  text-align: center;
  z-index: 2;
  padding: 0 20px;
}

.hero-title {
  font-size: 72px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -3px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--gray);
  margin-bottom: 50px;
  letter-spacing: 0.5px;
}

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

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: var(--gray);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gray), transparent);
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0%, 100% {
    opacity: 0;
    transform: translateY(-20px);
  }
  50% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stats Section */
.stats-section {
  padding: 100px 0;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 64px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  letter-spacing: -2px;
}

.stat-label {
  font-size: 14px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Featured Work */
.featured-work {
  background: var(--light-gray);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
  height: 1200px;
}

.work-item {
  position: relative;
  overflow: hidden;
  background: var(--black);
  cursor: pointer;
}

.work-item.work-large {
  grid-row: span 2;
}

.work-item.work-wide {
  grid-column: span 2;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.work-item:hover img {
  transform: scale(1.1);
  opacity: 0.3;
}

.work-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: var(--white);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.work-item:hover .work-overlay {
  transform: translateY(0);
  opacity: 1;
}

.work-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 10px;
}

.work-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.work-link {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: gap 0.3s;
}

.work-link:hover {
  gap: 15px;
}

.work-cta {
  text-align: center;
}

/* Services Preview */
.services-preview {
  padding: 120px 0;
  background: var(--white);
}

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

.services-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.services-description {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 50px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 50px;
}

.service-item {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

.service-icon {
  font-size: 20px;
  color: var(--red);
  flex-shrink: 0;
}

.service-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.service-content p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
}

.services-image {
  position: relative;
}

.services-image img {
  width: 100%;
  height: 700px;
  object-fit: cover;
}

.services-badge {
  position: absolute;
  top: 40px;
  right: 40px;
  background: var(--red);
  color: var(--white);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.services-badge span {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Process Section */
.clients-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.clients-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.process-step {
  text-align: center;
  padding: 50px 30px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, #dc2626 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover::before {
  transform: scaleX(1);
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(239, 68, 68, 0.2);
}

.process-number {
  font-size: 64px;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.05) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -3px;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.process-step:hover .process-number {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--red) 0%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.process-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
  color: var(--black);
}

.process-description {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  background: var(--black);
  padding: 120px 0;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 56px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 25px;
  letter-spacing: -2px;
}

.cta-text {
  font-size: 20px;
  color: var(--gray);
  margin-bottom: 50px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 56px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

  .services-image img {
    height: 500px;
  }

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

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

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

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

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

  .stat-number {
    font-size: 48px;
  }

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

  .work-item.work-large,
  .work-item.work-wide {
    grid-column: 1;
    grid-row: auto;
  }

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

  .services-image img {
    height: 400px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .process-step {
    padding: 40px 25px;
  }

  .process-number {
    font-size: 48px;
  }

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

  .cta-text {
    font-size: 16px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
}
