:root {
  --bg-950: #020617;
  --bg-900: #050b1a;
  --bg-800: #0b1220;
  --card-900: rgba(15, 23, 42, 0.82);
  --card-800: rgba(15, 23, 42, 0.68);
  --card-700: rgba(30, 41, 59, 0.6);
  --text-100: #f8fafc;
  --text-200: #e2e8f0;
  --text-400: rgba(203, 213, 225, 0.78);
  --text-500: rgba(148, 163, 184, 0.82);
  --accent-blue: #38bdf8;
  --accent-indigo: #6366f1;
  --accent-pink: #f472b6;
  --accent-cyan: #22d3ee;
  --border-glass: rgba(148, 163, 184, 0.28);
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.32);
  --shadow-strong: 0 26px 60px rgba(8, 15, 35, 0.46);
  --gradient-primary: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.98) 0%,
    rgba(56, 189, 248, 0.92) 52%,
    rgba(244, 114, 182, 0.92) 100%
  );
  --gradient-card: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.2) 0%,
    rgba(56, 189, 248, 0.18) 100%
  );
  --gradient-body: radial-gradient(
    120% 120% at 10% 0%,
    #172554 0%,
    #0b1220 38%,
    #050b1a 62%,
    #020617 82%,
    #010409 100%
  );
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-950);
}

body {
  margin: 0;
  font-family: "Inter", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-200);
  min-height: 100vh;
  background: var(--gradient-body);
  overflow-x: hidden;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -40%;
  z-index: -2;
  pointer-events: none;
}

body::before {
  background: radial-gradient(
    60% 60% at 20% 20%,
    rgba(99, 102, 241, 0.32),
    rgba(12, 18, 34, 0) 70%
  );
  filter: blur(120px);
  opacity: 0.6;
}

body::after {
  background: radial-gradient(
    55% 55% at 80% 10%,
    rgba(56, 189, 248, 0.26),
    rgba(6, 11, 25, 0) 72%
  );
  filter: blur(140px);
  opacity: 0.65;
}

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

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

main {
  display: block;
}

h1,
h2,
h3 {
  color: var(--text-100);
  margin: 0;
  line-height: 1.2;
}

p {
  margin: 0;
  color: var(--text-400);
}

.container {
  width: min(1180px, 90vw);
  margin: 0 auto;
}

.section-heading {
  text-align: center;
  margin-bottom: clamp(3rem, 8vw, 4rem);
}

.section-heading h2 {
  font-size: clamp(2.3rem, 4vw, 3rem);
  font-weight: 700;
}

.section-heading p {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--text-500);
}

.hero {
  position: relative;
  padding: clamp(6rem, 12vw, 8.5rem) 0 clamp(4rem, 10vw, 6rem);
  overflow: hidden;
  color: var(--text-100);
}

.hero__bg {
  position: absolute;
  inset: -35% -20% -30%;
  background: radial-gradient(
    80% 80% at 50% 0%,
    rgba(99, 102, 241, 0.45),
    rgba(15, 23, 42, 0.1) 60%
  );
  filter: blur(90px);
  opacity: 0.85;
  z-index: 0;
}

.hero__logo {
  position: absolute;
  top: clamp(1.5rem, 4vw, 2.5rem);
  right: clamp(1.5rem, 6vw, 4rem);
  width: clamp(120px, 14vw, 160px);
  z-index: 2;
  filter: drop-shadow(0 12px 25px rgba(15, 23, 42, 0.45));
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  opacity: 0.8;
  filter: blur(0);
}

.hero__orb--one {
  width: 460px;
  height: 460px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.65),
    rgba(12, 18, 34, 0)
  );
  top: -80px;
  right: -120px;
  animation: float 16s ease-in-out infinite;
}

.hero__orb--two {
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.55),
    rgba(12, 18, 34, 0)
  );
  bottom: 10%;
  left: -140px;
  animation: float 18s ease-in-out infinite reverse;
}

.hero__orb--three {
  width: 260px;
  height: 260px;
  background: radial-gradient(
    circle,
    rgba(244, 114, 182, 0.45),
    rgba(12, 18, 34, 0)
  );
  top: 30%;
  right: 18%;
  animation: float 21s ease-in-out infinite alternate;
}

.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.18);
  mix-blend-mode: screen;
  opacity: 0.6;
  animation: pulse 12s ease-in-out infinite;
}

.hero__ring--outer {
  width: 780px;
  height: 780px;
  top: -220px;
  right: -260px;
}

.hero__ring--inner {
  width: 520px;
  height: 520px;
  top: 10%;
  right: 8%;
  animation-delay: 2s;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
}

.hero__content {
  flex: 1 1 420px;
  max-width: 560px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.32);
  color: rgba(224, 231, 255, 0.85);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__title {
  margin: 1.8rem 0 1.2rem;
  font-size: clamp(2.7rem, 5vw, 4rem);
  font-weight: 700;
  text-wrap: balance;
}

.hero__title span {
  display: block;
}

.hero__subtitle {
  margin: 0 0 2.4rem;
  font-size: 1.15rem;
  color: var(--text-400);
  text-wrap: pretty;
}

