/* ===== RESET & BASE ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:'Inter','Segoe UI',sans-serif; background:#fff; color:#1a1a1a; line-height:1.6; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }

:root {
  --green:      #2d7a2d;
  --green-dark: #1a5c1a;
  --green-mid:  #3a8f3a;
  --green-bg:   #f0f7f0;
  --green-bd:   #b8d8b8;
  --accent:     #7cb518;
  --white:      #ffffff;
  --gray-50:    #f9fafb;
  --gray-100:   #f3f4f6;
  --gray-200:   #e5e7eb;
  --gray-500:   #6b7280;
  --gray-700:   #374151;
  --gray-900:   #111827;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.14);
  --r:          12px;
  --r-lg:       20px;
}

/* ===== NAVBAR ===== */
.navbar {
  background: rgba(26,92,26,0.97);
  backdrop-filter: blur(12px);
  position: sticky; top:0; z-index:200;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width:1280px; margin:0 auto;
  padding:0 32px; height:68px;
  display:flex; align-items:center; gap:40px;
}
.nav-brand { display:flex; align-items:center; gap:12px; flex-shrink:0; }
.brand-logo {
  width:38px; height:38px;
  background:linear-gradient(135deg,var(--green-mid),var(--accent));
  border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  font-size:20px; flex-shrink:0;
}
.brand-name { font-size:18px; font-weight:800; color:#fff; letter-spacing:-0.3px; }
.nav-links { display:flex; gap:32px; margin-left:auto; }
.nav-links a {
  font-size:14px; font-weight:500;
  color:rgba(255,255,255,0.8); transition:color 0.15s;
  position:relative; padding-bottom:2px;
}
.nav-links a::after {
  content:''; position:absolute; bottom:0; left:0;
  width:0; height:2px; background:var(--accent);
  transition:width 0.2s;
}
.nav-links a:hover { color:#fff; }
.nav-links a:hover::after { width:100%; }
.btn-login {
  display:inline-flex; align-items:center; gap:7px;
  padding:9px 22px;
  background:rgba(255,255,255,0.12);
  border:1.5px solid rgba(255,255,255,0.35);
  border-radius:50px;
  font-size:14px; font-weight:600; color:#fff;
  transition:all 0.2s; flex-shrink:0;
}
.btn-login:hover { background:rgba(255,255,255,0.22); border-color:rgba(255,255,255,0.6); }
.hamburger { display:none; background:none; border:none; font-size:22px; color:#fff; cursor:pointer; margin-left:auto; }
.mobile-menu { display:none; flex-direction:column; padding:14px 28px 18px; gap:14px; background:var(--green-dark); border-top:1px solid rgba(255,255,255,0.1); }
.mobile-menu.open { display:flex; }
.mobile-menu a { font-size:15px; color:rgba(255,255,255,0.88); font-weight:500; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(145deg, #0d3310 0%, #1a5c1a 42%, #2d7a2d 100%);
  padding: 128px 24px 140px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero::before {
  content:'';
  position:absolute; inset:0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,181,24,0.18) 0%, transparent 70%);
  pointer-events:none;
  z-index: 1;
}
.hero::after {
  content:'';
  position:absolute; width:600px; height:600px;
  border-radius:50%;
  background:rgba(255,255,255,0.03);
  top:-200px; right:-150px;
  pointer-events:none;
  z-index: 1;
}
.hero.has-slideshow {
  background: #0d3310;
  padding: 128px 24px 140px;
}
.hero.has-slideshow::before,
.hero.has-slideshow::after {
  display: none;
}
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0d3310;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), transform 6s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: opacity, transform;
  pointer-events: none;
  z-index: 0;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}
.hero-slide.is-prev {
  opacity: 0;
  z-index: 1;
}
.hero-slideshow-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(125deg, rgba(20, 72, 20, 0.42) 0%, rgba(10, 40, 10, 0.2) 45%, rgba(8, 30, 8, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.72) 100%);
}
.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  width: 100%;
}
.hero.has-slideshow .hero-inner > * {
  animation: heroContentIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.hero.has-slideshow .hero-badge { animation-delay: 0.08s; }
.hero.has-slideshow .hero-title { animation-delay: 0.18s; }
.hero.has-slideshow .hero-subtitle { animation-delay: 0.28s; }
.hero.has-slideshow .hero-desc { animation-delay: 0.38s; }
.hero.has-slideshow .hero-actions { animation-delay: 0.48s; }
.hero.has-slideshow .hero-stats { animation-delay: 0.58s; }
@keyframes heroContentIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.4px;
  margin-bottom: 28px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8fd14f;
  box-shadow: 0 0 0 3px rgba(143, 209, 79, 0.35);
  animation: heroPulse 2.2s ease-in-out infinite;
}
@keyframes heroPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.15); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: -1.5px;
  line-height: 1.08;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero-title span {
  color: #a8e063;
  background: linear-gradient(135deg, #b8f06a 0%, #7cb518 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.hero-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 44px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  background: #fff;
  color: #1a5c1a;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  border: 2px solid #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(255, 255, 255, 0.15) inset;
}
.btn-hero-primary:hover {
  background: #f4fdf4;
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, background 0.2s, border-color 0.2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.75);
  transform: translateY(-3px);
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 20px 36px;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}
.hero-stat { text-align: center; padding: 0 28px; }
.hero-stat:not(:last-child) { border-right: 1px solid rgba(255, 255, 255, 0.14); }
.hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}
.hero-stat-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* ===== SECTION BASE ===== */
.section { padding:88px 24px; }
.section-white { background:var(--white); }
.section-gray  { background:var(--gray-50); }
.section-inner { max-width:1280px; margin:0 auto; }

