/* ============================================================
   Plant Medic LLC — QR Landing Page Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:          #000000;
  --offblack:       #0d0d0d;
  --card-bg:        #111111;
  --respond:        #D93025;
  --respond-dim:    rgba(217, 48, 37, 0.15);
  --respond-border: rgba(217, 48, 37, 0.35);
  --stabilize:      #E8A000;
  --stabilize-dim:  rgba(232, 160, 0, 0.15);
  --stabilize-border: rgba(232, 160, 0, 0.35);
  --recover:        #2A8C3A;
  --recover-bright: #5EA714;
  --recover-dim:    rgba(42, 140, 58, 0.15);
  --recover-border: rgba(94, 167, 20, 0.35);
  --silver:         #B8B8B8;
  --silver-dim:     rgba(184, 184, 184, 0.45);
  --white:          #FFFFFF;
  --border:         rgba(255, 255, 255, 0.07);

  --font-heading: 'Oswald', sans-serif;
  --font-body:    'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── HERO ── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: 64px 24px 80px;
  overflow: hidden;
  text-align: center;
}

/* Radial glow background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(42, 140, 58, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(217, 48, 37, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(232, 160, 0, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Subtle grid overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-logo {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 40px rgba(94, 167, 20, 0.25));
}

.hero-tagline {
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
}

.hero-triage {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}

.hero-triage .tier-word {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 4vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hero-triage .tier-word--respond   { color: var(--respond); }
.hero-triage .tier-word--stabilize { color: var(--stabilize); }
.hero-triage .tier-word--recover   { color: var(--recover-bright); }

.hero-triage .sep {
  color: var(--silver-dim);
  font-size: 1rem;
  line-height: 1;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.35;
}

.hero-scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.scroll-arrow {
  width: 16px;
  height: 16px;
  border-right: 1.5px solid var(--white);
  border-bottom: 1.5px solid var(--white);
  transform: rotate(45deg);
  animation: bounce 1.8s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(4px); }
}

/* Three-color bar at hero bottom */
.hero-colorbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 4px;
  z-index: 2;
}

.hero-colorbar .bar--respond   { background: var(--respond); }
.hero-colorbar .bar--stabilize { background: var(--stabilize); }
.hero-colorbar .bar--recover   { background: var(--recover-bright); }

/* ── SECTION SHARED ── */
section {
  padding: 64px 24px;
}

.section-inner {
  max-width: 720px;
  margin: 0 auto;
}

/* ── DIVIDER ── */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider span {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-dim);
  white-space: nowrap;
}

/* ── PITCH SECTION ── */
.pitch {
  text-align: center;
}

.pitch-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--recover-bright);
  margin-bottom: 16px;
}

.pitch h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 5.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 28px;
}

.pitch p {
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  color: var(--silver);
  max-width: 560px;
  margin: 0 auto 14px;
}

.pitch-credentials {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 0;
}

.pitch-credentials .cred-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
}

.pitch-credentials .cred-list {
  width: 100%;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--silver-dim);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── PROTOCOL SECTION ── */
.protocol {
  background: var(--offblack);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.protocol-header {
  text-align: center;
  margin-bottom: 40px;
}

.protocol-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-bottom: 14px;
}

.triage-dots {
  display: flex;
  gap: 4px;
}

.dot-r { width: 7px; height: 7px; border-radius: 50%; background: var(--respond); }
.dot-s { width: 7px; height: 7px; border-radius: 50%; background: var(--stabilize); }
.dot-g { width: 7px; height: 7px; border-radius: 50%; background: var(--recover-bright); }

.protocol-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 4.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}

.protocol-target-intro {
  font-size: clamp(0.92rem, 2.5vw, 1rem);
  color: var(--silver);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 22px;
}

.protocol-target-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin: 0 auto 36px;
  padding: 0;
  max-width: 520px;
}

.protocol-target-list li {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.03);
}

.protocol-heading-step2 {
  margin-top: 8px;
}

