/* Clean Professional Design - No Dirty Colors */
:root {
  /* Clean Color Palette */
  --primary-color: #28a745;
  --primary-light: #2ecc71;
  --primary-dark: #1e8449;
  
  --secondary-color: #64748b;
  --success-color: #10b981;
  
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #d1d9e6;
  --gray-400: #b8c5d6;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  
  /* Typography */
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  
  /* Transitions */
  --transition: all 0.3s ease;
}

/* Dark theme variables */
.dark-theme {
  --white: #0f172a;
  --gray-50: #1e293b;
  --gray-100: #334155;
  --gray-800: #f8fafc;
  --gray-900: #ffffff;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
  transition: var(--transition);
  padding-top: 80px; /* Account for fixed header */
}

.dark-theme body {
  color: var(--gray-300);
  background-color: var(--gray-900);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }
}

/* Clean Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-container {
  text-align: center;
  color: var(--white);
}

.loading-container h2 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  letter-spacing: -0.025em;
}

.loading-container p {
  font-size: var(--font-size-lg);
  opacity: 0.9;
  margin-bottom: var(--space-8);
}

/* Removed old spinner - replaced with magnifying glass */

/* Removed spin animation - using magnifySpin instead */

/* Clean Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  transition: var(--transition);
}

.dark-theme .header {
  background: rgba(15, 23, 42, 0.95);
  border-bottom-color: var(--gray-100);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  gap: var(--space-8);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--gray-900);
  font-weight: 700;
  font-size: var(--font-size-xl);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--font-size-lg);
}

.logo-text {
  letter-spacing: -0.025em;
}

.logo-subtext {
  font-size: var(--font-size-sm);
  font-weight: 400;
  color: var(--gray-600);
  margin-left: var(--space-1);
}

.logo-section {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.tagline {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--gray-700);
  margin: 0;
}

.dark-theme .logo {
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: var(--space-8);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--font-size-sm);
  transition: var(--transition);
  position: relative;
}

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

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

.nav-link:hover::after {
  width: 100%;
}

.dark-theme .nav-link {
  color: var(--gray-300);
}

.dark-theme .nav-link:hover {
  color: var(--primary-light);
}

.dark-theme .tagline {
  color: var(--gray-300);
}

.dark-theme .hero-subtitle {
  color: var(--gray-300);
}

.dark-theme .hero-title {
  color: var(--white) !important;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  background: transparent;
  color: var(--gray-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.theme-toggle:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: scale(1.05);
}

.dark-theme .theme-toggle {
  border-color: var(--gray-300);
  color: var(--gray-300);
}

.dark-theme .theme-toggle:hover {
  border-color: var(--white);
  color: var(--white);
}

/* Hero Section */
.hero {
  padding: calc(80px + var(--space-20)) 0 var(--space-20);
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  text-align: center;
}

.dark-theme .hero {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-6);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.dark-theme .hero-title {
  color: var(--white) !important;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--gray-600);
  margin-bottom: var(--space-8);
  font-weight: 400;
  line-height: 1.5;
}

.dark-theme .hero-subtitle {
  color: var(--gray-300);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  body {
    padding-top: 70px; /* Adjusted for mobile header */
  }

  .header-content {
    flex-wrap: wrap;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    min-height: 60px;
  }
  
  .logo-section {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    width: 100%;
  }
  
  .logo-image {
    height: 40px;
    max-width: 150px;
    object-fit: contain;
  }
  
  .tagline {
    font-size: var(--font-size-xs);
    width: 100%;
  }
  
  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: var(--space-3);
  }
  
  .hero-title {
    font-size: var(--font-size-3xl);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border: 2px solid transparent;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: var(--font-size-base);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* How It Works Section */
.how-it-works {
  padding: var(--space-16) 0;
  background: var(--white);
}

.dark-theme .how-it-works {
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-header h2 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-4);
  letter-spacing: -0.025em;
}

.dark-theme .section-header h2 {
  color: var(--white);
}

.section-header p {
  font-size: var(--font-size-xl);
  color: var(--gray-600);
  font-weight: 400;
}

