/* Home Page Styles - Exact from Vite Original */
@import '../variables.css';

.home-container {
  width: 100%;
  background-color: #0b0b0b;
  overflow-x: hidden;
  position: relative;
}

/* ==========================================================================
   Fullpage Panels
   ========================================================================== */
.panel {
  min-height: calc(100vh - 70px);
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0;
  box-sizing: border-box;
}

@media (min-width: 1025px) {
  .panel {
    height: calc(100vh - 70px);
    padding: 0;
  }
}

@media (max-width: 1024px) {
  .panel {
    height: auto;
    min-height: 600px;
    padding: 60px 0;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.panel--hero {
  background-color: #0b0b0b;
  background-image: linear-gradient(90deg, #0b0b0b 30%, rgba(11, 11, 11, 0.5) 70%, rgba(11, 11, 11, 0) 100%), url('../../hero_bg.jpg');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: auto 100%;
  align-items: flex-start;
  justify-content: center;
  z-index: 1;
}

@media (max-width: 1024px) {
  .panel--hero {
    background-size: cover;
  }
}

.hero__container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 40px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .hero__container {
    padding: 0 20px;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 32px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.hero__title span {
  color: #9f30f8;
  text-shadow: 0 0 20px rgba(159, 48, 248, 0.4);
}

@media (max-width: 1024px) {
  .hero__title {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .hero__title {
    font-size: 32px;
  }
}

.hero__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-bottom: 32px;
}

.hero__card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(20, 20, 20, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(159, 48, 248, 0.3);
  border-radius: 16px;
  padding: 16px 24px;
  transition: all 0.25s ease;
}

.hero__card:hover {
  background: rgba(159, 48, 248, 0.1);
  border-color: #9f30f8;
}

.hero__card-text {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .hero__card-text {
    font-size: 15px;
  }
}

.hero__slogan {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  text-transform: uppercase;
  margin-top: 16px;
}

.hero__slogan span {
  color: #9f30f8;
}

@media (max-width: 768px) {
  .hero__slogan {
    font-size: 15px;
  }
}

/* ==========================================================================
   Mission Section
   ========================================================================== */
.panel--mission {
  background-color: #050505;
  background-image: linear-gradient(90deg, #050505 30%, rgba(5, 5, 5, 0.5) 70%, rgba(5, 5, 5, 0) 100%), url('../../mission_bg.jpg');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: auto 100%;
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .panel--mission {
    background-size: cover;
  }
}

.mission__container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1024px) {
  .mission__container {
    padding: 0 20px;
  }
}

.mission__header {
  margin-bottom: 40px;
}

.mission__title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  text-transform: uppercase;
  max-width: 900px;
}

.mission__title span {
  display: inline;
  color: #9f30f8;
}

@media (max-width: 1024px) {
  .mission__title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .mission__title {
    font-size: 26px;
  }
}

.mission__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 16px;
  max-width: 700px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .mission__subtitle {
    font-size: 15px;
  }
}

.mission__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

@media (max-width: 1024px) {
  .mission__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .mission__grid {
    grid-template-columns: 1fr;
  }
}

.mission__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  background: rgba(20, 20, 20, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(159, 48, 248, 0.3);
  border-radius: 18px;
  padding: 32px 20px;
  transition: all 0.3s ease;
}

.mission__card:hover {
  background: rgba(159, 48, 248, 0.1);
  border-color: #9f30f8;
  transform: translateY(-4px);
}

.mission__card-title {
  font-size: 16px;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Case Section
   ========================================================================== */
.panel--case {
  background-color: #0b0b0b;
  background-image: linear-gradient(90deg, #0b0b0b 30%, rgba(11, 11, 11, 0.5) 70%, rgba(11, 11, 11, 0) 100%), url('../../piter_raduga.jpg');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: auto 100%;
  align-items: flex-start;
  justify-content: center;
  z-index: 1;
}

@media (max-width: 1024px) {
  .panel--case {
    background-size: cover;
  }
}

.case__container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 40px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 1024px) {
  .case__container {
    flex-direction: column;
    padding: 0 20px;
  }
}

.case__left {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.case__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(159, 48, 248, 0.12);
  border: 1px solid rgba(159, 48, 248, 0.3);
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  margin-top: 16px;
  margin-bottom: 32px;
  width: fit-content;
}

.case__badge svg {
  color: #9f30f8;
  font-size: 18px;
}

.case__subtitle {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.case__timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.case__step {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(20, 20, 20, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(159, 48, 248, 0.3);
  border-radius: 14px;
  padding: 14px 20px;
}

.case__step span {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.case__step-arrow {
  display: flex;
  justify-content: flex-start;
  padding-left: 20px;
  color: #9f30f8;
  font-size: 18px;
  margin: -4px 0;
}

.case__result {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case__result-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(20, 20, 20, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid #9f30f8;
  border-radius: 16px;
  padding: 20px 24px;
}

.case__result-card span {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
}

.case__result-card span span.highlight {
  color: #9f30f8;
}

@media (max-width: 768px) {
  .case__result-card span {
    font-size: 15px;
  }
}

/* ==========================================================================
   Bridge / Cooperation Section
   ========================================================================== */
.panel--bridge {
  background-color: #050505;
  background-image: linear-gradient(90deg, #050505 30%, rgba(5, 5, 5, 0.5) 70%, rgba(5, 5, 5, 0) 100%), url('../../hero_bg.jpg');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: auto 100%;
  position: relative;
  z-index: 4;
}

@media (max-width: 1024px) {
  .panel--bridge {
    background-size: cover;
  }
}

.bridge__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 1024px) {
  .bridge__container {
    padding: 0 20px;
  }
}

.bridge__title {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.bridge__title span {
  color: #9f30f8;
}

@media (max-width: 1024px) {
  .bridge__title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .bridge__title {
    font-size: 26px;
  }
}

.bridge__grid {
  display: grid;
  gap: 20px;
  margin-bottom: 48px;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
  .bridge__grid {
    grid-template-columns: 1fr;
  }
}

.coop-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(20, 20, 20, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(159, 48, 248, 0.3);
  border-radius: 18px;
  padding: 24px 32px;
  transition: all 0.3s ease;
}

.coop-card:hover {
  background: rgba(159, 48, 248, 0.1);
  border-color: #9f30f8;
}

@media (max-width: 768px) {
  .coop-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
}

.coop-card__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.coop-card__title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.coop-card__desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}
