/* ═══════════════════════════════════════════
   GROWLANE — styles.css
   Theme: Deep navy + electric green + white
   Clean, editorial, no heavy animations
═══════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --navy:       #0A0F1E;
  --navy-2:     #111827;
  --navy-3:     #1C2537;
  --navy-4:     #252F44;
  --green:      #00E5A0;
  --green-dim:  #00B87C;
  --green-bg:   rgba(0,229,160,.08);
  --white:      #FFFFFF;
  --gray-1:     #F4F6F9;
  --gray-2:     #E2E8F0;
  --gray-3:     #94A3B8;
  --gray-4:     #64748B;
  --text:       #0A0F1E;
  --text-dim:   #64748B;
  --border:     #E2E8F0;
  --border-dark:#1C2537;
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.14);
  --font:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:       'JetBrains Mono', 'Fira Code', monospace;
  --max-w:      1180px;
  --nav-h:      64px;
}

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

/* ── UTILITY ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section--dark { background: var(--navy); color: var(--white); }
.section--gray { background: var(--gray-1); }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; display: block; }
.eyebrow--dim { color: var(--gray-3); }
.section-headline { font-size: clamp(26px, 3.5vw, 40px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--text-dim); max-width: 52ch; line-height: 1.75; }
.section-sub--white { color: rgba(255,255,255,.6); }
.divider { height: 1px; background: var(--border); }
.divider--dark { background: var(--border-dark); }
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; padding: 4px 10px; border-radius: 20px; font-weight: 500; }
.tag--green { background: var(--green-bg); color: var(--green); }
.tag--amber { background: rgba(245,158,11,.1); color: #D97706; }
.tag--gray  { background: rgba(100,116,139,.1); color: var(--gray-4); }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; cursor: pointer; border: 1.5px solid transparent; transition: all .18s; text-decoration: none; white-space: nowrap; }
.btn--primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--primary:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn--green { background: var(--green); color: var(--navy); border-color: var(--green); }
.btn--green:hover { background: var(--green-dim); border-color: var(--green-dim); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn--outline:hover { border-color: var(--gray-3); background: var(--gray-1); }
.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.25); }
.btn--outline-white:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); }
.btn--lg { padding: 14px 28px; font-size: 15px; }
.btn svg,.btn span.arrow { transition: transform .18s; }
.btn:hover span.arrow { transform: translateX(3px); }

/* ── NAVBAR ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100; transition: box-shadow .2s;
}
#navbar.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nav-logo { font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.nav-logo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--text-dim); padding: 6px 14px; border-radius: var(--radius-sm); transition: color .15s, background .15s; }
.nav-link:hover { color: var(--text); background: var(--gray-1); }
.nav-cta { margin-left: 8px; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--navy); border-radius: 2px; transition: all .2s; }
.mobile-menu { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: white; border-bottom: 1px solid var(--border); padding: 16px 24px 24px; z-index: 99; flex-direction: column; gap: 4px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 16px; font-weight: 500; color: var(--text); padding: 10px 0; border-bottom: 1px solid var(--gray-2); }
.mobile-menu a:last-child { border-bottom: none; }

/* ── HERO ── */
#hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 96px;
  background: var(--white);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-content {}
.hero-headline { font-size: clamp(36px, 5.5vw, 66px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; margin-bottom: 22px; }
.hero-headline em { font-style: normal; color: var(--green); }
.hero-sub { font-size: 18px; color: var(--text-dim); line-height: 1.75; max-width: 46ch; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(0,229,160,.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-card-tag { margin-bottom: 20px; }
.hero-card-title { font-size: 22px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.02em; }
.hero-card-desc { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 24px; }
.hero-card-stat { display: flex; gap: 24px; padding-top: 20px; border-top: 1px solid var(--border-dark); }
.hero-stat-item { display: flex; flex-direction: column; gap: 2px; }
.hero-stat-val { font-size: 24px; font-weight: 700; color: var(--green); font-family: var(--mono); }
.hero-stat-label { font-size: 11px; color: rgba(255,255,255,.4); letter-spacing: .08em; text-transform: uppercase; }

/* ── FEATURED ── */
#featured { padding: 0; }
.featured-inner {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 48px; align-items: center;
  position: relative; overflow: hidden;
  margin: 0 24px;
}
.featured-inner::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,160,.15) 0%, transparent 70%);
  pointer-events: none;
}
.featured-eyebrow { color: var(--green); margin-bottom: 12px; }
.featured-title { font-size: clamp(22px, 3vw, 34px); font-weight: 700; color: var(--white); letter-spacing: -.02em; margin-bottom: 12px; }
.featured-desc { font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.75; max-width: 52ch; }
.featured-cta { flex-shrink: 0; }

