:root {
  --color-text: #1d1d1d;
  --color-text-strong: #1e1e1e;
  --color-subtle: #727273;
  --color-soft: #f5f5f7;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-dark-panel: #020617;
  --color-dark-card: #222222;
  --color-terminal: #202124;
  --color-green: #22c55e;
  --color-indigo: #6366f1;
  --color-gray-light: #e5e7eb;
  --color-gray-mid: #9ca3af;
  --container: 1200px;
  --container-wide: 1152px;
  --container-inner: 958px;
  --radius-xl: 20px;
  --radius-lg: 12px;
  --radius-md: 8px;
  --font-main: "Pretendard Variable", Pretendard, "Noto Sans KR", sans-serif;
  --font-mono: "Courier New", Courier, monospace;
  --shadow-soft: 0 3px 12px rgba(0, 0, 0, 0.08);
}



html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  color: var(--color-text);
  font-family: var(--font-main);
  background: #ffffff;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
ul {
  margin: 0;
}

.page {
  width: 100%;
  overflow-x: hidden;
}

.container {

  max-width: var(--container);
  margin: 0 auto;
}

.container2 {

  max-width: var(--container);
  margin: 0 auto;
}

.container--wide {
  max-width: var(--container-wide);
}

.container--inner {
  max-width: var(--container-inner);
}

.site-header {
  width: 100%;
  background: var(--color-white);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  min-height: 63px;
}

.site-logo {
  width: 167.217px;
  height: 31px;
  flex: 0 0 auto;
}

.site-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  flex: 1 0 0;
  justify-content: flex-end;
  gap: 32px;
  min-height: 21px;
  min-width: 0;
}

.site-nav a,
.site-nav span {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.375px;
  color: var(--color-text-strong);
  white-space: nowrap;
}

.hero {
display: flex;
padding: 120px 0 0 0;
flex-direction: column;
align-items: center;
align-self: stretch;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%),
    linear-gradient(109.974deg, #0a1a2f 0%, #0c3b6a 100%);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hero__row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--color-white);
  white-space: nowrap;
}

.hero-copy__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.48px;
}

.hero-copy__desc {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.17px;
}

.hero-terminal {
  position: relative;
  width: 335px;
  height: 225px;
  border-radius: 6.667px;
  background: #353535;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.hero-terminal__topbar {
  display: flex;
  align-items: center;
  height: 21px;
  padding: 0 0 0 7.2px;
  background: #000000;
}

.hero-terminal__dots {
  display: flex;
  gap: 5.2px;
}

.hero-terminal__dot {
  width: 8.527px;
  height: 8.527px;
  border-radius: 50%;
}

.hero-terminal__dot--red {
  background: #ff5f57;
}

.hero-terminal__dot--yellow {
  background: #ffbd2e;
}

.hero-terminal__dot--green {
  background: #28c840;
}

.hero-terminal__address {
  position: absolute;
  top: 29px;
  left: 63px;
  width: 207.752px;
  height: 22.481px;
  border-radius: 20.833px;
  background: var(--color-terminal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-light);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 26px;
}

.hero-terminal__screen {
  position: absolute;
  top: 59px;
  left: 7px;
  width: 321px;
  height: 161px;
  border-radius: 6px;
  background: var(--color-terminal);
  padding: 4px 16px 0;
}

.hero-terminal__line {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 26px;
  white-space: nowrap;
}

.hero-terminal__line--green {
  color: var(--color-green);
}

.hero-terminal__line--white {
  color: var(--color-gray-light);
}

.hero-terminal__line--indigo {
  color: var(--color-indigo);
}

.hero-terminal__line--gray {
  color: var(--color-gray-mid);
}

.hero__glow {
  width: 100%;
  max-width: 1119.127px;
  height: 92px;
}

.hero__glow img {
width: 1119.127px;
height: 92px;
 fill: linear-gradient(180deg, #6F32E8 0%, rgba(0, 0, 0, 0.00) 208.67%);
filter: blur(26.850000381469727px);
}

.section-intro {
  padding: 160px 24px;
}

.section-intro__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.section-title--xl {
  font-size: 58px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -1.45px;
  text-align: center;
}

.lead-copy {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.4px;
  text-align: center;
}

.highlight-box {
  background: var(--color-dark-card);
  border-radius: 20px;
  padding: 50px 60px;
}

.highlight-box p {
  color: var(--color-white);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.4px;
  text-align: center;
  white-space: nowrap;
}

.section-overview {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 109px 160px 106px;
}

.section-overview__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 109px;
}

.feature-icon {
  width: 180px;
  height: 180px;
  flex: 0 0 auto;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.copy-stack {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.2px;
}

.section-title--regular-line {
  line-height: 1.4;
}

.subtitle {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.4px;
  color: var(--color-subtle);
}

.body-copy {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.32px;
}

.body-copy p + p {
  margin-top: 10px;
}

.section-soft {
  background: var(--color-soft);
  padding: 160px 24px;
}

.section-soft__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
}