.hero__subtitle span {
  display: block;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 0 0 2.75rem;
  list-style: none;
}

.hero__pills li {
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.24);
  color: rgba(226, 232, 240, 0.86);
  font-size: 0.93rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  backdrop-filter: blur(14px);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.02rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}

.button--primary {
  background: var(--gradient-primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 20px 45px rgba(56, 189, 248, 0.28);
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(99, 102, 241, 0.32);
}

.button--glass {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 32px rgba(2, 6, 23, 0.3);
}

.button--glass:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.42);
  opacity: 0.92;
}

.hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2.75rem;
}

.metric {
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.metric__value {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #ffffff;
}

.metric__label {
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.7);
}

.hero__showcase {
  flex: 1 1 360px;
  min-height: 420px;
  position: relative;
}

.floating-card {
  position: absolute;
  width: min(320px, 88vw);
  padding: 1.9rem;
  border-radius: 26px;
  background: var(--card-900);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(24px);
  color: #ffffff;
  animation: float 7.5s ease-in-out infinite;
}

.floating-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.4),
    rgba(56, 189, 248, 0)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.floating-card:hover::after {
  opacity: 1;
}

.hero-card {
  z-index: 1;
  transition: box-shadow 0.3s ease, filter 0.3s ease;
}

.hero-card--active {
  z-index: 6;
  --tilt-scale: 1.07;
  box-shadow: 0 32px 68px rgba(15, 23, 42, 0.55);
  filter: brightness(1.05);
}

.floating-card--primary {
  top: 8%;
  left: clamp(6%, 9vw, 10%);
  background: linear-gradient(
    140deg,
    rgba(99, 102, 241, 0.92),
    rgba(37, 99, 235, 0.78)
  );
}

.floating-card--secondary {
  top: 16%;
  left: clamp(34%, 38vw, 40%);
  background: linear-gradient(
    140deg,
    rgba(56, 189, 248, 0.82),
    rgba(14, 165, 233, 0.65)
  );
  animation-delay: 1.2s;
}

.floating-card--tertiary {
  top: 24%;
  left: clamp(62%, 66vw, 69%);
  background: linear-gradient(
    140deg,
    rgba(244, 114, 182, 0.85),
    rgba(251, 191, 36, 0.6)
  );
  animation: float 9s ease-in-out infinite alternate;
}

.floating-card__chip {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.floating-card__title {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.floating-card__desc {
  font-size: 0.98rem;
  color: rgba(241, 245, 249, 0.86);
  line-height: 1.5;
}

.solutions {
  position: relative;
  padding: clamp(5rem, 10vw, 6.5rem) 0;
}

.solutions::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    65% 75% at 50% 0%,
    rgba(59, 130, 246, 0.16),
    rgba(2, 6, 23, 0)
  );
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
}

.solution-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.4rem);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.solution-card {
  position: relative;
  padding: 2.6rem 2.4rem;
  border-radius: 28px;
  background: rgba(10, 16, 29, 0.55);
  color: var(--text-200);
  border: 1px solid transparent;
  background-clip: padding-box;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 18px 48px rgba(8, 15, 35, 0.32);
  backdrop-filter: blur(18px);
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: var(--gradient-card);
  opacity: 0.7;
  z-index: -1;
}

.solution-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 26px 64px rgba(15, 23, 42, 0.46);
}

.solution-card__badge {
  display: inline-flex;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  color: rgba(226, 232, 240, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.35);
}

.solution-card__icon {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  margin-bottom: 1.4rem;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.85),
    rgba(56, 189, 248, 0.75)
  );
  box-shadow: 0 18px 32px rgba(56, 189, 248, 0.28);
}

.solution-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.solution-card p {
  font-size: 1rem;
  color: rgba(226, 232, 240, 0.75);
  margin-bottom: 1.8rem;
  text-wrap: pretty;
}

.solution-card p:not(:last-child) {
  margin-bottom: 0.75rem;
}

.solution-card__link {
  font-size: 0.95rem;
  color: rgba(148, 197, 255, 0.9);
  font-weight: 600;
}

.stack {
  padding: clamp(5.5rem, 11vw, 7rem) 0;
  position: relative;
}

.stack::before {
  content: "";
  position: absolute;
  inset: -10% 5% -5%;
  border-radius: 32px;
  background: linear-gradient(
    120deg,
    rgba(37, 99, 235, 0.16),
    rgba(15, 118, 110, 0.08)
  );
  opacity: 0.35;
  pointer-events: none;
}

.stack-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.5rem, 4.5vw, 2.6rem);
}

.stack-card--video-only {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 6vw, 4rem);
}

.stack-card--video-player {
  width: min(100%, 440px);
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: 0 34px 72px rgba(6, 11, 25, 0.52);
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(10, 16, 29, 0.65);
}

.stack-card--video-player::-webkit-media-controls {
  filter: invert(1);
}

.stack-card--experience {
  display: grid;
  gap: clamp(1.8rem, 4vw, 2.4rem);
  padding: clamp(3.2rem, 6vw, 4rem);
  align-content: start;
  position: relative;
}

