/* ========================================
   CSS Reset & Base Styles
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(185deg, black, #9333ea, #9333ea);
  color: #e0e0e0;
  line-height: 1.6;
  min-height: 100vh;
}

/* ========================================
   Typography
   ======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  color: #b0b0b0;
}

/* ========================================
   Header & Navigation
   ======================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
  padding: 50px 100px;
}

.header__container {
  width: 100%;
  margin: 10 10;
  background-color: #00000073;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0.5px solid #ffffffa5;
  border-radius: 3px;
  gap: 3rem;
  padding-left: 40px;
  padding-right: 40px;
}

.header__logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  transition: opacity 0.3s ease;
  max-width: 160px;
  height: auto;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

@media (max-width: 480px) {
  .header__logo {
    max-width: 120px;
  }
}

.header__logo:hover {
  opacity: 0.8;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav__link {
  font-size: 0.95rem;
  color: #b0b0b0;
  transition: color 0.3s ease;
  position: relative;
}

.nav__link:hover {
  color: #fff;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #a855f7;
  transition: width 0.3s ease;
}

.nav__link:hover::after {
  width: 100%;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(9px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

.nav .nav__cta {
  display: none;
}

.header__container .header__cta {
  display: inline-block;
}

@media (max-width: 768px) {
  .header {
    padding: 20px;
  }

  .header__container {
    padding: 16px 20px;
    gap: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .header__container .header__cta {
    display: none;
  }

  .nav .nav__cta {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: #000000e6;
    backdrop-filter: blur(12px);
    border: 1px solid #ffffff2a;
    border-radius: 6px;
    padding: 20px;
    flex-direction: column;
    gap: 1.25rem;

    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__link {
    font-size: 1rem;
  }
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn--primary {
  background: #ffffff;
  color: #020202;
  border: 2px solid #a855f7;
}

.btn--primary:hover {
  background: #9333ea;
  border-color: #9333ea;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

.btn--secondary {
  background: transparent;
  color: #a855f7;
  border: 2px solid #a855f7;
}

.btn--secondary:hover {
  background: #a855f7;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}

.hero__content {
  max-width: 800px;
  margin: 0 auto;
}

.hero__title {
  color: #fff;
  margin-bottom: 1.5rem;
  background: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 200;
  font-size: 96px;
}

.hero__description {
  font-size: 1.125rem;
  color: #b0b0b0;
  margin-bottom: 4rem;
  line-height: 1.8;
}

.hero__content .btn {
  margin-top: 1rem;
}

/* ========================================
   Clients Section
   ======================================== */

.clients {
  max-width: 1400px;
  margin: 4rem auto;
  padding: 0.9rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(168, 85, 247, 0.05);
}

.clients__container {
  text-align: center;
}

.clients__label {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #a855f7;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
  text-decoration-line: 1px underline;
}

.clients__grid {
  display: grid;
  margin-left: 50px;
  margin-right: 50px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  align-items: center;
}

.clients__logo {
  font-size: 1rem;
  font-weight: 600;
  color: #e0e0e0;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.clients__logo:hover {
  opacity: 1;
}

/* ========================================
   About Section
   ======================================== */

.about {
  margin: 4rem auto;
  padding: 4rem 2rem;
  max-width: 1400px;
}

.about__container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.about_left {
  width: 50%;
}

@media (max-width: 768px) {
  .about__container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .about_left,
  .about_right {
    width: 100%;
  }
}

.about__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #a855f7;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.about__title {
  color: #fff;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.about__description {
  max-width: 700px;
  margin-bottom: 3rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ========================================
   Statistics
   ======================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stats__item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
}

.stats__value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #a855f7;
  margin-bottom: 0.5rem;
}

.stats__label {
  font-size: 0.9rem;
  color: #b0b0b0;
}

/* ========================================
   Work Section & Carousel
   ======================================== */

.work {
  margin: 0px;
  padding: 4rem 2rem;
  background-color: #02020265;
}

.work__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #a855f7;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.carousel {
  position: relative;
}

.carousel__wrapper {
  overflow: hidden;
  border-radius: 1rem;
}

.carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 1.5rem;
}

.carousel__slide {
  flex: 0 0 calc(33.333% - 1rem);
  min-height: 350px;
  display: flex;
  flex-direction: column;
  border-radius: 0.75rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.carousel__slide:hover {
  transform: translateY(-5px);
}

.carousel__image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.carousel__title {
  padding: 1.5rem;
  font-size: 1.1rem;
  color: #fff;
}

.carousel__button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #a855f7;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel__button:hover {
  background: #9333ea;
  transform: translateY(-50%) scale(1.1);
}