.dark-theme .section-header p {
  color: var(--gray-300);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  background: var(--white);
  border-radius: 1rem;
  padding: var(--space-8);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

/* Force dark theme for body and html */
.dark-theme,
html.dark-theme,
body.dark-theme {
  --card-bg: var(--gray-800);
}

html.dark-theme .step-card,
body.dark-theme .step-card,
.dark-theme .step-card {
  background: var(--gray-800) !important;
  border-color: var(--gray-700) !important;
}

html.dark-theme .feature-card,
body.dark-theme .feature-card,
.dark-theme .feature-card {
  background: var(--gray-800) !important;
  border-color: var(--gray-700) !important;
}

/* Force dark theme sections */
html.dark-theme .steps-section,
body.dark-theme .steps-section,
.dark-theme .steps-section {
  background: var(--gray-900) !important;
}

html.dark-theme .hero,
body.dark-theme .hero,
.dark-theme .hero {
  background: var(--gray-900) !important;
}

/* Ensure dark theme is properly detected */
body.dark-theme,
body.dark-theme * {
  color-scheme: dark;
}

/* Force all cards in dark theme */
body.dark-theme .step-card {
  background: #374151 !important;
  border-color: #4b5563 !important;
  color: #f3f4f6 !important;
}

body.dark-theme .step-card h3 {
  color: #ffffff !important;
}

body.dark-theme .step-card p {
  color: #d1d5db !important;
}

body.dark-theme .feature-card {
  background: #374151 !important;
  border-color: #4b5563 !important;
  color: #f3f4f6 !important;
}

body.dark-theme .feature-card h3 {
  color: #ffffff !important;
}

body.dark-theme .feature-card p {
  color: #d1d5db !important;
}

.step-card {
  cursor: pointer;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.dark-theme .step-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.dark-theme .step-card {
  background: var(--gray-800);
  border-color: var(--gray-700);
}

.step-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  color: var(--white);
}

.step-number {
  font-size: var(--font-size-xl);
  font-weight: 700;
}

.step-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-3);
}

.dark-theme .step-card h3 {
  color: var(--white) !important;
}

.dark-theme .step-card {
  background: var(--gray-800) !important;
}

.step-card p {
  color: var(--gray-600);
  font-weight: 400;
}

.dark-theme .step-card p {
  color: var(--gray-300);
}

/* Analysis Section */
.analysis-section {
  padding: var(--space-16) 0;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.analysis-container {
  max-width: 600px;
  margin: 0 auto;
}

.analysis-content {
  text-align: center;
  color: var(--white);
}

.analysis-content h2 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  letter-spacing: -0.025em;
}

.analysis-content p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-8);
  opacity: 0.9;
}

.analysis-form {
  margin-bottom: var(--space-6);
}

