/* MANGOFARMER LANDS — public landing */
:root {
  --green-950: #0f2a14;
  --green-900: #1b5e20;
  --green-800: #2e7d32;
  --green-700: #388e3c;
  --green-100: #e8f5e9;
  --green-50: #f3faf4;
  --gold-700: #8a6a1f;
  --gold-600: #b08d2a;
  --gold-500: #c9a227;
  --gold-400: #dbb84a;
  --gold-100: #f8f1d8;
  --ink: #142018;
  --muted: #5a6b5e;
  --line: #d7e5d9;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 18px 40px rgba(15, 42, 20, 0.1);
  --radius: 18px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(201, 162, 39, 0.12), transparent 60%),
    radial-gradient(900px 400px at 100% 0%, rgba(46, 125, 50, 0.1), transparent 55%),
    linear-gradient(180deg, #f7fbf7 0%, #ffffff 35%, #f4faf5 100%);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding-left: 1.1rem; }

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, # Pan0f2a14, #1b5e20 55%, #2e7d32);
  background: linear-gradient(145deg, var(--green-950), var(--green-900) 55%, var(--green-800));
  color: #fff;
  transition: opacity .45s ease, visibility .45s ease;
}
.page-loader.is-done { opacity: 0; visibility: hidden; }
.loader-mark { display: flex; align-items: center; gap: .75rem; font-weight: 600; letter-spacing: .08em; }
.loader-leaf {
  width: 18px; height: 18px; border-radius: 0 70% 40% 70%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-700));
  animation: spinLeaf 1.1s linear infinite;
}
@keyframes spinLeaf { to { transform: rotate(360deg); } }

.topbar {
  background: var(--green-950);
  color: rgba(255,255,255,.88);
  font-size: .84rem;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .55rem 0; flex-wrap: wrap;
}
.topbar-left { display: flex; gap: 1.1rem; flex-wrap: wrap; align-items: center; }
.topbar a:hover { color: var(--gold-400); }
.topbar-social { display: flex; gap: .65rem; }
.topbar-social a {
  width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.08);
}

.site-header {
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(15,42,20,.06);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: 74px;
}
.brand img { height: 48px; width: auto; }
.main-nav { display: flex; gap: 1.05rem; margin-left: auto; }
.main-nav a {
  font-weight: 500; font-size: .94rem; color: var(--ink);
  position: relative; padding: .25rem 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--green-800), var(--gold-500));
  transition: width .25s ease;
}
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }
.header-cta { display: flex; gap: .55rem; margin-left: .5rem; }
.nav-toggle {
  display: none; margin-left: auto; border: 0; background: transparent; width: 42px; height: 42px;
}
.nav-toggle span {
  display: block; height: 2px; margin: 6px 8px; background: var(--green-900); border-radius: 2px;
}

.btn, .btn-login {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border-radius: 999px; font-weight: 600; border: 0; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn { padding: .85rem 1.35rem; }
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  color: #1a1405;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  box-shadow: 0 10px 24px rgba(176, 141, 42, .28);
}
.btn-green {
  color: #fff;
  background: linear-gradient(135deg, var(--green-800), var(--green-950));
}
.btn-ghost, .btn-ghost-dark {
  background: rgba(255,255,255,.18);
  color: #fff; border: 1px solid rgba(255,255,255,.45);
  backdrop-filter: blur(8px);
}
.btn-ghost-dark {
  color: var(--green-900);
  border-color: var(--line);
  background: #fff;
}
.btn-outline-green {
  background: #fff; color: var(--green-900);
  border: 1px solid var(--green-800);
}
.btn-sm { padding: .55rem .9rem; font-size: .88rem; }
.btn-login {
  padding: .55rem 1rem; font-size: .85rem; color: #fff;
}
.btn-login-partner {
  background: linear-gradient(135deg, var(--green-800), var(--green-950));
}
.btn-login-customer {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  color: #1a1405;
}
.btn-login:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,.12); }