.stack-card--experience p {
  font-size: 1.02rem;
  color: rgba(226, 232, 240, 0.78);
}

.stack-card--experience .image-rotator {
  margin-top: clamp(1.2rem, 3vw, 1.8rem);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.65);
}

.stack-card--aiot {
  display: grid;
  gap: clamp(1.6rem, 3vw, 2.4rem);
  padding: clamp(3.2rem, 6vw, 4rem);
  align-content: start;
}

.stack-card__aiot-media {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: clamp(2.2rem, 4.5vw, 2.8rem);
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
  background: radial-gradient(
      160% 140% at 30% 20%,
      rgba(99, 102, 241, 0.32),
      transparent 55%
    ),
    rgba(8, 14, 30, 0.78);
  box-shadow: inset 0 0 65px rgba(2, 6, 23, 0.45),
    0 24px 58px rgba(6, 11, 25, 0.4);
}

.stack-card__aiot-media img {
  width: min(100%, 420px);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 22px 42px rgba(2, 6, 23, 0.35));
  border-radius: 18px;
  opacity: 0.32;
}

.stack-card__aiot-content {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2rem);
}

.stack-card {
  position: relative;
  padding: 2.2rem;
  border-radius: 26px;
  background: rgba(6, 11, 25, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.18);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(6, 11, 25, 0.38);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.stack-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(
      135deg,
      rgba(99, 102, 241, 0.32),
      rgba(56, 189, 248, 0.12)
    )
    border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stack-card:hover {
  transform: translateY(-6px);
  border-color: rgba(148, 197, 255, 0.32);
}

.stack-card:hover::after {
  opacity: 1;
}

.stack-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: rgba(99, 102, 241, 0.24);
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: rgba(224, 231, 255, 0.86);
  font-weight: 600;
  margin-bottom: 1.35rem;
}

.stack-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}

.stack-card p {
  font-size: 1rem;
  color: rgba(226, 232, 240, 0.74);
  line-height: 1.6;
}

.contact {
  position: relative;
  padding: clamp(5rem, 11vw, 6.5rem) 0;
  color: var(--text-100);
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 118, 110, 0.42),
    rgba(99, 102, 241, 0.38)
  );
  opacity: 0.28;
  pointer-events: none;
}

.contact__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 6vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
  padding: clamp(2.6rem, 5vw, 3.2rem);
  border-radius: 28px;
  background: rgba(4, 7, 18, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 24px 50px rgba(2, 6, 23, 0.48);
  backdrop-filter: blur(26px);
}

.contact__text h2 {
  font-size: clamp(2.3rem, 3.5vw, 3rem);
}

.contact__text p {
  margin-top: 1rem;
  font-size: 1.08rem;
  color: rgba(224, 231, 255, 0.78);
}

.contact__items {
  display: grid;
  gap: 1.75rem;
}

.contact-item {
  display: grid;
  gap: 0.45rem;
}

.contact-item__label {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(148, 197, 255, 0.7);
}

.contact-item__value {
  margin: 0;
  color: rgba(241, 245, 249, 0.92);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-item__value--link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-item__value--link:hover {
  border-color: rgba(148, 197, 255, 0.42);
  color: rgba(148, 197, 255, 0.95);
}

.footer {
  position: relative;
  padding: 3rem 0 3.5rem;
  text-align: center;
  color: rgba(226, 232, 240, 0.68);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    80% 120% at 50% 100%,
    rgba(37, 99, 235, 0.2),
    rgba(2, 6, 23, 0)
  );
  opacity: 0.4;
  pointer-events: none;
}

.footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  align-items: center;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.84),
    rgba(37, 99, 235, 0.88)
  );
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.32);
}

.footer__copy {
  font-size: 0.95rem;
}

@keyframes float {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -18px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.65;
  }
}

@media (max-width: 1024px) {
  .hero__layout {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__showcase {
  width: 100%;
    min-height: 380px;
  }

  .floating-card {
    position: relative;
    margin-bottom: 1.5rem;
  width: 100%;
    animation: float 7s ease-in-out infinite;
  }

  .stack-card--video {
    grid-template-columns: 1fr;
  }
}

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

  .hero {
    padding-top: 5.5rem;
  }

  .hero__pills {
    gap: 0.6rem;
  }

  .hero__metrics {
    gap: 1.5rem;
  }

  .solutions,
  .stack,
  .contact {
    padding: 4.5rem 0;
  }

  .solution-card,
  .stack-card {
    padding: 2.2rem 1.9rem;
  }

  .stack-card--video {
    grid-column: span 1;
  }

  .contact__inner {
    padding: 2.2rem;
  }
}

@media (max-width: 520px) {
  .hero__title {
    font-size: 2.45rem;
  }

  .hero__subtitle br {
    display: none;
  }

  .hero__cta {
  width: 100%;
  }

  .hero__cta .button {
    flex: 1 1 100%;
    justify-content: center;
  }

  .metric {
    min-width: 120px;
  }

  .floating-card__chip {
    font-size: 0.7rem;
  }

  .footer__logo {
    padding: 0.65rem 1.4rem;
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

