/* ==========================================================================
   AGRO OURO - LANDING PAGE SYSTEM
   Color Tokens:
   - Primary Teal: #39D2C0 (0x4D39D2C0)
   - Accent Gold:  #9E8F4F (0xFF9E8F4F)
   - Soft Cream:   #F7F7F4 (0xFFF7F7F4)
   ========================================================================== */

:root {
  --teal-primary: #39D2C0;
  --teal-light: #6BE5D7;
  --teal-dark: #229B8C;
  --teal-glow: rgba(57, 210, 192, 0.25);
  
  --gold-accent: #9E8F4F;
  --gold-light: #C4B473;
  --gold-glow: rgba(158, 143, 79, 0.25);
  
  --bg-cream: #F7F7F4;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-dark: #121E1A;
  --bg-dark-card: #1B2B25;

  --text-dark: #1A2521;
  --text-muted: #5E6D66;
  --text-light: #F7F7F4;
  --text-gold: #9E8F4F;

  --border-light: rgba(26, 37, 33, 0.08);
  --border-teal: rgba(57, 210, 192, 0.3);
  --border-gold: rgba(158, 143, 79, 0.3);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(18, 30, 26, 0.04);
  --shadow-md: 0 12px 32px rgba(18, 30, 26, 0.08);
  --shadow-lg: 0 20px 48px rgba(18, 30, 26, 0.12);
  --shadow-teal: 0 12px 36px rgba(57, 210, 192, 0.3);

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-primary), var(--teal-dark));
  color: #0F1A16;
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(57, 210, 192, 0.45);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-accent), #83753C);
  color: #FFFFFF;
  box-shadow: 0 10px 28px var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(158, 143, 79, 0.4);
}

.btn-outline {
  background: transparent;
  border-color: var(--teal-primary);
  color: var(--text-dark);
}

.btn-outline:hover {
  background: var(--teal-glow);
  color: var(--teal-dark);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-gold {
  background: rgba(158, 143, 79, 0.12);
  color: var(--gold-accent);
  border: 1px solid var(--border-gold);
}

.badge-teal {
  background: rgba(57, 210, 192, 0.15);
  color: var(--teal-dark);
  border: 1px solid var(--border-teal);
}

/* Top Commodity Ticker Bar */
.top-ticker-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  background: #0D1714;
  color: #A0B2A9;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  height: 38px;
  display: flex;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.top-ticker-bar #commodity-ticker {
  display: flex;
  justify-content: center;
}

.top-ticker-bar.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* Header & Navbar */
.navbar {
  position: fixed;
  top: 38px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  top: 0;
  background: rgba(247, 247, 244, 0.94);
  backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-primary), var(--gold-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.3rem;
  box-shadow: 0 6px 16px var(--teal-glow);
}

.brand-highlight {
  color: var(--gold-accent);
}

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

.nav-link {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--teal-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(57, 210, 192, 0.15), transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(158, 143, 79, 0.12), transparent 45%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  letter-spacing: -1px;
  margin: 20px 0;
  color: var(--text-dark);
}