.section { padding: 5.5rem 0; }
.section-head { max-width: 720px; margin: 0 auto 2.75rem; text-align: center; }
.section-head h2, .about-copy h2, .partner h2, .contact-form-wrap h2, .hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.15;
}
.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.85rem); margin: .35rem 0 .75rem; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-700); margin: 0;
}
.narrow { max-width: 860px; }

.hero {
  position: relative; min-height: calc(100vh - 110px);
  display: flex; align-items: center; overflow: hidden; color: #fff;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 28, 14, .88) 0%, rgba(15, 42, 20, .72) 42%, rgba(15, 42, 20, .35) 100%),
    linear-gradient(0deg, rgba(10, 28, 14, .55), transparent 45%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center;
  padding: 4.5rem 0 3.5rem;
}
.brand-signal {
  font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-400); margin-bottom: .85rem;
}
.hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); margin: 0 0 1rem; }
.hero-lead { font-size: 1.08rem; max-width: 34rem; color: rgba(255,255,255,.9); margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.hero-login-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.hero-visual {
  position: relative; border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.25);
}
.hero-visual > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.float-card {
  position: absolute; padding: .7rem .9rem; border-radius: 14px;
  background: rgba(255,255,255,.86); color: var(--ink);
  backdrop-filter: blur(10px); box-shadow: var(--shadow);
  animation: floatY 4.5s ease-in-out infinite;
}
.float-card span { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; }
.float-card strong { font-size: .92rem; }
.float-card-1 { top: 12%; left: -8%; }
.float-card-2 { top: 28%; right: -6%; animation-delay: .6s; }
.float-card-3 { bottom: 28%; left: -6%; animation-delay: 1.1s; }
.float-card-4 { bottom: 12%; right: -4%; animation-delay: 1.7s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.why { background: linear-gradient(180deg, #fff, var(--green-50)); }
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem;
}
.why-card {
  background: var(--glass); border: 1px solid rgba(215, 229, 217, .9);
  border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease;
}
.why-card:hover { transform: translateY(-6px); border-color: var(--gold-500); }
.why-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-100), #fff);
  color: var(--green-800); margin-bottom: .9rem; font-size: 1.15rem;
}
.why-card h3 { font-size: 1.05rem; margin: 0 0 .45rem; }

.about-grid {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 2.5rem; align-items: center;
}
.about-media img {
  border-radius: 24px; box-shadow: var(--shadow); width: 100%;
  aspect-ratio: 4/5; object-fit: cover;
}
.about-copy h2 { font-size: clamp(2rem, 3vw, 2.7rem); margin: .4rem 0 1rem; }
.check-list {
  list-style: none; padding: 0; display: grid; gap: .55rem; margin: 1.2rem 0 1.5rem;
}
.check-list li {
  position: relative; padding-left: 1.7rem; font-weight: 500;
}
.check-list li::before {
  content: "\2713"; position: absolute; left: 0; color: var(--green-800); font-weight: 700;
}

.works { background: #fff; }
.timeline {
  list-style: none; padding: 0; margin: 0 auto; max-width: 760px;
  display: grid; gap: 0;
}
.timeline li {
  display: grid; grid-template-columns: 56px 1fr; gap: 1rem; position: relative;
  padding: 0 0 1.6rem;
}
.timeline li:not(:last-child)::before {
  content: ""; position: absolute; left: 27px; top: 52px; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--gold-500), var(--green-800));
}
.timeline span {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-800), var(--green-950));
  color: #fff; font-weight: 700; box-shadow: 0 10px 20px rgba(27,94,32,.25);
}
.timeline h3 { margin: .2rem 0 .35rem; font-size: 1.15rem; }

