:root {
  --accent: #ec9128;
  --text-main: #111;
  --text-secondary: #555;
  --background-light: #f4f4f4;
  --background-main: #fcfcfc;
  --responsive-width-trigger-point: 900px;
  --radius: 0px;
  --border: 1px solid #eee;
}

html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  background: var(--background-main);
  color: var(--text-main);
  font-size: 17px;
  letter-spacing: -0.011em;
}

body {
  /* min-height: 100vh; */
  display: flex;
  flex-direction: column;
}

.text-accent {
  color: var(--accent);
}
.text-bold {
  font-weight: 800;
}
.huge-top-margin {
  margin-top: 2.5em;
}

.container {
  /* background: transparent !important; */
  width: 100%;
  /* max-width: 980px; */
  margin: 0 auto;
  /* padding: 0 32px; */
}

.sticky-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 55;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.05);
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 38px;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.44s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.sticky-navbar.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.navbar-title {
  font-size: 1.64em;
  font-weight: 700;
  letter-spacing: -0.043em;
  color: var(--accent);
  opacity: 0;
  filter: blur(7px);
  transition: opacity 0.25s, filter 0.25s;
  position: relative;
  z-index: 2;
}
.sticky-navbar.show .navbar-title {
  opacity: 1;
  filter: none;
}

.navbar-links {
  list-style: none;
  display: flex;
  gap: 42px;
  margin: 0 auto 0 0;
  padding: 0;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 1.12em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s 0.06s, filter 0.28s;
  flex: 1 1 auto;
}
.sticky-navbar .navbar-links.showed {
  opacity: 1;
  pointer-events: auto;
  filter: none;
}

.navbar-links li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.19s, font-weight 0.2s;
  padding: 3px 7px;
  border-radius: 5px;
}
.navbar-links li a:hover,
.navbar-links li a:focus {
  color: var(--accent);
  background: rgba(236, 145, 40, 0.09);
  font-weight: bold;
}

/* HEADER NAV LINKS (top of page) */
.header-links {
  list-style: none;
  display: flex;
  gap: 42px;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 1.19em;
  margin: 18px 0 0 0;
  padding: 0;
  opacity: 1;
  transition: opacity 0.24s, filter 0.28s;
}
.header-links.hide {
  opacity: 0;
  pointer-events: none;
  filter: blur(9px) grayscale(1);
}
.header-links li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.19s, font-weight 0.2s;
  padding: 4px 10px;
  border-radius: 5px;
}
.header-links li a:hover,
.header-links li a:focus {
  color: var(--accent);
  background: rgba(236, 145, 40, 0.09);
  font-weight: bold;
}

header {
  padding-top: 80px;
  padding-bottom: 40px;
  text-align: center;
  /* background: var(--background-main); */
}

header h1 {
  font-weight: 700;
  font-size: 3.2em;
  letter-spacing: -0.048em;
  margin: 0;
  color: var(--text-main);
  position: relative;
  z-index: 10;
}

/* "Baunuri" part animate away */
.baunuri-move {
  display: inline-block;
  font-weight: 700;
  transition: opacity 1s, filter 0.5s, color 1s;
  will-change: filter, color, opacity;
}

.blur-out {
  opacity: 0;
  filter: blur(7px);
  pointer-events: none;
}

.main-slogan {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: 600;
  width: 100%;
}

.target-wrap {
  display: inline-block;
  min-width: 5.5em; /* 가장 긴 타겟 단어에 맞춰 고정폭 지정해도 좋음 ex. 6em */
  text-align: right; /* 타겟만 오른쪽정렬 */
  margin-right: 0.3em;
}

.fixed-part {
  display: inline-block;
  min-width: 5.5em;
  text-align: left;
  /* "를 위한 ..."이 항상 같은 지점에 있도록 margin을 사용해도 되고, flex의 정렬에 맡겨도 됩니다. */
}

#target {
  transition: opacity 0.7s;
  opacity: 1;
  font-weight: 800;
}
#target.fade-out {
  opacity: 0;
}
#target.fade-in {
  opacity: 1;
}

@media (max-width: 900px) {
  .sticky-navbar {
    padding: 0 14px;
    height: 48px;
  }
  .navbar-title {
    font-size: 1.13em;
  }
  .move-to-navbar {
    transform: translate(-126px, -48px) scale(0.6);
  }
}

header p {
  font-size: 1.4em;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 18px;
  margin-bottom: 0;
}

.section {
  margin-top: 120px;
  margin-bottom: 120px;
  /* background: var(--background-main); */
}

.section h2 {
  font-size: 2.1em;
  font-weight: 700;
  margin: 0 0 30px 0;
  text-align: center;
  color: var(--text-main);
  letter-spacing: -0.028em;
}

