:root {
  /* Brand Colors */
  --brand-green-bright: #28D792;
  --brand-green-dark: #0B624D;
  --brand-yellow: #FFED37;
  --brand-yellow-hover: #F5E000;

  /* Neutral Colors */
  --color-white: #FFFFFF;
  --color-black: #1F1F1F;
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;

  /* Typography */
  --font-family: 'Open Sans', sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

html, body {
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 1.5;
  height: 100%;
  background-color: var(--color-white);
  color: var(--color-gray-800);
}

/* Header */
.bd-header {
  align-items: center;
  padding: 1rem 1rem;
  background: var(--color-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 4rem;
  width: 100%;
}

/* Logo */
.brand-logo {
  padding: 0 !important;
  background: transparent !important;
}

.brand-logo:hover {
  background: transparent !important;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-green-bright);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.logo-name {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-gray-700) !important;
  line-height: 1.2;
}

/* Navigation */
.nav-link {
  font-size: 1rem !important;
  font-weight: var(--font-weight-semibold) !important;
  color: var(--color-gray-700) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 0.75rem 1.25rem !important;
  transition: all 0.2s ease !important;
  background: transparent !important;
}

.nav-link:hover {
  color: var(--brand-green-dark) !important;
  background: rgba(40, 215, 146, 0.08) !important;
}

/* User Name Highlight */
.user-name-highlight {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-yellow);
  color: var(--color-black) !important;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.025em;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  height: 35px;
  text-decoration: none !important;
}

.user-name-highlight:hover {
  background: var(--brand-yellow-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--color-black) !important;
}

.user-avatar {
  width: 20px;
  height: 20px;
  background: var(--brand-green-bright);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* Dropdown */
.navbar-dropdown {
  background: white;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 0.5rem 0;
}

.navbar-dropdown .navbar-item {
  padding: 0.75rem 1rem;
  color: var(--color-gray-700);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-dropdown .navbar-item:hover {
  background: var(--color-gray-50);
  color: var(--brand-green-dark);
}

/* Buttons */
.button {
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.025em;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.button.is-primary {
  background-color: var(--brand-yellow);
  color: var(--color-black);
  border-radius: var(--radius-full);
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.025em;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
}

.button.is-primary:hover {
  background-color: var(--brand-yellow-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.button.is-primary:active {
  transform: translateY(0);
}

/* Forms */
.input, .textarea, .select select {
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  transition: all 0.2s ease;
}

.input:focus, .textarea:focus, .select select:focus {
  border-color: var(--brand-green-bright);
  box-shadow: 0 0 0 3px rgba(40, 215, 146, 0.1);
  outline: none;
}

/* Links */
a {
  color: var(--brand-green-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand-green-bright);
}

/* Hero Section */
.hero-section {
  background: var(--color-white);
  min-height: 60vh;
  display: flex;
  align-items: center;
  color: var(--color-gray-900);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-gray-200);
  padding: 4rem 0;
}

.hero-title {
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--color-gray-900);
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--color-gray-600);
}

.hero-features {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.feature-item .icon {
  margin-right: 0.75rem;
  color: var(--brand-green-bright);
}

.hero-cta {
  margin-bottom: 2rem;
}

.hero-cta .button.is-primary {
  width: auto;
  padding: 1.5rem 2.5rem;
  font-size: 1.1rem;
}

/* Dashboard Mockup */
.hero-image {
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dashboard-mockup {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.3s ease;
}

.dashboard-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
  background: #f8fafc;
  padding: 1rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-controls {
  display: flex;
  gap: 0.5rem;
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.control.red { background: #ef4444; }
.control.yellow { background: #f59e0b; }
.control.green { background: #10b981; }

.mockup-title {
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
}

.mockup-content {
  padding: 2rem;
  color: #374151;
}

.search-area {
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
  background: #f8fafc;
}

.search-icon {
  font-size: 2rem;
  color: var(--brand-green-bright);
  margin-bottom: 0.5rem;
}

.search-text {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.search-types {
  font-size: 0.8rem;
  color: #6b7280;
}

.proposal-item {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  background: #f1f5f9;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.proposal-icon {
  margin-right: 0.75rem;
  color: var(--brand-green-dark);
}

.proposal-name {
  flex: 1;
  font-weight: 500;
}

.proposal-status.new {
  color: var(--brand-green-bright);
}

/* Benefits Section */
.benefits-section {
  padding: 5rem 0;
  background: var(--color-gray-50);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-gray-900);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--color-gray-600);
  max-width: 800px;
  margin: 0 auto;
}

.benefit-card {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-200);
  height: 100%;
  transition: all 0.3s ease;
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-green-bright);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand-green-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--color-white);
  font-size: 1.5rem;
}

.benefit-title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-900);
  margin-bottom: 1rem;
}

.benefit-description {
  color: var(--color-gray-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.benefit-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-gray-700);
}

.text-success {
  color: var(--brand-green-bright);
}

/* Pricing Section */
.pricing-section {
  padding: 5rem 0;
  background: var(--color-white);
}

.pricing-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-green-bright);
}

.pricing-header {
  margin-bottom: 1.5rem;
}

.pricing-title {
  font-size: 1.25rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-900);
}

.pricing-price {
  margin-bottom: 2rem;
}

.pricing-price .price {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--brand-green-dark);
}

.pricing-price .period {
  display: block;
  color: var(--color-gray-500);
  font-size: 0.9rem;
}

.pricing-features {
  margin-bottom: 2rem;
}

.pricing-features .feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: var(--color-gray-600);
}

.pricing-features .feature i {
  color: var(--brand-green-bright);
}

/* Footer */
.footer {
  background: var(--color-gray-50);
  padding: 2rem 1rem;
  margin-top: auto;
}

.footer p {
  color: var(--color-gray-600);
  margin-bottom: 0.5rem;
}

/* Mobile Navigation */
@media (max-width: 1023px) {
  .navbar-burger {
    display: flex;
    color: var(--color-gray-700);
  }

  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-top: 1px solid var(--color-gray-200);
  }

  .navbar-menu.is-active {
    display: block;
  }

  .navbar-end {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .dashboard-mockup {
    transform: none;
    max-width: 100%;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* Animation */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.fa-spin {
  animation: spin 1s linear infinite;
}