.carousel__button--prev {
  left: -24px;
}

.carousel__button--next {
  right: -24px;
}

@media (max-width: 768px) {
  .carousel__button--prev {
    left: 10px;
  }

  .carousel__button--next {
    right: 10px;
  }
}

/* ========================================
   Services Section & Accordion
   ======================================== */

.services {
  margin: 0;
  padding: 3rem 6rem;
  background: linear-gradient(to bottom, #02020265, #02020243, #02020265);
}

.services__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #a855f7;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.services__title {
  color: #fff;
  margin-bottom: 3rem;
  max-width: 600px;
}

.accordion {
  display: grid;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  overflow: hidden;
}

.accordion__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion__item:last-child {
  border-bottom: none;
}

.accordion__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  background: transparent;
  border: none;
  color: #e0e0e0;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  text-align: left;
}

.accordion__header:hover {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
}

.accordion__title {
  flex: 1;
}

.accordion__icon {
  font-size: 1.5rem;
  color: #a855f7;
  transition: transform 0.3s ease;
}

.accordion__item[open] .accordion__header {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
}

.accordion__item[open] .accordion__icon {
  transform: rotate(45deg);
}

.accordion__content {
  padding: 2rem 1.5rem;
  color: #b0b0b0;
  line-height: 1.8;
}

/* ========================================
   Testimonials Section
   ======================================== */

.testimonials {
  margin: 0;
  padding: 4rem 2rem;
  background: linear-gradient(to bottom, #02020265, #020202d6, #02020265);
}

.testimonials__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #a855f7;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.testimonial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  min-height: 300px;
}

.testimonial__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #e0e0e0;
  margin-bottom: 1.5rem;
}

.testimonial__footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial__footer strong {
  color: #a855f7;
  font-size: 0.95rem;
}

.testimonial__footer span {
  color: #707070;
  font-size: 0.85rem;
}

/* ========================================
   CTA Section
   ======================================== */

.cta {
  max-width: 1400px;
  margin: 4rem auto;
  padding: 4rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: linear-gradient(
    135deg,
    rgba(67, 34, 97, 0.87) 0%,
    rgba(46, 6, 83, 0.863) 100%
  );
  text-align: center;
}

.cta__container {
  max-width: 700px;
  margin: 0 auto;
}

.cta__title {
  color: #fff;
  margin-bottom: 1rem;
}

.cta__description {
  font-size: 1.05rem;
  color: #b0b0b0;
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

.footer__container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 2rem;
}

.footer__title {
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.footer__description {
  color: #b0b0b0;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.newsletter {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.newsletter__input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.newsletter__input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: #a855f7;
}

.newsletter__input::placeholder {
  color: #707070;
}

.footer__disclaimer {
  font-size: 0.85rem;
  color: #707070;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer__column-title {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.footer__column ul {
  list-style: none;
}

.footer__column li {
  margin-bottom: 0.75rem;
}

.footer__column a {
  color: #b0b0b0;
  transition: color 0.3s ease;
}

.footer__column a:hover {
  color: #a855f7;
}

.footer__bottom {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #707070;
  font-size: 0.9rem;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
  .header__container {
    gap: 2rem;
  }

  .nav {
    gap: 1.5rem;
  }

  .carousel__slide {
    flex: 0 0 calc(50% - 0.75rem);
  }

  .footer__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .header__container {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav {
    flex-wrap: wrap;
    gap: 1rem;
    order: 3;
    width: 100%;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .hero {
    padding: 3rem 1.5rem;
  }

  .carousel__slide {
    flex: 0 0 100%;
  }

  .carousel__button {
    width: 40px;
    height: 40px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .footer__links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header__container {
    gap: 0.5rem;
  }

  .header__logo {
    flex: 1;
  }

  .nav {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .clients__label,
  .about__label,
  .work__label,
  .services__label,
  .testimonials__label {
    font-size: 0.65rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .accordion__header {
    padding: 1rem 1.25rem;
  }

  .accordion__content {
    padding: 0 1.25rem 1rem;
  }

  .newsletter {
    flex-direction: column;
  }

  .footer__container {
    padding: 0;
  }
}
