:root {
  --theme-black: #050505;
  --theme-white: #ffffff;
  --theme-cyan: #00ffff;
  --theme-gray-1: #333333;
  --theme-gray-2: #999999;
  --theme-gray-3: #1a1a1a;
  --theme-gray-4: #0a0a0a;
  --font-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-futuristic: "Orbitron", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--theme-black);
  color: var(--theme-white);
  font-family: var(--font-base);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.p-header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p-header__logo-text {
  font-family: var(--font-futuristic);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  color: var(--theme-white);
}

.p-header__nav-list {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.p-header__nav-link {
  font-family: var(--font-futuristic);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--theme-white);
  transition: color 0.3s ease;
}

.p-header__nav-link:hover {
  color: var(--theme-cyan);
}

.p-header__nav-link.is-active {
  color: var(--theme-cyan);
}

.p-header__nav-link--contact {
  padding: 0.5rem 1.25rem;
  border: 0.0625rem solid var(--theme-cyan);
  color: var(--theme-cyan);
}

.p-header__nav-link--contact:hover {
  background-color: var(--theme-cyan);
  color: var(--theme-black);
  box-shadow: 0 0 0.9375rem var(--theme-cyan);
}

.p-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 1.875rem;
  height: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
}

.p-header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--theme-white);
  transition: all 0.3s ease;
}

.p-header__hamburger.is-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.p-header__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.p-header__hamburger.is-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.p-header__mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(5, 5, 5, 0.98);
  backdrop-filter: blur(0.625rem);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.p-header__mobile-nav.is-active {
  opacity: 1;
  visibility: visible;
}

.p-header__mobile-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.p-header__mobile-link {
  font-family: var(--font-futuristic);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--theme-white);
  letter-spacing: 0.2em;
}

.p-header__mobile-link:hover {
  color: var(--theme-cyan);
}

.p-header__mobile-link--contact {
  color: var(--theme-cyan);
  border-bottom: 0.0625rem solid var(--theme-cyan);
}

.l-footer {
  padding-block: 5rem;
  background-color: var(--theme-gray-4);
  text-align: center;
}

.l-footer__text {
  font-size: 0.875rem;
  color: var(--theme-gray-2);
}

.l-inner {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 2.5rem;
}
@media screen and (max-width: 768px) {
  .l-inner {
    padding-inline: 1.25rem;
  }
}

.l-main {
  padding-top: 5rem;
}

.l-footer {
  padding-block: 5rem;
  background-color: var(--theme-gray-4);
  text-align: center;
}

.c-button {
  display: inline-block;
  padding: 1rem 3rem;
  border: 0.0625rem solid var(--theme-cyan);
  color: var(--theme-cyan);
  font-family: var(--font-futuristic);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  background-color: transparent;
  cursor: pointer;
}

.c-button:hover {
  background-color: var(--theme-cyan);
  color: var(--theme-black);
  box-shadow: 0 0 1.25rem var(--theme-cyan);
}

.p-hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--theme-black);
}

.p-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}

.p-hero__container {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}

.p-hero__label {
  font-family: var(--font-futuristic);
  font-size: 0.875rem;
  color: var(--theme-cyan);
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
  display: block;
}

.p-hero__title {
  font-family: var(--font-futuristic);
  font-weight: 900;
  font-size: 7.5rem;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--theme-white);
  margin-bottom: 3.75rem;
}
@media screen and (max-width: 768px) {
  .p-hero__title {
    font-size: 3.75rem;
  }
}

.p-hero__stats {
  margin-top: 5rem;
}

.p-hero__stats-list {
  display: flex;
  justify-content: center;
  gap: 5rem;
}
@media screen and (max-width: 768px) {
  .p-hero__stats-list {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }
}

.p-hero__stats-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.p-hero__stats-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--theme-gray-2);
  letter-spacing: 0.1em;
}

.p-hero__stats-value {
  font-family: var(--font-futuristic);
  font-size: 3rem;
  font-weight: 700;
  color: var(--theme-white);
}
@media screen and (max-width: 768px) {
  .p-hero__stats-value {
    font-size: 2rem;
  }
}

.p-philosophy {
  padding-block: 10rem;
  background-color: var(--theme-black);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.p-philosophy__text {
  font-size: 1.25rem;
  color: var(--theme-gray-2);
  max-width: 50rem;
  line-height: 1.8;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .p-philosophy__text {
    font-size: 1rem;
  }
}

.p-philosophy__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-futuristic);
  font-size: 25vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.p-service {
  padding-block: 7.5rem;
  background-color: var(--theme-black);
  text-align: center;
}

