/* 상월농산 / 농작이 — 딥포레스트 그린 모던 SaaS 스타일 */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

/* ─────── 색상 변수 ─────── */
:root {
  --forest:   #0D2B1A;
  --deep:     #164530;
  --primary:  #1B6B3A;
  --mid:      #2E8B57;
  --fresh:    #41B86A;
  --tint:     #E8F5EE;
  --mint:     #F4FAF6;
  --white:    #FFFFFF;
  --bg:       #FAFCFA;
  --card:     #FFFFFF;
  --text:     #0A1C10;
  --text-2:   #3A5444;
  --text-3:   #7A9A86;
  --text-4:   #A0B8A8;
  --border:   #D4E8DB;
  --border-2: #E8F3EC;

  --max:      1120px;
  --text-max: 740px;
  --r:        12px;
  --r-lg:     20px;
  --r-xl:     28px;

  --shadow-xs: 0 1px 3px rgba(13, 43, 26, 0.05);
  --shadow-sm: 0 2px 8px rgba(13, 43, 26, 0.07);
  --shadow-md: 0 6px 20px rgba(13, 43, 26, 0.10);
  --shadow-lg: 0 16px 40px rgba(13, 43, 26, 0.14);
}

/* ─────── 리셋 & 기반 ─────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--mid); }

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

/* ─────── 헤더 ─────── */
header.site {
  background: var(--forest);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
}

header.site .inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

header.site .logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 17px;
  color: var(--white);
  letter-spacing: -0.3px;
  text-decoration: none;
  flex-shrink: 0;
}

header.site .logo svg {
  width: 22px;
  height: 22px;
  color: var(--fresh);
  flex-shrink: 0;
}

header.site nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
}

header.site nav a {
  color: rgba(255, 255, 255, 0.72);
  padding: 6px 12px;
  border-radius: var(--r);
  transition: color 0.15s ease, background 0.15s ease;
  text-decoration: none;
}

header.site nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

header.site nav .nav-cta {
  background: var(--fresh);
  color: var(--forest) !important;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--r);
  margin-left: 6px;
}

header.site nav .nav-cta:hover {
  background: #52c97a;
  color: var(--forest) !important;
}

@media (max-width: 700px) {
  header.site .inner { padding: 0 18px; }
  header.site nav { gap: 2px; }
  header.site nav a { padding: 6px 9px; font-size: 13px; }
  header.site nav .nav-cta { padding: 6px 11px; margin-left: 4px; }
}

@media (max-width: 420px) {
  header.site .logo { font-size: 15px; }
  header.site nav a { display: none; }
  header.site nav .nav-cta { display: flex; margin-left: 0; }
}

/* ─────── 히어로 ─────── */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--forest) 0%, var(--deep) 50%, #1a5234 100%);
  overflow: hidden;
  padding: 80px 28px 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(65, 184, 106, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -160px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(27, 107, 58, 0.28) 0%, transparent 65%);
  pointer-events: none;
}

.hero .inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.hero-content { min-width: 0; }

.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(65, 184, 106, 0.18);
  border: 1px solid rgba(65, 184, 106, 0.30);
  color: #88e0a8;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 22px;
  letter-spacing: -0.1px;
}

.hero h1 {
  font-size: 58px;
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 22px;
  letter-spacing: -2px;
  color: var(--white);
}

.hero h1 .hl {
  color: #6EDB96;
}

.hero .lead {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin: 0 0 36px;
}

.hero .lead strong {
  color: var(--white);
  font-weight: 700;
}

.hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  opacity: 0.18;
  flex-shrink: 0;
}

@media (max-width: 800px) {
  .hero .inner {
    grid-template-columns: 1fr;
  }
  .hero-visual { display: none; }
  .hero h1 { font-size: 44px; letter-spacing: -1.4px; }
  .hero .lead { font-size: 16px; }
}

@media (max-width: 540px) {
  .hero { padding: 56px 20px 56px; }
  .hero h1 { font-size: 34px; letter-spacing: -1px; }
  .hero .lead { font-size: 15px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 30px; }
}

