html {
  scroll-behavior: smooth;
}

/* MAIN HERO */
.btn-primary-lg {
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 14px;
  padding: 17px 34px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s, transform 0.1s, box-shadow 0.18s;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(49,130,246,0.22);
  margin-left: 40px;
}

.btn-primary-lg:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.hero {
  background: linear-gradient(180deg, #f9fbff 0%, #ffffff 62%);
  padding: 92px 48px 32px;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(420px, 1fr);
  gap: 56px;
  align-items: center;
  min-height: 620px;
  overflow: hidden;
  position: relative;
}

.hero-content {
  width: 100%;
  max-width: 500px;
  margin-top: -120px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: block;
  margin-bottom: -15px;
}

.hero-badge-image {
  display: block;
  width: 400px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-left: 18px;
}

.hero h1 {
  font-size: clamp(32px, 3.9vw, 52px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -1.4px;
  margin-bottom: 22px;
  color: var(--black);
  margin-left: 40px;
}

.hero h1 strong {
  color: var(--blue);
  font-weight: 900;
}

.hero p {
  font-size: 17px;
  color: var(--gray);
  margin-bottom: 38px;
  line-height: 1.9;
  margin-left: 40px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
  z-index: 1 !important;
}

.hero-card {
  width: 420px;
  height: 260px;
  border-radius: 24px;
  background: linear-gradient(135deg, #1f2a44 0%, #2f80f6 100%);
  box-shadow: 0 30px 70px rgba(25,31,40,0.22);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  animation: floatCard 3.8s ease-in-out infinite;
  z-index: 2;
  margin-top: -90px;
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0px) rotate(-3deg);
  }

  50% {
    transform: translateY(-12px) rotate(-3deg);
  }
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -54px;
  right: -48px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.card-chip {
  width: 42px;
  height: 31px;
  background: linear-gradient(135deg, #f5d27a, #cc9c22);
  border-radius: 7px;
}

.card-logo {
  color: rgba(255,255,255,0.95);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.6px;
}

.card-number {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  letter-spacing: 2px;
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.card-name,
.card-expiry {
  color: rgba(255,255,255,0.78);
  font-size: 12px;
}

.bubble-wrap {
  position: absolute;
  bottom: 0;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 280px;
  animation: floatCard 4.5s ease-in-out infinite;
  z-index: 3;
}

.bubble {
  background: white;
  border-radius: 16px;
  padding: 17px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--black);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  border: 1px solid rgba(229,232,235,0.9);
}

/* COMMON INDEX SECTIONS */
section {
  padding: 70px 48px;
}

h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--black);
}

.sub {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 48px;
  line-height: 1.8;
}

/* SOLUTION SECTION */
.solution-section {
  background: #ffffff;
  text-align: center;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.sol-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 26px;
  text-align: left;
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
}

.sol-card:hover {
  box-shadow: 0 14px 36px rgba(49,130,246,0.10);
  transform: translateY(-4px);
  border-color: #d9e8ff;
}

.sol-icon {
  font-size: 30px;
  margin-bottom: 16px;
}

.sol-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--black);
}

.sol-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
}

.sol-tag {
  display: inline-block;
  margin-top: 14px;
  background: var(--blue-light);
  color: var(--blue-dark);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}

/* PROCESS SECTION */
.simple-process-section {
  padding: 100px 48px 96px;
  background: #ffffff;
  text-align: center;
}

.simple-process-section h2 {
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 900;
  letter-spacing: -1.2px;
  color: #07183f;
  margin-bottom: 26px;
}

.simple-process-sub {
  font-size: 19px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 92px;
}

.simple-process-flow {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 70px 1fr 70px 1fr 70px 1fr;
  align-items: center;
}

.simple-process-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.simple-process-item img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.simple-process-item strong {
  font-size: 22px;
  font-weight: 900;
  color: #07183f;
  letter-spacing: -0.6px;
}

.simple-process-arrow {
  font-size: 42px;
  font-weight: 300;
  color: #b8b8b8;
  transform: translateY(-18px);
}

/* REVIEW SECTION */
#review-section {
  scroll-margin-top: 105px;
}

.review-section {
  background: #ffffff;
  overflow: hidden;
}

.review-section h2,
.review-section .sub {
  text-align: center;
}

.review-marquee {
  width: 100%;
  overflow: hidden;
  margin-top: 42px;
  position: relative;
}

.review-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: reviewScroll 100s linear infinite;
  will-change: transform;
}

