/* ==========================================================================
GreenGuard AgroTech — Landing Page Stylesheet
Palette: Deep Emerald (#1B5E20), Leaf Green (#4CAF50), Crisp White & Sage
========================================================================== */

:root {
--emerald-deep: #123f16;
--emerald-primary: #1b5e20;
--leaf-green: #4caf50;
--leaf-hover: #3f9d43;
--sage-soft: #f2f8f3;
--sage-tint: #e7f3e9;
--border-sage: #d3e7d7;
--text-dark: #111827;
--text-muted: #4b5563;
--white: #ffffff;
--shadow-sm: 0 2px 10px rgba(27, 94, 32, 0.06);
--shadow-md: 0 12px 28px -10px rgba(18, 63, 22, 0.14);
--radius-md: 12px;
--radius-lg: 18px;
}

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

html {
scroll-behavior: smooth;
}

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

img {
max-width: 100%;
height: auto;
display: block;
}

a {
color: inherit;
text-decoration: none;
}

.hidden {
display: none !important;
}

.container {
width: 100%;
max-width: 1180px;
margin-left: auto;
margin-right: auto;
padding-left: 1.25rem;
padding-right: 1.25rem;
}

/* ==========================================================================
Header & Navigation
========================================================================== */

.site-header {
position: sticky;
top: 0;
z-index: 50;
background-color: rgba(255, 255, 255, 0.96);
backdrop-filter: blur(8px);
border-bottom: 1px solid var(--border-sage);
box-shadow: var(--shadow-sm);
}

.header-inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
min-height: 76px;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}

.brand-lockup {
display: flex;
align-items: center;
gap: 0.75rem;
min-width: 0;
}

.brand-logo {
width: 48px;
height: 48px;
object-fit: contain;
border-radius: 10px;
background-color: var(--sage-soft);
border: 1px solid var(--border-sage);
padding: 2px;
flex-shrink: 0;
}

.brand-text {
display: flex;
flex-direction: column;
min-width: 0;
}

