/* FORSTA Production Stylesheet — Option A (Global Trust) */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-surface-subtle: #F1F5F9;
  --color-surface-hover: #E2E8F0;
  --color-text-primary: #0F172A;
  --color-text-secondary: #334155;
  --color-text-muted: #64748B;
  --color-border: #E2E8F0;
  --color-border-subtle: #CBD5E1;
  --color-brand-primary: #0F2744;
  --color-brand-accent: #1D4ED8;
  --color-brand-ice: #EFF6FF;
  --color-focus: #2563EB;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --container-max: 1200px;
  --header-height: 76px;
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-card: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-stack);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.wordmark {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-brand-primary);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-item a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  transition: color 0.15s ease;
  padding: 8px 0;
  position: relative;
}

.nav-item a:hover {
  color: var(--color-brand-accent);
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-brand-accent);
  transition: width 0.2s ease;
}

.nav-item a:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  color: var(--color-brand-primary);
}

.mobile-menu-btn svg {
  display: block;
  width: 24px;
  height: 24px;
}

/* HERO SECTION */
.hero-section {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
  padding: 96px 0 88px 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.hero-content {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--color-brand-ice);
  border: 1px solid #BFDBFE;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-brand-accent);
  margin-bottom: 24px;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-headline {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-brand-primary);
  margin-bottom: 24px;
  width: 100%;
  max-width: 100%;
}

.hero-br {
  display: none;
}

.hero-supporting {
  font-size: 19px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 620px;
  margin-bottom: 40px;
  width: 100%;
  overflow-wrap: break-word;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.btn-primary {
  background-color: var(--color-brand-primary);
  color: #FFFFFF;
  border: 1px solid var(--color-brand-primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: #1E293B;
  border-color: #1E293B;
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--color-brand-primary);
  border: 1px solid var(--color-border-subtle);
}

.btn-secondary:hover {
  background-color: var(--color-surface-subtle);
  border-color: var(--color-text-muted);
}

/* Abstract Graphic - Global Trust Grid & Coordinates */
.hero-graphic-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.graphic-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  gap: 10px;
}

.graphic-svg-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.graphic-svg-wrap svg {
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: block;
}

.graphic-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--color-text-muted);
  font-family: monospace;
}

/* SECTION SHARED */
main > section[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.section-wrap {
  padding: 88px 0;
  border-bottom: 1px solid var(--color-border);
}

.section-wrap:nth-child(even) {
  background-color: #FFFFFF;
}

.section-header {
  margin-bottom: 48px;
}

.section-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-brand-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--color-brand-primary);
  margin-bottom: 16px;
}

.section-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 760px;
}

/* WHAT FORSTA DOES */
.cards-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  min-width: 0;
}

.feature-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.feature-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-primary);
  margin-bottom: 24px;
}

.feature-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 12px;
}

.feature-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* START YOUR JOURNEY */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  min-width: 0;
}

.journey-item {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-brand-primary);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 130px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.journey-index {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

/* ABOUT FORSTA */
.about-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px;
  max-width: 860px;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
  width: 100%;
}

.about-card p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

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

/* STARTUP IN KOREA */
.disclaimer-box {
  margin-top: 24px;
  margin-bottom: 36px;
  padding: 20px 24px;
  background-color: #F8FAFC;
  border-left: 4px solid var(--color-brand-accent);
  border-top: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  box-sizing: border-box;
  width: 100%;
}

.disclaimer-box strong {
  display: block;
  color: var(--color-brand-primary);
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.resource-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
  width: 100%;
  min-width: 0;
}

.resource-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100px;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.resource-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 6px;
}

.resource-badge {
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.resource-notice {
  font-size: 13px;
  color: var(--color-text-muted);
  font-style: italic;
}

/* COMMUNITY */
.community-content {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px;
  max-width: 860px;
  box-sizing: border-box;
  width: 100%;
}

.community-content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

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

/* PROGRAMS & EVENTS - EMPTY STATE */
.empty-state-card {
  margin-top: 28px;
  padding: 36px 32px;
  background-color: var(--color-surface-subtle);
  border: 1px dashed var(--color-border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--color-text-secondary);
  box-sizing: border-box;
  width: 100%;
}

.empty-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: var(--color-text-muted);
}

.empty-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-secondary);
}

/* CONTACT NOTICE */
.contact-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px;
  max-width: 860px;
  box-sizing: border-box;
  width: 100%;
}

.contact-card p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.contact-notice-box {
  padding: 18px 22px;
  background-color: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
}

/* FOOTER */
.site-footer {
  background-color: var(--color-brand-primary);
  color: #94A3B8;
  padding: 48px 0 40px 0;
  font-size: 14px;
  line-height: 1.6;
  box-sizing: border-box;
  width: 100%;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-org {
  font-size: 16px;
  font-weight: 700;
  color: #F8FAFC;
  letter-spacing: 0.02em;
}

.footer-copy {
  color: #CBD5E1;
}

.footer-privacy {
  font-size: 13px;
  color: #94A3B8;
  border-top: 1px solid #1E293B;
  padding-top: 16px;
  margin-top: 8px;
}

/* RESPONSIVE STYLING (Breakpoints: 960px, 768px, 480px) */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-headline {
    font-size: 40px;
  }
  .cards-3col {
    grid-template-columns: 1fr;
  }
  .journey-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .resource-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .hero-br {
    display: block;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 24px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  }

  .nav-menu.is-active {
    display: flex;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--color-surface-subtle);
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-item a {
    display: block;
    padding: 14px 0;
    font-size: 14px;
  }

  .nav-item a::after {
    display: none;
  }

  .hero-section {
    padding: 48px 0 40px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    width: 100%;
    min-width: 0;
  }

  .hero-content {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .hero-headline {
    font-size: 32px;
    line-height: 1.22;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .hero-supporting {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 28px;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 12px;
  }

  .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Hero Graphic Card - Mobile Refinement */
  .hero-graphic-card {
    padding: 18px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .graphic-header {
    font-size: 11px;
    letter-spacing: 0.05em;
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 14px;
    width: 100%;
  }

  .graphic-svg-wrap {
    height: 200px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .graphic-svg-wrap svg {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
  }

  .graphic-footer {
    display: none !important;
  }

  .section-wrap {
    padding: 56px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .journey-grid {
    grid-template-columns: 1fr;
  }

  .about-card, .community-content, .contact-card {
    padding: 24px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-headline {
    font-size: 30px;
    line-height: 1.24;
  }

  .hero-badge {
    font-size: 11px;
    padding: 4px 10px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-graphic-card {
    padding: 16px;
  }

  .graphic-header {
    font-size: 10px;
  }

  .graphic-svg-wrap {
    height: 195px;
  }
}
