/* ========================================
   ADV2.KR - Advanced Advocates Inc.
   Design Tokens & Base Styles
   ======================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

:root {
  --bg: #000000;
  --accent: #F26A31;
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-dim: rgba(255, 255, 255, 0.4);
  --pill-radius: 50px;
  --card-radius: 66px;
  --font-en: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-kr: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1400px;
  --side-pad: 80px;
}

/* ========================================
   Reset & Base
   ======================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-kr);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ========================================
   Utility
   ======================================== */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.section-pad {
  padding: 120px 0;
}

/* ========================================
   1. Hero Section
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 0 var(--side-pad);
}

.hero__logo img {
  width: 236px;
  height: auto;
  margin-bottom: 16px;
}

.hero__heading {
  font-family: var(--font-en);
  font-weight: 700;
  font-style: italic;
  font-size: 120px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 1200px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-family: var(--font-kr);
  font-size: 30px;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 800px;
  line-height: 1.5;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  border: 1.5px solid var(--text-primary);
  border-radius: var(--pill-radius);
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-primary);
  transition: all 0.3s ease;
  margin-top: 16px;
}

.hero__cta:hover {
  background: var(--text-primary);
  color: var(--bg);
}

/* ========================================
   2. About Section
   ======================================== */

.about {
  padding: 140px 0;
}

.about__heading {
  font-family: var(--font-en);
  font-weight: 700;
  font-style: italic;
  font-size: 50px;
  line-height: 1.2;
  color: var(--accent);
  max-width: 900px;
  margin-bottom: 48px;
}

.about__body {
  font-size: 28px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 1100px;
}

/* ========================================
   3. Values Section
   ======================================== */

.values {
  padding: 100px 0;
}

.values__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.values__item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.values__item--right {
  justify-content: flex-end;
}

.values__item--left {
  justify-content: flex-start;
}

.values__pill {
  display: inline-flex;
  align-items: center;
  padding: 18px 36px;
  border: 1.5px solid var(--accent);
  border-radius: var(--pill-radius);
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  color: var(--text-primary);
  white-space: nowrap;
}

.values__desc {
  font-family: var(--font-kr);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 600px;
}

.values__item--right .values__desc {
  text-align: right;
}

/* ========================================
   4. Brand Banner
   ======================================== */

.brand-banner {
  padding: 80px 0;
  overflow: hidden;
}

.brand-banner__inner {
  display: flex;
  align-items: center;
  width: 100%;
}

.brand-banner__inner img {
  width: 50%;
  height: auto;
  flex-shrink: 0;
}

/* ========================================
   5. Services Section
   ======================================== */

