/* ============================================================
   PALADEM Grow — Idaho Statewide (Light Theme)
   ============================================================ */

:root {
  /* PALADEM Brand */
  --green: #2a7f50;
  --green-dark: #1e5e3b;
  --green-light: #34a065;
  --navy: #1b374d;
  --navy-light: #264b69;
  --orange: #ce5016;
  --orange-light: #e0672f;
  --grey: #4e4e4e;

  /* Light Theme */
  --bg-page: #f8faf9;
  --bg-white: #ffffff;
  --bg-soft: #f0f5f2;
  --bg-warm: #fdfaf7;
  --text-heading: #1a2b1e;
  --text-body: #3d4f42;
  --text-muted: #6b7f70;
  --text-dim: #94a699;
  --border-light: #dfe8e2;
  --border-subtle: #e8ede9;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26, 43, 30, 0.06);
  --shadow-md: 0 4px 12px rgba(26, 43, 30, 0.08);
  --shadow-lg: 0 8px 24px rgba(26, 43, 30, 0.1);
  --shadow-xl: 0 16px 40px rgba(26, 43, 30, 0.12);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease-out);
}

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

/* --- Utilities --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center {
  text-align: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--green);
  border-radius: 1px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-heading);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.hl-green {
  color: var(--green);
}

.hl-orange {
  color: var(--orange);
}

.hl-navy {
  color: var(--navy);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.35s var(--ease-out);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(42, 127, 80, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42, 127, 80, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-body);
  border: 2px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(42, 127, 80, 0.04);
}

.btn-orange {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(206, 80, 22, 0.3);
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(206, 80, 22, 0.4);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
  border-radius: 12px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 250, 249, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
}

.header-logo img {
  height: auto;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}

.nav-links a:hover {
  color: var(--green);
}

.nav-links .btn-primary,
.nav-links .btn-primary:hover {
  color: #ffffff;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(248, 250, 249, 0.88) 40%,
      rgba(240, 245, 242, 0.82) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(42, 127, 80, 0.08);
  border: 1px solid rgba(42, 127, 80, 0.2);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

.hero-badge .badge-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-heading);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-trust {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

/* Hero visual — stats cards */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hero-stat-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.hero-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.hero-stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================
   FEATURES — Two-Column Cards
   ============================================================ */
.features-section {
  padding: 6rem 0;
  background: var(--bg-white);
}

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

.feature-card {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all 0.35s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(42, 127, 80, 0.25);
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  background: rgba(42, 127, 80, 0.08);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   AI SHOWCASE — Alternating rows
   ============================================================ */
.ai-section {
  padding: 6rem 0;
  background: var(--bg-soft);
}

.ai-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.ai-block:last-child {
  margin-bottom: 0;
}

.ai-block.reverse {
  direction: rtl;
}

.ai-block.reverse>* {
  direction: ltr;
}

.ai-block-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.ai-block h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.ai-block p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.ai-benefits {
  list-style: none;
}

.ai-benefits li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0;
  font-size: 0.92rem;
  color: var(--text-body);
}

.ai-benefits li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(42, 127, 80, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--green);
  flex-shrink: 0;
}

/* AI visual cards */
.ai-visual-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.convo-mockup {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.convo-bubble {
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-size: 0.82rem;
  margin-bottom: 0.6rem;
  max-width: 85%;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  animation: bubbleIn 0.5s var(--ease-out) forwards;
}

.convo-bubble.incoming {
  background: var(--bg-soft);
  color: var(--text-body);
  border: 1px solid var(--border-light);
  border-bottom-left-radius: 4px;
}

.convo-bubble.outgoing {
  background: var(--green);
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.convo-bubble:nth-child(1) {
  animation-delay: 0.3s;
}

.convo-bubble:nth-child(2) {
  animation-delay: 1s;
}

.convo-bubble:nth-child(3) {
  animation-delay: 1.7s;
}

.convo-bubble:nth-child(4) {
  animation-delay: 2.4s;
}

@keyframes bubbleIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   WHO IT'S FOR — Industry Section
   ============================================================ */
.industry-section {
  padding: 6rem 0;
  background: var(--bg-white);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.industry-card {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: all 0.35s var(--ease-out);
}

.industry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(42, 127, 80, 0.25);
}

.industry-card .ind-icon {
  font-size: 1.75rem;
  margin-bottom: 0.6rem;
  display: block;
}

.industry-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.3rem;
}

.industry-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   PRICING TEASER
   ============================================================ */
.pricing-teaser {
  padding: 6rem 0;
  background: var(--bg-page);
}

.pricing-teaser .teaser-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.pricing-teaser .teaser-highlight {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.pricing-teaser .teaser-highlight strong {
  color: var(--green);
  font-weight: 700;
}

.pricing-teaser .teaser-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.pricing-teaser .btn-outline {
  background: transparent;
  color: var(--text-body);
  border: 2px solid var(--border-light);
  transition: all 0.35s var(--ease-out);
}

.pricing-teaser .btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(42, 127, 80, 0.04);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  padding: 6rem 0;
  background: var(--bg-soft);
}

.faq-container {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.35rem 0;
  background: none;
  border: none;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  text-align: left;
  transition: color 0.3s var(--ease-out);
}

.faq-question:hover {
  color: var(--green);
}

.faq-toggle {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--green);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-answer p {
  padding-bottom: 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--green);
  text-decoration: underline;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--green-dark) 60%, var(--green) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(206, 80, 22, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-section .section-title {
  color: #ffffff;
}

.cta-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn-cta-primary {
  background: #fff;
  color: var(--green-dark);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-cta-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-section .btn-cta-secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  padding: 2.5rem 0;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-dim);
}

.footer-links a:hover {
  color: var(--green);
}

.footer-brand img {
  height: auto;
  max-height: 50px;
  width: auto;
  opacity: 0.7;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-inner {
    gap: 3rem;
  }

  .section-title {
    font-size: 2.1rem;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-description {
    margin: 0 auto 2rem;
  }

  .hero-trust {
    margin: 0 auto;
  }

  .hero-stats-grid {
    max-width: 360px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .ai-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ai-block.reverse {
    direction: ltr;
  }

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

  .header-logo img {
    max-height: 48px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero {
    padding: 7rem 0 3.5rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1.02rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.98rem;
  }

  .industry-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    gap: 0.75rem;
  }

  .nav-toggle {
    display: flex;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }

  .hero-stat-card {
    padding: 1rem;
  }

  .hero-stat-value {
    font-size: 1.6rem;
  }

  .header-logo img {
    max-height: 40px;
  }
}