/* ─────── 통계 바 ─────── */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border-2);
  padding: 0;
}

.stats-bar .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-item {
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid var(--border-2);
}

.stat-item:last-child { border-right: none; }

.stat-item .num {
  font-size: 38px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -1.5px;
  display: block;
}

.stat-item .lbl {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
  margin-top: 5px;
  display: block;
}

@media (max-width: 700px) {
  .stats-bar .inner { padding: 0 18px; }
  .stat-item { padding: 22px 12px; }
  .stat-item .num { font-size: 28px; }
}

@media (max-width: 420px) {
  .stats-bar .inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border-2); padding: 18px 20px; }
  .stat-item:last-child { border-bottom: none; }
}

/* ─────── 메인 ─────── */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 28px 100px;
}

main.narrow {
  max-width: var(--text-max);
}

h1 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.3;
  letter-spacing: -0.8px;
}

h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 56px 0 18px;
  letter-spacing: -0.5px;
  color: var(--text);
}

h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--text);
  letter-spacing: -0.3px;
}

h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text);
  letter-spacing: -0.2px;
}

p {
  margin: 0 0 14px;
  color: var(--text-2);
}

p.lead {
  font-size: 17px;
  color: var(--text);
  line-height: 1.7;
}

ul, ol {
  margin: 0 0 14px;
  padding-left: 22px;
  color: var(--text-2);
}

li { margin-bottom: 6px; }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* ─────── 섹션 라벨 ─────── */
.sec-label,
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sec-title,
.section-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 14px;
  line-height: 1.2;
  color: var(--text);
}

.sec-desc,
.section-desc {
  font-size: 16px;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 0 40px;
  line-height: 1.65;
}

/* ─────── 제품 카드 ─────── */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin: 0 0 72px;
}

.product-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 107, 58, 0.04) 0%, rgba(65, 184, 106, 0.06) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  border-radius: var(--r-lg);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
  color: inherit;
}

.product-card:hover::after { opacity: 1; }

.product-card .icon {
  width: 52px;
  height: 52px;
  background: var(--tint);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.product-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
  color: var(--text);
}

.product-card p {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 26px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.product-card .link-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  z-index: 1;
  transition: gap 0.2s ease;
}

.product-card .link-row .arrow {
  transition: transform 0.2s ease;
}

.product-card:hover .link-row { gap: 10px; }
.product-card:hover .link-row .arrow { transform: translateX(3px); }

@media (max-width: 700px) {
  .products { grid-template-columns: 1fr; gap: 16px; }
  .product-card { padding: 28px 24px; }
}

/* ─────── 피처 그리드 ─────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 72px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 26px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature .icon {
  width: 40px;
  height: 40px;
  background: var(--tint);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.feature h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text);
}

.feature p {
  font-size: 13px;
  margin: 0;
  color: var(--text-2);
  line-height: 1.6;
}

@media (max-width: 800px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .features { grid-template-columns: 1fr; gap: 12px; }
}

/* ─────── 핵심 가치 ─────── */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0 0 72px;
}

.value-item {
  text-align: center;
  padding: 0 12px;
}

.value-item .icon {
  width: 56px;
  height: 56px;
  background: var(--tint);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}

.value-item h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}

.value-item p {
  font-size: 14px;
  margin: 0;
  color: var(--text-2);
  line-height: 1.65;
}

@media (max-width: 700px) {
  .values { grid-template-columns: 1fr; gap: 22px; }
  .value-item { padding: 0; }
}

/* ─────── 일반 카드 ─────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 26px;
  margin: 16px 0;
  transition: box-shadow 0.2s ease;
}

.card:hover { box-shadow: var(--shadow-sm); }
.card h3 { margin-top: 0; }

/* ─────── 버튼 ─────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 24px;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: var(--r);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  letter-spacing: -0.2px;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.btn:hover {
  background: var(--mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27, 107, 58, 0.28);
  color: var(--white) !important;
}

.btn.outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--white) !important;
}

.btn.outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: none;
  transform: translateY(-1px);
}

.btn.secondary {
  background: var(--white);
  color: var(--primary) !important;
  border: 1.5px solid var(--border);
}

.btn.secondary:hover {
  background: var(--tint);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
  color: var(--primary) !important;
}

.btn.large {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--r-lg);
}

/* ─────── 정보 테이블 ─────── */
table.info {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

table.info th,
table.info td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-2);
  font-size: 14px;
}

