/* ================================================================
   GROWINGTEC — Main Stylesheet
   Brand: Black #000 | White #FFF | Green #20a556
   Font: System (SF Pro on Apple / Segoe UI on Windows)
   ================================================================ */

:root {
  --black:        #000000;
  --white:        #ffffff;
  --green:        #20a556;
  --green-dark:   #198a45;
  --green-glow:   rgba(32, 165, 86, 0.12);
  --green-border: rgba(32, 165, 86, 0.30);

  --gray-1:   #0f0f0f;
  --gray-2:   #141414;
  --gray-3:   #1c1c1c;
  --border:   #242424;
  --text-dim: #aaaaaa;
  --text-muted: #666666;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font); }

/* ── Typography ────────────────────────────────────────────────── */
h1 { font-size: clamp(2.6rem, 6vw, 5rem);   font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4vw, 3rem);     font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
p  { color: var(--text-dim); line-height: 1.75; }

/* ── Layout ────────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
section { padding: 96px 0; }

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.18s ease;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(32, 165, 86, 0.35);
}
.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ── Section labels ────────────────────────────────────────────── */
.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.label-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-glow);
  border: 1px solid var(--green-border);
  color: var(--green);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* ── Divider ───────────────────────────────────────────────────── */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 18px 0;
  transition: background 0.3s, border-color 0.3s;
}
.nav.scrolled {
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Type logo */
.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
}
.nav-logo .accent { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.15s;
}
.nav-links a:not(.btn):hover { color: var(--white); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.2s;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px;
    background: var(--gray-1);
    border-bottom: 1px solid var(--border);
    gap: 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links .btn { width: 100%; justify-content: center; }
}

/* ================================================================
   HERO — LANDING PAGE
   ================================================================ */
.hero {
  padding-top: 160px;
  padding-bottom: 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(32,165,86,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content { position: relative; }
.hero h1 { margin-bottom: 24px; max-width: 820px; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 80px;
}
.hero-note span { color: var(--green); }

/* Stats row */
.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 48px;
  flex-wrap: wrap;
}
.hero-stat {
  flex: 1;
  min-width: 140px;
  padding-right: 40px;
}
.hero-stat + .hero-stat {
  padding-left: 40px;
  border-left: 1px solid var(--border);
}
.hero-stat-num {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--white);
}
.hero-stat-num em { font-style: normal; color: var(--green); }
.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ================================================================
   DARK BAND SECTION (problem, alt sections)
   ================================================================ */
.band {
  background: var(--gray-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ================================================================
   PROBLEM SECTION
   ================================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.problem-quote {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.problem-quote em { font-style: normal; color: var(--green); }
.problem-desc { font-size: 1rem; margin-bottom: 0; }

.pain-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}
.pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text-dim);
  font-size: 0.97rem;
  line-height: 1.6;
}
.pain-x {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: rgba(239,68,68,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #ef4444;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .problem-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ================================================================
   SYSTEM / 3-STEP CARDS
   ================================================================ */
.system-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 20px;
}
.system-header h2 { max-width: 480px; }
.system-header p { max-width: 380px; text-align: right; font-size: 0.95rem; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--gray-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.step-card:hover {
  border-color: var(--green-border);
  transform: translateY(-3px);
}
.step-num {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--border);
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.step-card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.step-card p  { font-size: 0.93rem; }

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; }
  .system-header p { text-align: left; }
}

/* ================================================================
   WHO IT'S FOR
   ================================================================ */
.for-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.for-card {
  background: var(--gray-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: border-color 0.2s;
}
.for-card:hover { border-color: var(--green-border); }
.for-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: var(--green-glow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.for-card h4 { margin-bottom: 6px; }
.for-card p  { font-size: 0.9rem; margin: 0; }

@media (max-width: 768px) {
  .for-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   RESULTS STRIP
   ================================================================ */
.results-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.result-item {
  padding: 36px 28px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.result-item:last-child { border-right: none; }
.result-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}
.result-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .results-strip { grid-template-columns: repeat(2, 1fr); }
  .result-item:nth-child(2) { border-right: none; }
  .result-item:nth-child(3) { border-top: 1px solid var(--border); }
  .result-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
}
@media (max-width: 480px) {
  .results-strip { grid-template-columns: 1fr; }
  .result-item { border-right: none !important; border-top: 1px solid var(--border); }
  .result-item:first-child { border-top: none; }
}

/* ================================================================
   ABOUT TEASER (2-col)
   ================================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.img-block {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-2);
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 24px;
  height: 100%;
  width: 100%;
}
.img-placeholder .gt-icon { width: 80px; opacity: 0.4; }

.text-block p { margin-bottom: 24px; font-size: 1rem; }
.text-block p:last-of-type { margin-bottom: 32px; }

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; direction: ltr !important; }
  .two-col > * { direction: ltr !important; }
  .img-block { aspect-ratio: 16/9; }
}

/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-banner {
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(32,165,86,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  background: var(--gray-1);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 80px 64px;
  text-align: center;
}
.cta-inner h2 { margin-bottom: 16px; }
.cta-inner > p { font-size: 1.1rem; max-width: 500px; margin: 0 auto 40px; }

.cta-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.cta-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.cta-step-num {
  width: 28px; height: 28px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
}
.cta-step-arrow { color: var(--border); font-size: 1.2rem; }

@media (max-width: 640px) {
  .cta-inner { padding: 48px 24px; }
  .cta-steps { flex-direction: column; gap: 16px; }
  .cta-step-arrow { transform: rotate(90deg); }
}

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 44px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.footer-logo .accent { color: var(--green); }
.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 0.82rem; color: var(--text-muted); }

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}

/* ================================================================
   PAGE HERO (About, Case Studies)
   ================================================================ */
.page-hero {
  padding-top: 160px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { max-width: 720px; margin-bottom: 16px; }
.page-hero p {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0;
}

/* ================================================================
   MISSION CARDS (About page)
   ================================================================ */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.mission-card {
  background: var(--gray-1);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.mission-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.mission-card p  { font-size: 0.92rem; }

@media (max-width: 768px) {
  .mission-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   STORY PROSE (About page)
   ================================================================ */
.story-wrap { max-width: 720px; }
.story-wrap p { font-size: 1.02rem; margin-bottom: 22px; color: var(--text-dim); }
.story-wrap p strong { color: var(--white); font-weight: 600; }
.story-wrap p:last-child { margin-bottom: 0; }
.pull-quote {
  margin: 40px 0;
  padding: 28px 36px;
  background: var(--gray-1);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.5;
}

/* ================================================================
   CASE STUDY BLOCKS
   ================================================================ */
.cs-section { padding: 96px 0; border-bottom: 1px solid var(--border); }
.cs-section:last-of-type { border-bottom: none; }

.cs-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-glow);
  border: 1px solid var(--green-border);
  color: var(--green);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.cs-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.cs-stat-num {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}
.cs-stat-label { font-size: 0.8rem; color: var(--text-muted); }

.cs-img-block {
  background: var(--gray-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ================================================================
   PLATFORM TABLE (Media Kit style)
   ================================================================ */
.platform-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.platform-table th {
  background: var(--gray-1);
  padding: 16px 24px;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.platform-table td {
  padding: 20px 24px;
  font-size: 0.97rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
}
.platform-table td:first-child { font-weight: 600; color: var(--white); }
.platform-table tr:last-child td { border-bottom: none; }
.platform-table td .green { color: var(--green); font-weight: 600; }
