/* ===== CSS Variables ===== */
:root {
  --bg-dark: #1A1A1A;
  --bg-light: #F8F7F4;
  --bg-white: #FFFFFF;
  --accent: #7B8B5E;
  --accent-hover: #6A7A4E;
  --accent-light: rgba(123, 139, 94, 0.12);
  --text-primary: #1A1A1A;
  --text-on-dark: #F2F0EB;
  --text-secondary: #6B6B6B;
  --border: #E5E5E5;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn--accent {
  background: var(--accent);
  color: var(--bg-dark);
  border-radius: 100px;
  padding: 16px 40px;
}
.btn--accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(123, 139, 94, 0.3);
}

.btn--outline-white {
  background: transparent;
  color: var(--text-on-dark);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 100px;
  padding: 16px 40px;
}
.btn--outline-white:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn--lg {
  font-size: 16px;
  padding: 18px 44px;
}

.btn--white-sm {
  background: var(--bg-white);
  color: var(--accent);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
}
.btn--white-sm:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-on-dark);
  letter-spacing: -0.02em;
  transition: opacity 0.3s;
}
.nav--scrolled .nav__logo-text {
  color: var(--text-primary);
}
.nav__logo:hover .nav__logo-text {
  opacity: 0.8;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-on-dark);
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s;
}
.nav--scrolled .nav__link {
  color: var(--text-primary);
}
.nav__link:hover {
  background: rgba(255, 255, 255, 0.1);
}
.nav--scrolled .nav__link:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.nav__link--cta {
  background: var(--accent);
  color: var(--bg-dark) !important;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 100px;
}
.nav__link--cta:hover {
  background: var(--accent-hover) !important;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.nav__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-on-dark);
  transition: all 0.3s;
  border-radius: 2px;
}
.nav--scrolled .nav__hamburger span {
  background: var(--text-primary);
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--bg-dark) 70%);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
}

.hero__logo {
  width: 200px;
  margin: 0 auto 40px;
}

.hero__title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: var(--text-on-dark);
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(242, 240, 235, 0.7);
  line-height: 1.8;
  margin-bottom: 48px;
}

/* ===== Download Bar ===== */
.download-bar {
  background: var(--accent);
  padding: 18px 0;
}

.download-bar__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.download-bar__text {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

.download-bar__buttons {
  display: flex;
  gap: 10px;
}

/* ===== Section Common ===== */
.section {
  padding: 110px 0;
}

.section--light {
  background: var(--bg-light);
}

.section--dark {
  background: var(--bg-dark);
}

.section--white {
  background: var(--bg-white);
}

.section__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-align: center;
}

.section__title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.section--dark .section__title {
  color: var(--text-on-dark);
}

/* ===== About ===== */
.about__body {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about__body p {
  font-size: 17px;
  line-height: 2.0;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.about__body p:last-child {
  margin-bottom: 0;
}

.text-accent {
  color: var(--accent);
  font-weight: 700;
}

/* ===== CEO ===== */
.ceo {
  display: flex;
  align-items: center;
  gap: 64px;
}

.ceo__image-wrap {
  flex: 0 0 40%;
  max-width: 40%;
}

.ceo__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
}

.ceo__text {
  flex: 1;
  position: relative;
}

.ceo__quote-mark {
  font-size: 100px;
  font-weight: 700;
  color: var(--accent);
  line-height: 0.6;
  display: block;
  margin-bottom: 20px;
  font-family: Georgia, serif;
  opacity: 0.6;
}

.ceo__blockquote {
  border: none;
  margin: 0;
  padding: 0;
}

.ceo__blockquote p {
  font-size: 18px;
  line-height: 1.9;
  color: var(--text-on-dark);
  margin-bottom: 24px;
}
.ceo__blockquote p:last-child {
  margin-bottom: 32px;
}

.ceo__blockquote em {
  font-style: normal;
  color: var(--accent);
}

.ceo__name {
  font-size: 15px;
  color: rgba(242, 240, 235, 0.6);
}

.ceo__name strong {
  color: var(--accent);
  font-weight: 600;
}

/* ===== Cards (Why Us) ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.card__icon {
  font-size: 36px;
  display: block;
  margin-bottom: 20px;
}

.card__title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.card__desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ===== Steps (Process) ===== */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  text-align: center;
  padding: 32px 20px;
  border-radius: 16px;
  transition: background 0.3s;
}

