@font-face {
  font-family: neu;
  src: url(./NeueHaasDisplayMediu.ttf);
}

@font-face {
  font-family: neu;
  font-weight: 100;
  src: url(./NeueHaasDisplayLight.ttf);
}

@font-face {
  font-family: neu;
  font-weight: 200;
  src: url(./NeueHaasDisplayRoman.ttf);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: neu;
  color: #ffffff;
}

html,
body {
  height: 100%;
  width: 100%;
  background-color: #000000;
}

#main {
  position: relative;
  z-index: 10;
  background-color: #000000;
}

/* Navigation - Same as index */
nav {
  padding: 2vw 2vw;
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 100;
  justify-content: space-between;
  background-color: #000000;
}

#logo {
  font-size: 1.5vw;
  font-weight: 500;
  color: #ffffff;
}

#nav-part2 {
  display: flex;
  align-items: center;
  gap: 1vw;
}

#nav-part2 h4 {
  padding: 10px 20px;
  border: 1px solid #333333;
  border-radius: 50px;
  color: #ffffff;
  transition: all ease 0.4s;
  position: relative;
  font-size: 18px;
  overflow: hidden;
}

#nav-part2 h4::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #1a1a1a;
  left: 0;
  bottom: -100%;
  border-radius: 50%;
  transition: all ease 0.4s;
}

#nav-part2 h4:hover::after {
  bottom: 0;
  border-radius: 0;
}

#nav-part2 h4 a {
  color: #ffffff;
  text-decoration: none;
  position: relative;
  z-index: 9;
}

#nav-part2 h4:hover a {
  color: #ffffff;
}

nav h3 {
  display: none;
}

/* Hero Section */
#insights-hero {
  min-height: 60vh;
  width: 100%;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8vw 4vw;
  border-bottom: 1px solid #333333;
}

#hero-content {
  max-width: 1200px;
  text-align: center;
}

#hero-content h1 {
  font-size: 10vw;
  line-height: 9vw;
  margin-bottom: 3vw;
  color: #ffffff;
  font-weight: 500;
}

#hero-content p {
  font-size: 1.8vw;
  line-height: 2.5vw;
  color: #cccccc;
  max-width: 900px;
  margin: 0 auto;
  font-weight: 200;
}

/* Insight Sections */
.insight-section {
  min-height: 100vh;
  width: 100%;
  background-color: #000000;
  padding: 8vw 4vw;
  border-bottom: 1px solid #333333;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 2vw;
  margin-bottom: 4vw;
}

.section-number {
  font-size: 3vw;
  color: #333333;
  font-weight: 500;
}

.section-header h2 {
  font-size: 5vw;
  color: #ffffff;
  font-weight: 500;
}

.section-content {
  display: flex;
  gap: 4vw;
  margin-bottom: 4vw;
}

.content-main {
  flex: 2;
}

.content-main h3 {
  font-size: 2.5vw;
  line-height: 3vw;
  margin-bottom: 2vw;
  color: #ffffff;
  font-weight: 500;
}

.content-main p {
  font-size: 1.3vw;
  line-height: 2vw;
  margin-bottom: 2vw;
  color: #cccccc;
  font-weight: 200;
}

.content-sidebar {
  flex: 1;
}

.tech-stack {
  background-color: #0a0a0a;
  border: 1px solid #333333;
  border-radius: 10px;
  padding: 2vw;
}

.tech-stack h4 {
  font-size: 1.5vw;
  margin-bottom: 1.5vw;
  color: #ffffff;
  font-weight: 500;
}

.tech-stack ul {
  list-style: none;
}

.tech-stack li {
  font-size: 1.1vw;
  line-height: 2.2vw;
  color: #cccccc;
  padding-left: 1.5vw;
  position: relative;
  font-weight: 200;
}

.tech-stack li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #ffffff;
}

/* Section Details */
.section-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3vw;
}

.detail-block {
  background-color: #0a0a0a;
  border: 1px solid #333333;
  border-radius: 10px;
  padding: 2.5vw;
  transition: all ease 0.3s;
}

.detail-block:hover {
  border-color: #555555;
  transform: translateY(-5px);
}

.detail-block h4 {
  font-size: 1.8vw;
  margin-bottom: 1vw;
  color: #ffffff;
  font-weight: 500;
}