.form-group {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.form-group input {
  flex: 1;
  padding: var(--space-4);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: var(--font-size-base);
  transition: var(--transition);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus {
  outline: none;
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.2);
}

.form-note {
  font-size: var(--font-size-sm);
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

@media (max-width: 768px) {
  .form-group {
    flex-direction: column;
  }
}

/* Features Section */
.features {
  padding: var(--space-16) 0;
  background: var(--gray-50);
}

.dark-theme .features {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
}

.feature-card {
  background: var(--white);
  border-radius: 1rem;
  padding: var(--space-8);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.feature-card {
  cursor: pointer;
}

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

.dark-theme .feature-card:hover {
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.dark-theme .feature-card {
  background: var(--gray-800);
  border-color: var(--gray-700);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  color: var(--white);
  font-size: var(--font-size-xl);
}

.feature-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-3);
}

.dark-theme .feature-card h3 {
  color: var(--white) !important;
}

.dark-theme .feature-card {
  background: var(--gray-800) !important;
}

.feature-card p {
  color: var(--gray-600);
  font-weight: 400;
}

.dark-theme .feature-card p {
  color: var(--gray-300);
}

/* Process Description */
.process-description {
  text-align: center;
  font-size: var(--font-size-lg);
  color: #00b894;
  font-weight: 500;
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.8;
  padding: 0 var(--space-4);
  display: block;
}

.text-ctr {
  text-align: center;
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 500;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

/* Top Logo Image */
.jeff-leffel {
  max-width: 500px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1.5rem;
  object-fit: contain;
}

/* Contact Section */
.contact-section {
  padding: var(--space-16) 0;
  background: var(--white);
}

/* Contact Container for Form and Buttons */
.contact-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  justify-content: center;
  align-items: center;
  margin: var(--space-8) 0;
}

.contact-left {
  width: 100%;
  max-width: 700px;
  display: flex;
  justify-content: center;
}

.contact-left form {
  width: 100%;
  max-width: 500px;
  background: #fff;
  border-radius: 12px;
  padding: var(--space-6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid #f0f0f0;
}

.contact-left-title {
  margin-bottom: var(--space-4);
  text-align: center;
}

.contact-left-title h2 {
  color: var(--primary-color);
  font-size: var(--font-size-2xl);
  font-weight: 600;
  margin: 0;
}

.contact-inputs {
  width: 100%;
  padding: var(--space-3);
  margin-bottom: var(--space-4);
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: var(--font-size-base);
  transition: all 0.3s ease;
}

.contact-inputs:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(34, 139, 34, 0.1);
}

.contact-left form button[type="submit"] {
  width: 100%;
  padding: var(--space-3) var(--space-6);
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: var(--font-size-lg);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-left form button[type="submit"]:hover {
  background: #1e7d1e;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(34, 139, 34, 0.3);
}

.contact-right {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-2);
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: var(--space-4);
}

.dark-theme .contact-section {
  background: var(--gray-900);
}

.contact-content {
  text-align: center;
}

.contact-content h2 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-4);
  letter-spacing: -0.025em;
}

.dark-theme .contact-content h2 {
  color: var(--white) !important;
}

.contact-content p {
  font-size: var(--font-size-xl);
  color: var(--gray-600);
  margin-bottom: var(--space-8);
}

.dark-theme .contact-content p {
  color: var(--gray-300);
}