.step:hover {
  background: var(--bg-light);
}

.step__number {
  display: block;
  font-size: 52px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  opacity: 0.7;
}

.step__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.step__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.step__connector {
  display: flex;
  align-items: center;
  padding-top: 56px;
  color: var(--border);
  font-size: 0;
  flex-shrink: 0;
  width: 40px;
}
.step__connector::before {
  content: '';
  display: block;
  width: 40px;
  border-top: 2px dashed var(--border);
}

/* ===== CTA ===== */
.cta {
  text-align: center;
}

.cta__title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 16px;
}

.cta__sub {
  font-size: 17px;
  color: rgba(242, 240, 235, 0.7);
  margin-bottom: 48px;
}

.cta__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta__hours {
  font-size: 14px;
  color: rgba(242, 240, 235, 0.4);
}

/* ===== Footer ===== */
.footer {
  background: #111111;
  padding: 60px 0 40px;
  text-align: center;
}

.footer__logo-text {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-bottom: 32px;
}

.footer__info {
  margin-bottom: 24px;
}

.footer__info p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 2;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.footer__links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.3s;
}
.footer__links a:hover {
  color: var(--accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}

.footer__legal {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.footer__legal a {
  font-size: 12px;
  color: var(--text-secondary);
}
.footer__legal a:hover {
  color: var(--accent);
}

.footer__legal span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.1);
}

.footer__copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.anim-fade-up {
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}

/* Scroll-triggered animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .section__title {
    margin-bottom: 40px;
  }

  /* Nav mobile */
  .nav__hamburger {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    align-items: stretch;
    padding: 100px 32px 40px;
    gap: 4px;
    transition: right 0.35s ease;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  }

  .nav__menu.active {
    right: 0;
  }

  .nav__link {
    color: var(--text-primary) !important;
    font-size: 16px;
    padding: 14px 16px;
    border-radius: 12px;
  }
  .nav__link:hover {
    background: var(--accent-light) !important;
    color: var(--accent) !important;
  }

  .nav__link--cta {
    margin-top: 12px;
    text-align: center;
    color: var(--bg-dark) !important;
  }

  /* Hero */
  .hero {
    min-height: 100vh;
  }

  .hero__logo {
    width: 150px;
    margin-bottom: 28px;
  }

  .hero__sub br {
    display: none;
  }

  /* Download bar */
  .download-bar__inner {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  /* CEO */
  .ceo {
    flex-direction: column;
    gap: 40px;
  }

  .ceo__image-wrap {
    flex: none;
    max-width: 100%;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .ceo__quote-mark {
    font-size: 72px;
  }

  .ceo__blockquote p {
    font-size: 16px;
  }

  /* Cards */
  .cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    padding: 32px 28px;
  }

  /* Steps */
  .steps {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .step {
    text-align: left;
    padding: 28px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
    align-items: baseline;
  }

  .step__number {
    font-size: 36px;
    margin-bottom: 0;
    flex: 0 0 auto;
  }

  .step__title {
    margin-bottom: 4px;
    flex: 1;
  }

  .step__desc {
    flex-basis: 100%;
    padding-left: 56px;
  }

  .step__connector {
    padding-top: 0;
    width: 100%;
    height: 0;
    display: none;
  }

  /* CTA */
  .cta__buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn--lg {
    width: 100%;
    max-width: 320px;
  }

  /* About */
  .about__body p {
    font-size: 16px;
  }
}

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
