/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Cloudflare-inspired Design System for Koperasi Perkebunan Ilantat Jaya & PT VOC
Author: PT VOC & Ilantat Jaya
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --cf-primary: #f6821f;
  --cf-primary-hover: #fa8e2e;
  --cf-dark: #0f172a;
  --cf-forest: #022c22;
  --cf-forest-mid: #064e3b;
  --cf-forest-light: #059669;
  --cf-emerald-subtle: #ecfdf5;
  --cf-slate: #334155;
  --cf-light-slate: #64748b;
  --cf-bg: #f8fafc;
  --cf-surface: #ffffff;
  --cf-border: #e2e8f0;
  --cf-radius: 8px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--cf-dark);
  background-color: var(--cf-bg);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   Cloudflare Navigation Header
   ========================================================================== */
.cf-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cf-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.cf-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cf-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cf-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.cf-brand-text {
  display: flex;
  flex-direction: column;
}

.cf-brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--cf-forest);
  line-height: 1.1;
}

.cf-brand-sub {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cf-primary);
}

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

.cf-nav-link {
  color: var(--cf-slate);
  font-size: 0.925rem;
  font-weight: 600;
  padding: 6px 0;
  position: relative;
  transition: color 0.15s ease;
}

.cf-nav-link:hover {
  color: var(--cf-primary);
}

.cf-header-action {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cf-btn-primary {
  background: var(--cf-primary);
  color: #ffffff !important;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 6px;
  transition: background 0.15s ease, transform 0.1s ease;
  display: inline-flex;
  align-items: center;
  border: none;
  box-shadow: 0 1px 2px rgba(246, 130, 31, 0.2);
}

.cf-btn-primary:hover {
  background: var(--cf-primary-hover);
  transform: translateY(-1px);
}

.cf-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--cf-border);
  border-radius: 6px;
  padding: 8px;
  color: var(--cf-slate);
  cursor: pointer;
}

.cf-nav-mobile {
  display: none;
  background: #ffffff;
  border-top: 1px solid var(--cf-border);
  padding: 16px 24px;
}

.cf-nav-mobile.active {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cf-mobile-link {
  color: var(--cf-dark);
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

/* ==========================================================================
   Hero & Layout System
   ========================================================================== */
.cf-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.cf-home-hero {
  background: linear-gradient(135deg, #022c22 0%, #064e3b 100%);
  color: #ffffff;
  padding: 90px 20px 110px;
  position: relative;
  overflow: hidden;
}

.cf-home-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 85% 25%, rgba(246, 130, 31, 0.2) 0%, transparent 55%);
  pointer-events: none;
}

.cf-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #a7f3d0;
  margin-bottom: 24px;
}

.cf-home-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.cf-home-hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #e2e8f0;
  max-width: 680px;
  margin: 0 0 34px;
}

.cf-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cf-btn-orange {
  background: var(--cf-primary);
  color: #ffffff !important;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(246, 130, 31, 0.25);
}

.cf-btn-orange:hover {
  background: var(--cf-primary-hover);
  transform: translateY(-1px);
}

.cf-btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.cf-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   Stats Grid (Cloudflare Overlay Style)
   ========================================================================== */
.cf-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -55px;
  position: relative;
  z-index: 10;
}

.cf-stat-card {
  background: #ffffff;
  border: 1px solid var(--cf-border);
  border-radius: var(--cf-radius);
  padding: 24px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--cf-primary);
  transition: transform 0.15s ease;
}

.cf-stat-card:hover {
  transform: translateY(-2px);
}

.cf-stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--cf-dark);
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.cf-stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cf-light-slate);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.cf-section {
  padding: 85px 0 90px;
}

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

.cf-section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--cf-dark);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.cf-section-header p {
  color: var(--cf-light-slate);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

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

.cf-feature-card {
  background: #ffffff;
  border: 1px solid var(--cf-border);
  border-radius: var(--cf-radius);
  padding: 32px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cf-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.cf-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--cf-emerald-subtle);
  color: var(--cf-forest-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.cf-feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cf-dark);
  margin: 0 0 10px;
}

.cf-feature-card p {
  color: var(--cf-light-slate);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Banner CTA */
.cf-banner-cta {
  background: #ffffff;
  border: 1px solid var(--cf-border);
  border-radius: 12px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 48px;
  border-left: 6px solid var(--cf-forest-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.cf-banner-cta h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--cf-dark);
  margin: 0 0 8px;
}

.cf-banner-cta p {
  color: var(--cf-light-slate);
  margin: 0;
  font-size: 0.95rem;
}

/* ==========================================================================
   Cloudflare Modern Minimal Footer
   ========================================================================== */
.cf-site-footer {
  background: #022c22;
  color: #cbd5e1;
  border-top: 1px solid #064e3b;
  padding: 70px 20px 30px;
  margin-top: 60px;
}

.cf-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.cf-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr;
  gap: 40px;
  margin-bottom: 50px;
}

.cf-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.cf-footer-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.cf-footer-brand-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.cf-footer-brand-sub {
  color: var(--cf-primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cf-footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 0 16px;
}

.cf-footer-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #a7f3d0;
}

.cf-footer-heading {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 18px;
}

.cf-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.cf-footer-links a {
  color: #cbd5e1;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

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

.cf-footer-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 0 14px;
}

.cf-partner-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cf-partner-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: #a7f3d0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cf-partner-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
}

.cf-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cf-footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.cf-footer-contact svg {
  flex-shrink: 0;
  color: var(--cf-primary);
  margin-top: 2px;
}

.cf-footer-contact a {
  color: #cbd5e1;
  transition: color 0.15s ease;
}

.cf-footer-contact a:hover {
  color: var(--cf-primary);
}

.cf-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #64748b;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 990px) {
  .cf-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .cf-nav-desktop {
    display: none;
  }
  .cf-mobile-toggle {
    display: block;
  }
  .cf-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 20px;
  }
  .cf-features-grid {
    grid-template-columns: 1fr;
  }
  .cf-banner-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .cf-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .cf-footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