.brand-name {
font-size: 1.05rem;
font-weight: 800;
color: var(--emerald-primary);
line-height: 1.2;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.brand-tagline {
font-size: 0.75rem;
font-weight: 500;
color: var(--text-muted);
line-height: 1.25;
}

.main-nav {
display: none;
align-items: center;
gap: 1.5rem;
font-size: 0.92rem;
font-weight: 600;
color: var(--text-dark);
}

.main-nav a:hover {
color: var(--emerald-primary);
}

.header-actions {
display: flex;
align-items: center;
gap: 0.5rem;
flex-shrink: 0;
}

/* ==========================================================================
Buttons & Links
========================================================================== */

.btn {
display: inline-flex;
align-items: center;
justify-content: center;
font-family: inherit;
font-weight: 700;
border-radius: var(--radius-md);
border: 2px solid transparent;
cursor: pointer;
transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
text-align: center;
}

.btn:hover {
transform: translateY(-1px);
}

.btn-sm {
padding: 0.45rem 0.85rem;
font-size: 0.82rem;
}

.btn-lg {
padding: 0.85rem 1.35rem;
font-size: 0.95rem;
}

.btn-primary {
background-color: var(--emerald-primary);
color: var(--white);
border-color: var(--emerald-primary);
}

.btn-primary:hover {
background-color: var(--emerald-deep);
border-color: var(--emerald-deep);
}

.btn-leaf {
background-color: var(--leaf-green);
color: var(--emerald-deep);
border-color: var(--leaf-green);
}

.btn-leaf:hover {
background-color: var(--leaf-hover);
border-color: var(--leaf-hover);
color: var(--white);
}

.btn-outline-emerald {
background-color: var(--white);
color: var(--emerald-primary);
border-color: var(--emerald-primary);
}

.btn-outline-emerald:hover {
background-color: var(--sage-soft);
}

.btn-light-outline {
background-color: rgba(255, 255, 255, 0.1);
color: var(--white);
border-color: rgba(255, 255, 255, 0.45);
}

.btn-light-outline:hover {
background-color: rgba(255, 255, 255, 0.2);
border-color: var(--white);
}

.text-link {
display: inline-block;
font-weight: 700;
font-size: 0.9rem;
color: var(--emerald-primary);
}

.text-link:hover {
text-decoration: underline;
}

/* ==========================================================================
Hero Section
========================================================================== */

.hero-section {
background:
radial-gradient(circle at 88% 18%, rgba(76, 175, 80, 0.24) 0%, transparent 42%),
linear-gradient(135deg, #0d2e10 0%, #1b5e20 60%, #24722a 100%);
color: var(--white);
padding-top: 3.5rem;
padding-bottom: 4rem;
}

.hero-grid {
display: grid;
grid-template-columns: 1fr;
gap: 2.25rem;
align-items: center;
}

.eyebrow {
display: inline-block;
margin: 0 0 0.85rem;
padding: 0.35rem 0.8rem;
border-radius: 999px;
background-color: rgba(255, 255, 255, 0.12);
border: 1px solid rgba(255, 255, 255, 0.22);
font-size: 0.78rem;
font-weight: 600;
letter-spacing: 0.02em;
color: #e8f5e9;
}

.hero-copy h1 {
margin: 0 0 1rem;
font-size: 2.15rem;
line-height: 1.15;
font-weight: 800;
letter-spacing: -0.02em;
}

.highlight-leaf {
color: #81c784;
}

.hero-subheadline {
margin: 0 0 1.5rem;
font-size: 1rem;
color: #edf7ee;
max-width: 620px;
}

.hero-cta-group {
display: flex;
flex-wrap: wrap;
gap: 0.85rem;
margin-bottom: 1.75rem;
}

.metrics-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0.75rem;
}

.metric-card {
background-color: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: var(--radius-md);
padding: 0.85rem 1rem;
}

.metric-value {
font-size: 1.3rem;
font-weight: 800;
color: #a5d6a7;
line-height: 1.2;
}

.metric-label {
font-size: 0.78rem;
color: #e8f5e9;
margin-top: 0.2rem;
}

.hero-summary-card {
background-color: var(--white);
color: var(--text-dark);
border-radius: var(--radius-lg);
padding: 1.5rem;
box-shadow: var(--shadow-md);
border: 1px solid var(--border-sage);
}

.badge-pill {
display: inline-block;
padding: 0.25rem 0.7rem;
border-radius: 999px;
background-color: var(--sage-tint);
color: var(--emerald-primary);
font-size: 0.75rem;
font-weight: 700;
}

.hero-summary-card h2 {
margin: 0.65rem 0 0.45rem;
font-size: 1.35rem;
color: var(--emerald-deep);
}

.card-intro {
margin: 0 0 1.1rem;
font-size: 0.9rem;
color: var(--text-muted);
}

.track-preview {
display: flex;
flex-direction: column;
gap: 0.85rem;
margin-bottom: 1.15rem;
}

.track-preview-item {
background-color: var(--sage-soft);
border: 1px solid var(--border-sage);
border-radius: var(--radius-md);
padding: 0.9rem;
}

.track-preview-head {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: 0.4rem;
margin-bottom: 0.35rem;
font-size: 0.92rem;
color: var(--emerald-deep);
}

.track-preview-head span {
font-size: 0.75rem;
font-weight: 700;
background-color: var(--emerald-primary);
color: var(--white);
padding: 0.2rem 0.55rem;
border-radius: 999px;
}

.track-preview-item p {
margin: 0;
font-size: 0.84rem;
color: var(--text-muted);
}

/* ==========================================================================
Sections & Cards
========================================================================== */

.section-block {
padding-top: 4rem;
padding-bottom: 4rem;
}

.bg-white {
background-color: var(--white);
}

.bg-sage-soft {
background-color: var(--sage-soft);
border-top: 1px solid var(--border-sage);
border-bottom: 1px solid var(--border-sage);
}

.section-header {
margin-bottom: 2.25rem;
}

.section-header.centered {
text-align: center;
max-width: 720px;
margin-left: auto;
margin-right: auto;
}

.section-kicker {
display: inline-block;
font-size: 0.78rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--emerald-primary);
margin-bottom: 0.4rem;
}

.section-header h2 {
margin: 0 0 0.6rem;
font-size: 1.75rem;
line-height: 1.2;
font-weight: 800;
color: var(--emerald-deep);
}

.section-header p {
margin: 0;
color: var(--text-muted);
font-size: 0.98rem;
}