.architecture-block {
  display: flex;
  flex-direction: column;
  gap: 67px;
  width: 100%;
}

.architecture-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.architecture-media__diagram {
  width: 958px;
}

.architecture-media__diagram img {
  width: 100%;
  height: 100%;
}

.architecture-media__caption {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.34px;
  text-align: center;
}

.code-card {
  width: 100%;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 48px 70px;
  overflow-x: auto;
}

.code-card pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  color: #222222;
  white-space: pre;
}

.section-stream {
  width: 100%;
}

.section-stream__copy {
  padding: 160px 121px 100px;
}

.section-stream__copy-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.section-stream__copy-inner .copy-stack {
  gap: 20px;
}

.stream-code {
  display: flex;
  justify-content: center;
  padding: 0 24px;
}

.stream-code__panel {
  background: var(--color-dark-panel);
  border-radius: 8px;
  padding: 44px 100px;
  overflow-x: auto;
}

.stream-code__panel pre {
  margin: 0;
  color: var(--color-gray-light);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
  white-space: pre;
}

.stream-note {
 display: flex;
padding: 26px 0 160px 0;
flex-direction: column;
align-items: center;
align-self: stretch;
width: var(--container);
margin: auto;
}

.section-dark {
  background: var(--color-black);
  padding: 160px 24px;
}

.section-dark__inner {
  display: flex;
  flex-direction: column;
  gap: 160px;
}

.advantage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 121px;
  gap: 60px;
}

.advantage-row--reverse {
  flex-direction: row-reverse;
}

.advantage-copy {
  display: flex;
  flex-direction: column;
  gap: 30px;
  color: var(--color-white);
}

.advantage-copy .subtitle {
  color: var(--color-white);
}

.advantage-copy .body-copy,
.advantage-copy .section-note {
  color: var(--color-white);
}

.advantage-copy .section-note {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.28px;
}

.advantage-copy .body-copy,
.advantage-copy .subtitle,
.advantage-copy .section-title {
  white-space: nowrap;
}

.advantage-icon {
  width: 180px;
  flex: 0 0 auto;
}

.advantage-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.section-future {
  background: var(--color-soft);
  padding: 160px 24px;
}

.section-future__inner {
  display: flex;
  flex-direction: column;
  gap: 67px;
}

.card-grid {
  display: flex;
  gap: 20px;
}

.info-card {
  flex: 1 1 0;
  background: var(--color-white);
  border-radius: 20px;
  padding: 60px 15px 60px 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-card__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.7px;
}

.info-card__body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.32px;
}

.info-card__body p + p {
  margin-top: 10px;
}

.info-card__note {
  margin-top: auto;
  width: 258px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.28px;
}

.site-footer {
  max-width: var(--container);
  margin: 0 auto;
  padding: 45px 32px 80px;
}

.site-footer__inner {
  display: flex;
  align-items: flex-start;
  gap: 96px;
}