/* ── PRODUCTS ── */
#products { padding: 96px 0; }
.products-header { margin-bottom: 52px; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; background: transparent; border: none; border-radius: 0; overflow: visible; }
.product-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 36px 32px; transition: background .18s, border-color .18s, box-shadow .18s; display: flex; flex-direction: column; position: relative; }
.product-card:hover { border-color: var(--green); box-shadow: 0 4px 24px rgba(0,229,160,.08);cursor: pointer; }
.product-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.product-icon { font-size: 22px; color: var(--navy); }
.product-name { font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: -.02em; margin-bottom: 6px; }
.product-cat { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--gray-3); text-transform: uppercase; margin-bottom: 12px; }
.product-desc { font-size: 13.5px; line-height: 1.75; color: var(--text-dim); flex: 1; }
.product-footer { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; }
.product-link { font-size: 13px; font-weight: 500; color: var(--navy); display: flex; align-items: center; gap: 4px; opacity: 0; transition: opacity .18s; }
.product-card:hover .product-link { opacity: 1; }
.product-link--live { opacity: 1; color: var(--green-dim); }

/* ── WHAT WE DO ── */
#whatwedo { background: var(--gray-1); padding: 96px 0; }
.pillars-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; gap: 32px; }
.pillars-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .18s, box-shadow .18s;
}
.pillar-card:hover { border-color: var(--green); box-shadow: 0 0 0 4px rgba(0,229,160,.06); }
.pillar-card-icon { font-size: 24px; margin-bottom: 16px; color: var(--navy); }
.pillar-card-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
.pillar-card-desc { font-size: 14px; line-height: 1.75; color: var(--text-dim); }

/* ── ABOUT ── */
#about { background: var(--navy); color: var(--white); padding: 96px 0; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-headline { font-size: clamp(26px, 3.5vw, 42px); font-weight: 700; letter-spacing: -.025em; line-height: 1.2; margin-bottom: 28px; }
.about-headline em { font-style: normal; color: var(--green); }
.about-text p { font-size: 15px; line-height: 1.85; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.about-text p:last-child { margin-bottom: 0; }
.about-stats { display: flex; flex-direction: column; justify-content: center; gap: 0; border-left: 1px solid var(--border-dark); padding-left: 56px; }
.about-stat { padding: 28px 0; border-bottom: 1px solid var(--border-dark); }
.about-stat:first-child { padding-top: 0; }
.about-stat:last-child { border-bottom: none; padding-bottom: 0; }
.about-stat-val { font-size: 44px; font-weight: 800; color: var(--green); font-family: var(--mono); letter-spacing: -.03em; line-height: 1; margin-bottom: 6px; }
.about-stat-label { font-size: 13px; color: rgba(255,255,255,.4); letter-spacing: .06em; }

/* ── CONTACT ── */
#contact { padding: 96px 0; }
.contact-inner { max-width: 600px; }
.contact-headline { font-size: clamp(28px, 4vw, 48px); font-weight: 700; letter-spacing: -.025em; margin-bottom: 14px; }
.contact-sub { font-size: 17px; color: var(--text-dim); line-height: 1.7; margin-bottom: 40px; }
.contact-form { display: flex; gap: 12px; max-width: 480px; }
.contact-input {
  flex: 1; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 15px; font-family: var(--font); color: var(--text);
  outline: none; transition: border-color .18s;
  background: var(--white);
}
.contact-input:focus { border-color: var(--navy); }
.contact-input::placeholder { color: var(--gray-3); }
.contact-hint { font-family: var(--mono); font-size: 11px; color: var(--gray-3); letter-spacing: .06em; margin-top: 14px; }
.contact-confirm { font-size: 14px; font-weight: 500; color: var(--green-dim); margin-top: 14px; display: none; }

/* ── FOOTER ── */
#footer { background: var(--navy-2); color: var(--white); padding: 64px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 48px; margin-bottom: 56px; }
.footer-brand-name { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.footer-brand-desc { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.7; max-width: 28ch; }
.footer-col-heading { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 18px; }
.footer-col-links { display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a { font-size: 13.5px; color: rgba(255,255,255,.55); transition: color .15s; }
.footer-col-links a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 32px; border-top: 1px solid var(--border-dark); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.3); font-family: var(--mono); }
.footer-socials { display: flex; gap: 16px; }
.footer-social { font-size: 13px; color: rgba(255,255,255,.35); transition: color .15s; }
.footer-social:hover { color: var(--white); }

/* ── SCROLL FADE-IN ── */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-stats { border-left: none; padding-left: 0; border-top: 1px solid var(--border-dark); padding-top: 40px; flex-direction: row; gap: 0; }
  .about-stat { padding: 0 28px; border-bottom: none; border-right: 1px solid var(--border-dark); }
  .about-stat:last-child { border-right: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero-headline { font-size: clamp(32px, 8vw, 48px); }
  .products-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .featured-inner { grid-template-columns: 1fr; padding: 32px 28px; margin: 0 16px; }
  .pillars-header { flex-direction: column; align-items: flex-start; }
  .contact-form { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .about-stats { flex-direction: column; }
  .about-stat { padding: 20px 0; border-right: none; border-bottom: 1px solid var(--border-dark); }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