@keyframes reviewScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.review-card {
  width: 320px;
  min-height: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  flex-shrink: 0;
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
}

.review-company {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-2);
}

.review-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--black);
}

/* START SECTION */
.start-section {
  background: #ffffff;
}

.start-card {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: stretch;
  overflow: hidden;
  border-radius: 36px;
}

.start-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #dde5f1;
  border-radius: inherit;
  z-index: 0;
}

.start-image-wrap {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 36px 0 0 36px;
  padding: 24px;
}

.start-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.start-content {
  position: relative;
  z-index: 1;
  padding: 56px 56px 56px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 520px;
}

.start-eyebrow {
  font-size: 18px;
  color: #7b8798;
  margin-bottom: 8px;
  line-height: 1.4;
}

.start-content h2 {
  font-size: clamp(32px, 3vw, 52px);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--black);
  margin-bottom: 32px;
  line-height: 1.25;
}

.start-buttons {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  max-width: 360px;
}

.start-main-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  border-radius: 20px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(49,130,246,0.24);
  transition: background 0.18s, transform 0.18s;
}

.start-main-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.start-sub-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.start-sub-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 16px;
  background: rgba(255,255,255,0.92);
  color: var(--black);
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(25,31,40,0.05);
}

/* 공용 top/bottom 충돌 방지 */
.btn-ghost {
  margin-left: 0 !important;
}

.nav-actions {
  gap: 0 !important;
}

.nav-links a.active {
  color: var(--black);
}

/* TABLET */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  section {
    padding: 56px 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 0 20px 40px;
    text-align: center;
    gap: 0;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
    margin-top: 50px;
  }

  .hero-badge {
    margin-bottom: 4px;
  }

  .hero-badge-image {
    width: min(82vw, 320px);
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.28;
    letter-spacing: -0.8px;
    margin-left: 0;
    margin-bottom: 16px;
  }

  .hero p {
    font-size: 15px;
    line-height: 1.75;
    margin-left: 0;
    margin-bottom: 28px;
  }

  .btn-primary-lg {
    width: 100%;
    max-width: 320px;
    margin-left: 0;
    padding: 16px 22px;
    border-radius: 12px;
    text-align: center;
  }

  .hero-visual {
    min-height: 380px;
    align-items: flex-start;
    justify-content: center;
    margin-top: 300px;
  }

  .hero-card {
    width: min(92vw, 340px);
    height: 210px;
    border-radius: 20px;
    padding: 24px;
    margin-top: 0;
  }

  .card-number {
    font-size: 13px;
    letter-spacing: 1.6px;
  }

  .bubble-wrap {
    top: 230px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 320px);
    gap: 10px;
    margin-top: -180px;
    margin-left: -150px;
  }

  .bubble {
    padding: 14px;
    font-size: 13px;
    text-align: left;
  }

  h2 {
    font-size: 28px;
    letter-spacing: -0.6px;
  }

  .sub {
    font-size: 14px;
    margin-bottom: 32px;
  }

  .solution-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sol-card {
    border-radius: 18px;
    padding: 24px 20px;
  }

  .simple-process-section {
    padding: 72px 20px 70px;
  }

  .simple-process-section h2 {
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 18px;
  }

  .simple-process-sub {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 52px;
  }

  .simple-process-flow {
    width: 100%;
    max-width: 720px;
    grid-template-columns: 1fr 32px 1fr 32px 1fr 32px 1fr;
    gap: 0;
  }

  .simple-process-item {
    gap: 14px;
    min-width: 0;
  }

  .simple-process-item img {
    width: 82px;
    height: 82px;
  }

  .simple-process-item strong {
    font-size: 16px;
    white-space: nowrap;
  }

  .simple-process-arrow {
    font-size: 28px;
    transform: translateY(-14px);
  }

  .review-section {
    padding-left: 0;
    padding-right: 0;
  }

  .review-section h2,
  .review-section .sub {
    padding-left: 20px;
    padding-right: 20px;
  }

  .review-marquee {
    margin-top: 26px;
  }

  .review-track {
    gap: 14px;
    animation-duration: 80s;
  }

  .review-card {
    width: 280px;
    min-height: 205px;
    border-radius: 18px;
    padding: 20px;
  }

  .review-text {
    font-size: 14px;
    line-height: 1.75;
  }

  .start-section {
    padding: 56px 20px;
  }

  .start-card {
    grid-template-columns: 1fr;
    min-height: auto;
    border-radius: 22px;
  }

  .start-card::before {
    border-radius: 22px;
  }

  .start-image-wrap {
    min-height: 260px;
    padding: 18px 18px 0;
    border-radius: 22px 22px 0 0;
  }

  .start-content {
    min-height: auto;
    padding: 30px 18px 34px;
  }

  .start-eyebrow {
    font-size: 15px;
  }

  .start-content h2 {
    font-size: 30px;
    margin-bottom: 24px;
  }

  .start-buttons {
    max-width: 100%;
  }
}