/* Original BEFOUND Circular Diagram */
.befound-diagram {
  margin: var(--space-8) 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle-container {
  position: relative;
  width: 300px;
  height: 300px;
}

.befound-letter {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.befound-letter:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Position letters in circle */
.befound-letter.b { top: 20px; left: 50%; transform: translateX(-50%); background: #28a745; }
.befound-letter.e { top: 80px; right: 60px; background: #2ecc71; }
.befound-letter.f { top: 170px; right: 20px; background: #20c997; }
.befound-letter.o { bottom: 80px; right: 60px; background: #17a2b8; }
.befound-letter.u { bottom: 20px; left: 50%; transform: translateX(-50%); background: #17a2b8; }
.befound-letter.n { bottom: 80px; left: 60px; background: #2ecc71; }
.befound-letter.d { top: 170px; left: 20px; background: #20c997; }

.process-description {
  text-align: center;
  font-size: var(--font-size-lg);
  font-weight: 500;
  color: var(--primary-color);
  margin: var(--space-6) 0;
}

/* Interactive BEFOUND Buttons */
.befound-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

.befound-btn {
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.befound-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.befound-btn.b { background: #28a745; }
.befound-btn.e { background: #2ecc71; }
.befound-btn.f { background: #20c997; }
.befound-btn.o { background: #17a2b8; }
.befound-btn.u { background: #17a2b8; }
.befound-btn.n { background: #2ecc71; }
.befound-btn.d { background: #20c997; }

/* Footer Message Styling */
.footer-message {
  margin-top: var(--space-2);
  font-size: var(--font-size-sm);
}

.footer-message a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-message a:hover {
  text-decoration: underline;
}

/* Logo Image Styling */
.logo-image {
  height: 45px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.logo-image:hover {
  opacity: 0.8;
}
/* Logo image styles are above */

/* Loading Screen Magnifying Glass */
.magnifying-glass-icon {
  margin: 20px auto;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.magnifying-glass-icon i.fa-search {
  font-size: 40px;
  color: rgba(255, 255, 255, 0.9);
  animation: magnifyPulse 2s ease-in-out infinite;
}

@keyframes magnifyPulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 0.9;
  }
  50% { 
    transform: scale(1.2);
    opacity: 1;
  }
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--primary-color);
  fontWeight: 600;
}

.contact-item i {
  font-size: var(--font-size-lg);
}

@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    align-items: center;
  }
}

/* Clean Footer */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: var(--space-16) 0 var(--space-8 );
}

.dark-theme .footer {
  background: var(--gray-900);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
  gap: var(--space-8);
}

.footer-brand .logo {
  color: var(--white);
  font-size: var(--font-size-lg);
}

.footer-brand p {
  color: var(--gray-400);
  margin-top: var(--space-2);
  font-size: var(--font-size-sm);
}

.footer-links {
  display: flex;
  gap: var(--space-8);
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

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

.footer-social {
  display: flex;
    gap: var(--space-4);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--gray-700);
  border-radius: 50%;
    display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-8);
  border-top: 1px solid var(--gray-700);
}

.footer-bottom p {
  color: var(--gray-400);
  font-size: var(--font-size-sm);
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content,
.steps-grid,
.features-grid {
  animation: fadeInUp 0.6s ease-out;
}

/* Focus States */
button:focus,
a:focus,
input:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

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

/* ============================================
   BEFOUND POPUP STYLES AND ANIMATIONS
   ============================================ */

/* Buzzsaw chart container */
.buzzsaw {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin: var(--space-8) 0;
    padding: var(--space-4);
}

#buzzsawChart {
    width: 400px !important;
    height: 400px !important;
    margin: 0 auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#buzzsawChart:hover {
    transform: scale(1.02);
}

/* Contact container styles moved to line 810 */

/* B Button and Popup */
.btnB {
    margin: 5px;
    padding: 8px 32px;
    background: #ee6666;
    border: 0;
    outline: none;
    cursor: pointer;
    font-size: 28px;
    font-weight: 600;
    color: #4d4c4c;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 65px;
    min-height: 50px;
}

.btnB:hover {
    background-color: #ee6666b3;
    color: black;
}

.popupB {
    width: 450px;
    background: #fff;
    border-radius: 12px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.1);
    text-align: center;
    padding: 30px 40px 40px;
    color: #333;
    visibility: hidden;
    transition: transform 0.4s, top 0.4s;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.open-popupB {
    visibility: visible;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.71);
}

.popupB img {
    width: 80px;
    margin-top: 0;
    margin-bottom: 20px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(238, 102, 102, 0.3);
}

.popupB h2 {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #1a1a1a;
}

.popupB h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 25px 0;
    color: #555;
    line-height: 1.5;
}

.popupB button {
    width: 100%;
    margin-top: 30px;
    padding: 14px 0;
    background: #ee6666;
    color: #fff;
    border: 0;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(238, 102, 102, 0.3);
    transition: all 0.3s ease;
}

.popupB button:hover {
    background: #e85555;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(238, 102, 102, 0.4);
}

/* E Button and Popup */
.btnE {
    margin: 5px;
    padding: 8px 32px;
    background: #fc8452;
    border: 0;
    outline: none;
    cursor: pointer;
    font-size: 28px;
    font-weight: 600;
    color: #4d4c4c;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 65px;
    min-height: 50px;
}

.btnE:hover {
    background-color: #fc8552b1;
    color: black;
}

.popupE {
    width: 450px;
    background: #fff;
    border-radius: 12px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.1);
    text-align: center;
    padding: 30px 40px 40px;
    color: #333;
    visibility: hidden;
    transition: transform 0.4s, top 0.4s;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.open-popupE {
    visibility: visible;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.71);
}

.popupE img {
    width: 80px;
    margin-top: 0;
    margin-bottom: 20px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(252, 132, 82, 0.3);
}

.popupE h2 {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #1a1a1a;
}

.popupE h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 25px 0;
    color: #555;
    line-height: 1.5;
}

.popupE button {
    width: 100%;
    margin-top: 30px;
    padding: 14px 0;
    background: #fc8452;
    color: #fff;
    border: 0;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(252, 132, 82, 0.3);
    transition: all 0.3s ease;
}

.popupE button:hover {
    background: #eb7341;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(252, 132, 82, 0.4);
}

/* F Button and Popup */
.btnF {
    margin: 5px;
    padding: 8px 32px;
    background: #fac858;
    border: 0;
    outline: none;
    cursor: pointer;
    font-size: 28px;
    font-weight: 600;
    color: #4d4c4c;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 65px;
    min-height: 50px;
}

.btnF:hover {
    background-color: #fac758b4;
    color: black;
}

.popupF {
    width: 450px;
    background: #fff;
    border-radius: 12px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.1);
    text-align: center;
    padding: 30px 40px 40px;
    color: #333;
    visibility: hidden;
    transition: transform 0.4s, top 0.4s;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.open-popupF {
    visibility: visible;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.71);
}

.popupF img {
    width: 80px;
    margin-top: 0;
    margin-bottom: 20px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(250, 200, 88, 0.3);
}

.popupF h2 {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #1a1a1a;
}

.popupF h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 25px 0;
    color: #555;
    line-height: 1.5;
}

.popupF button {
    width: 100%;
    margin-top: 30px;
    padding: 14px 0;
    background: #fac858;
    color: #fff;
    border: 0;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(250, 200, 88, 0.3);
    transition: all 0.3s ease;
}

.popupF button:hover {
    background: #e9b747;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(250, 200, 88, 0.4);
}

/* O Button and Popup */
.btnO {
    margin: 5px;
    padding: 8px 32px;
    background: #5470c6;
    border: 0;
    outline: none;
    cursor: pointer;
    font-size: 28px;
    font-weight: 600;
    color: #4d4c4c;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 65px;
    min-height: 50px;
}

.btnO:hover {
    background-color: #5470c6b3;
    color: black;
}

.popupO {
    width: 450px;
    background: #fff;
    border-radius: 12px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.1);
    text-align: center;
    padding: 30px 40px 40px;
    color: #333;
    visibility: hidden;
    transition: transform 0.4s, top 0.4s;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.open-popupO {
    visibility: visible;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.71);
}

.popupO img {
    width: 80px;
    margin-top: 0;
    margin-bottom: 20px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(84, 112, 198, 0.3);
}

.popupO h2 {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #1a1a1a;
}

.popupO h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 25px 0;
    color: #555;
    line-height: 1.5;
}

.popupO button {
    width: 100%;
    margin-top: 30px;
    padding: 14px 0;
    background: #5470c6;
    color: #fff;
    border: 0;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(84, 112, 198, 0.3);
    transition: all 0.3s ease;
}

.popupO button:hover {
    background: #435fb5;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(84, 112, 198, 0.4);
}

/* U Button and Popup */
.btnU {
    margin: 5px;
    padding: 8px 32px;
    background: #91cc75;
    border: 0;
    outline: none;
    cursor: pointer;
    font-size: 28px;
    font-weight: 600;
    color: #4d4c4c;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 65px;
    min-height: 50px;
}

.btnU:hover {
    background-color: #91cc75b3;
    color: black;
}

.popupU {
    width: 450px;
    background: #fff;
    border-radius: 12px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.1);
    text-align: center;
    padding: 30px 40px 40px;
    color: #333;
    visibility: hidden;
    transition: transform 0.4s, top 0.4s;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.open-popupU {
    visibility: visible;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.71);
}

.popupU img {
    width: 80px;
    margin-top: 0;
    margin-bottom: 20px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(145, 204, 117, 0.3);
}

.popupU h2 {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #1a1a1a;
}

.popupU h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 25px 0;
    color: #555;
    line-height: 1.5;
}

.popupU button {
    width: 100%;
    margin-top: 30px;
    padding: 14px 0;
    background: #91cc75;
    color: #fff;
    border: 0;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(145, 204, 117, 0.3);
    transition: all 0.3s ease;
}

.popupU button:hover {
    background: #80bb64;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(145, 204, 117, 0.4);
}

/* N Button and Popup */
.btnN {
    margin: 5px;
    padding: 8px 32px;
    background: #73c0de;
    border: 0;
    outline: none;
    cursor: pointer;
    font-size: 28px;
    font-weight: 600;
    color: #4d4c4c;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 65px;
    min-height: 50px;
}

.btnN:hover {
    background-color: #73c0deb3;
    color: black;
}

.popupN {
    width: 450px;
    background: #fff;
    border-radius: 12px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.1);
    text-align: center;
    padding: 30px 40px 40px;
    color: #333;
    visibility: hidden;
    transition: transform 0.4s, top 0.4s;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.open-popupN {
    visibility: visible;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.71);
}

.popupN img {
    width: 80px;
    margin-top: 0;
    margin-bottom: 20px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(115, 192, 222, 0.3);
}

.popupN h2 {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #1a1a1a;
}

.popupN h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 25px 0;
    color: #555;
    line-height: 1.5;
}