.detail-block p {
  font-size: 1.1vw;
  line-height: 1.7vw;
  color: #cccccc;
  font-weight: 200;
}

/* Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3vw;
  margin-top: 4vw;
}

.process-card {
  background-color: #0a0a0a;
  border: 1px solid #333333;
  border-radius: 10px;
  padding: 3vw;
  transition: all ease 0.3s;
  position: relative;
  overflow: hidden;
}

.process-card::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #1a1a1a;
  left: 0;
  top: 100%;
  transition: all ease 0.4s;
  z-index: 1;
}

.process-card:hover::after {
  top: 0;
}

.process-card > * {
  position: relative;
  z-index: 2;
}

.process-number {
  font-size: 4vw;
  color: #333333;
  font-weight: 500;
  margin-bottom: 1vw;
}

.process-card h3 {
  font-size: 2vw;
  margin-bottom: 1.5vw;
  color: #ffffff;
  font-weight: 500;
}

.process-card p {
  font-size: 1.1vw;
  line-height: 1.7vw;
  color: #cccccc;
  font-weight: 200;
}

/* Technologies Section */
.tech-section {
  padding: 10vw 4vw;
}

.tech-section .section-header {
  justify-content: center;
  margin-bottom: 6vw;
}

.tech-section .section-header h2 {
  text-align: center;
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4vw;
}

.tech-category h3 {
  font-size: 2.5vw;
  margin-bottom: 2vw;
  color: #ffffff;
  font-weight: 500;
  text-align: center;
}

.tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1vw;
  justify-content: center;
}

.tech-items span {
  padding: 0.8vw 1.5vw;
  background-color: #0a0a0a;
  border: 1px solid #333333;
  border-radius: 50px;
  font-size: 1vw;
  color: #ffffff;
  transition: all ease 0.3s;
  cursor: default;
  font-weight: 200;
}

.tech-items span:hover {
  border-color: #ffffff;
  background-color: #1a1a1a;
}

/* CTA Section */
#insights-cta {
  min-height: 50vh;
  width: 100%;
  background-color: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8vw 4vw;
  text-align: center;
}

#insights-cta h2 {
  font-size: 5vw;
  margin-bottom: 2vw;
  color: #ffffff;
  font-weight: 500;
}

#insights-cta p {
  font-size: 1.8vw;
  margin-bottom: 3vw;
  color: #cccccc;
  font-weight: 200;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  border: 1px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2vw;
  transition: all ease 0.4s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-button::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #ffffff;
  left: 0;
  bottom: -100%;
  border-radius: 50%;
  transition: all ease 0.4s;
  z-index: -1;
}

.cta-button:hover::after {
  bottom: 0;
  border-radius: 0;
}

.cta-button:hover {
  color: #000000;
}

/* Footer - Same as index */
#footer {
  position: relative;
  height: fit-content;
  width: 100%;
  background-color: #000;
  color: #fff;
  z-index: 9;
  bottom: auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding-left: 8vw;
  padding-right: 8vw;
  padding-bottom: 6vw;
  padding-top: 4vw;
}

#footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2vw;
  border-bottom: 1px solid #333333;
}

#footer-links {
  display: flex;
  gap: 3vw;
}

#footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1vw;
  font-weight: 200;
  transition: color 0.3s;
}

#footer-links a:hover {
  color: #cccccc;
}

#footer-social {
  display: flex;
  gap: 1.5vw;
}

#footer-social a {
  color: #ffffff;
  transition: color 0.3s;
}

#footer-social a:hover {
  color: #cccccc;
}

#footer-bottom {
  border-top: none;
  height: auto;
  width: 100%;
  padding-top: 1.5vw;
  text-align: center;
}

/* Loader */
#loader {
  height: 100%;
  width: 100%;
  background-color: #000;
  position: fixed;
  z-index: 999;
  top: 0;
  transition: all ease 0.7s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#loader h1 {
  font-size: 4vw;
  color: transparent;
  background: linear-gradient(to right, #ffffff, #cccccc);
  -webkit-background-clip: text;
  background-clip: text;
  position: absolute;
  opacity: 0;
  animation-name: load;
  animation-duration: 1s;
  animation-delay: 1s;
  animation-timing-function: linear;
}