.plans { background: linear-gradient(180deg, var(--green-50), #fff); }
.plans-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.plan-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 1.5rem 1.25rem; box-shadow: var(--shadow); position: relative;
  display: flex; flex-direction: column; gap: .75rem;
  transition: transform .25s ease;
}
.plan-card:hover { transform: translateY(-6px); }
.plan-popular {
  border-color: var(--gold-500);
  background: linear-gradient(180deg, #fffef8, #fff);
  transform: scale(1.03);
}
.popular-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-700));
  color: #1a1405; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px;
}
.plan-amount {
  font-family: var(--font-display); font-size: 2rem; color: var(--green-900); margin: 0;
}
.plan-card ul { margin: 0 0 .5rem; color: var(--muted); padding-left: 1rem; }
.plan-card .btn { margin-top: auto; width: 100%; }
.plans-note { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 1.5rem; }

.benefits-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.benefit-item {
  background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.2rem; display: flex; align-items: center; gap: .8rem; font-weight: 600;
  box-shadow: var(--shadow); transition: transform .2s ease;
}
.benefit-item:hover { transform: translateY(-4px); }
.benefit-item i,
.benefit-item .uicon { color: var(--green-800); font-size: 1.2rem; }

.partner {
  background:
    linear-gradient(120deg, rgba(15,42,20,.94), rgba(27,94,32,.88)),
    url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1600&q=70") center/cover;
  color: #fff;
}
.partner .eyebrow { color: var(--gold-400); }
.partner-grid {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center;
}
.partner-panel {
  display: grid; gap: .9rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px; padding: 1.4rem; backdrop-filter: blur(12px);
}
.partner-panel .stat strong {
  display: block; font-family: var(--font-display); font-size: 2.4rem; line-height: 1;
}
.partner-panel .micro { margin: 0; opacity: .75; font-size: .8rem; }

.dashboard-preview { background: #fff; }
.dash-shell {
  background: linear-gradient(160deg, #f4faf5, #fff);
  border: 1px solid var(--line); border-radius: 24px; padding: 1.25rem;
  box-shadow: var(--shadow);
}
.dash-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 1rem;
}
.dash-card {
  background: #fff; border-radius: 16px; padding: 1rem; border: 1px solid var(--line);
}
.dash-card span { display: block; color: var(--muted); font-size: .82rem; }
.dash-card strong { font-size: 1.25rem; color: var(--green-900); }
.dash-body { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1rem; }
.dash-chart, .dash-tables {
  background: #fff; border-radius: 16px; padding: 1rem; border: 1px solid var(--line);
}
.chart-bars {
  display: flex; align-items: flex-end; gap: .55rem; height: 160px; margin-bottom: .75rem;
}
.chart-bars i {
  flex: 1; display: block; border-radius: 10px 10px 4px 4px;
  height: var(--h);
  background: linear-gradient(180deg, var(--gold-400), var(--green-800));
}
.dash-tables h4 { margin: .2rem 0 .55rem; font-size: .95rem; }
.dash-tables ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.dash-tables li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .45rem 0; border-bottom: 1px dashed var(--line); font-size: .9rem;
}

.masonry {
  columns: 3 260px; column-gap: 1rem;
}
.masonry-item {
  break-inside: avoid; display: block; margin: 0 0 1rem; position: relative;
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
}
.masonry-item img {
  width: 100%; transition: transform .45s ease; aspect-ratio: 4/3; object-fit: cover;
}
.masonry-item:hover img { transform: scale(1.08); }
.masonry-item span {
  position: absolute; left: .8rem; bottom: .8rem; color: #fff; font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
}

.testimonials { background: var(--green-50); }
.testimonial-slider { overflow: hidden; }
.testimonial-track {
  display: flex; gap: 1rem; transition: transform .5s ease;
}
.testimonial-card {
  min-width: calc(33.333% - .67rem); background: #fff; border-radius: 18px;
  padding: 1.35rem; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.stars { color: var(--gold-600); letter-spacing: .08em; margin-bottom: .5rem; }
.person { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; }
.person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.person span { display: block; color: var(--muted); font-size: .84rem; }
.slider-dots { display: flex; justify-content: center; gap: .45rem; margin-top: 1.2rem; }
.slider-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; background: #c5d6c7; padding: 0;
}
.slider-dots button.is-active { background: var(--green-800); width: 22px; border-radius: 999px; }