/* MOBILE */
@media (max-width: 430px) {
  body {
    overflow-x: hidden;
  }

  section {
    padding: 48px 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 8px 20px 24px;
    gap: 0;
    text-align: center;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
    margin-top: 50px;
  }

  .hero-badge {
    margin-bottom: 4px;
  }

  .hero-badge-image {
    width: min(82vw, 320px);
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.28;
    letter-spacing: -0.8px;
    margin-left: 0;
    margin-bottom: 12px;
  }

  .hero p {
    font-size: 15px;
    line-height: 1.75;
    margin-left: 0;
    margin-bottom: 20px;
  }

  .btn-primary-lg {
    width: 100%;
    max-width: 320px;
    margin-left: 0;
    padding: 16px 22px;
    border-radius: 12px;
    text-align: center;
  }

  .hero-visual {
    min-height: 0;
    align-items: flex-start;
    justify-content: center;
    margin-top: 300px;
  }

  .hero-card {
    width: 80%;
    height: 180px;
    border-radius: 20px;
    padding: 24px;
    margin-top: -200px;
  }

  .card-number {
    font-size: 13px;
    letter-spacing: 1.6px;
  }

  .bubble-wrap {
    position: absolute;
    top: 150px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    gap: 10px;
    margin-top: -300px;
    margin-left: -100px;
  }

  .bubble {
    padding: 14px;
    font-size: 13px;
    text-align: left;
  }

  h2 {
    font-size: 28px;
    letter-spacing: -0.6px;
  }

  .sub {
    font-size: 14px;
    margin-bottom: 32px;
  }

  .solution-section {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 20px;
  }

  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .sol-card {
    width: 100%;
    min-width: 0;
    padding: 12px 8px;
    border-radius: 14px;
    aspect-ratio: 1 / 1.05;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .sol-icon {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .sol-title {
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 4px;
  }

  .sol-desc {
    font-size: 10px;
    line-height: 1.4;
  }

  .sol-tag {
    margin-top: 6px;
    padding: 2px 6px;
    font-size: 9px;
  }

  .simple-process-section {
    padding: 58px 10px 60px;
  }

  .simple-process-section h2 {
    font-size: 28px;
    line-height: 1.32;
    margin-bottom: 14px;
  }

  .simple-process-sub {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 42px;
  }

  .simple-process-flow {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr 18px 1fr 18px 1fr 18px 1fr;
    gap: 0;
  }

  .simple-process-item {
    gap: 8px;
    min-width: 0;
  }

  .simple-process-item img {
    width: 54px;
    height: 54px;
  }

  .simple-process-item strong {
    font-size: 11px;
    white-space: nowrap;
    letter-spacing: -0.5px;
  }

  .simple-process-arrow {
    font-size: 18px;
    transform: translateY(-10px);
  }

  .review-section {
    padding-left: 0;
    padding-right: 0;
  }

  .review-section h2,
  .review-section .sub {
    padding-left: 20px;
    padding-right: 20px;
  }

  .review-marquee {
    margin-top: 26px;
  }

  .review-track {
    gap: 14px;
    animation-duration: 80s;
  }

  .review-card {
    width: 280px;
    min-height: 205px;
    border-radius: 18px;
    padding: 20px;
  }

  .review-text {
    font-size: 14px;
    line-height: 1.75;
  }

  .start-section {
    padding: 56px 20px;
  }

  .start-card {
    grid-template-columns: 1fr;
    min-height: auto;
    border-radius: 22px;
  }

  .start-card::before {
    border-radius: 22px;
  }

  .start-image-wrap {
    min-height: 260px;
    padding: 18px 18px 0;
    border-radius: 22px 22px 0 0;
  }

  .start-content {
    min-height: auto;
    padding: 30px 18px 34px;
  }

  .start-eyebrow {
    font-size: 15px;
  }

  .start-content h2 {
    font-size: 30px;
    margin-bottom: 24px;
  }

  .start-buttons {
    max-width: 100%;
  }
}