/* Green-AI Design System for Bootstrap */
:root {
  /* Backgrounds - Clean & Minimal */
  --bg-page: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-section: rgba(0, 0, 0, 0.02);
  
  /* Text - Professional Hierarchy */
  --text-primary: rgb(0, 55, 32);
  --text-body: rgb(14, 15, 12);
  --text-secondary: rgb(131, 146, 140);
  --text-muted: rgb(175, 183, 180);
  
  /* Borders - Subtle Separation */
  --border-light: rgba(0, 0, 0, 0.1);
  --border-medium: rgba(0, 0, 0, 0.2);
  --border-strong: rgba(0, 0, 0, 0.3);
  
  /* BRAND COLORS - Green Accent System */
  --accent-primary: #8FEC78;
  --accent-strong: #81DD67;
  --accent-text: rgb(13, 121, 22);
  --accent-wash: rgba(148, 242, 127, 0.1);
  
  /* Hero Gradients */
  --gradient-hero: radial-gradient(at 53% 78%, hsla(60,100%,50%,0.3) 0px, transparent 50%), 
                   radial-gradient(at 71% 91%, hsla(108,100%,50%,0.3) 0px, transparent 50%), 
                   radial-gradient(at 31% 91%, hsla(30,100%,50%,0.17) 0px, transparent 50%);
  
  --gradient-button: linear-gradient(to bottom right, var(--accent-primary), var(--accent-strong));
}

/* Base Typography */
body {
  font-family: system-ui, sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
}

/* Typography Classes */
.heading-1 { 
  font-family: system-ui, sans-serif; 
  font-weight: 700; 
  font-size: clamp(2.25rem, 5vw, 4.5rem); 
  line-height: 0.9; 
  letter-spacing: -0.02em; 
  color: var(--text-primary);
}

.heading-2 { 
  font-family: system-ui, sans-serif; 
  font-weight: 600; 
  font-size: clamp(1.875rem, 4vw, 3rem); 
  line-height: 0.95; 
  letter-spacing: -0.015em; 
  color: var(--text-primary);
}

.heading-3 { 
  font-family: system-ui, sans-serif; 
  font-weight: 600; 
  font-size: clamp(1.25rem, 3vw, 1.5rem); 
  line-height: 1.2; 
  letter-spacing: -0.01em; 
  color: var(--text-primary);
}

.body-large { 
  font-family: system-ui, sans-serif; 
  font-weight: 400; 
  font-size: clamp(1.125rem, 2.5vw, 1.25rem); 
  line-height: 1.6; 
  color: var(--text-body); 
}

.body-medium { 
  font-family: system-ui, sans-serif; 
  font-weight: 400; 
  font-size: clamp(1rem, 2vw, 1.125rem); 
  line-height: 1.5; 
  color: var(--text-body); 
}

.text-secondary {
  color: var(--text-secondary) !important;
}

/* Custom Buttons */
.btn-primary-custom {
  background: var(--gradient-button);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 14px 24px;
  font-family: system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  min-height: 48px;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1.3;
}

.btn-primary-custom:hover {
  transform: scale(1.02);
  box-shadow: 0px 4px 8px rgba(148, 242, 127, 0.3);
  color: white;
}

.btn-primary-custom:focus {
  box-shadow: 0 0 0 0.2rem rgba(143, 236, 120, 0.25);
  color: white;
}

.btn-secondary-custom {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  padding: 14px 24px;
  font-family: system-ui, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  min-height: 48px;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1.3;
}

.btn-secondary-custom:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--border-medium);
  color: var(--text-primary);
}

.btn-secondary-custom:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
}

/* Navigation */
.nav-header {
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 0.5px solid var(--border-light);
  border-radius: 50px;
  margin: 1.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  padding: 0.5rem 0;
}

.navbar-brand {
  font-weight: 600;
  font-size: 1.25rem;
}

.brand-text {
  color: var(--text-primary);
}

.brand-icon {
  color: var(--accent-text);
  width: 24px;
  height: 24px;
}

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  padding: 6px 12px !important;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-primary) !important;
}

/* Hero Section */
.hero-section {
  background: var(--gradient-hero);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 3rem;
}

.hero-title {
  font-family: system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-subtitle {
  font-family: system-ui, sans-serif;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  line-height: 1.5;
  color: var(--text-secondary);
}

.hero-stats {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.hero-stats i {
  width: 16px;
  height: 16px;
}

/* Product Cards */
.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s ease;
  cursor: pointer;
  height: 100%;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--border-medium);
}

.tool-icon {
  background: var(--accent-wash);
  padding: 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tool-icon i {
  color: var(--accent-text);
  width: 24px;
  height: 24px;
}

.tool-title {
  font-family: system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--text-primary);
}

.tool-description {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
}

/* Features Section */
.feature-icon {
  background: var(--accent-wash);
  padding: 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.feature-icon i {
  color: var(--accent-text);
  width: 24px;
  height: 24px;
}

/* Testimonials */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  height: 100%;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
  color: var(--text-muted);
  opacity: 0.2;
  margin-bottom: 1rem;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-body);
}

.testimonial-rating {
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.testimonial-rating i {
  width: 16px;
  height: 16px;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-role {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.testimonial-company {
  color: var(--accent-text);
  font-weight: 500;
  font-size: 0.875rem;
}

/* CTA Section */
.cta-benefits {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.cta-benefits i {
  color: var(--accent-text);
  width: 16px;
  height: 16px;
}

/* Footer */
.footer {
  background: var(--bg-section) !important;
  border-top: 1px solid var(--border-light);
  padding: 3rem 0 2rem;
}

.contact-info {
  color: var(--text-muted);
}

.small-icon {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: opacity 0.2s ease;
}

.footer-link:hover {
  opacity: 0.75;
  color: var(--text-secondary);
}

/* Section Utilities */
.section-padding {
  padding: 4rem 0;
}

.bg-section {
  background: var(--bg-section) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-header {
    margin: 0.5rem;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border-light);
  }
  
  .hero-section {
    padding: 4rem 1rem;
    min-height: 80vh;
  }
  
  .btn-primary-custom,
  .btn-secondary-custom {
    width: 100%;
    min-height: 52px;
  }
  
  .section-padding {
    padding: 2.5rem 0;
  }
}

@media (min-width: 1024px) {
  .tool-card:hover {
    transform: translateY(-4px);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Bootstrap Overrides */
.text-success {
  color: var(--accent-text) !important;
}