.section-eyebrow {
  display:inline-flex; align-items:center; gap:6px;
  font-size:11px; font-weight:700; text-transform:uppercase;
  letter-spacing:1px; color:var(--green);
  background:var(--green-bg); border:1px solid var(--green-bd);
  padding:4px 12px; border-radius:50px; margin-bottom:12px;
}
.section-title {
  font-size:36px; font-weight:800;
  color:var(--gray-900); text-align:center; margin-bottom:10px;
  letter-spacing:-0.5px;
}
.section-sub {
  font-size:16px; color:var(--gray-500);
  text-align:center; margin-bottom:56px; max-width:560px;
  margin-left:auto; margin-right:auto;
}

/* ===== FEATURES ===== */
.features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.feature-card {
  background:var(--white);
  border:1.5px solid var(--gray-200);
  border-radius:var(--r-lg); padding:32px 28px;
  transition:all 0.25s; position:relative; overflow:hidden;
}
.feature-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg,var(--green),var(--accent));
  transform:scaleX(0); transform-origin:left;
  transition:transform 0.3s;
}
.feature-card:hover { box-shadow:var(--shadow-md); transform:translateY(-4px); border-color:var(--green-bd); }
.feature-card:hover::before { transform:scaleX(1); }
.feature-icon {
  width:56px; height:56px;
  background:var(--green-bg); border:1.5px solid var(--green-bd);
  border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:20px;
}
.feature-title { font-size:17px; font-weight:700; color:var(--gray-900); margin-bottom:10px; }
.feature-desc  { font-size:13px; color:var(--gray-500); line-height:1.75; }

