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

:root {
  /* Brand Colors */
  --primary-green: #244b36;
  --primary-green-light: #32664a;
  --primary-green-dark: #162d20;
  --accent-copper: #b6764c;
  --accent-copper-hover: #c98559;
  
  /* Backgrounds & Text */
  --bg-light: #f9fbf9;
  --bg-white: #ffffff;
  --bg-slate: #111814; /* dark forest slate */
  --bg-slate-light: #1b2620;
  --text-dark: #111814;
  --text-muted: #4a5c52;
  --text-light: #f9fbf9;
  --text-light-muted: rgba(255,255,255,0.7);
  --border-light: rgba(36,75,54,0.08);
  --border-dark: rgba(255,255,255,0.1);

  /* Shadows & Effects */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 30px rgba(182, 118, 76, 0.2);
  
  /* Layout */
  --container-width: 1280px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-xl: 12px;
  --radius-2xl: 16px;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

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

a:hover {
  color: var(--primary-green-light);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

/* Typography Utility */
.text-center { text-align: center; }
.text-copper { color: var(--accent-copper); }
.text-white { color: var(--text-light); }
.text-muted { color: var(--text-muted); }
.section-header { margin-bottom: 4rem; max-width: 800px; margin-left: auto; margin-right: auto; text-align: center; }
.section-header h2 { font-size: 2.75rem; color: var(--primary-green); }
.section-header p { font-size: 1.125rem; color: var(--text-muted); }
.dark-section .section-header h2 { color: var(--text-light); }
.dark-section .section-header p { color: var(--text-light-muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: var(--transition);
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--accent-copper);
  color: white !important;
  border: 2px solid var(--accent-copper);
  box-shadow: 0 4px 14px rgba(182, 118, 76, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-copper-hover);
  border-color: var(--accent-copper-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(182, 118, 76, 0.4);
}

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

.btn-outline:hover {
  background-color: rgba(36,75,54,0.05);
  transform: translateY(-2px);
}

.dark-section .btn-outline {
  color: white !important;
  border-color: rgba(255,255,255,0.3);
}

.dark-section .btn-outline:hover {
  background-color: white;
  color: var(--bg-slate) !important;
}

/* Badges */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(36, 75, 54, 0.08);
  color: var(--primary-green);
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(36,75,54,0.1);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-copper);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(182, 118, 76, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(182, 118, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(182, 118, 76, 0); }
}

/* Navbar - Glassmorphism */
.navbar {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  max-width: 100%;
  padding: 0 3rem;
}

.navbar .logo {
  display: flex;
  align-items: center;
}

.navbar .logo img {
  height: 75px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  font-family: 'Outfit', sans-serif;
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-copper);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-copper);
  transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
}

/* Sections & Backgrounds */
.section {
  padding: 6rem 0;
  position: relative;
}

.bg-white { background-color: var(--bg-white); }
.bg-light { background-color: var(--bg-light); }
.bg-slate { background-color: var(--bg-slate); color: var(--text-light); }
.dark-section p { color: var(--text-light-muted); }
.dark-section h1, .dark-section h2, .dark-section h3 { color: var(--text-light); }

/* Ambient Background Glows */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}
.glow-copper { background: var(--accent-copper); width: 400px; height: 400px; top: -100px; right: -100px; }
.glow-green { background: var(--primary-green); width: 500px; height: 500px; bottom: -200px; left: -200px; opacity: 0.2; }

/* Hero Two-Column */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 0;
  overflow: hidden;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
}

.hero-content .subheadline {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.trust-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  color: var(--text-dark);
}

.stat-item i {
  color: var(--primary-green);
  background: rgba(36,75,54,0.08);
  padding: 0.5rem;
  border-radius: 50%;
}

/* Floating UI Preview */
.floating-ui-wrapper {
  position: relative;
  perspective: 1000px;
}

.floating-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.floating-card:hover {
  transform: rotateY(0) rotateX(0) translateY(-10px);
}

.ui-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.ui-pulse {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-green);
  background: rgba(36,75,54,0.1);
  padding: 4px 10px;
  border-radius: 12px;
}

