﻿/* Modern B2B Agriculture Aesthetic Framework */
:root {
  --primary: #0F291B;        /* Deep Forest Green */
  --primary-light: #1D422F;
  --secondary: #D4AF37;      /* Noble Gold */
  --secondary-light: #EBD691;
  --dark: #0D1410;           /* Rich near-black */
  --light: #F4F7F5;          /* Warm soft grey-green background */
  --white: #FFFFFF;
  --border: #D1DED5;
  --success: #2E7D32;
  --error: #C62828;
  --font-main: 'Noto Sans JP', sans-serif;
  --font-display: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.7;
}

body {
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Button & UI styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 41, 27, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.btn-accent {
  background-color: var(--secondary);
  color: var(--dark);
}

.btn-accent:hover {
  background-color: #C19E30;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background-color: rgba(212, 175, 55, 0.15);
  color: var(--primary);
  font-weight: 700;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 16px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.highlight {
  color: var(--secondary);
}

/* Sticky Header styling */
.main-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-logo {
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-item:hover {
  color: var(--secondary);
}

/* Hero Section styling */
.hero-section {
  padding: 80px 0;
  background: radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1s 0.9s;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1s));
  align-items: center;
  gap: 48px;
}

.hero-content h1 {
  font-family: var(--font-main);
  font-size: 3rem;
  line-height: 1.25;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 36px;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.trust-strip {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-light);
}

.trust-icon {
  width: 18px;
  height: 18px;
  fill: var(--secondary);
  margin-right: 6px;
}

.hero-media {
  position: relative;
}

.hero-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background-color: var(--primary);
  color: var(--white);
  padding: 20px 24px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 41, 27, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-left: 4px solid var(--secondary);
}

.badge-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}

.badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 4px;
}

/* Value Prop & Benefits */
.benefits-section {
  padding: 100px 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
}

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

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-header p {
  color: #555555;
  font-size: 1.05rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1s));
  gap: 32px;
}

.benefit-card {
  padding: 36px;
  background-color: var(--light);
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border-color: var(--secondary);
}

.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background-color: var(--white);
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  margin-bottom: 24px;
}

.benefit-icon {
  width: 26px;
  height: 26px;
  fill: var(--primary);
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.benefit-card p {
  font-size: 0.95rem;
  color: #444444;
}

/* Products Section */
.products-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1s));
  gap: 28px;
}

.product-card {
  background-color: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.product-media {
  height: 220px;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-info {
  padding: 24px;
}

.product-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.product-info p {
  font-size: 0.9rem;
  color: #555555;
  line-height: 1.6;
}

/* Process Section */
.process-section {
  padding: 100px 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1s));
  gap: 32px;
}

.step-card {
  position: relative;
  padding: 40px 24px 24px 24px;
  border-top: 4px solid var(--secondary);
  background-color: var(--light);
  border-radius: 0 0 8px 8px;
}

.step-num {
  position: absolute;
  top: -24px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--secondary);
  background-color: var(--white);
  padding: 0 8px;
  line-height: 1;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.9rem;
  color: #555555;
}

/* Testimonials */
.testimonials-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1s));
  gap: 32px;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 36px;
  display: flex;
  flex-direction: column;
}

.testimonial-rating {
  color: var(--secondary);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--dark);
  font-style: italic;
  flex-grow: 1;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
}

.author-role {
  font-size: 0.8rem;
  color: #777777;
  margin-top: 2px;
}

/* FAQ Accordion styling */
.faq-section {
  padding: 100px 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  padding-right: 16px;
}

.faq-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
  transition: transform 0.3s ease;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-content p {
  padding-bottom: 24px;
  color: #555555;
  font-size: 0.95rem;
}

.faq-item.active .faq-icon svg {
  transform: rotate(45deg);
  fill: var(--secondary);
}

.faq-item.active .faq-content {
  max-height: 500px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* About Section */
.about-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.about-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1s));
  align-items: center;
  gap: 48px;
}

.about-info h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 24px;
}

.about-info p {
  margin-bottom: 20px;
  font-size: 1rem;
  color: #444444;
}

.about-meta {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 32px;
}

.meta-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.9rem;
}

.meta-label {
  font-weight: 700;
  color: var(--primary-light);
}

.meta-val {
  color: var(--dark);
}

.about-visual {
  width: 100%;
}

.about-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
  object-fit: cover;
}

/* Form Section */
.form-section {
  padding: 100px 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
}

.form-container-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1s));
  gap: 48px;
}

.form-intro h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 20px;
}

.form-intro p {
  font-size: 1rem;
  color: #444444;
  margin-bottom: 28px;
}

.quick-contact-info {
  background-color: var(--light);
  padding: 24px;
  border-radius: 6px;
  border-left: 4px solid var(--primary);
}

.quick-contact-info p {
  margin-bottom: 8px;
}

.quick-contact-info p:last-child {
  margin-bottom: 0;
}

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

.micro-disclosure {
  font-size: 0.8rem;
  color: #777777;
  display: block;
  margin-top: 12px;
}

.form-wrapper {
  background-color: var(--light);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1s 1s;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  background-color: var(--white);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 41, 27, 0.1);
}

.form-tip {
  font-size: 0.75rem;
  color: #777777;
  display: block;
  margin-top: 4px;
}

.required {
  color: var(--error);
  font-size: 0.75rem;
  vertical-align: super;
}

.form-group-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.form-group-consent input[type="checkbox"] {
  margin-top: 5px;
  cursor: pointer;
}

.consent-label {
  font-size: 0.85rem;
  color: #555555;
  cursor: pointer;
}

.text-link {
  color: var(--primary);
  text-decoration: underline;
}

/* Spinner and Async handling */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
  margin-left: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-success-wrapper {
  background-color: var(--white);
  padding: 48px;
  border-radius: 8px;
  border: 2px solid var(--success);
  text-align: center;
  box-shadow: 0 12px 36px rgba(0,0,0,0.05);
}

.success-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background-color: rgba(46, 125, 50, 0.1);
  border-radius: 50px;
  margin-bottom: 24px;
}

.success-icon {
  width: 36px;
  height: 36px;
  fill: var(--success);
}

.form-success-wrapper h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--success);
  margin-bottom: 16px;
}

.form-success-wrapper p {
  color: #444444;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.form-success-wrapper p:last-of-type {
  margin-bottom: 32px;
}

/* Footer */
.main-footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 24px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5s 0.8s 1s;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1s));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  display: block;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.6);
}

.cross-border-disclosure {
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.45);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
}

.footer-links-box h3 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

.footer-contact p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact a {
  color: var(--secondary);
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--primary-light);
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.back-to-top:hover {
  background-color: var(--secondary);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

/* Cookie Consent Banner style */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary);
  color: var(--white);
  padding: 16px 0;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
  z-index: 9999;
}

.cookie-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-text p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.cookie-text .text-link {
  color: var(--secondary);
}

.cookie-actions {
  flex-shrink: 0;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.8rem;
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .hero-container {
    grid-template-columns: 1s;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .trust-strip {
    justify-content: center;
  }
  .hero-media {
    order: -1;
  }
  .floating-badge {
    display: none;
  }
  .main-header {
    height: 70px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
  }
  .menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: all 0.3s ease;
  }
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: none;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-cta {
    width: 100%;
  }
  .cookie-container {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cookie-actions {
    text-align: center;
  }
}