table.info tr:last-child th,
table.info tr:last-child td {
  border-bottom: none;
}

table.info th {
  width: 32%;
  color: var(--text-3);
  font-weight: 600;
  background: var(--mint);
}

table.info td {
  color: var(--text);
  background: var(--white);
}

@media (max-width: 540px) {
  table.info th,
  table.info td { padding: 12px 14px; font-size: 13px; }
  table.info th { width: 38%; }
}

/* ─────── CTA 섹션 ─────── */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--forest) 0%, var(--deep) 60%, #1a5234 100%);
  border-radius: var(--r-xl);
  padding: 60px 48px;
  text-align: center;
  color: var(--white);
  margin: 0;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(65, 184, 106, 0.20) 0%, transparent 65%);
  pointer-events: none;
}

.cta-section h2 {
  color: var(--white);
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.8px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.80);
  font-size: 16px;
  margin: 0 auto 28px;
  max-width: 480px;
  position: relative;
  z-index: 1;
}

.cta-section .cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-section .btn {
  background: var(--white);
  color: var(--primary) !important;
}

.cta-section .btn:hover {
  background: var(--mint);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  color: var(--primary) !important;
}

.cta-section .btn.outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.50);
  color: var(--white) !important;
}

.cta-section .btn.outline:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.80);
  color: var(--white) !important;
}

@media (max-width: 700px) {
  .cta-section { padding: 44px 28px; border-radius: var(--r-lg); }
  .cta-section h2 { font-size: 24px; }
}

@media (max-width: 540px) {
  .cta-section { padding: 36px 22px; }
  .cta-section h2 { font-size: 22px; }
}

/* ─────── 민트 bg 섹션 ─────── */
.section-mint {
  background: var(--mint);
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  padding: 72px 28px;
  margin: 0 0 72px;
}

.section-mint .inner {
  max-width: var(--max);
  margin: 0 auto;
}

/* ─────── 푸터 ─────── */
footer.site {
  background: var(--forest);
  padding: 56px 28px 0;
  margin-top: 80px;
}

footer.site .inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 48px;
}

footer.site .footer-brand .brand {
  font-weight: 800;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

footer.site .footer-brand p {
  color: rgba(255, 255, 255, 0.50);
  margin: 4px 0;
  font-size: 13px;
  line-height: 1.6;
}

footer.site .footer-brand a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.15s ease;
}

footer.site .footer-brand a:hover {
  color: var(--white);
}

footer.site .footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  padding-top: 4px;
}

footer.site .footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

footer.site .footer-links a:hover {
  color: var(--white);
}

footer.site .footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 18px 28px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.30);
  max-width: 100%;
  margin: 0;
}

@media (max-width: 700px) {
  footer.site { padding: 44px 20px 0; }
  footer.site .inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 36px;
  }
  footer.site .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 16px;
  }
  footer.site .footer-copy { padding: 16px 20px; }
}

/* ─────── 유틸리티 ─────── */
.muted {
  color: var(--text-3);
  font-size: 13px;
}

.center { text-align: center; }

/* ─────── 애니메이션 ─────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeUp 0.6s ease-out both;
}

.stats-bar {
  animation: fadeUp 0.6s ease-out 0.10s both;
}

.products {
  animation: fadeUp 0.6s ease-out 0.15s both;
}

.features {
  animation: fadeUp 0.6s ease-out 0.20s both;
}

.values {
  animation: fadeUp 0.6s ease-out 0.10s both;
}

.cta-section {
  animation: fadeUp 0.6s ease-out 0.25s both;
}