.ui-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ui-box {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.ui-box h5 {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.ui-metric {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-green);
  font-family: 'Outfit', sans-serif;
}

/* Portal Interactive Showcase */
.portal-showcase-wrapper {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-top: 3rem;
}

.portal-tabs {
  display: flex;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
}

.tab-btn {
  flex: 1;
  padding: 1.25rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.tab-btn:hover {
  background: rgba(0,0,0,0.02);
  color: var(--primary-green);
}

.tab-btn.active {
  color: var(--accent-copper);
  border-bottom-color: var(--accent-copper);
  background: var(--bg-white);
}

.tab-content-container {
  padding: 3rem;
  background: var(--bg-white);
  min-height: 400px;
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mock-browser {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.mock-browser-head {
  background: #f1f5f9;
  padding: 10px 15px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-light);
}
.mock-browser-body { padding: 2rem; }

/* Timeline / How It Works */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background: var(--border-light);
}

.timeline-item {
  position: relative;
  padding-left: 5rem;
  margin-bottom: 3rem;
}

.timeline-badge {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: var(--bg-white);
  border: 2px solid var(--accent-copper);
  color: var(--accent-copper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(182, 118, 76, 0.2);
  z-index: 2;
}

.timeline-content {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(182, 118, 76, 0.3);
}

/* Pricing Grid & Toggle */
.pricing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--primary-green);
  transition: .4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 26px; width: 26px;
  left: 4px; bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider { background-color: var(--accent-copper); }
input:checked + .slider:before { transform: translateX(26px); }

.save-badge {
  color: var(--accent-copper);
  background: rgba(182,118,76,0.1);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  margin-left: 5px;
}

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

.pricing-card {
  background: rgba(255,255,255,0.05); /* for dark mode if needed, else white */
  background-color: var(--bg-white);
  border-radius: var(--radius-2xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.dark-section .pricing-card {
  background: var(--bg-slate-light);
  border-color: var(--border-dark);
}

.pricing-card.featured {
  border: 2px solid var(--accent-copper);
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}
.dark-section .pricing-card.featured {
  background: linear-gradient(180deg, var(--bg-slate-light) 0%, var(--bg-slate) 100%);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--accent-copper), var(--accent-copper-hover));
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(182, 118, 76, 0.3);
}

.pricing-card h3 { font-size: 2rem; color: var(--primary-green); margin-bottom: 0.5rem; }
.dark-section .pricing-card h3 { color: white; }
.pricing-card .price-block { margin: 2rem 0; }
.price { font-size: 3rem; font-weight: 700; color: var(--text-dark); font-family: 'Outfit', sans-serif; line-height: 1; }
.dark-section .price { color: white; }
.price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.price-annual { display: none; } /* hidden by default via JS */

.features-list { list-style: none; margin-bottom: 2.5rem; flex-grow: 1; }
.features-list li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; color: var(--text-dark); }
.dark-section .features-list li { color: var(--text-light-muted); }
.features-list i { color: var(--primary-green); margin-top: 2px; flex-shrink: 0; }
.dark-section .features-list i { color: var(--accent-copper); }

/* FAQ Section */
.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover { border-color: rgba(36,75,54,0.3); }
.faq-question {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  color: var(--primary-green);
  font-size: 1.125rem;
}
.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
}
.faq-item.active .faq-answer {
  padding: 0 2rem 1.5rem;
  max-height: 300px;
  opacity: 1;
}
.faq-icon { transition: transform 0.4s ease; color: var(--accent-copper); }
.faq-item.active .faq-icon { transform: rotate(180deg); }

/* CTA & Contact Section */
.cta-section {
  background: var(--primary-green) url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
  color: white;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-form {
  background-color: var(--bg-white);
  padding: 3rem;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}
.contact-form label { color: var(--text-dark); font-weight: 600; font-family: 'Outfit', sans-serif; margin-bottom: 0.5rem; display: block;}
.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  background: var(--bg-light);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-copper);
  background: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(182, 118, 76, 0.1);
}
textarea.form-control { min-height: 120px; resize: vertical; }

/* Footer */
footer {
  background-color: var(--bg-slate);
  color: white;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo-wrapper {
  background: var(--bg-white);
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.footer-brand .logo img {
  height: 50px;
  width: auto;
  display: block;
}

.footer-brand p { color: var(--text-light-muted); max-width: 400px;}
.footer-heading { color: white; margin-bottom: 1.5rem; font-size: 1.25rem;}
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: var(--text-light-muted); font-weight: 500; }
.footer-links a:hover { color: var(--accent-copper); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}
.division-note { font-style: italic; color: rgba(255, 255, 255, 0.4); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; }
  .hero-content .subheadline { margin: 0 auto 2.5rem; }
  .trust-stats { justify-content: center; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; }
  .cta-grid { grid-template-columns: 1fr; text-align: center; }
  .navbar .container { padding: 0 2rem; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-menu-btn { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .portal-tabs { flex-direction: column; }
}
