/* ============================================
   GrowM&B Landing Page Stylesheet
   Colors: #1A2E4A (Navy), #2D7A4F (Green)
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard', -apple-system, 'Noto Sans KR', sans-serif;
  background: #0B0F1A;
  color: #E2E8F0;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* === UTILITY === */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: #2D7A4F; margin-bottom: 16px;
}
.section-label::before {
  content: ''; width: 24px; height: 2px; background: #2D7A4F;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  line-height: 1.3; color: #F1F5F9; margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-desc {
  font-size: 17px; color: #94A3B8; max-width: 640px; line-height: 1.8;
}

/* reveal animation */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === NAV === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0; transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(11, 15, 26, 0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(45, 122, 79, 0.15);
  padding: 12px 0;
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
}
.nav-logo span { color: #2D7A4F; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: #94A3B8;
  transition: color 0.2s;
}
.nav-links a:hover { color: #F1F5F9; }
.nav-login {
  padding: 10px 20px !important; border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 10px; color: #E2E8F0 !important; font-weight: 500 !important;
  transition: all 0.2s !important;
}
.nav-login:hover { background: rgba(255,255,255,0.06) !important; border-color: rgba(255,255,255,0.3) !important; }
.nav-cta {
  padding: 10px 24px !important; background: #2D7A4F !important;
  border-radius: 10px; color: #fff !important; font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #246B43 !important; }
.nav-mobile-btn {
  display: none; background: none; border: none; color: #E2E8F0;
  font-size: 24px; cursor: pointer; padding: 4px;
}

/* === HERO === */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 80px; position: relative;
  background: radial-gradient(ellipse at 30% 20%, rgba(26, 46, 74, 0.5) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(45, 122, 79, 0.12) 0%, transparent 40%);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(45, 122, 79, 0.12); border: 1px solid rgba(45, 122, 79, 0.25);
  border-radius: 100px; padding: 6px 16px 6px 8px;
  font-size: 12px; font-weight: 600; color: #2D7A4F;
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #2D7A4F;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px); font-weight: 800;
  line-height: 1.25; color: #F1F5F9; margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #2D7A4F, #4ADE80);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px; color: #94A3B8; line-height: 1.7;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; margin-bottom: 48px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: #2D7A4F; color: #fff;
  border-radius: 12px; font-size: 15px; font-weight: 700;
  border: none; cursor: pointer; transition: all 0.25s;
}
.btn-primary:hover { background: #246B43; transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: transparent;
  border: 1px solid #2A3441; color: #94A3B8;
  border-radius: 12px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all 0.25s;
}
.btn-ghost:hover { border-color: #2D7A4F; color: #E2E8F0; }

/* Tech badges */
.hero-tech { display: flex; flex-direction: column; gap: 12px; }
.tech-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tech-row-label {
  font-size: 11px; font-weight: 600; color: #475569;
  letter-spacing: 1px; text-transform: uppercase;
  width: 100%; margin-bottom: 2px;
}
.tech-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; background: rgba(26, 46, 74, 0.5);
  border: 1px solid #1E293B; border-radius: 8px;
  font-size: 12px; font-weight: 600; color: #94A3B8;
  transition: all 0.2s;
}
.tech-badge:hover { border-color: #2D7A4F; color: #E2E8F0; }

/* Hero terminal */
.hero-visual {
  background: #0F1629; border: 1px solid #1E293B;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; background: #141B2D;
  border-bottom: 1px solid #1E293B;
}
.terminal-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.terminal-dot.r { background: #EF4444; }
.terminal-dot.y { background: #F59E0B; }
.terminal-dot.g { background: #22C55E; }
.terminal-title {
  flex: 1; text-align: center; font-size: 12px;
  color: #475569; font-weight: 500;
}
.terminal-body {
  padding: 24px; min-height: 340px; font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 13px; line-height: 1.9;
}
.terminal-line { margin-bottom: 4px; }
.t-dim { color: #475569; }
.t-green { color: #2D7A4F; }
.t-cyan { color: #22D3EE; }
.t-yellow { color: #FBBF24; }
.t-white { color: #E2E8F0; }
.t-muted { color: #64748B; }
.cursor {
  display: inline-block; width: 8px; height: 16px;
  background: #2D7A4F; vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; } 50% { opacity: 0; }
}
.typing-text {
  display: inline;
}

/* === STATS === */
.stats {
  background: linear-gradient(180deg, #0B0F1A 0%, #0F1629 50%, #0B0F1A 100%);
  border-top: 1px solid #1E293B; border-bottom: 1px solid #1E293B;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat-card {
  text-align: center; padding: 40px 20px;
  background: rgba(26, 46, 74, 0.2);
  border: 1px solid #1E293B; border-radius: 16px;
  transition: all 0.3s;
}
.stat-card:hover {
  border-color: rgba(45, 122, 79, 0.3);
  background: rgba(26, 46, 74, 0.35);
  transform: translateY(-4px);
}
.stat-icon {
  font-size: 32px; margin-bottom: 16px;
  display: block;
}
.stat-number {
  font-size: 48px; font-weight: 800; color: #F1F5F9;
  line-height: 1; margin-bottom: 4px;
}
.stat-number .stat-suffix {
  font-size: 24px; color: #2D7A4F; font-weight: 700;
}
.stat-label {
  font-size: 14px; color: #64748B; font-weight: 500;
}

/* === RECYCLE ENGINE === */
.recycle { background: #0B0F1A; }
.recycle-flow {
  margin-top: 60px; display: flex;
  align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.recycle-source {
  width: 180px; padding: 28px 20px;
  background: linear-gradient(135deg, #1A2E4A, #1E3A5F);
  border: 1px solid #2D7A4F; border-radius: 16px;
  text-align: center; flex-shrink: 0;
}
.recycle-source-icon { font-size: 36px; margin-bottom: 12px; }
.recycle-source-title { font-size: 15px; font-weight: 700; color: #F1F5F9; }
.recycle-source-sub { font-size: 12px; color: #2D7A4F; font-weight: 600; margin-top: 4px; }

.recycle-arrows {
  display: flex; flex-direction: column; gap: 6px;
  padding: 0 20px; flex-shrink: 0;
}
.recycle-arrow {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, #2D7A4F, rgba(45, 122, 79, 0.2));
}

.recycle-targets {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; flex-shrink: 0;
}
.recycle-target {
  padding: 14px 20px; background: rgba(26, 46, 74, 0.3);
  border: 1px solid #1E293B; border-radius: 12px;
  display: flex; align-items: center; gap: 10px;
  transition: all 0.3s; min-width: 180px;
}
.recycle-target:hover {
  border-color: #2D7A4F; background: rgba(26, 46, 74, 0.5);
}
.recycle-target-icon { font-size: 20px; flex-shrink: 0; }
.recycle-target-name { font-size: 13px; font-weight: 600; color: #E2E8F0; }
.recycle-target-desc { font-size: 11px; color: #64748B; }
.recycle-badge-auto {
  display: inline-block; padding: 2px 8px; background: rgba(45, 122, 79, 0.15);
  border-radius: 4px; font-size: 10px; color: #2D7A4F; font-weight: 700;
  margin-top: 2px;
}

/* === PRODUCTS === */
.products { background: #0B0F1A; }
.product-tabs {
  display: flex; gap: 4px; margin-bottom: 40px;
  background: rgba(26, 46, 74, 0.2); border: 1px solid #1E293B;
  border-radius: 14px; padding: 6px; overflow-x: auto;
}
.product-tab {
  flex: 1; padding: 14px 20px; border-radius: 10px;
  text-align: center; cursor: pointer; transition: all 0.25s;
  border: none; background: none; color: #64748B;
  font-size: 14px; font-weight: 600;
  font-family: inherit; white-space: nowrap;
}
.product-tab:hover { color: #94A3B8; }
.product-tab.active {
  background: #1A2E4A; color: #F1F5F9;
  box-shadow: 0 4px 12px rgba(26, 46, 74, 0.4);
}
.product-panel { display: none; }
.product-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-info h3 {
  font-size: 28px; font-weight: 800; color: #F1F5F9;
  margin-bottom: 8px;
}
.product-info .product-tag {
  display: inline-block; padding: 4px 12px;
  background: rgba(45, 122, 79, 0.12); border: 1px solid rgba(45, 122, 79, 0.25);
  border-radius: 6px; font-size: 12px; font-weight: 600; color: #2D7A4F;
  margin-bottom: 20px;
}
.product-info p {
  font-size: 15px; color: #94A3B8; line-height: 1.8; margin-bottom: 24px;
}
.product-features {
  list-style: none; display: flex; flex-direction: column; gap: 12px;
}
.product-features li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: #CBD5E1;
}
.product-features li::before {
  content: ''; width: 20px; height: 20px; flex-shrink: 0;
  border-radius: 6px; background: rgba(45, 122, 79, 0.15);
  border: 1px solid rgba(45, 122, 79, 0.3);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 6L5 8.5L9.5 3.5' stroke='%232D7A4F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}
.product-preview {
  background: #0F1629; border: 1px solid #1E293B;
  border-radius: 16px; padding: 32px; min-height: 320px;
  display: flex; flex-direction: column; gap: 16px;
}
.product-preview-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 8px;
}
.product-preview-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; background: rgba(26, 46, 74, 0.5);
  border: 1px solid #1E293B;
}
.product-preview-title { font-size: 16px; font-weight: 700; color: #E2E8F0; }
.product-preview-sub { font-size: 12px; color: #64748B; }
.preview-item {
  padding: 14px 16px; background: rgba(26, 46, 74, 0.2);
  border: 1px solid #1E293B; border-radius: 10px;
  font-size: 13px; color: #94A3B8; line-height: 1.7;
}
.preview-item-label {
  font-size: 11px; font-weight: 700; color: #2D7A4F;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 6px;
}
.product-cta {
  margin-top: 12px;
}

/* === COMPARE === */
.compare { background: #0F1629; }
.compare-table {
  margin-top: 48px; border: 1px solid #1E293B;
  border-radius: 16px; overflow: hidden;
}
.compare-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid #1E293B;
}
.compare-row:last-child { border-bottom: none; }
.compare-head {
  background: #141B2D;
}
.compare-cell {
  padding: 18px 24px; font-size: 14px;
  display: flex; align-items: center; gap: 10px;
}
.compare-cell:not(:last-child) { border-right: 1px solid #1E293B; }
.compare-head .compare-cell {
  font-weight: 700; color: #94A3B8; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.compare-head .compare-cell:last-child { color: #2D7A4F; }
.compare-feature { color: #CBD5E1; font-weight: 600; }
.compare-generic { color: #64748B; }
.compare-growm { color: #E2E8F0; }
.x-mark { color: #EF4444; font-weight: 700; }
.o-mark { color: #2D7A4F; font-weight: 700; }

/* === PUBMED === */
.pubmed { background: #0B0F1A; }
.pubmed-flow {
  margin-top: 60px; display: flex;
  gap: 0; align-items: stretch; justify-content: center;
}
.pubmed-step {
  flex: 1; max-width: 240px; text-align: center;
  padding: 32px 20px; background: rgba(26, 46, 74, 0.2);
  border: 1px solid #1E293B; position: relative;
}
.pubmed-step:first-child { border-radius: 16px 0 0 16px; }
.pubmed-step:last-child { border-radius: 0 16px 16px 0; }
.pubmed-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: #1A2E4A; border: 2px solid #2D7A4F;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #2D7A4F;
  margin-bottom: 16px;
}
.pubmed-step-icon { font-size: 32px; margin-bottom: 12px; }
.pubmed-step-title { font-size: 15px; font-weight: 700; color: #F1F5F9; margin-bottom: 6px; }
.pubmed-step-desc { font-size: 13px; color: #64748B; line-height: 1.6; }
.pubmed-arrow {
  display: flex; align-items: center; color: #2D7A4F;
  font-size: 20px; padding: 0 4px; flex-shrink: 0;
}

/* === PRICING === */
.pricing { background: #0F1629; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 48px;
}
.pricing-card {
  background: rgba(26, 46, 74, 0.15);
  border: 1px solid #1E293B; border-radius: 20px;
  padding: 36px 28px; transition: all 0.3s;
  display: flex; flex-direction: column;
}
.pricing-card:hover { border-color: rgba(45, 122, 79, 0.3); transform: translateY(-4px); }
.pricing-card.featured {
  background: linear-gradient(180deg, rgba(45, 122, 79, 0.12) 0%, rgba(26, 46, 74, 0.2) 100%);
  border-color: #2D7A4F; position: relative;
}
.pricing-popular {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px; background: #2D7A4F; border-radius: 100px;
  font-size: 11px; font-weight: 700; color: #fff;
  letter-spacing: 0.5px;
}
.pricing-name {
  font-size: 18px; font-weight: 700; color: #E2E8F0; margin-bottom: 4px;
}
.pricing-desc {
  font-size: 13px; color: #64748B; margin-bottom: 24px;
}
.pricing-price {
  font-size: 40px; font-weight: 800; color: #F1F5F9; margin-bottom: 4px;
}
.pricing-price .pricing-unit {
  font-size: 16px; color: #64748B; font-weight: 500;
}
.pricing-period {
  font-size: 13px; color: #475569; margin-bottom: 28px;
}
.pricing-features {
  list-style: none; flex: 1; margin-bottom: 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.pricing-features li {
  font-size: 13px; color: #94A3B8; display: flex;
  align-items: center; gap: 10px;
}
.pricing-features li::before {
  content: ''; width: 16px; height: 16px; flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 6L5 8.5L9.5 3.5' stroke='%232D7A4F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}
.pricing-btn {
  display: block; width: 100%; padding: 14px;
  border-radius: 12px; text-align: center;
  font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all 0.25s;
  border: 1px solid #2A3441; background: transparent;
  color: #94A3B8; font-family: inherit;
}
.pricing-btn:hover { border-color: #2D7A4F; color: #E2E8F0; }
.pricing-card.featured .pricing-btn {
  background: #2D7A4F; border-color: #2D7A4F; color: #fff;
}
.pricing-card.featured .pricing-btn:hover { background: #246B43; }

/* === CTA === */
.cta {
  background: linear-gradient(180deg, #0F1629 0%, #0B0F1A 100%);
  text-align: center; padding: 120px 0;
}
.cta-box {
  max-width: 700px; margin: 0 auto;
  padding: 72px 48px;
  background: linear-gradient(135deg, rgba(26, 46, 74, 0.4), rgba(45, 122, 79, 0.08));
  border: 1px solid rgba(45, 122, 79, 0.2);
  border-radius: 24px; position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(45, 122, 79, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.cta h2 {
  font-size: clamp(28px, 4vw, 40px); font-weight: 800;
  color: #F1F5F9; margin-bottom: 12px; position: relative;
}
.cta h2 em {
  font-style: normal;
  background: linear-gradient(135deg, #2D7A4F, #4ADE80);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta p {
  font-size: 17px; color: #94A3B8; margin-bottom: 36px;
  line-height: 1.7; position: relative;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; position: relative; flex-wrap: wrap; }

/* === FOOTER === */
.footer {
  background: #070A12; border-top: 1px solid #1E293B;
  padding: 48px 0 36px; text-align: center;
}
.footer-logo { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.footer-logo span { color: #2D7A4F; }
.footer-copy { font-size: 13px; color: #475569; }

/* === MOBILE === */
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .recycle-flow { flex-direction: column; align-items: center; }
  .recycle-arrows { flex-direction: row; padding: 12px 0; }
  .recycle-arrow { width: 2px; height: 30px; background: linear-gradient(180deg, #2D7A4F, rgba(45, 122, 79, 0.2)); }
  .recycle-targets { grid-template-columns: 1fr 1fr; }
  .product-panel.active { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-cell:not(:last-child) { border-right: none; border-bottom: 1px solid #1E293B; }
  .compare-head { display: none; }
  .compare-cell::before { font-weight: 600; color: #64748B; margin-right: 8px; }
  .pubmed-flow { flex-direction: column; align-items: center; }
  .pubmed-step { max-width: 100%; border-radius: 0 !important; }
  .pubmed-step:first-child { border-radius: 16px 16px 0 0 !important; }
  .pubmed-step:last-child { border-radius: 0 0 16px 16px !important; }
  .pubmed-arrow { transform: rotate(90deg); padding: 8px 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: block; }
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 24px 12px; }
  .stat-number { font-size: 36px; }
  .recycle-targets { grid-template-columns: 1fr; }
  .product-tabs { gap: 2px; }
  .product-tab { padding: 10px 12px; font-size: 12px; }
  .cta-box { padding: 48px 24px; }
}