.section > p {
  color: var(--text-secondary);
  max-width: 700px;
  padding: 20px;
  margin: 0 auto 24px auto;
  font-size: 1.125em;
  text-align: center;
  line-height: 1.7;
}

.service-list {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 38px;
  flex-wrap: wrap;
}

.service-item {
  flex: 1 1 110px;
  /* min-width: 220px; */
  max-width: 300px;
  background: var(--background-light);
  border-radius: var(--radius);
  padding: 12px 18px 16px 18px;
  margin: 0;
  box-shadow: none;
  border: var(--border);
  transition: transform 0.18s cubic-bezier(0.4, 0, 0.6, 1),
    box-shadow 0.18s cubic-bezier(0.4, 0, 0.6, 1);
}

/* .service-item:hover {
    transform: translateY(-6px) scale(1.033);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
} */

.service-item h3 {
  font-weight: 700;
  font-size: 1.18em;
  margin-bottom: 12px;
  color: var(--text-main);
}

.service-item p {
  color: var(--text-secondary);
  font-size: 1em;
}

.portfolio-placeholder {
  background: var(--background-light);
  border-radius: var(--radius);
  padding: 64px 18px;
  text-align: center;
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 1.13em;
}

/* 포트폴리오 영역을 2열 그리드로 변경 */
.portfolio-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2rem;
  padding-bottom: 1rem;
  padding-left: 3rem;
  padding-right: 3rem;
  /* overflow-x: unset; */
  /* scrollbar-width: none; */
  /* scroll-snap-type: none; */
  flex-wrap: wrap;
}

.portfolio-item {
  flex: 1 1 110px;
  /* min-width: 220px; */
  /* max-width: 300px; */

  background: var(--background-light);
  border-radius: var(--radius);
  border: var(--border);
  /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07); */
  padding: 12px 18px 16px 18px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: start;
  min-height: 100px;
  /* Remove any scroll-snap-align or flex-basis */
}

/* CTA */
.cta-section {
  background: var(--background-light);

  padding: 48px 18px 36px 18px;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  margin-bottom: 28px;
  font-size: 1.02em;
  color: var(--text-secondary);
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: var(--background-light);
  font-weight: 600;
  font-size: 1.17em;
  border-radius: 50px;
  padding: 14px 38px;
  text-decoration: none;
  transition: background 0.18s;
  border: none;
  margin-top: 8px;
  box-shadow: none;
}

.cta-button:hover,
.cta-button:focus {
  background: #005bb5;
}

.footer {
  width: 100%;
  z-index: 2;
  text-align: center;
  background: var(--background-main);
  color: var(--text-secondary);
  font-size: 0.98em;
  padding: 34px 0 24px 0;
  margin-top: auto;
  letter-spacing: 0.01em;
  border-top: 1px solid #efefef;
}

.info-more {
  margin-top: 3em;
  margin-bottom: 3em;
  text-align: center;
}