/* Tier cards */
.tiers {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tier {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}

.tier::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
}

.tier--respond::before   { background: var(--respond); }
.tier--stabilize::before { background: var(--stabilize); }
.tier--recover::before   { background: var(--recover-bright); }

.tier--respond:hover   { border-color: var(--respond-border); }
.tier--stabilize:hover { border-color: var(--stabilize-border); }
.tier--recover:hover   { border-color: var(--recover-border); }

.tier-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.tier--respond   .tier-icon { background: var(--respond-dim);   border: 1px solid var(--respond-border); }
.tier--stabilize .tier-icon { background: var(--stabilize-dim); border: 1px solid var(--stabilize-border); }
.tier--recover   .tier-icon { background: var(--recover-dim);   border: 1px solid var(--recover-border); }

.tier-icon svg {
  width: 22px;
  height: 22px;
}

.tier--respond   .tier-icon svg { color: var(--respond); }
.tier--stabilize .tier-icon svg { color: var(--stabilize); }
.tier--recover   .tier-icon svg { color: var(--recover-bright); }

.tier-body { flex: 1; }

.tier-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tier--respond   .tier-label { color: var(--respond); }
.tier--stabilize .tier-label { color: var(--stabilize); }
.tier--recover   .tier-label { color: var(--recover-bright); }

.tier-when {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-bottom: 10px;
  font-family: var(--font-body);
}

.tier-desc {
  font-size: 0.92rem;
  color: var(--silver);
  line-height: 1.65;
}

/* ── ABOUT SECTION ── */
.about {
  text-align: center;
}

.about h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 4vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.about p {
  font-size: clamp(0.92rem, 2.5vw, 1rem);
  color: var(--silver);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

.about .pitch-credentials {
  margin-top: 28px;
}

/* ── TEMP HOME (placeholder until full launch) ── */
body.temp-home {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(42, 140, 58, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(217, 48, 37, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(232, 160, 0, 0.06) 0%, transparent 60%),
    var(--black);
}

.temp-home-main {
  text-align: center;
  max-width: 440px;
}

.temp-home-logo {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  margin: 0 auto 28px;
  filter: drop-shadow(0 0 40px rgba(94, 167, 20, 0.2));
}

.temp-home-note {
  font-size: 0.875rem;
  color: var(--silver-dim);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
  line-height: 1.55;
}

.temp-home-cta {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  background: var(--recover-bright);
  padding: 14px 28px;
  border-radius: 4px;
  transition: filter 0.2s, transform 0.2s;
}

.temp-home-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.temp-home-cta:focus-visible {
  outline: 2px solid var(--recover-bright);
  outline-offset: 4px;
}

/* ── FOOTER ── */
.footer {
  background: var(--offblack);
  border-top: 1px solid var(--border);
  padding: 48px 24px 40px;
  text-align: center;
}

.footer-logo {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 auto 12px;
  opacity: 0.85;
}

.footer-company {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-bottom: 28px;
}

/* Social icons */
.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--silver);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-link:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}

.social-link--fb:hover    { background: rgba(24,119,242,0.15);  border-color: rgba(24,119,242,0.4);  color: #1877F2; }
.social-link--ig:hover    { background: rgba(225,48,108,0.15);  border-color: rgba(225,48,108,0.4);  color: #E1306C; }
.social-link--tt:hover    { background: rgba(255,255,255,0.1);  border-color: rgba(255,255,255,0.3); color: var(--white); }
.social-link--yt:hover    { background: rgba(255,0,0,0.15);     border-color: rgba(255,0,0,0.4);     color: #FF0000; }

.footer-copy {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: rgba(184,184,184,0.25);
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (min-width: 600px) {
  .tier {
    padding: 32px 28px;
    gap: 24px;
  }

  .tier-icon {
    width: 54px;
    height: 54px;
  }

  .tier-icon svg {
    width: 24px;
    height: 24px;
  }
}

@media (min-width: 900px) {
  .tiers {
    gap: 20px;
  }
}