.popupN button {
    width: 100%;
    margin-top: 30px;
    padding: 14px 0;
    background: #73c0de;
    color: #fff;
    border: 0;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(115, 192, 222, 0.3);
    transition: all 0.3s ease;
}

.popupN button:hover {
    background: #62afcd;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(115, 192, 222, 0.4);
}

/* D Button and Popup */
.btnD {
    margin: 5px;
    padding: 8px 32px;
    background: #9a60b4;
    border: 0;
    outline: none;
    cursor: pointer;
    font-size: 28px;
    font-weight: 600;
    color: #4d4c4c;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 65px;
    min-height: 50px;
}

.btnD:hover {
    background-color: #9a60b4b3;
    color: black;
}

.popupD {
    width: 450px;
    background: #fff;
    border-radius: 12px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.1);
    text-align: center;
    padding: 30px 40px 40px;
    color: #333;
    visibility: hidden;
    transition: transform 0.4s, top 0.4s;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.open-popupD {
    visibility: visible;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.71);
}

.popupD img {
    width: 80px;
    margin-top: 0;
    margin-bottom: 20px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(154, 96, 180, 0.3);
}

.popupD h2 {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #1a1a1a;
}

.popupD h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 25px 0;
    color: #555;
    line-height: 1.5;
}

.popupD button {
    width: 100%;
    margin-top: 30px;
    padding: 14px 0;
    background: #9a60b4;
    color: #fff;
    border: 0;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(154, 96, 180, 0.3);
    transition: all 0.3s ease;
}