.hero-content h1 span.gradient-text {
  background: linear-gradient(135deg, var(--teal-primary), var(--gold-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
}

.stat-item h4 {
  font-size: 1.8rem;
  color: var(--text-dark);
  font-weight: 800;
}

.stat-item h4 span {
  color: var(--gold-accent);
}

.stat-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Visual / Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-wrapper {
  position: relative;
  max-width: 440px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

.mockup-wrapper img {
  border-radius: 24px;
  border: 4px solid #FFFFFF;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-teal);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10;
}

.card-top {
  top: 12%;
  left: -10%;
  animation: floatCard 5s ease-in-out infinite;
}

.card-bottom {
  bottom: 12%;
  right: -8%;
  animation: floatCard 7s ease-in-out infinite reverse;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.icon-box-teal {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(57, 210, 192, 0.2);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.icon-box-gold {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(158, 143, 79, 0.2);
  color: var(--gold-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Features Section */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.6rem;
  margin: 16px 0 20px;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg-card);
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-teal);
  box-shadow: var(--shadow-md);
}

.feature-card.highlight {
  border-color: var(--gold-accent);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF8EF 100%);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(57, 210, 192, 0.15);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.feature-card.highlight .feature-icon-wrapper {
  background: rgba(158, 143, 79, 0.18);
  color: var(--gold-accent);
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 20px;
}

.feature-link {
  font-weight: 700;
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
}

.feature-card.highlight .feature-link {
  color: var(--gold-accent);
}

/* Interactive AI Diagnosis Showcase */
.demo-section {
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: 32px;
  padding: 80px 48px;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}

.demo-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 210, 192, 0.2), transparent 70%);
  pointer-events: none;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.demo-info h2 {
  color: #FFFFFF;
  font-size: 2.5rem;
  margin: 16px 0 20px;
}

.demo-info p {
  color: #A0B2A9;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.demo-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-primary);
  color: #0F1A16;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.step-content p {
  color: #7D8E86;
  font-size: 0.9rem;
  margin: 0;
}

/* Interactive Diagnosis Simulator Card */
.demo-interactive-card {
  background: var(--bg-dark-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(57, 210, 192, 0.3);
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.scanner-box {
  position: relative;
  width: 100%;
  height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}

.scanner-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--teal-primary), transparent);
  box-shadow: 0 0 15px var(--teal-primary);
  animation: scan 3s ease-in-out infinite;
}

@keyframes scan {
  0%, 100% { top: 0%; }
  50% { top: 96%; }
}

.diag-result-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.result-title {
  color: var(--teal-primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.confidence-tag {
  background: rgba(158, 143, 79, 0.3);
  color: var(--gold-light);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.result-desc {
  color: #C5D4CC;
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.result-rec {
  background: rgba(57, 210, 192, 0.1);
  border-left: 3px solid var(--teal-primary);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  font-size: 0.88rem;
  color: #E2FAF5;
}

/* Culture Library Grid & Filter */
.culture-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--teal-primary);
  color: #0F1A16;
  border-color: var(--teal-primary);
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.culture-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.culture-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.culture-thumb {
  height: 140px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.culture-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.culture-card:hover .culture-thumb img {
  transform: scale(1.08);
}

.culture-info {
  padding: 16px;
}

.culture-info h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.culture-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Pricing Section (Grátis vs Pago) */
.pricing-section {
  background: linear-gradient(180deg, var(--bg-cream) 0%, #EFEFEA 100%);
}

.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.toggle-label {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.toggle-label.active {
  color: var(--text-dark);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-light);
  padding: 44px 36px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border-color: var(--gold-accent);
  box-shadow: 0 16px 48px rgba(158, 143, 79, 0.2);
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: -16px;
  right: 36px;
  background: var(--gold-accent);
  color: #FFFFFF;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-header h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 20px 0;
}

.pricing-price span {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  margin: 30px 0;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--text-dark);
}

.pricing-features li.disabled {
  color: #A0B0A8;
  text-decoration: line-through;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(57, 210, 192, 0.2);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.pricing-card.popular .check-icon {
  background: rgba(158, 143, 79, 0.2);
  color: var(--gold-accent);
}

/* Testimonials / Social Proof */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #F5A623;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.testimonial-card p {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 20px;
  font-size: 0.98rem;
}

.user-meta h5 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.user-meta span {
  font-size: 0.85rem;
  color: var(--gold-accent);
  font-weight: 600;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}

.faq-answer {
  padding: 0 24px 24px;
  color: var(--text-muted);
  display: none;
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-toggle-icon {
  transition: transform 0.3s ease;
}

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

/* Footer Section */
.footer {
  background: var(--bg-dark);
  color: #A0B2A9;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-col h5 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a:hover {
  color: var(--teal-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid, .demo-grid, .pricing-cards {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

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

  .card-top, .card-bottom {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }

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

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

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