/*
Theme Name: MyGreenWelf
Theme URI: https://www.mygreenwelf.au
Description: Official mygreenwelf landing page theme
Version: 1.1
Author: mygreenwelf
*/

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

:root {
  --bg:        #f7faf8;
  --surface:   #ffffff;
  --surface2:  #eef6f1;
  --border:    rgba(42,74,56,0.1);
  --green:     #3aaa60;
  --green-dark:#2a4a38;
  --green-dim: rgba(58,170,96,0.1);
  --green-mid: rgba(58,170,96,0.18);
  --gold:      #8a6030;
  --gold-light:#f5d870;
  --gold-dim:  rgba(138,96,48,0.1);
  --text:      #1a2e22;
  --text2:     #2a4a38;
  --muted:     #5a7a65;
  --radius:    14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--green); text-decoration: none; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 16px 40px;
  background: rgba(247,250,248,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  gap: 28px;
}
nav a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
nav a:hover { color: var(--text); }
.nav-cta {
  background: var(--green); color: #fff !important;
  padding: 9px 20px; border-radius: 8px; font-weight: 700 !important;
  font-size: 13px !important; transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── HERO LOGO ── */
.hero-logo {
  height: 160px;
  width: auto;
  margin-bottom: 32px;
  filter: drop-shadow(0 4px 16px rgba(58,170,96,0.15));
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}
.hero::before {
  content: '';
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(13,148,136,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-dim); border: 1px solid rgba(13,148,136,0.2);
  color: var(--green); font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 28px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.hero h1 {
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 900; line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 24px; color: var(--text);
}
.hero h1 .green { color: var(--green); }
.hero h1 .gold  { color: var(--gold); }
.hero-sub {
  font-size: clamp(16px, 2.5vw, 19px); color: var(--muted);
  max-width: 540px; margin: 0 auto 44px; line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff;
  padding: 15px 32px; border-radius: 10px;
  font-size: 15px; font-weight: 800; transition: transform 0.2s, opacity 0.2s;
  box-shadow: 0 4px 20px rgba(58,170,96,0.25);
}
.btn-primary:hover { transform: translateY(-2px); opacity: 0.9; color: #fff; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text2);
  padding: 15px 32px; border-radius: 10px; border: 1.5px solid var(--border);
  font-size: 15px; font-weight: 600; transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--green); color: var(--green); }
.hero-stats {
  display: flex; gap: 48px; margin-top: 72px; flex-wrap: wrap; justify-content: center;
  padding-top: 48px; border-top: 1px solid var(--border); width: 100%; max-width: 600px;
}
.stat-item { text-align: center; }
.stat-num { font-size: 30px; font-weight: 900; color: var(--green); }
.stat-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }

/* ── SECTION COMMON ── */
section { padding: 96px 24px; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 700; color: var(--green);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 900;
  letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 16px; color: var(--text);
}
.section-sub { font-size: 17px; color: var(--muted); max-width: 520px; line-height: 1.7; }

/* ── FEATURES ── */
.features { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features-header { text-align: center; margin-bottom: 64px; }
.features-header .section-sub { margin: 0 auto; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.feature-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 28px 28px 32px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: rgba(58,170,96,0.3); transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(58,170,96,0.08);
}
.feature-icon {
  width: 46px; height: 46px; border-radius: 11px;
  background: var(--green-dim); border: 1px solid rgba(58,170,96,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 18px;
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.feature-card p  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── HOW IT WORKS ── */
.how { background: var(--bg); text-align: center; }
.steps {
  display: flex; gap: 0; margin-top: 64px; flex-wrap: wrap; justify-content: center;
}
.step {
  flex: 1; min-width: 220px; max-width: 300px;
  padding: 32px 24px; position: relative;
}
.step:not(:last-child)::after {
  content: '→'; position: absolute; right: -12px; top: 38px;
  font-size: 22px; color: var(--border);
}
.step-num {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--green-dim); border: 2px solid rgba(58,170,96,0.25);
  color: var(--green); font-size: 19px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.step p  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── EARLY ACCESS ── */
.early-access {
  background: linear-gradient(135deg, #eef6f1 0%, #f7faf8 50%, #fdf8ec 100%);
  border-top: 1px solid var(--border);
}
.early-access-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.early-access .section-title { margin-bottom: 12px; }
.early-access .section-sub { margin: 0 auto 40px; }
.signup-form {
  display: flex; flex-direction: column; gap: 10px;
  align-items: center; width: 100%; max-width: 520px; margin: 0 auto;
}
.signup-row { display: flex; gap: 10px; width: 100%; }
.signup-form input[type="text"],
.signup-form input[type="email"] {
  flex: 1;
  background: #fff; border: 1.5px solid var(--border); color: var(--text);
  padding: 14px 18px; border-radius: 10px; font-size: 15px;
  outline: none; transition: border-color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  min-width: 0;
}
.signup-form input[type="text"]:focus,
.signup-form input[type="email"]:focus  { border-color: var(--green); }
.signup-form input::placeholder { color: var(--muted); }
.signup-btn {
  width: 100%; background: var(--green); color: #fff;
  padding: 15px 28px; border-radius: 10px; border: none;
  font-size: 16px; font-weight: 800; cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(58,170,96,0.3);
  letter-spacing: 0.01em;
}
.signup-btn:hover { opacity: 0.88; transform: translateY(-2px); }
.signup-btn:disabled { opacity: 0.6; transform: none; cursor: not-allowed; }
.signup-note { font-size: 12px; color: var(--muted); margin-top: 14px; }
#signup-msg { margin-top: 16px; font-size: 14px; font-weight: 600; min-height: 20px; }

/* ── FOOTER ── */
footer {
  background: var(--green-dark); color: rgba(255,255,255,0.5);
  padding: 48px 24px; text-align: center;
}
.footer-logo-img { height: 90px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1) opacity(0.9); }
footer p { font-size: 13px; }

/* ── MOBILE ── */
@media (max-width: 640px) {
  nav { padding: 14px 20px; grid-template-columns: 1fr auto; }
  .nav-left { display: none; }
  .nav-right { gap: 16px; }
  .steps .step:not(:last-child)::after { display: none; }
  .hero-stats { gap: 24px; }
}