.services {
  padding: 140px 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.services__item {}

.services__number {
  font-family: var(--font-en);
  font-size: 60px;
  font-weight: 700;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.services__title {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 700;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.services__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.services__list li {
  font-family: var(--font-kr);
  font-size: 20px;
  font-weight: 300;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}

.services__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* ========================================
   6 & 8. Decorative Arrows
   ======================================== */

.arrows {
  padding: 60px 0;
  text-align: center;
}

.arrows img {
  margin: 0 auto;
  max-width: 200px;
}

/* ========================================
   7. Statement Section
   ======================================== */

.statement {
  padding: 100px 0;
}

.statement__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

.statement__text {
  font-family: var(--font-kr);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--accent);
  max-width: 900px;
}

.statement__deco {
  flex-shrink: 0;
  width: 120px;
}

/* ========================================
   9. Flow Section
   ======================================== */

.flow {
  padding: 140px 0;
}

.flow__header {
  margin-bottom: 40px;
}

.flow__title {
  font-size: 70px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.flow__title-accent {
  color: var(--accent);
  font-family: var(--font-kr);
}

.flow__title-outline {
  font-family: var(--font-en);
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 2px var(--text-primary);
}

.flow__subtitle {
  font-family: var(--font-kr);
  font-size: 28px;
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 80px;
}

.flow__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.flow__card {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
}

.flow__card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.flow__card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flow__card-content {
  position: relative;
  z-index: 1;
}

.flow__card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  margin-left: 40px;
}

.flow__card-number {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  opacity: 0.7;
  margin-bottom: 8px;
}

.flow__card-title {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.flow__card-title-kr {
  font-family: var(--font-kr);
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.flow__card-desc {
  font-family: var(--font-kr);
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

/* ========================================
   10. Large ADV Logo
   ======================================== */

.adv-large {
  padding: 120px 0;
  text-align: center;
}

.adv-large img {
  margin: 0 auto;
  max-width: 900px;
  width: 80%;
}

/* ========================================
   11. Results Header
   ======================================== */

.results-header {
  padding: 80px 0 40px;
}

.results-header__title {
  font-family: var(--font-kr);
  font-size: 60px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text-primary);
  text-align: center;
}

/* ========================================
   12. Results Stats
   ======================================== */

.results-stats {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.results-stats__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.results-stats__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.results-stats__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.results-stats__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.results-stats__item {}

.results-stats__number {
  font-family: var(--font-en);
  font-size: 72px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 12px;
}

.results-stats__label {
  font-family: var(--font-kr);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-secondary);
}

/* ========================================
   13. Results Description
   ======================================== */

.results-desc {
  padding: 60px 0 80px;
  text-align: center;
}

.results-desc__text {
  font-family: var(--font-kr);
  font-size: 36px;
  font-weight: 400;
  color: var(--text-primary);
}

/* ========================================
   14. Our Work Section
   ======================================== */

.our-work {
  padding: 140px 0;
}

.our-work__title {
  font-family: var(--font-en);
  font-size: 120px;
  font-weight: 700;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 2px var(--text-primary);
  text-align: center;
  line-height: 1;
  margin-bottom: 16px;
}

.our-work__subtitle {
  font-family: var(--font-kr);
  font-size: 36px;
  font-weight: 400;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 80px;
}

.our-work__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.our-work__card {
  border: 1.5px solid var(--accent);
  border-radius: var(--card-radius);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 320px;
  transition: background 0.3s ease;
}

.our-work__card:hover {
  background: rgba(242, 106, 49, 0.05);
}

.our-work__card-title {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.3;
}

.our-work__card-desc {
  font-family: var(--font-kr);
  font-size: 20px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   15. CTA Section
   ======================================== */

.cta {
  padding: 140px 0;
  text-align: center;
}

.cta__quote {
  width: 48px;
  height: auto;
  margin: 0 auto 32px;
  opacity: 0.5;
}

.cta__heading {
  font-family: var(--font-en);
  font-size: 70px;
  font-weight: 700;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 24px;
}

.cta__sub {
  font-family: var(--font-kr);
  font-size: 44px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 48px;
  line-height: 1.4;
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 48px;
  background: var(--accent);
  border-radius: var(--pill-radius);
  font-family: var(--font-kr);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.3s ease;
  margin-bottom: 24px;
}

.cta__btn:hover {
  background: #d95a25;
  transform: translateY(-2px);
}

.cta__btn img {
  width: 24px;
  height: 24px;
}

.cta__quote-close {
  margin-top: 40px;
}

.cta__download-link {
  font-family: var(--font-kr);
  font-size: 18px;
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cta__download-link:hover {
  color: var(--text-secondary);
}

/* ========================================
   16. Portfolio Section
   ======================================== */

.portfolio {
  padding: 80px 0;
}

.portfolio__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.portfolio__image {
  flex: 1;
  border-radius: 24px;
  overflow: hidden;
}

.portfolio__image img {
  width: 100%;
  height: auto;
}

.portfolio__action {
  flex-shrink: 0;
}

.portfolio__btn {
  display: inline-flex;
  align-items: center;
  padding: 18px 36px;
  border: 1.5px solid var(--accent);
  border-radius: var(--pill-radius);
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  transition: all 0.3s ease;
}

.portfolio__btn:hover {
  background: var(--accent);
  color: var(--text-primary);
}

/* ========================================
   17. Footer
   ======================================== */

.footer {
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.footer__logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.footer__logo-l img {
  height: 56px;
  width: auto;
}
.footer__logo-r img {
  height: 48px;
  width: auto;
}

.footer__info {
  font-family: var(--font-kr);
  font-size: 14px;
  color: var(--text-dim);
  line-height: 2;
}

.footer__company-name {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.footer__details {
  margin-bottom: 24px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer__copyright {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--text-dim);
}

.footer__privacy {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.footer__privacy:hover {
  color: var(--text-secondary);
}

/* ========================================
   Responsive - Tablet (max 1024px)
   ======================================== */

@media (max-width: 1024px) {
  :root {
    --side-pad: 48px;
  }

  .hero__heading {
    font-size: 72px;
  }

  .hero__subtitle {
    font-size: 22px;
  }

  .about__heading {
    font-size: 38px;
  }

  .about__body {
    font-size: 22px;
  }

  .values__pill {
    font-size: 18px;
    padding: 14px 28px;
  }

  .values__desc {
    font-size: 16px;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .services__number {
    font-size: 48px;
  }

  .services__title {
    font-size: 28px;
  }

  .flow__title {
    font-size: 50px;
  }

  .flow__subtitle {
    font-size: 22px;
  }

  .flow__cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .flow__card {
    min-height: 280px;
  }

  .results-header__title {
    font-size: 42px;
  }

  .results-stats__number {
    font-size: 52px;
  }

  .results-stats__label {
    font-size: 18px;
  }

  .our-work__title {
    font-size: 72px;
  }

  .our-work__subtitle {
    font-size: 28px;
  }

  .our-work__cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta__heading {
    font-size: 48px;
  }

  .cta__sub {
    font-size: 30px;
  }

  .portfolio__inner {
    flex-direction: column;
  }

  .statement__text {
    font-size: 28px;
  }
}

/* ========================================
   Responsive - Mobile (max 640px)
   ======================================== */

@media (max-width: 640px) {
  :root {
    --side-pad: 24px;
  }

  .hero__heading {
    font-size: 42px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .hero__cta {
    padding: 14px 32px;
    font-size: 16px;
  }

  .about {
    padding: 80px 0;
  }

  .about__heading {
    font-size: 28px;
  }

  .about__body {
    font-size: 18px;
  }

  .values {
    padding: 60px 0;
  }

  .values__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .values__item--right {
    align-items: flex-end;
  }

  .values__item--right .values__desc {
    text-align: right;
  }

  .values__pill {
    font-size: 16px;
    padding: 12px 24px;
  }

  .values__desc {
    font-size: 15px;
    padding: 0 4px;
  }

  .brand-banner {
    padding: 40px 0;
  }

  .services {
    padding: 80px 0;
  }

  .services__number {
    font-size: 40px;
  }

  .services__title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .services__list li {
    font-size: 17px;
  }

  .statement__inner {
    flex-direction: column;
    gap: 32px;
  }

  .statement__text {
    font-size: 22px;
  }

  .statement__deco {
    width: 80px;
  }

  .flow {
    padding: 80px 0;
  }

  .flow__title {
    font-size: 36px;
  }

  .flow__subtitle {
    font-size: 18px;
    margin-bottom: 48px;
  }

  .flow__card {
    min-height: 240px;
    padding: 32px;
    border-radius: 32px;
  }

  .flow__card-title {
    font-size: 22px;
  }

  .flow__card-title-kr {
    font-size: 18px;
  }

  .flow__card-desc {
    font-size: 16px;
  }

  .adv-large {
    padding: 60px 0;
  }

  .results-header {
    padding: 60px 0 24px;
  }

  .results-header__title {
    font-size: 28px;
  }

  .results-stats {
    padding: 60px 0;
  }

  .results-stats__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .results-stats__number {
    font-size: 48px;
  }

  .results-desc__text {
    font-size: 24px;
  }

  .our-work {
    padding: 80px 0;
  }

  .our-work__title {
    font-size: 48px;
  }

  .our-work__subtitle {
    font-size: 22px;
    margin-bottom: 48px;
  }

  .our-work__card {
    border-radius: 32px;
    padding: 36px 28px;
    min-height: auto;
  }

  .our-work__card-title {
    font-size: 22px;
  }

  .our-work__card-desc {
    font-size: 17px;
  }

  .cta {
    padding: 80px 0;
  }

  .cta__heading {
    font-size: 32px;
  }

  .cta__sub {
    font-size: 22px;
  }

  .cta__btn {
    font-size: 18px;
    padding: 16px 36px;
  }

  .portfolio {
    padding: 60px 0;
  }

  .footer__logos {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* ========================================
   Privacy Page Styles
   ======================================== */

.privacy {
  padding: 120px 0 80px;
  max-width: 900px;
  margin: 0 auto;
}

.privacy__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 48px;
  transition: color 0.2s;
}

.privacy__back:hover {
  color: var(--text-primary);
}

.privacy__back::before {
  content: '\2190';
  font-size: 20px;
}

.privacy__title {
  font-family: var(--font-kr);
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.privacy__title-en {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 700;
  font-style: italic;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.privacy__effective {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 64px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.privacy__section {
  margin-bottom: 48px;
}

.privacy__section-title {
  font-family: var(--font-kr);
  font-size: 24px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.privacy__section-title-en {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.privacy__text {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.privacy__text--en {
  color: var(--text-dim);
  font-style: italic;
}

.privacy__footer {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
  color: var(--text-dim);
}

@media (max-width: 640px) {
  .privacy {
    padding: 80px 24px 60px;
  }

  .privacy__title {
    font-size: 32px;
  }

  .privacy__title-en {
    font-size: 24px;
  }

  .privacy__section-title {
    font-size: 20px;
  }

  .privacy__text {
    font-size: 15px;
  }
}