.faq .accordion-item {
  border: 1px solid var(--line); border-radius: 14px !important; overflow: hidden; margin-bottom: .7rem;
  background: #fff;
}
.faq .accordion-button {
  font-weight: 600; background: #fff; box-shadow: none !important; color: var(--ink);
}
.faq .accordion-button:not(.collapsed) { color: var(--green-900); background: var(--green-50); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.contact-map iframe {
  width: 100%; min-height: 520px; border: 0; border-radius: 22px; box-shadow: var(--shadow);
}
.contact-form-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 1.5rem; box-shadow: var(--shadow);
}
.contact-form .field { margin-bottom: .9rem; }
.contact-form label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .3rem; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: .75rem .9rem;
  font: inherit; background: #fbfdfb;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid rgba(46,125,50,.25); border-color: var(--green-800);
}
.contact-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.form-note { min-height: 1.2em; color: var(--green-800); font-weight: 500; margin-top: .75rem; }

.site-footer {
  background: linear-gradient(180deg, var(--green-950), #07140a);
  color: rgba(255,255,255,.86); padding-top: 3.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, .7fr) 1fr; gap: 1.5rem;
  padding-bottom: 2rem;
}
.footer-logo { height: 46px; width: auto; margin-bottom: .8rem; filter: brightness(1.05); }
.site-footer h4 { color: var(--gold-400); font-size: .95rem; margin: 0 0 .8rem; }
.site-footer a { display: block; margin: .35rem 0; opacity: .88; }
.site-footer a:hover { color: var(--gold-400); opacity: 1; }
.newsletter-row { display: flex; gap: .4rem; margin-top: .4rem; }
.newsletter input {
  flex: 1; border-radius: 999px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08); color: #fff; padding: .65rem .9rem;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1rem 0; }
.footer-bottom-inner {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .86rem;
}
.footer-bottom-inner a { display: inline; margin-left: .9rem; }

.float-wa, .back-top {
  position: fixed; z-index: 90; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; border: 0; color: #fff; font-size: 1.35rem;
  box-shadow: 0 12px 28px rgba(0,0,0,.2);
}
.float-wa {
  right: 1.1rem; bottom: 1.1rem;
  background: linear-gradient(135deg, #25d366, #128c7e);
}
.back-top {
  right: 1.1rem; bottom: 4.6rem; opacity: 0; pointer-events: none;
  background: linear-gradient(135deg, var(--green-800), var(--green-950));
  transition: opacity .25s ease;
}
.back-top.is-visible { opacity: 1; pointer-events: auto; }

@media (max-width: 1100px) {
  .why-grid, .plans-grid, .benefits-grid, .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .about-grid, .partner-grid, .contact-grid, .dash-body, .footer-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card { min-width: calc(50% - .5rem); }
  .plan-popular { transform: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav, .header-cta {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); padding: .85rem 1rem;
    flex-direction: column; align-items: stretch;
  }
  .site-header.is-open .main-nav, .site-header.is-open .header-cta { display: flex; }
  .site-header.is-open .header-cta { top: calc(100% + 220px); }
  .hero-grid { padding-top: 3rem; }
  .hero-aside { order: -1; }
  .float-card { display: none; }
  .float-card-1, .float-card-2 { display: block; }
  .testimonial-card { min-width: 100%; }
}

@media (max-width: 560px) {
  .why-grid, .plans-grid, .benefits-grid, .dash-kpis { grid-template-columns: 1fr; }
  .topbar-left span { display: none !important; }
  .hero-visual > img { aspect-ratio: 1/1; }
}