.cards-grid-3 {
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
}

.service-card {
background-color: var(--white);
border: 1px solid var(--border-sage);
border-radius: var(--radius-lg);
padding: 1.6rem;
box-shadow: var(--shadow-sm);
display: flex;
flex-direction: column;
}

.service-card.featured-card {
border: 2px solid var(--emerald-primary);
background-color: #fbfdfb;
}

.card-tag {
font-size: 0.76rem;
font-weight: 700;
color: var(--emerald-primary);
margin-bottom: 0.45rem;
}

.service-card h3 {
margin: 0 0 0.65rem;
font-size: 1.22rem;
color: var(--emerald-deep);
}

.card-desc {
margin: 0 0 1rem;
font-size: 0.92rem;
color: var(--text-muted);
}

.benefit-list {
list-style: none;
margin: 0 0 1.35rem;
padding: 0;
display: flex;
flex-direction: column;
gap: 0.55rem;
font-size: 0.88rem;
color: var(--text-dark);
}

.benefit-list li::before {
content: "✓ ";
color: var(--leaf-green);
font-weight: 800;
margin-right: 0.25rem;
}

.card-footer-meta {
margin-top: auto;
padding-top: 1rem;
border-top: 1px solid var(--border-sage);
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.5rem;
font-size: 0.85rem;
font-weight: 700;
color: var(--emerald-primary);
}

/* ==========================================================================
Dual-Audience Comparison
========================================================================== */

.comparison-grid {
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
}

.audience-panel {
background-color: var(--white);
border: 1px solid var(--border-sage);
border-radius: var(--radius-lg);
padding: 1.75rem;
box-shadow: var(--shadow-sm);
}

.audience-badge {
display: inline-block;
padding: 0.3rem 0.75rem;
border-radius: 999px;
background-color: var(--leaf-green);
color: var(--emerald-deep);
font-size: 0.76rem;
font-weight: 800;
margin-bottom: 0.65rem;
}

.audience-badge.dark-badge {
background-color: var(--emerald-primary);
color: var(--white);
}

.audience-panel h3 {
margin: 0 0 0.35rem;
font-size: 1.3rem;
color: var(--emerald-deep);
}

.audience-subtitle {
margin: 0 0 1.2rem;
font-size: 0.88rem;
color: var(--text-muted);
}

.comparison-list {
margin: 0;
display: flex;
flex-direction: column;
gap: 1rem;
}

.comparison-list > div {
padding-top: 0.85rem;
border-top: 1px solid var(--border-sage);
}

.comparison-list dt {
font-size: 0.8rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--emerald-primary);
margin-bottom: 0.25rem;
}

.comparison-list dd {
margin: 0;
font-size: 0.92rem;
color: var(--text-dark);
}

/* ==========================================================================
Audit Inquiry Form & Summary Output
========================================================================== */

.inquiry-panel {
background-color: var(--white);
border: 1px solid var(--border-sage);
border-radius: var(--radius-lg);
padding: 1.5rem;
box-shadow: var(--shadow-md);
}

.track-switcher {
display: flex;
flex-wrap: wrap;
gap: 0.6rem;
margin-bottom: 1.5rem;
padding-bottom: 1rem;
border-bottom: 1px solid var(--border-sage);
}

.track-btn {
padding: 0.6rem 1.1rem;
border-radius: var(--radius-md);
border: 1.5px solid var(--emerald-primary);
background-color: var(--white);
color: var(--emerald-primary);
font-family: inherit;
font-size: 0.88rem;
font-weight: 700;
cursor: pointer;
}

.track-btn.active {
background-color: var(--emerald-primary);
color: var(--white);
}

.inquiry-form {
display: flex;
flex-direction: column;
gap: 1rem;
}

.form-row {
display: grid;
grid-template-columns: 1fr;
gap: 1rem;
}

.form-row-3 {
display: grid;
grid-template-columns: 1fr;
gap: 1rem;
}

.form-field {
display: flex;
flex-direction: column;
gap: 0.35rem;
}

.form-field label {
font-size: 0.86rem;
font-weight: 700;
color: var(--emerald-deep);
}