.popupD button:hover {
    background: #894fa3;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(154, 96, 180, 0.4);
}

/* Popup Header (X and Next buttons) */
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin-bottom: 20px;
}

.close-btn, .next-btn {
    color: #a29494b8;
    border: none;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
    background: none;
    transition: color 0.3s ease;
}

.close-btn:hover, .next-btn:hover {
    color: #333;
}

/* Text alignment for popups */
.text-ul {
    text-align: left;
    margin: 0 0 10px 0;
    padding: 0 0 0 20px;
    list-style-position: outside;
}

.text-li {
    margin: 12px 0;
    line-height: 1.6;
    color: #555;
    font-size: 15px;
}

.text-ctr {
    text-align: center;
    margin: 0px 28%;
}

/* Responsive Styles for Popups */
@media screen and (max-width: 900px) {
    #buzzsawChart {
        width: 100% !important;
        max-width: 350px !important;
        height: 350px !important;
    }
    
    .buzzsaw {
        justify-content: center;
        margin: var(--space-4) 0;
    }
    
    .popup-header {
        width: 115%;
    }
    
    .text-ul {
        display: none;
    }
    
    .btnB, .btnE, .btnF, .btnO, .btnU, .btnN, .btnD {
        margin: 5px 0px 5px 1px;
        padding: 5px 16px;
        font-size: 14px;
    }
    
    .popupB, .popupE, .popupF, .popupO, .popupU, .popupN, .popupD {
        width: 90%;
        max-width: 300px;
    }
    
    .contact-container {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-left {
        width: 100%;
        max-width: 100%;
    }
    
    .contact-right {
        width: 100%;
        max-width: 100%;
    }
    
    .jeff-leffel {
        max-width: 100%;
        padding: 0.5rem;
    }
    
    .text-ctr {
        font-size: var(--font-size-sm);
        padding: 0 0.5rem;
    }
}