@media (max-width: 600px) {
  .info-more {
    text-align: left;
    padding: 20px;
  }
  .mobile-hide-break {
    display: none !important;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0;
  }
  .navbar-links,
  .header-links {
    gap: 14px;
    font-size: 0.97em;
  }
  .navbar-links li a,
  .header-links li a {
    padding: 5px 4px;
    font-size: 0.98em;
  }
  .service-list {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  header {
    padding-top: 60px;
  }

  .portfolio-container {
    grid-template-columns: 1fr;
    gap: 1.3rem 0;
    padding-left: 0;
    padding-right: 0;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  header h1 {
    font-size: 2em;
    word-break: keep-all;
  }

  header p {
    font-size: 1.03em;
    margin-top: 10px;
  }

  .section {
    margin-top: 33px;
    margin-bottom: 33px;
    padding: 0 0 0 0;
  }

  .section h2 {
    font-size: 1.03em;
    margin-bottom: 18px;
  }

  .section > p {
    font-size: 0.97em;
    padding: 20px;
  }

  .portfolio-placeholder {
    border-radius: 0px;
    padding: 36px 6px;
    font-size: 0.96em;
    margin-top: 7px;
    margin-left: 0px;
    margin-right: 0px;
  }

  .cta-section {
    border-radius: 0px;

    padding: 24px 6px 20px 6px;
    margin-top: 22px;
  }

  .cta-section h2 {
    font-size: 1.13em;
  }

  .cta-section p {
    font-size: 0.93em;
  }

  .footer {
    z-index: 2;
    font-size: 0.93em;
    padding: 18px 0 12px 0;
  }

  .portfolio-item {
    border-radius: 0;
  }
  .mobile-hide-ai {
    display: none !important;
  }
}

.blur-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Subtle white overlay for extra frosty look (optional): */
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* PRICING SECTION */
/* Pricing section inherits base section styling for consistency */
.pricing-section {
  margin-top: 60px;
  margin-bottom: 60px;
  background: var(--background-main);
  /* max-width: 980px; */
  margin-left: auto;
  margin-right: auto;
  /* padding: 0 32px; */
}

.pricing-section h2 {
  font-size: 2.1em;
  font-weight: 700;
  margin: 0 0 30px 0;
  text-align: center;
  color: var(--text-main);
  letter-spacing: -0.028em;
}

.pricing-tiers {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 38px;
  flex-wrap: wrap;
}

.pricing-card {
  flex: 1 1 110px;
  /* min-width: 300px; */
  max-width: 300px;
  background: var(--background-light);
  border-radius: var(--radius);
  border: var(--border);
  padding: 30px 20px 28px 20px;
  margin: 0;
  box-shadow: none;
  transition: transform 0.18s cubic-bezier(0.4, 0, 0.6, 1),
    box-shadow 0.18s cubic-bezier(0.4, 0, 0.6, 1);
  display: flex;
  flex-direction: column;
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.pricing-card p {
  margin: 0 0 1.3rem 0;
  color: var(--text-secondary);
  font-size: 1em;
}

.pricing-amount {
  font-size: 1rem;
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 0.25rem;
  margin-top: auto;
  text-align: right;
}

.pricing-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 1rem;
}

.solution-head {
  margin: 3rem 0 1.5rem 0;
  font-weight: 500;
  font-size: 2rem;
  text-align: center;
}

.solution-cards {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 18px;
  flex-wrap: wrap;
}

.solution-card {
  flex: 1 1 110px;
  /* min-width: 160px; */
  /* max-width: 240px; */
  background: var(--background-light);
  border-radius: var(--radius);
  padding: 12px 18px 16px 18px;
  margin: 0;
  border: var(--border);
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.solution-card strong {
  font-size: 1.08em;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.solution-card p {
  font-size: 0.97rem;
  margin: 1rem 0 1rem 0;
  color: var(--text-secondary);
}

.solution-amount {
  color: var(--accent);
  font-weight: bold;
  margin-top: auto;
  font-size: 1rem;
  text-align: right;
}

.pricing-note {
  margin-top: 2.5rem;
  font-size: 0.97rem;
  color: #888;
  line-height: 1.7;
  text-align: center;
}

/* Mobile responsiveness */
@media (max-width: 900px) {
  .pricing-tiers,
  .solution-cards {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .pricing-section {
    margin: 33px 0;
    padding: 0;
    max-width: 100%;
  }
}

/***** TEAM SECTION *****/

.team-section {
  margin-top: 60px;
  margin-bottom: 60px;
  /* background: var(--background-main); */
  /* max-width: 980px; */
  margin-left: auto;
  margin-right: auto;
}

.team-section h2 {
  font-size: 2.1em;
  font-weight: 700;
  margin: 0 0 30px 0;
  text-align: center;
  color: var(--text-main);
  letter-spacing: -0.028em;
}

.team-list {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 38px;
}

.team-member {
  background: var(--background-light);
  border-radius: var(--radius);
  padding: 28px 22px 20px 22px;
  min-width: 210px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: none;
  border: var(--border);
  transition: transform 0.18s cubic-bezier(0.4, 0, 0.6, 1),
    box-shadow 0.18s cubic-bezier(0.4, 0, 0.6, 1);
}

.profile-pic-placeholder {
  width: 80px;
  height: 80px;
  background: #e5e3df;
  border-radius: 50%;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 2em;
  object-fit: cover;
}

.profile-info {
  /* width: 100%; */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.member-name {
  font-weight: 800;
  font-size: 1.5em;
  margin-bottom: 16px;
  color: var(--text-main);
}

.member-education {
  font-size: 1em;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 12px;
}

.member-majors {
  font-size: 1em;
  color: var(--text-secondary);
  font-weight: 300;
  text-align: center;
  margin-bottom: 1rem;
  min-height: 3rem;
}

.member-experience {
  font-size: 0.99em;
  height: 2.5rem;
  color: var(--text-secondary);
  text-align: center;
}

.member-links {
  font-size: 1em;
  color: var(--text-secondary);
  font-weight: 300;
  text-align: center;
  margin-top: 1rem;
  min-height: 2.5rem;
}

.member-links a {
  color: inherit;
  text-decoration: none;
}

.logo-rectangle {
  width: 200px;
}

/* Responsive for mobile */
@media (max-width: 900px) {
  .team-list {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .team-section {
    margin: 33px 0;
    padding: 0;
    /* max-width: 100%; */
  }
  .team-member {
    /* border-radius: 0; */
    /* min-width: 0; */
    width: 97vw;
    /* max-width: 370px; */
  }
}