.form-field input,
.form-field select,
.form-field textarea {
width: 100%;
padding: 0.7rem 0.85rem;
border-radius: 10px;
border: 1.5px solid var(--border-sage);
background-color: var(--white);
font-family: inherit;
font-size: 0.92rem;
color: var(--text-dark);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
outline: none;
border-color: var(--emerald-primary);
box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.form-actions {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
padding-top: 0.35rem;
}

.summary-output {
margin-top: 1.5rem;
background-color: var(--sage-soft);
border: 1.5px solid var(--emerald-primary);
border-radius: var(--radius-md);
padding: 1.1rem;
}

.summary-output-header {
display: flex;
justify-content: space-between;
align-items: center;
gap: 0.75rem;
margin-bottom: 0.65rem;
font-size: 0.88rem;
font-weight: 800;
color: var(--emerald-deep);
}

.summary-output pre {
margin: 0;
white-space: pre-wrap;
word-break: break-word;
font-family: inherit;
font-size: 0.9rem;
color: var(--text-dark);
background-color: var(--white);
padding: 0.85rem;
border-radius: 10px;
border: 1px solid var(--border-sage);
}

.status-banner {
margin: 1rem 0 0;
padding: 0.7rem 1rem;
border-radius: 10px;
background-color: var(--sage-tint);
border: 1px solid var(--leaf-green);
color: var(--emerald-deep);
font-size: 0.88rem;
font-weight: 600;
}

/* ==========================================================================
Footer
========================================================================== */

.site-footer {
background-color: var(--emerald-deep);
color: #e8f5e9;
padding-top: 3rem;
padding-bottom: 1.5rem;
}

.footer-grid {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
padding-bottom: 2rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand-name {
color: var(--white);
}

.footer-tagline {
color: #c8e6c9;
}

.footer-copy {
margin: 0.85rem 0 0;
font-size: 0.88rem;
color: #d7ecd8;
max-width: 360px;
}

.footer-col h3 {
margin: 0 0 0.75rem;
font-size: 0.95rem;
font-weight: 800;
color: var(--white);
}

.footer-col ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 0.45rem;
font-size: 0.88rem;
}

.footer-col a:hover {
color: #a5d6a7;
text-decoration: underline;
}

.footer-bottom {
padding-top: 1.25rem;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 0.5rem;
font-size: 0.82rem;
color: #c8e6c9;
}

/* ==========================================================================
Responsive Breakpoints
========================================================================== */

@media (min-width: 640px) {
.form-row {
grid-template-columns: repeat(2, 1fr);
}

.form-row-3 {
grid-template-columns: repeat(3, 1fr);
}

.inquiry-panel {
padding: 2rem;
}
}

@media (min-width: 768px) {
.main-nav {
display: flex;
}

.hero-copy h1 {
font-size: 2.75rem;
}

.metrics-grid {
grid-template-columns: repeat(4, 1fr);
}

.cards-grid-3 {
grid-template-columns: repeat(3, 1fr);
}

.comparison-grid {
grid-template-columns: repeat(2, 1fr);
}

.footer-grid {
grid-template-columns: 1.4fr 1fr 1fr;
}
}

@media (min-width: 1024px) {
.hero-grid {
grid-template-columns: 1.25fr 0.9fr;
}
}
/* ==========================================================================
   Mobile Navigation & Logo Lockup Enhancements
   ========================================================================== */

.brand-banner {
  height: 44px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  border-radius: 6px;
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem;
  border-radius: 10px;
  border: 1px solid var(--border-sage);
  background-color: var(--white);
  color: var(--emerald-primary);
  cursor: pointer;
}

.mobile-menu-btn:hover {
  background-color: var(--sage-soft);
}

.mobile-nav {
  background-color: var(--white);
  border-top: 1px solid var(--border-sage);
  padding: 0.85rem 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mobile-nav a {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.35rem 0;
}

.mobile-nav a:hover {
  color: var(--emerald-primary);
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  background-color: var(--white);
  padding: 3px;
  flex-shrink: 0;
}

.link-inline {
  color: var(--emerald-primary);
  font-weight: 700;
  text-decoration: underline;
}

.link-inline:hover {
  color: var(--emerald-deep);
}

@media (min-width: 768px) {
  .mobile-menu-btn,
  .mobile-nav {
    display: none !important;
  }

  .brand-banner {
    height: 50px;
    max-width: 240px;
  }
}