#loader h1:nth-child(2) {
  animation-delay: 2s;
}

#loader h1:nth-child(3) {
  animation-delay: 3s;
}

@keyframes load {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Mobile Responsive */
@media (max-width: 600px) {
  nav {
    padding: 8vw 5vw;
  }

  #logo {
    font-size: 5vw;
  }

  #nav-part2 {
    display: none;
  }

  nav h3 {
    display: block;
    padding: 3vw 5vw;
    border: 1px solid #333333;
    border-radius: 50px;
    font-size: 4vw;
    font-weight: 200;
    padding-left: 10vw;
    color: #ffffff;
  }

  #insights-hero {
    min-height: 50vh;
    padding: 12vw 5vw;
  }

  #hero-content h1 {
    font-size: 16vw;
    line-height: 14vw;
    margin-bottom: 5vw;
  }

  #hero-content p {
    font-size: 4.5vw;
    line-height: 6vw;
  }

  .insight-section {
    padding: 12vw 5vw;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2vw;
    margin-bottom: 6vw;
  }

  .section-number {
    font-size: 8vw;
  }

  .section-header h2 {
    font-size: 10vw;
  }

  .section-content {
    flex-direction: column;
    gap: 6vw;
  }

  .content-main h3 {
    font-size: 6.5vw;
    line-height: 7.5vw;
    margin-bottom: 4vw;
  }

  .content-main p {
    font-size: 4vw;
    line-height: 6vw;
    margin-bottom: 4vw;
  }

  .tech-stack {
    padding: 5vw;
  }

  .tech-stack h4 {
    font-size: 5vw;
    margin-bottom: 3vw;
  }

  .tech-stack li {
    font-size: 3.5vw;
    line-height: 6vw;
    padding-left: 4vw;
  }

  .section-details {
    grid-template-columns: 1fr;
    gap: 5vw;
  }

  .detail-block {
    padding: 5vw;
  }

  .detail-block h4 {
    font-size: 5vw;
    margin-bottom: 2vw;
  }

  .detail-block p {
    font-size: 3.5vw;
    line-height: 5.5vw;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 5vw;
  }

  .process-card {
    padding: 6vw;
  }

  .process-number {
    font-size: 10vw;
    margin-bottom: 2vw;
  }

  .process-card h3 {
    font-size: 6vw;
    margin-bottom: 3vw;
  }

  .process-card p {
    font-size: 3.5vw;
    line-height: 5.5vw;
  }

  .tech-section {
    padding: 12vw 5vw;
  }

  .tech-categories {
    grid-template-columns: 1fr;
    gap: 8vw;
  }

  .tech-category h3 {
    font-size: 7vw;
    margin-bottom: 4vw;
  }

  .tech-items {
    gap: 2vw;
  }

  .tech-items span {
    padding: 2vw 4vw;
    font-size: 3.5vw;
  }

  #insights-cta {
    padding: 12vw 5vw;
  }

  #insights-cta h2 {
    font-size: 10vw;
    margin-bottom: 4vw;
  }

  #insights-cta p {
    font-size: 4.5vw;
    margin-bottom: 6vw;
  }

  .cta-button {
    padding: 4vw 8vw;
    font-size: 4vw;
  }

  #footer {
    padding: 10vw 5vw 5vw 5vw;
  }

  #footer-top {
    flex-direction: column;
    gap: 5vw;
    text-align: center;
  }

  #footer-links {
    flex-direction: column;
    gap: 2vw;
  }

  #footer-links a {
    font-size: 4vw;
  }

  #footer-social {
    gap: 5vw;
  }

  #footer-bottom {
    padding-top: 5vw;
  }

  #footer-bottom p {
    font-size: 3vw !important;
  }

  #loader h1 {
    font-size: 9vw;
  }
}

/* Tablet Responsive */
@media (min-width: 601px) and (max-width: 1024px) {
  #hero-content h1 {
    font-size: 8vw;
    line-height: 7.5vw;
  }

  #hero-content p {
    font-size: 2.2vw;
    line-height: 3vw;
  }

  .section-header h2 {
    font-size: 6vw;
  }

  .content-main h3 {
    font-size: 3.5vw;
    line-height: 4vw;
  }

  .content-main p {
    font-size: 1.8vw;
    line-height: 2.5vw;
  }

  .section-details {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}