.p-service__list {
  margin-top: 3.75rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
@media screen and (max-width: 1024px) {
  .p-service__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 768px) {
  .p-service__list {
    grid-template-columns: 1fr;
  }
}

.p-service__item {
  background-color: var(--theme-gray-4);
  padding: 3rem 2rem;
  border: 0.0625rem solid var(--theme-gray-1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-service__item:hover {
  border-color: var(--theme-cyan);
  transform: translateY(-0.625rem);
  box-shadow: 0 0 1.875rem rgba(0, 255, 255, 0.1);
}

.p-service__icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.p-service__item-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--theme-white);
}

.p-service__item-text {
  font-size: 0.9375rem;
  color: var(--theme-gray-2);
  line-height: 1.6;
}

.p-service__cta {
  margin-top: 5rem;
}

.p-page-service {
  padding-block: 6.25rem 10rem;
}

.p-page-service__item {
  margin-bottom: 5rem;
  border-bottom: 0.0625rem solid var(--theme-gray-1);
  padding-bottom: 2.5rem;
}

.p-page-service__item:last-child {
  border-bottom: none;
}

.p-page-service__item-title {
  color: var(--theme-cyan);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-family: var(--font-futuristic);
}

.p-page-service__item-text {
  color: var(--theme-white);
  line-height: 1.8;
  font-size: 1.125rem;
  max-width: 56.25rem;
}
@media screen and (max-width: 768px) {
  .p-page-service__item-text {
    font-size: 1rem;
  }
}

.p-news {
  padding-block: 7.5rem;
  background-color: var(--theme-black);
  text-align: center;
}

.p-news__list {
  max-width: 56.25rem;
  margin-inline: auto;
}

.p-news__item {
  border-bottom: 0.0625rem solid var(--theme-gray-1);
}

.p-news__link {
  display: flex;
  align-items: center;
  padding: 2rem 1rem;
  transition: all 0.3s ease;
  gap: 2.5rem;
}
@media screen and (max-width: 768px) {
  .p-news__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

.p-news__link:hover {
  background-color: rgba(255, 255, 255, 0.05);
  padding-inline: 2rem;
}

.p-news__date {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--theme-cyan);
  white-space: nowrap;
}

.p-news__text {
  flex: 1;
  text-align: left;
  font-size: 1rem;
  color: var(--theme-white);
  line-height: 1.6;
}

.p-news__arrow {
  width: 1.5rem;
  height: 0.0625rem;
  background-color: var(--theme-cyan);
  position: relative;
}

.p-news__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 0.5rem;
  height: 0.5rem;
  border-top: 0.0625rem solid var(--theme-cyan);
  border-right: 0.0625rem solid var(--theme-cyan);
}

.p-works {
  padding-block: 7.5rem;
  background-color: var(--theme-black);
  text-align: center;
}

.p-works__list {
  margin-top: 3.75rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.75rem;
}
@media screen and (max-width: 768px) {
  .p-works__list {
    grid-template-columns: 1fr;
  }
}

.p-works__item {
  position: relative;
  text-align: left;
  overflow: hidden;
}

.p-works__item-link {
  display: block;
}

.p-works__img-wrapper {
  aspect-ratio: 16/9;
  background-color: var(--theme-gray-3);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  border: 0.0625rem solid var(--theme-gray-1);
}

.p-works__img-wrapper::after {
  content: "CASE_STUDY";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-futuristic);
  font-size: 0.875rem;
  color: var(--theme-gray-1);
  letter-spacing: 0.2em;
}

.p-works__category {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--theme-cyan);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  display: block;
}

.p-works__item-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--theme-white);
  margin-bottom: 0.75rem;
}

.p-works__item-desc {
  font-size: 0.875rem;
  color: var(--theme-gray-2);
  line-height: 1.6;
}

.p-company {
  padding-block: 7.5rem;
  background-color: var(--theme-black);
  text-align: center;
}

.p-company__content {
  max-width: 50rem;
  margin-inline: auto;
}

.p-company__list {
  display: flex;
  flex-direction: column;
}

.p-company__item {
  display: flex;
  padding-block: 2rem;
  border-bottom: 0.0625rem solid var(--theme-gray-1);
  text-align: left;
}
@media screen and (max-width: 768px) {
  .p-company__item {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.p-company__term {
  width: 12.5rem;
  font-weight: 700;
  color: var(--theme-gray-2);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
}

.p-company__desc {
  flex: 1;
  color: var(--theme-white);
  font-size: 1rem;
  margin-left: 0;
}

.p-page-company {
  padding-block: 6.25rem 10rem;
}

.p-company-profile-list {
  display: flex;
  flex-direction: column;
  max-width: 50rem;
  margin-inline: auto;
}

.p-company-profile-item {
  display: flex;
  padding-block: 2rem;
  border-bottom: 0.0625rem solid var(--theme-gray-1);
}
@media screen and (max-width: 768px) {
  .p-company-profile-item {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.p-company-profile-term {
  width: 12.5rem;
  font-weight: 700;
  color: var(--theme-gray-2);
  font-size: 0.875rem;
}

.p-company-profile-desc {
  flex: 1;
  color: var(--theme-white);
  font-size: 1rem;
  margin-left: 0;
}

.p-contact {
  padding-block: 10rem;
  background-color: var(--theme-black);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.p-contact__container {
  max-width: 50rem;
  margin-inline: auto;
}

.p-contact__title {
  font-family: var(--font-futuristic);
  font-size: 3rem;
  font-weight: 900;
  color: var(--theme-white);
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 768px) {
  .p-contact__title {
    font-size: 2rem;
  }
}

.p-contact__text {
  font-size: 1.125rem;
  color: var(--theme-gray-2);
  margin-bottom: 3.75rem;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .p-contact__text {
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .u-desktop-only {
    display: none !important;
  }
}

.u-mobile-only {
  display: none !important;
}
@media screen and (max-width: 768px) {
  .u-mobile-only {
    display: block !important;
  }
}

.u-text-center {
  text-align: center;
}