/* ===== QUICK ACCESS ===== */
.quick-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.quick-card {
  background:linear-gradient(145deg,var(--green),var(--green-mid));
  border-radius:var(--r-lg); padding:36px 24px;
  text-align:center; cursor:pointer;
  transition:all 0.25s; position:relative; overflow:hidden;
  border:1px solid rgba(255,255,255,0.1);
}
.quick-card::after {
  content:''; position:absolute; inset:0;
  background:rgba(255,255,255,0);
  transition:background 0.2s;
}
.quick-card:hover { transform:translateY(-4px); box-shadow:0 12px 32px rgba(26,92,26,0.35); }
.quick-card:hover::after { background:rgba(255,255,255,0.06); }
.quick-icon {
  width:60px; height:60px;
  background:rgba(255,255,255,0.15);
  border:1.5px solid rgba(255,255,255,0.25);
  border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 18px;
}
.quick-title { font-size:16px; font-weight:700; color:#fff; margin-bottom:8px; }
.quick-desc  { font-size:13px; color:rgba(255,255,255,0.75); line-height:1.6; }

/* ===== ABOUT ===== */
.about-layout { display:flex; align-items:center; gap:80px; }
.about-text { flex:1; }
.about-title { font-size:34px; font-weight:800; color:var(--gray-900); margin-bottom:16px; letter-spacing:-0.5px; }
.about-p { font-size:15px; color:var(--gray-500); line-height:1.8; margin-bottom:14px; }
.about-list { display:flex; flex-direction:column; gap:12px; margin-top:24px; }
.about-list li {
  display:flex; align-items:center; gap:12px;
  font-size:14px; color:var(--gray-700); font-weight:500;
}
.about-check {
  width:22px; height:22px; border-radius:50%;
  background:var(--green-bg); border:1.5px solid var(--green-bd);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.about-visual { flex-shrink:0; width:380px; }
.about-visual-card {
  background:linear-gradient(145deg,var(--green-dark),var(--green));
  border-radius:var(--r-lg); padding:32px;
  color:#fff; position:relative; overflow:hidden;
}
.about-visual-card::before {
  content:''; position:absolute;
  width:200px; height:200px; border-radius:50%;
  background:rgba(255,255,255,0.06);
  top:-60px; right:-60px;
}
.avc-label { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:rgba(255,255,255,0.6); margin-bottom:20px; }
.avc-stat { margin-bottom:20px; }
.avc-stat-num { font-size:36px; font-weight:900; color:#fff; line-height:1; }
.avc-stat-label { font-size:13px; color:rgba(255,255,255,0.7); margin-top:4px; }
.avc-bar { height:6px; background:rgba(255,255,255,0.2); border-radius:10px; margin-top:8px; overflow:hidden; }
.avc-bar-fill { height:100%; border-radius:10px; background:var(--accent); }
.avc-row { display:flex; gap:16px; margin-top:20px; }
.avc-mini { flex:1; background:rgba(255,255,255,0.1); border-radius:10px; padding:12px; text-align:center; }
.avc-mini-num { font-size:20px; font-weight:800; color:#fff; }
.avc-mini-label { font-size:10px; color:rgba(255,255,255,0.6); margin-top:2px; }

/* ===== FOOTER ===== */
.footer { background:var(--green-dark); }
.footer-top {
  max-width:1280px; margin:0 auto;
  padding:60px 32px 48px;
  display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:56px;
}
.footer-brand { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.footer-brand-icon {
  width:38px; height:38px;
  background:linear-gradient(135deg,var(--green-mid),var(--accent));
  border-radius:10px; display:flex; align-items:center; justify-content:center;
  font-size:20px;
}
.footer-brand-name { font-size:17px; font-weight:800; color:#fff; }
.footer-desc { font-size:13px; color:rgba(255,255,255,0.55); line-height:1.75; max-width:280px; }
.footer-heading { font-size:12px; font-weight:700; color:rgba(255,255,255,0.4); text-transform:uppercase; letter-spacing:1px; margin-bottom:18px; }
.footer-links li { margin-bottom:12px; }
.footer-links a { font-size:14px; color:rgba(255,255,255,0.65); transition:color 0.15s; }
.footer-links a:hover { color:#fff; }
.footer-contact { display:flex; flex-direction:column; gap:12px; }
.footer-contact li { display:flex; align-items:center; gap:10px; font-size:14px; color:rgba(255,255,255,0.65); }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,0.1);
  padding:20px 32px; text-align:center;
}
.footer-bottom p { font-size:13px; color:rgba(255,255,255,0.35); }

/* ===== SIGN-IN OVERLAY ERROR ===== */
.so-error {
  background:#fff3f3; border:1px solid #ffcdd2;
  border-left:4px solid #e53935; border-radius:10px;
  padding:10px 14px; font-size:13px; color:#c62828; margin-bottom:16px;
}

/* ===== RESPONSIVE ===== */
@media (max-width:1024px) {
  .features-grid { grid-template-columns:repeat(2,1fr); }
  .quick-grid    { grid-template-columns:repeat(2,1fr); }
  .footer-top    { grid-template-columns:1fr 1fr; }
  .about-layout  { gap:48px; }
  .about-visual  { width:320px; }
}
@media (max-width:768px) {
  .nav-links,.btn-login,.nav-auth { display:none; }
  .hamburger { display:block; }
  .hero { min-height: 520px; padding: 100px 20px 120px; }
  .hero-title { font-size:40px; }
  .hero-stats { flex-direction:column; gap:16px; padding:20px 24px; }
  .hero-stat  { border-right:none !important; border-bottom:1px solid rgba(255,255,255,0.15); padding:12px 0; }
  .hero-stat:last-child { border-bottom:none; }
  .features-grid { grid-template-columns:1fr; }
  .quick-grid    { grid-template-columns:1fr 1fr; }
  .about-layout  { flex-direction:column; }
  .about-visual  { width:100%; }
  .footer-top    { grid-template-columns:1fr; gap:32px; }
  .section-title { font-size:28px; }
}
@media (max-width:480px) {
  .quick-grid { grid-template-columns:1fr; }
  .hero-title { font-size:32px; }
  .hero { min-height: 480px; padding: 96px 16px 108px; }
  .hero-actions { flex-direction:column; align-items:center; }
}