.site-footer__brand {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer__brand-logo {
  width: 145px;
  height: 26.881px;
}

.site-footer__brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer__copyright {
  color: rgba(0, 0, 0, 0.5);
  font-size: 12px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.12px;
}

.site-footer__meta {
  display: flex;
  gap: 32px;
  color: rgba(0, 0, 0, 0.55);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.24px;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__col--company {
  width: 150px;
}

.site-footer__col--address {
  width: 245px;
}

.asset-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(29, 29, 29, 0.2);
  background: rgba(255, 255, 255, 0.55);
  color: rgba(29, 29, 29, 0.7);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.asset-note--logo {
  width: 100%;
  height: 100%;
}

.asset-note--diagram {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.asset-note--icon {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.asset-note--glow {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  border-color: rgba(255, 255, 255, 0.28);
  background: radial-gradient(circle at center, rgba(124, 58, 237, 0.45) 0%, rgba(124, 58, 237, 0.15) 35%, rgba(124, 58, 237, 0) 72%);
  color: rgba(255, 255, 255, 0.75);
}


.header {
height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;

    width: 80%;
    max-width: 1200px;
    top: 0;
    z-index: 1000;
    margin: auto;

}


.retoin-logo img {
      height: 2rem;
}

.nav-menu {
  display: flex;

  gap: 30px;
}

.nav-item {
color: #1E1E1E;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

.nav-item.active {
    color: #008AFC;
}
.language-dropdown {
  position: relative;
  display: none;
}

.dropdown-btn {
  padding: 8px 12px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-btn img {
  width: 20px;
  height: 15px;
}

.dropdown-arrow {
  font-size: 12px;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  min-width: 120px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  z-index: 1000;
}

.dropdown-content a {
  padding: 8px 12px;
  text-decoration: none;
  color: black;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-content a:hover {
  background-color: #f5f5f5;
}

.dropdown-content img {
  width: 20px;
  height: 15px;
}

.language-dropdown:hover .dropdown-content {
  display: block;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-icon {
  display: flex;
  width: 25px;
  height: 2px;
  background: #1e1e1e;
  position: relative;
  transition: all 0.3s;
}

.mobile-menu-icon::before,
.mobile-menu-icon::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 2px;
  background: #1e1e1e;
  transition: all 0.3s;
}

.mobile-menu-icon::before {
  transform: translateY(-8px);
}

.mobile-menu-icon::after {
  transform: translateY(8px);
}

.mobile-menu-btn.open .mobile-menu-icon {
  background: transparent;
}

.mobile-menu-btn.open .mobile-menu-icon::before {
  transform: rotate(45deg);
}

.mobile-menu-btn.open .mobile-menu-icon::after {
  transform: rotate(-45deg);
}

.nav-group {
  position: relative;
}

.nav-group .has-sub {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 500;
  color: #1e1e1e;
  transition: color 0.3s ease;
}

.nav-group .has-sub::after {
  content: "▼";
  font-size: 10px;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.nav-group.open .has-sub::after {
  transform: rotate(180deg);
}

.nav-group .has-sub:hover {
  color: #0071e3;
}

.submenu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  z-index: 2000;
  animation: slideDown 0.3s ease;
}

.submenu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-group.open .submenu {
  display: block;
}

.submenu a {
  display: block;
  padding: 12px 20px;
  color: #333;
  font-size: 15px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.submenu a:hover {
  background: #f5f7fb;
  color: #0071e3;
  padding-left: 24px;
}

@media (max-width: 1200px) {

  .site-header__inner,
  .section-overview,
  .section-stream__copy,

  .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .section-overview {
    padding-top: 80px;
    padding-bottom: 160px;
  }

  .section-stream__copy {
    padding-top: 160px;
    padding-bottom: 100px;
  }

  .advantage-copy .body-copy,
  .advantage-copy .subtitle,
  .advantage-copy .section-title,
  .highlight-box p,
  .lead-copy {
    white-space: normal;
  }

  .card-grid,
  .hero__row,
  .section-overview__grid,
  .advantage-row,
  .advantage-row--reverse,
  .site-footer__inner {
    flex-wrap: wrap;
  }

  .card-grid > * {
    min-width: calc(50% - 10px);
  }
}

@media (max-width: 799.98px) {
  .site-header__inner,
  .site-nav,
  .hero__row,
  .section-overview__grid,
  .advantage-row,
  .advantage-row--reverse,
  .card-grid,
  .site-footer__inner,
  .site-footer__meta {
    flex-direction: column;
  }
  .hero__glow{
    display: none;
  }

  .advantage-row{
padding: 0 10px;
  }

  
.mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    /* Mobile Menu Open State */
    .mobile-menu-btn.open .mobile-menu-icon {
        background: transparent;
    }

    .mobile-menu-btn.open .mobile-menu-icon::before {
        transform: rotate(45deg);
    }

    .mobile-menu-btn.open .mobile-menu-icon::after {
        transform: rotate(-45deg);
    }

  .nav-menu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 70px;
        right: 0;
        width: 280px;
        height: calc(100vh - 70px);
        background: white;
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
        padding: 20px;
        gap: 0;
        overflow-y: auto;
        
  justify-content: flex-start;
  align-items: flex-start;
        
    }

    .nav-menu.open {
        display: flex;
    } 

    .nav-item {
        width: 100%;
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-group {
        width: 100%;
    }

    .submenu {
        display: block !important;
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        background: transparent;
        margin-top: 0;
        animation: none;
    }
    
    .submenu::before {
        display: none;
    }

    .submenu a {
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
    }

    .submenu a:hover {
        padding-left: 24px;
        background: #f8f9fa;
        
    }
    .submenu a:last-child { border-bottom: none; }  

  .header {
    padding: 16px;
    position:  fixed;
    top:0px;
    background:#FFFFFF;
    width: 95%;
        z-index: 1000;
  }




  .hero-copy,
  .section-title,
  .section-title--xl,
  .subtitle,
  .body-copy,
  .lead-copy,
  .highlight-box p,
  .advantage-copy,
  .site-footer {
    white-space: normal;
  }

  .hero,
  .section-intro,
  .section-soft,
  .section-dark,
  .section-future {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .hero-copy__title,
  .section-title,
  .section-title--xl {
    font-size: 36px;
  }

  .section-stream__copy {
    padding-top: 96px;
    padding-bottom: 60px;
  }

  .stream-note {
    padding-bottom: 96px;
  }

  .card-grid > * {
    min-width: 100%;
  }

  .hero-terminal,
  .architecture-media__diagram,
  .stream-code__panel,
  .code-card,
  .highlight-box,
  .info-card {
    width: 100%;
  }

  .stream-code__panel,
  .code-card,
  .highlight-box {
    padding-left: 24px;
    padding-right: 24px;
  }

  .info-card__note,
  .site-footer__col--company,
  .site-footer__col--address {
    width: auto;
  }
}
