/* ==========================================================
   씨앗패치 — 씨앗 패치기(WinUI) 앱 팔레트 기반
   base: #1F2810 (deep olive) / glass: #F4FFEE 12~24%
   accent: #7A9C5E / accent-text: #2D3A1A / accent-light: #A8D48A
   ========================================================== */

:root{
  --deep: #1F2810;
  --deep-2: #171e0c;
  --glass: rgba(244,255,238,0.12);
  --glass-strong: rgba(244,255,238,0.24);
  --glass-border: rgba(255,255,255,0.16);
  --glass-border-strong: rgba(255,255,255,0.28);
  --accent: #7A9C5E;
  --accent-text: #2D3A1A;
  --accent-light: #A8D48A;
  --danger: #FF8A80;
  --text: #FFFFFF;
  --text-secondary: #D6D6D6;
  --text-tertiary: #9A9A9A;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --ease: cubic-bezier(.22,1,.36,1);
}

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

html{ scroll-behavior:smooth; }

body{
  background: var(--deep);
  color: var(--text);
  font-family: "Pretendard","Segoe UI","Malgun Gothic",-apple-system,BlinkMacSystemFont,sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
img{ max-width:100%; display:block; }

.grain{
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Nav ---------- */
#nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
#nav.scrolled{
  background: rgba(31,40,16,0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--glass-border);
}
.nav-inner{
  max-width: 1120px;
  margin: 0 auto;
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand{
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.01em;
}
.brand-seed{ width: 26px; height: 26px; border-radius: 8px; filter: drop-shadow(0 0 6px rgba(168,212,138,.5)); }
.nav-links{ display:flex; align-items:center; gap: 28px; font-size: 14px; color: var(--text-secondary); }
.nav-links a{ transition: color .2s; position: relative; }
.nav-links a:not(.nav-cta):hover{ color: var(--text); }
.nav-cta{
  background: var(--accent);
  color: var(--accent-text) !important;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.nav-cta:hover{ transform: translateY(-1px); box-shadow: 0 8px 20px -6px rgba(122,156,94,.55); background:#87ab68; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg{ position: absolute; inset: 0; z-index: -2; }
.hero-slide{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 2.2s ease, transform 9s linear;
}
.hero-slide.active{ opacity: 1; transform: scale(1); }
.hero-overlay{
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(31,40,16,0.35) 0%, rgba(31,40,16,0.25) 35%, rgba(31,40,16,0.75) 75%, rgba(23,30,12,0.94) 100%),
    radial-gradient(120% 90% at 50% 15%, rgba(31,40,16,0) 0%, rgba(31,40,16,.3) 100%);
}

.fireflies{ position:absolute; inset:0; z-index:-1; pointer-events:none; }
.fireflies span{
  position: absolute;
  bottom: -10px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 8px 2px rgba(168,212,138,.8);
  opacity: 0;
  animation: rise 14s linear infinite;
}
.fireflies span:nth-child(1){ left: 6%;  animation-delay: 0s;  }
.fireflies span:nth-child(2){ left: 16%; animation-delay: 2.4s; }
.fireflies span:nth-child(3){ left: 28%; animation-delay: 5s;  }
.fireflies span:nth-child(4){ left: 42%; animation-delay: 1.2s;}
.fireflies span:nth-child(5){ left: 55%; animation-delay: 7.5s;}
.fireflies span:nth-child(6){ left: 66%; animation-delay: 3.6s;}
.fireflies span:nth-child(7){ left: 74%; animation-delay: 9s;  }
.fireflies span:nth-child(8){ left: 83%; animation-delay: 4.5s;}
.fireflies span:nth-child(9){ left: 91%; animation-delay: 6.2s;}
.fireflies span:nth-child(10){left: 50%; animation-delay: 11s; }
@keyframes rise{
  0%{ opacity: 0; transform: translateY(0) translateX(0); }
  10%{ opacity: .9; }
  50%{ transform: translateY(-46vh) translateX(12px); }
  90%{ opacity: .5; }
  100%{ opacity: 0; transform: translateY(-92vh) translateX(-8px); }
}

.hero-content{
  position: relative;
  z-index: 2;
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.status-badge{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(122,156,94,0.22);
  border: 1px solid rgba(168,212,138,.35);
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}
.status-dot{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
  animation: blink 1.2s ease-in-out infinite alternate;
}
@keyframes blink{ from{ opacity: 1; } to{ opacity: .15; } }

.hero h1{
  font-size: clamp(40px, 7vw, 68px);
  font-weight: 800;
  letter-spacing: -.03em;
  display: flex;
  align-items: center;
  gap: 14px;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.seed-icon{
  width: 0.82em;
  height: 0.82em;
  border-radius: 22%;
  animation: sway 4s ease-in-out infinite;
  transform-origin: bottom center;
  display: inline-block;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.35));
}
@keyframes sway{
  0%,100%{ transform: rotate(-6deg); }
  50%{ transform: rotate(6deg); }
}

.hero-sub{
  color: var(--text-secondary);
  font-size: clamp(15px, 2vw, 18px);
  max-width: 520px;
}

.version-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass);
  border: 1px solid var(--glass-border-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 7px 8px 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}
.v-name{ font-weight: 600; color: var(--text); }
.v-num{
  color: var(--text-tertiary);
  font-size: 11px;
  background: rgba(0,0,0,.25);
  padding: 3px 8px;
  border-radius: 6px;
}

.download-group{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s;
  cursor: pointer;
}
.btn-text{ display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.btn-text strong{ font-size: 14px; }
.btn-text small{ font-size: 11px; opacity: .85; font-weight: 500; }

.btn-primary{
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  box-shadow: 0 10px 26px -10px rgba(122,156,94,.65);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(122,156,94,.85); background: #87ab68; }
.btn-primary .btn-text small{ color: rgba(45,58,26,.75); }

.btn-secondary{
  background: var(--glass);
  border: 1px solid var(--glass-border-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-secondary:hover{ transform: translateY(-2px); background: var(--glass-strong); }

.version-tag{ color: var(--text-tertiary); font-size: 12px; margin-top: 2px; }

.scroll-hint{
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--glass-border-strong);
  border-radius: 20px;
  z-index: 2;
}
.scroll-hint span{
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 3px;
  background: var(--accent-light);
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown{
  0%{ opacity: 0; top: 6px; }
  30%{ opacity: 1; }
  80%{ opacity: 0; top: 22px; }
  100%{ opacity: 0; top: 22px; }
}

/* ---------- Sections ---------- */
.section{ position: relative; padding: 120px 24px; }
.section-alt{ background: linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 100%); }
.section-inner{ max-width: 1080px; margin: 0 auto; }
.section-inner.center{ text-align: center; }

.eyebrow{
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: 10px;
}
.section h2{
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.section-sub{
  color: var(--text-secondary);
  max-width: 620px;
  font-size: 15px;
}
.download-section .section-sub{ margin-left: auto; margin-right: auto; }

/* ---------- Feature cards ---------- */
.card-grid{
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.feature-card{
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.feature-card:hover{
  transform: translateY(-6px);
  border-color: var(--glass-border-strong);
  background: var(--glass-strong);
}
.feature-icon{
  font-size: 26px;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(122,156,94,.18);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.feature-card h3{ font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p{ color: var(--text-secondary); font-size: 13.5px; line-height: 1.6; }

/* ---------- Requirements table ---------- */
.table-wrap{
  margin-top: 40px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.req-table{ width: 100%; border-collapse: collapse; font-size: 13.5px; }
.req-table th, .req-table td{
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}
.req-table thead th{
  color: var(--text-tertiary);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .04em;
  background: rgba(0,0,0,.18);
}
.req-table tbody tr:last-child td{ border-bottom: none; }
.req-table tbody td:first-child{ color: var(--text-secondary); font-weight: 600; width: 110px; }
.req-table tbody tr:hover{ background: rgba(244,255,238,.05); }
.ram-note{
  display: block;
  color: var(--text-tertiary);
  font-size: 11px;
  margin-top: 2px;
}
.req-footnote{ margin-top: 16px; color: var(--text-tertiary); font-size: 12px; }

/* ---------- Download section ---------- */
.download-section{ text-align: center; }
.download-section .download-group{ margin-top: 30px; }

/* ---------- Footer ---------- */
.footer{ padding: 40px 24px; border-top: 1px solid var(--glass-border); background: var(--deep-2); }
.footer-inner{
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: var(--text-tertiary); font-size: 12.5px;
}

/* ---------- Reveal animation ---------- */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in{ opacity: 1; transform: translateY(0); }
.card-grid .reveal:nth-child(2){ transition-delay: .08s; }
.card-grid .reveal:nth-child(3){ transition-delay: .16s; }
.card-grid .reveal:nth-child(4){ transition-delay: .24s; }

@media (max-width: 640px){
  .nav-links{ gap: 16px; font-size: 13px; }
  .br-mobile{ display: none; }
  .section{ padding: 84px 20px; }
  .req-table th, .req-table td{ padding: 12px 14px; }
}

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