/* Global styles */
html,
body,
#root {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #ffffff;
  color: #0f172a;
}

/* Consistent page container */
.page-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  box-sizing: border-box;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-container {
    padding: 1rem 0.75rem;
  }

  /* Better mobile card spacing */
  [data-amplify-card] {
    margin-bottom: 0.5rem;
  }

  /* Ensure buttons are touch-friendly on mobile */
  [data-amplify-button] {
    min-height: 44px;
  }

  /* Better mobile typography */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    line-height: 1.3;
  }
}

/* Loading spinner animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Notification Dropdown Styles */

.notification-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  color: #6b7280;
  transition: all 0.2s ease;
}

.notification-button:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #667eea;
  transform: translateY(-1px);
}

.notification-button--active {
  color: #667eea;
  background: #ede9fe;
  border-color: #667eea;
}

.notification-button svg {
  width: 20px;
  height: 20px;
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #ef4444;
  color: white;
  border-radius: 9px;
  font-size: 0.6875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.notification-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 360px;
  max-width: calc(100vw - 2rem);
  max-height: 500px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  animation: dropdownSlideIn 0.2s ease;
  z-index: 1001;
}

@keyframes dropdownSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notification-dropdown__header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notification-dropdown__title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
}

.notification-dropdown__count {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  background: #ede9fe;
  color: #667eea;
  border-radius: 6px;
}

.notification-dropdown__content {
  max-height: 400px;
  overflow-y: auto;
  padding: 0.5rem;
}

.notification-dropdown__empty {
  padding: 3rem 1.5rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.9375rem;
}

.notification-dropdown__loading {
  padding: 3rem 1.5rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.9375rem;
}

.notification-item {
  padding: 1rem;
  border-radius: 8px;
  background: white;
  border: 1px solid #f3f4f6;
  margin-bottom: 0.5rem;
  transition: all 0.15s ease;
}

.notification-item:hover {
  background: #f9fafb;
  border-color: #e5e7eb;
}

.notification-item:last-child {
  margin-bottom: 0;
}

.notification-item__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.notification-item__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.4;
  flex: 1;
}

.notification-item__date {
  font-size: 0.75rem;
  color: #9ca3af;
  white-space: nowrap;
}

.notification-item__message {
  font-size: 0.8125rem;
  color: #6b7280;
  font-style: italic;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  padding-left: 0.75rem;
  border-left: 2px solid #e5e7eb;
}

.notification-item__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  background: #fee2e2;
  color: #dc2626;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.notification-item__actions {
  display: flex;
  gap: 0.5rem;
}

.notification-item__button {
  flex: 1;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.notification-item__button--primary {
  background: #667eea;
  color: white;
}

.notification-item__button--primary:hover {
  background: #5568d3;
}

.notification-item__button--primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.notification-item__button--secondary {
  background: transparent;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

.notification-item__button--secondary:hover {
  background: #f3f4f6;
  color: #1f2937;
}

.notification-dropdown__footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid #f3f4f6;
}

.notification-dropdown__view-all {
  width: 100%;
  padding: 0.625rem;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: #667eea;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.notification-dropdown__view-all:hover {
  background: #f3f4f6;
}

/* Scrollbar styling */
.notification-dropdown__content {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
}

.notification-dropdown__content::-webkit-scrollbar {
  width: 6px;
}

.notification-dropdown__content::-webkit-scrollbar-track {
  background: transparent;
}

.notification-dropdown__content::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

.notification-dropdown__content::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.15);
}

/* Mobile responsive */
@media (max-width: 640px) {
  .notification-dropdown {
    width: calc(100vw - 2rem);
    right: -1rem;
  }
}
/* Light Navigation Styles */

.nav-light {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-light__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}

/* Logo - larger size */
.nav-light__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  position: relative;
  z-index: 2;
  padding: 0.5rem 0;
}

.nav-light__logo:hover {
  transform: scale(1.05);
}

.nav-light__logo img {
  height: 48px;
}

/* Desktop Navigation */
.nav-light__desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
}

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

.nav-light__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  position: relative;
  white-space: nowrap;
}

.nav-light__link:hover {
  background: #f3f4f6;
  color: #667eea;
  transform: translateY(-1px);
}

.nav-light__link--active {
  background: #ede9fe;
  color: #667eea;
  font-weight: 600;
}

.nav-light__link--active::after {
  content: "";
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 3px;
  background: #667eea;
  border-radius: 2px 2px 0 0;
}

.nav-light__link--locked {
  opacity: 0.5;
  cursor: not-allowed;
}

.nav-light__link--locked:hover {
  background: transparent;
  transform: none;
}

.nav-light__link-icon {
  font-size: 1.125rem;
  line-height: 1;
}

.nav-light__link-text {
  line-height: 1;
}

.nav-light__lock {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Actions */
.nav-light__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-light__notification {
  position: relative;
}

/* User Menu */
.nav-light__user {
  position: relative;
}

.nav-light__user-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #1f2937;
}

.nav-light__user-button:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-light__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e5e7eb;
}

.nav-light__user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
}

.nav-light__user-name {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: #1f2937;
}

.nav-light__badge {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.125rem 0.5rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.nav-light__badge--pro {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #1a1a1a;
}

.nav-light__badge--free {
  background: #f3f4f6;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-light__badge--free:hover {
  background: #e5e7eb;
  color: #4b5563;
}

.nav-light__chevron {
  transition: transform 0.2s ease;
  color: #9ca3af;
}

.nav-light__chevron--open {
  transform: rotate(180deg);
}

/* User Dropdown */
.nav-light__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 200px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  animation: dropdownSlideIn 0.2s ease;
  z-index: 1001;
  padding: 0.5rem;
}

@keyframes dropdownSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-light__dropdown-divider {
  height: 1px;
  background: #f3f4f6;
  margin: 0.5rem 0;
}

.nav-light__dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1f2937;
  text-align: left;
  transition: all 0.15s ease;
}

.nav-light__dropdown-item:hover {
  background: #f3f4f6;
  color: #667eea;
}

.nav-light__dropdown-item--danger {
  color: #dc2626;
}

.nav-light__dropdown-item--danger:hover {
  background: #fee2e2;
  color: #dc2626;
}

/* Mobile Actions */
.nav-light__mobile-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.nav-light__mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  color: #4b5563;
  transition: all 0.2s ease;
}

.nav-light__mobile-toggle:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  transform: scale(1.05);
}

.nav-light__mobile-toggle:active {
  transform: scale(0.95);
}

/* Mobile Menu */
.nav-light__mobile-menu {
  background: white;
  border-top: 1px solid #e5e7eb;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  animation: mobileMenuSlideIn 0.3s ease;
}

@keyframes mobileMenuSlideIn {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-light__mobile-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.nav-light__mobile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e5e7eb;
}

.nav-light__mobile-user-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-light__mobile-user-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
}

.nav-light__mobile-section {
  padding: 1rem;
  border-bottom: 1px solid #f3f4f6;
}

.nav-light__mobile-section:last-child {
  border-bottom: none;
}

.nav-light__mobile-header {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.nav-light__mobile-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.875rem 0.75rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1f2937;
  text-decoration: none;
  text-align: left;
  transition: all 0.15s ease;
  margin-bottom: 0.25rem;
}

.nav-light__mobile-link:hover {
  background: #f3f4f6;
  color: #667eea;
}

.nav-light__mobile-link--active {
  background: #ede9fe;
  color: #667eea;
  font-weight: 600;
}

.nav-light__mobile-link--locked {
  opacity: 0.5;
  cursor: not-allowed;
}

.nav-light__mobile-link--locked:hover {
  background: transparent;
  color: #1f2937;
}

.nav-light__mobile-link--danger {
  color: #dc2626;
}

.nav-light__mobile-link--danger:hover {
  background: #fee2e2;
  color: #dc2626;
}

.nav-light__mobile-link-icon {
  font-size: 1.25rem;
  line-height: 1;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .nav-light__desktop {
    display: none;
  }

  .nav-light__mobile-actions {
    display: flex;
  }

  .nav-light__container {
    padding: 0.75rem 1rem;
  }
}

@media (min-width: 1025px) {
  .nav-light__mobile-menu {
    display: none !important;
  }
}

/* Smooth scrolling for mobile menu */
.nav-light__mobile-menu {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
}

.nav-light__mobile-menu::-webkit-scrollbar {
  width: 6px;
}

.nav-light__mobile-menu::-webkit-scrollbar-track {
  background: transparent;
}

.nav-light__mobile-menu::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

/* Accessibility improvements */
.nav-light__link:focus-visible,
.nav-light__user-button:focus-visible,
.nav-light__mobile-toggle:focus-visible,
.nav-light__dropdown-item:focus-visible,
.nav-light__mobile-link:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* Prevent text selection on interactive elements */
.nav-light__link,
.nav-light__user-button,
.nav-light__mobile-toggle,
.nav-light__dropdown-item,
.nav-light__mobile-link {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Touch-friendly sizing for mobile */
@media (max-width: 1024px) {
  .nav-light__mobile-link {
    min-height: 48px;
  }

  .nav-light__mobile-toggle {
    min-width: 48px;
    min-height: 48px;
  }
}
/* Modern Footer Styles */

.footer-modern {
  background: #1f2937;
  color: #e5e7eb;
  margin-top: auto;
}

.footer-modern__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 1.5rem 1.5rem;
}

/* Main Content */
.footer-modern__content {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 1024px) {
  .footer-modern__content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  /* Make Connect section span full width on tablet */
  .footer-modern__section--center {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-modern__content {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-modern__section--center {
    grid-column: auto;
  }
}

.footer-modern__section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-modern__section--center {
  align-items: center;
  text-align: center;
}

.footer-modern__heading {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin: 0;
}

/* Company Info */
.footer-modern__company-info {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #374151;
}

.footer-modern__company-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #e5e7eb;
  margin: 0 0 0.5rem 0;
}

.footer-modern__company-detail {
  font-size: 0.8125rem;
  color: #9ca3af;
  margin: 0.25rem 0;
  line-height: 1.5;
}

/* Links */
.footer-modern__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-modern__link {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
  width: fit-content;
}

.footer-modern__link:hover {
  color: #667eea;
}

/* Logo */
.footer-modern__logo {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
}

.footer-modern__logo:hover {
  transform: scale(1.05);
}

.footer-modern__logo img {
  height: 60px;
  width: auto;
}

/* Social Links */
.footer-modern__social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.footer-modern__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #374151;
  border-radius: 10px;
  color: #9ca3af;
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-modern__social-link:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

.footer-modern__social-link svg {
  width: 20px;
  height: 20px;
}

/* Legal Footer */
.footer-modern__legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid #374151;
}

.footer-modern__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.footer-modern__legal-link {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-modern__legal-link:hover {
  color: #667eea;
}

/* Payment Section */
.footer-modern__payment {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #374151;
}

.footer-modern__payment-text {
  font-size: 0.8125rem;
  color: #9ca3af;
}

.footer-modern__stripe-logo {
  height: 20px;
  width: auto;
}

.footer-modern__payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

.footer-modern__payment-icon {
  height: 24px;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.footer-modern__payment-icon:hover {
  transform: translateY(-2px);
}

.footer-modern__copyright {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-modern__container {
    padding: 2rem 1rem 1rem;
  }

  .footer-modern__section {
    align-items: center;
    text-align: center;
  }

  .footer-modern__links {
    align-items: center;
  }

  .footer-modern__legal {
    padding-top: 1.5rem;
  }

  .footer-modern__legal-links {
    gap: 1rem;
  }
}

/* Accessibility */
.footer-modern__logo:focus-visible,
.footer-modern__link:focus-visible,
.footer-modern__social-link:focus-visible,
.footer-modern__legal-link:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Prevent text selection on interactive elements */
.footer-modern__logo,
.footer-modern__social-link {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.screenshot-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  opacity: 0;
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  overflow: hidden;
  transform: scale(1.05);
  /* GPU acceleration and performance optimizations */
  will-change: opacity, transform;
  backface-visibility: hidden;
  contain: layout style paint;
  transform: translateZ(0) scale(1.05);
}

.screenshot-background-active {
  opacity: 1;
  transform: translateZ(0) scale(1);
}

/* Add overlay to tone down screenshots and fade toward center */
.screenshot-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Fade from left to right - visible on left, fade to white on right */
.screenshot-background[data-position="left"]::before {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 30%,
    rgba(255, 255, 255, 0.6) 60%,
    rgba(255, 255, 255, 0.9) 85%,
    rgba(255, 255, 255, 1) 100%
  );
}

/* Fade from right to left - visible on right, fade to white on left */
.screenshot-background[data-position="right"]::before {
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 30%,
    rgba(255, 255, 255, 0.6) 60%,
    rgba(255, 255, 255, 0.9) 85%,
    rgba(255, 255, 255, 1) 100%
  );
}

.screenshot-background-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  /* GPU acceleration and performance optimizations */
  will-change: opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
  contain: layout style paint;
}

.screenshot-background-loaded {
  opacity: 1;
}

.screenshot-background-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-background-error {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  text-align: center;
  padding: 1rem;
}

/* Tablet responsive adjustments */
@media (max-width: 1023px) {
  .screenshot-background-image {
    object-fit: contain;
    object-position: center center;
  }

  /* Adjust fade for tablet */
  .screenshot-background[data-position="left"]::before,
  .screenshot-background[data-position="right"]::before {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.2) 35%,
      rgba(255, 255, 255, 0.6) 65%,
      rgba(255, 255, 255, 0.95) 90%,
      rgba(255, 255, 255, 1) 100%
    );
  }
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
  .screenshot-background-image {
    object-fit: contain;
    object-position: center center;
    /* Adjust for portrait orientation */
    max-height: 60vh;
  }

  /* On mobile, fade from top to bottom */
  .screenshot-background[data-position="left"]::before,
  .screenshot-background[data-position="right"]::before {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.3) 40%,
      rgba(255, 255, 255, 0.7) 70%,
      rgba(255, 255, 255, 1) 100%
    );
  }

  /* Performance optimization */
  .screenshot-background {
    transform: translateZ(0);
    backface-visibility: hidden;
  }
}

/* Landscape phone optimizations */
@media (max-width: 767px) and (orientation: landscape) {
  .screenshot-background-image {
    object-fit: cover;
    object-position: center;
    max-height: none;
  }

  /* Stronger fade in landscape */
  .screenshot-background[data-position="left"]::before,
  .screenshot-background[data-position="right"]::before {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.5) 30%,
      rgba(255, 255, 255, 0.8) 60%,
      rgba(255, 255, 255, 1) 90%
    );
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .screenshot-background-image {
    max-height: 50vh;
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .screenshot-background,
  .screenshot-background-image {
    transition: none;
  }
}
.geometric-shapes-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.geometric-shapes-container svg {
  /* Enable GPU acceleration for smooth parallax */
  backface-visibility: hidden;
  transform: translateZ(0);
  /* will-change is set dynamically in component for better performance */
  contain: layout style paint;
}

/* Float animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.geometric-shape-float {
  animation: float 6s ease-in-out infinite;
}

/* Rotate animation */
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.geometric-shape-rotate {
  animation: rotate 20s linear infinite;
}

/* Pulse animation */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.geometric-shape-pulse {
  animation: pulse 4s ease-in-out infinite;
}

/* Tablet responsive adjustments */
@media (max-width: 1023px) {
  .geometric-shapes-container svg {
    /* Reduce shape sizes on tablet */
    transform: scale(0.8);
  }

  /* Reduce animation intensity */
  .geometric-shape-float {
    animation: float 8s ease-in-out infinite;
  }

  .geometric-shape-rotate {
    animation: rotate 25s linear infinite;
  }
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
  .geometric-shapes-container svg {
    /* Further reduce shape sizes on mobile */
    transform: scale(0.6);
  }

  /* Simplify animations for performance */
  .geometric-shape-float {
    animation: float 10s ease-in-out infinite;
  }

  .geometric-shape-rotate {
    animation: rotate 30s linear infinite;
  }

  .geometric-shape-pulse {
    animation: pulse 6s ease-in-out infinite;
  }

  /* Performance optimization */
  .geometric-shapes-container {
    transform: translateZ(0);
    backface-visibility: hidden;
  }
}

/* Small mobile devices - hide some shapes for performance */
@media (max-width: 480px) {
  .geometric-shapes-container svg {
    transform: scale(0.5);
  }

  /* Hide every other shape for better performance */
  .geometric-shapes-container svg:nth-child(even) {
    display: none;
  }
}

/* Landscape phone optimizations */
@media (max-width: 767px) and (orientation: landscape) {
  .geometric-shapes-container svg {
    transform: scale(0.5);
  }

  /* Reduce animation for landscape */
  .geometric-shape-float,
  .geometric-shape-rotate,
  .geometric-shape-pulse {
    animation-duration: 15s;
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .geometric-shape-float,
  .geometric-shape-rotate,
  .geometric-shape-pulse {
    animation: none;
  }

  /* Disable parallax effects */
  .geometric-shapes-container svg {
    will-change: auto;
    transform: none !important;
  }
}
.slanted-overlay {
  position: relative;
  padding: 3rem 2.5rem;
  overflow: visible;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 50px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-width: 500px;
  /* Smooth transitions for all properties */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  /* GPU acceleration */
  will-change: transform;
  backface-visibility: hidden;
}

/* Position bubble on the left side (when screenshot is on right) */
.slanted-overlay-left {
  margin-left: 5%;
  margin-right: auto;
}

/* Position bubble on the right side (when screenshot is on left) */
.slanted-overlay-right {
  margin-left: auto;
  margin-right: 5%;
}

/* Z-index management */
.slanted-overlay-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Add decorative small bubbles around the main bubble */
.slanted-overlay::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.3s ease;
  animation: bubble-float 8s ease-in-out infinite;
}

.slanted-overlay-left::after {
  top: -20px;
  right: -30px;
}

.slanted-overlay-right::after {
  top: -20px;
  left: -30px;
}

/* Additional small bubble */
.slanted-overlay::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  background: rgba(139, 92, 246, 0.12);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.3s ease;
  animation: bubble-float 6s ease-in-out infinite;
  animation-delay: 1s;
}

.slanted-overlay-left::before {
  bottom: -15px;
  right: 40px;
}

.slanted-overlay-right::before {
  bottom: -15px;
  left: 40px;
}

/* Bubble float animation */
@keyframes bubble-float {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-15px) scale(1.05);
  }
}

.slanted-overlay-content {
  position: relative;
  z-index: 2;
  color: #1a1a1a;
}

/* Tablet responsive adjustments */
@media (max-width: 1023px) {
  .slanted-overlay {
    max-width: 450px;
    padding: 2.75rem 2.25rem;
    border-radius: 45px;
  }

  /* Reduce decorative bubble sizes */
  .slanted-overlay::after {
    width: 60px;
    height: 60px;
  }

  .slanted-overlay::before {
    width: 40px;
    height: 40px;
  }
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
  .slanted-overlay {
    padding: 2.5rem 2rem;
    max-width: 90%;
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 40px;
    /* Remove slant effect on mobile for better readability */
    clip-path: none;
  }

  /* Reduce decorative bubbles on mobile */
  .slanted-overlay::after {
    width: 50px;
    height: 50px;
  }

  .slanted-overlay::before {
    width: 30px;
    height: 30px;
  }

  /* Center decorative elements */
  .slanted-overlay-left::after,
  .slanted-overlay-right::after {
    top: -15px;
    right: 20px;
    left: auto;
  }

  .slanted-overlay-left::before,
  .slanted-overlay-right::before {
    bottom: -10px;
    left: 20px;
    right: auto;
  }

  /* Performance optimization */
  .slanted-overlay {
    transform: translateZ(0);
    backface-visibility: hidden;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .slanted-overlay {
    padding: 2rem 1.5rem;
    max-width: 95%;
    border-radius: 30px;
  }

  /* Further reduce decorative elements */
  .slanted-overlay::after {
    width: 40px;
    height: 40px;
  }

  .slanted-overlay::before {
    width: 25px;
    height: 25px;
  }
}

/* Landscape phone optimizations */
@media (max-width: 767px) and (orientation: landscape) {
  .slanted-overlay {
    padding: 1.5rem 1.75rem;
    max-width: 85%;
  }

  /* Hide decorative bubbles in landscape for cleaner look */
  .slanted-overlay::after,
  .slanted-overlay::before {
    display: none;
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .slanted-overlay,
  .slanted-overlay::before,
  .slanted-overlay::after {
    animation: none;
    transition: none;
  }
}
.scrolling-feature-section {
  position: relative;
  width: 100%;
}

.screenshot-backgrounds {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  /* Performance optimizations */
  will-change: contents;
  contain: layout style paint;
}

.feature-sections-container {
  position: relative;
  z-index: 0;
}

/* Fade-in animation for feature sections */
@keyframes feature-section-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.feature-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* Subtle fade-in on load */
  animation: feature-section-fade-in 0.8s ease-out;
  /* Performance optimizations */
  contain: layout style paint;
  will-change: opacity;
}

/* Ensure proper spacing and layout */
.feature-section:first-child {
  margin-top: 0;
}

.feature-section:last-child {
  margin-bottom: 0;
}

/* Tablet responsive adjustments */
@media (max-width: 1023px) {
  .feature-section {
    min-height: 85vh;
    padding: 2rem 1rem;
  }
}

/* Mobile and Tablet responsive adjustments */
@media (max-width: 1024px) {
  .scrolling-feature-section.mobile-layout {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
  }

  .feature-section.mobile-card {
    min-height: auto;
    padding: 0;
    display: block;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .feature-section.mobile-card.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger animation for multiple cards */
  .feature-section.mobile-card:nth-child(2).visible {
    transition-delay: 0.1s;
  }

  .feature-section.mobile-card:nth-child(3).visible {
    transition-delay: 0.2s;
  }

  .feature-section.mobile-card:nth-child(4).visible {
    transition-delay: 0.3s;
  }

  /* Mobile feature card styles */
  .mobile-feature-card {
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-feature-card:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }

  .mobile-screenshot-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
  }

  .mobile-screenshot {
    display: none; /* Hide the img tag, we'll use background image instead */
  }

  .mobile-feature-card:hover .mobile-screenshot-container {
    transform: scale(1.05);
  }

  /* Add subtle animation on scroll */
  .mobile-feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent
    );
    transition: left 0.5s;
    z-index: 1;
    pointer-events: none;
  }

  .feature-section.visible .mobile-feature-card::before {
    left: 100%;
  }

  /* Adjust section spacing for mobile */
  .feature-sections-container {
    padding: 2rem 0;
  }

  /* Ensure proper touch scrolling */
  .scrolling-feature-section {
    -webkit-overflow-scrolling: touch;
  }

  /* First section spacing */
  .feature-section.mobile-card:first-child {
    margin-top: 1rem;
  }

  /* Last section spacing */
  .feature-section.mobile-card:last-child {
    margin-bottom: 3rem;
  }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
  .mobile-feature-card {
    margin: 2rem auto; /* Center the card with vertical spacing */
    max-width: 600px; /* Limit width on larger tablets */
  }

  .mobile-screenshot-container {
    height: 250px; /* Taller screenshots on tablets */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .mobile-feature-card .amplify-view[data-amplify-view] {
    padding: 2.5rem 2rem; /* More padding on tablets */
  }

  .mobile-feature-card h2 {
    font-size: 1.75rem; /* Larger titles on tablets */
  }

  .mobile-feature-card p {
    font-size: 1.1rem; /* Larger text on tablets */
  }
}

/* Landscape phone optimizations */
@media (max-width: 768px) and (orientation: landscape) {
  .mobile-screenshot-container {
    height: 150px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .mobile-feature-card {
    margin: 1rem auto;
  }

  .feature-sections-container {
    padding: 1rem 0;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .mobile-feature-card {
    margin: 1.5rem auto;
    border-radius: 12px;
  }

  .mobile-screenshot-container {
    height: 180px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .mobile-feature-card .amplify-view[data-amplify-view] {
    padding: 1.5rem 1rem;
  }
}

/* Accessibility: Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .screenshot-backgrounds {
    transition: none !important;
  }

  .feature-section {
    animation: none !important;
  }

  .feature-section.mobile-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .mobile-screenshot {
    transition: none !important;
  }

  .mobile-feature-card::before {
    display: none !important;
  }

  /* Disable all animations and transitions */
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Performance optimization for mobile and tablets */
@media (max-width: 1024px) {
  .mobile-feature-card {
    /* Use GPU acceleration */
    transform: translateZ(0);
    backface-visibility: hidden;
    contain: layout style paint;
    will-change: transform, opacity;
  }

  .mobile-screenshot {
    /* Optimize image rendering */
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  /* Optimize animations */
  .feature-section.mobile-card {
    contain: layout style paint;
  }
}
/* ============================================
   HERO SECTION - ULTRA MODERN
   ============================================ */

.hero-section-modern {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
}

.hero-abstract-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-gradient-mesh {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
  animation: float-mesh 25s ease-in-out infinite;
}

.hero-gradient-mesh.mesh-1 {
  width: 700px;
  height: 700px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  top: -20%;
  left: -15%;
  animation-delay: 0s;
}

.hero-gradient-mesh.mesh-2 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  bottom: -15%;
  right: -10%;
  animation-delay: 8s;
}

.hero-gradient-mesh.mesh-3 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  top: 40%;
  right: 30%;
  animation-delay: 16s;
}

@keyframes float-mesh {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-40px, 40px) scale(0.9);
  }
}

.hero-content-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

.hero-text-content {
  margin-bottom: 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #3b82f6;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: #3b82f6;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.hero-title-modern {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.hero-title-gradient {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle-modern {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-button-primary {
  padding: 1rem 2.5rem !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3) !important;
  transition: all 0.3s ease !important;
}

.hero-button-primary:hover {
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4) !important;
  transform: translateY(-2px);
}

.hero-button-secondary {
  padding: 1rem 2.5rem !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  background: white !important;
  color: #3b82f6 !important;
  border: 2px solid #e2e8f0 !important;
  transition: all 0.3s ease !important;
}

.hero-button-secondary:hover {
  border-color: #3b82f6 !important;
  background: #f8fafc !important;
}

.hero-trust-indicators {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #64748b;
}

.trust-icon {
  color: #10b981;
  font-weight: bold;
}

.hero-demo-container {
  max-width: 1000px;
  margin: 0 auto 3rem;
}

.demo-preview-card {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: all 0.3s ease;
}

.demo-preview-card:hover {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.15);
}

.demo-preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.95),
    rgba(139, 92, 246, 0.95)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.demo-preview-card:hover .demo-preview-overlay {
  opacity: 0.98;
}

.demo-play-button {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.demo-preview-card:hover .demo-play-button {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.3);
}

.demo-preview-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   HOW IT WORKS - MODERN
   ============================================ */

.how-it-works-modern {
  position: relative;
  padding: 6rem 2rem;
  background: white;
  overflow: hidden;
}

.how-it-works-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.works-gradient-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
}

.works-gradient-shape.shape-left {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  top: -20%;
  left: -15%;
  animation: float-abstract 30s ease-in-out infinite;
}

.works-gradient-shape.shape-right {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  bottom: -15%;
  right: -10%;
  animation: float-abstract 35s ease-in-out infinite reverse;
}

.how-it-works-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.steps-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.step-modern-card {
  position: relative;
  padding: 3rem 2.5rem;
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-modern-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
}

.step-modern-number {
  position: absolute;
  top: -20px;
  left: 2.5rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.step-modern-number span {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.step-modern-content h3 {
  font-size: 1.5rem;
  color: #1e293b;
  font-weight: 600;
  margin-top: 1rem;
}

.step-modern-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  border-radius: 16px;
  color: #3b82f6;
  margin-top: auto;
}

/* ============================================
   PRICING - ULTRA MODERN
   ============================================ */

.pricing-section-ultra-modern {
  position: relative;
  padding: 6rem 2rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  overflow: hidden;
}

.pricing-ultra-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.pricing-mesh {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
}

.pricing-mesh-1 {
  width: 700px;
  height: 700px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  top: -25%;
  right: -15%;
  animation: float-abstract 30s ease-in-out infinite;
}

.pricing-mesh-2 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  bottom: -20%;
  left: -15%;
  animation: float-abstract 35s ease-in-out infinite reverse;
}

.pricing-ultra-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-ultra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.pricing-ultra-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-ultra-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.pricing-ultra-featured {
  border: 2px solid #3b82f6;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
}

.pricing-featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.pricing-ultra-header {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pricing-tier-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.pricing-tier-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: #64748b;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: #64748b;
}

.pricing-tier-description {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
}

.pricing-savings-badge {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.4rem 0.75rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
}

.pricing-ultra-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #475569;
}

.feature-item svg {
  flex-shrink: 0;
  color: #10b981;
}

.pricing-ultra-button {
  width: 100%;
  padding: 1rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  color: #1e293b !important;
  border: 1px solid #e2e8f0 !important;
  transition: all 0.3s ease !important;
}

.pricing-ultra-button:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

.pricing-ultra-button-featured {
  background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3) !important;
}

.pricing-ultra-button-featured:hover {
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4) !important;
  transform: translateY(-2px);
}

/* Enterprise Card - Ultra Modern */
.enterprise-ultra-card {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.enterprise-ultra-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1),
    rgba(139, 92, 246, 0.1)
  );
  pointer-events: none;
}

.enterprise-ultra-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}

.enterprise-ultra-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.enterprise-ultra-card h3 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.enterprise-ultra-button {
  padding: 1rem 2rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  background: white !important;
  color: #1e293b !important;
  border: none !important;
  transition: all 0.3s ease !important;
}

.enterprise-ultra-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2) !important;
}

.enterprise-ultra-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.enterprise-ultra-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.enterprise-feature-icon {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  min-width: 50px;
  text-align: center;
}

.enterprise-feature-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* ============================================
   CONTEMPORARY & ABSTRACT DESIGN SYSTEM
   ============================================ */

/* Abstract Value Proposition Section */
.abstract-value-section {
  position: relative;
  padding: 6rem 2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
}

.abstract-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.abstract-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float-abstract 20s ease-in-out infinite;
}

.abstract-shape.shape-1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.abstract-shape.shape-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  bottom: -5%;
  right: -5%;
  animation-delay: 7s;
}

.abstract-shape.shape-3 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 14s;
}

@keyframes float-abstract {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.value-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title-modern {
  font-size: 2.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1e293b, #475569);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle-modern {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.value-card {
  position: relative;
  height: 100%;
  perspective: 1000px;
}

.value-card-inner {
  position: relative;
  padding: 3rem 2rem;
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.value-card-inner:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.value-number {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.value-card h3 {
  font-size: 1.5rem;
  color: #1e293b;
  font-weight: 600;
}

.value-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #64748b;
}

/* Contemporary Features Showcase */
.features-showcase-section {
  padding: 6rem 2rem;
  background: white;
}

.features-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-showcase-card {
  padding: 2.5rem 2rem;
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-showcase-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-showcase-card:hover::before {
  opacity: 1;
}

.feature-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.feature-showcase-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.card-accent-blue .feature-showcase-icon {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #3b82f6;
}

.card-accent-purple .feature-showcase-icon {
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  color: #8b5cf6;
}

.card-accent-green .feature-showcase-icon {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #10b981;
}

.card-accent-orange .feature-showcase-icon {
  background: linear-gradient(135deg, #fed7aa, #fdba74);
  color: #f97316;
}

.card-accent-pink .feature-showcase-icon {
  background: linear-gradient(135deg, #fce7f3, #fbcfe8);
  color: #ec4899;
}

.card-accent-teal .feature-showcase-icon {
  background: linear-gradient(135deg, #ccfbf1, #99f6e4);
  color: #14b8a6;
}

.feature-showcase-card:hover .feature-showcase-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-showcase-card h4 {
  font-size: 1.2rem;
  color: #1e293b;
  font-weight: 600;
}

.feature-showcase-card p {
  line-height: 1.6;
}

/* Pricing Section - Contemporary */
.pricing-section-modern {
  position: relative;
  padding: 6rem 2rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  overflow: hidden;
}

.pricing-abstract-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.pricing-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
}

.pricing-shape-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  top: -20%;
  right: -10%;
  animation: float-abstract 25s ease-in-out infinite;
}

.pricing-shape-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  bottom: -15%;
  left: -10%;
  animation: float-abstract 30s ease-in-out infinite reverse;
}

.pricing-content-wrapper {
  position: relative;
  z-index: 1;
}

/* Enterprise Card - Modern */
.enterprise-card-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.enterprise-card-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1),
    rgba(139, 92, 246, 0.1)
  );
  pointer-events: none;
}

.enterprise-content {
  position: relative;
  z-index: 1;
}

.enterprise-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.enterprise-card-modern h3 {
  font-size: 2rem;
  font-weight: 700;
}

.enterprise-button {
  background: white !important;
  color: #1e293b !important;
  padding: 1rem 2rem !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  transition: all 0.3s ease !important;
}

.enterprise-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2) !important;
}

.enterprise-visual {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
}

.enterprise-stat {
  text-align: center;
}

.stat-value {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Final CTA - Abstract & Contemporary */
.final-cta-modern {
  position: relative;
  padding: 8rem 2rem;
  background: #0f172a;
  overflow: hidden;
}

.cta-abstract-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cta-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  animation: float-orb 20s ease-in-out infinite;
}

.cta-gradient-orb.orb-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  top: -20%;
  left: -10%;
  animation-delay: 0s;
}

.cta-gradient-orb.orb-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  bottom: -15%;
  right: -10%;
  animation-delay: 7s;
}

.cta-gradient-orb.orb-3 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 14s;
}

@keyframes float-orb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(40px, -40px) scale(1.15);
  }
  66% {
    transform: translate(-30px, 30px) scale(0.85);
  }
}

.cta-content-modern {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cta-heading-modern {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cta-buttons-wrapper {
  margin-bottom: 2rem;
}

.cta-primary-button {
  padding: 1.25rem 3rem !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  background: white !important;
  color: #0f172a !important;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15) !important;
  transition: all 0.3s ease !important;
  border: none !important;
}

.cta-primary-button:hover {
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-2px);
}

.cta-secondary-button {
  padding: 1.25rem 3rem !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: white !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  transition: all 0.3s ease !important;
}

.cta-secondary-button:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

/* ============================================
   Responsive Design - Contemporary Sections
   ============================================ */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
  .hero-title-modern {
    font-size: 3rem;
  }

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

  .steps-modern-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pricing-ultra-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto 4rem;
  }

  .enterprise-ultra-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-title-modern {
    font-size: 2.3rem;
  }

  .value-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .features-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (up to 767px) */
@media (max-width: 767px) {
  .hero-section-modern,
  .how-it-works-modern,
  .pricing-section-ultra-modern {
    padding: 4rem 1rem;
  }

  .hero-title-modern {
    font-size: 2.5rem;
  }

  .hero-subtitle-modern {
    font-size: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 2rem;
  }

  .hero-button-primary,
  .hero-button-secondary {
    width: 100%;
  }

  .hero-trust-indicators {
    flex-direction: column;
    gap: 0.75rem;
  }

  .steps-modern-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .step-modern-card {
    padding: 2.5rem 1.5rem;
  }

  .step-modern-number {
    left: 1.5rem;
  }

  .pricing-ultra-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pricing-ultra-card {
    padding: 2rem 1.5rem;
  }

  .price-amount {
    font-size: 2.5rem;
  }

  .enterprise-ultra-card {
    padding: 2rem 1.5rem;
  }

  .enterprise-ultra-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .enterprise-ultra-card h3 {
    font-size: 1.5rem;
  }

  .abstract-value-section,
  .features-showcase-section,
  .final-cta-modern {
    padding: 4rem 1rem;
  }

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

  .section-subtitle-modern {
    font-size: 1rem;
  }

  .value-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .value-card-inner {
    padding: 2rem 1.5rem;
  }

  .value-number {
    font-size: 2.5rem;
  }

  .features-showcase-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-showcase-card {
    padding: 2rem 1.5rem;
  }

  .cta-heading-modern {
    font-size: 2rem !important;
  }

  .cta-content-modern p {
    font-size: 1rem !important;
  }

  .cta-primary-button,
  .cta-secondary-button {
    width: 100%;
    max-width: 320px;
    padding: 1rem 2rem !important;
  }
}

/* Small mobile devices (up to 480px) */
@media (max-width: 480px) {
  .hero-title-modern {
    font-size: 2rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }

  .section-title-modern {
    font-size: 1.75rem;
  }

  .step-modern-card {
    padding: 2rem 1rem;
  }

  .step-modern-number {
    width: 50px;
    height: 50px;
  }

  .step-modern-number span {
    font-size: 1.25rem;
  }

  .step-modern-visual {
    width: 70px;
    height: 70px;
  }

  .step-modern-visual svg {
    width: 60px;
    height: 60px;
  }

  .pricing-tier-name {
    font-size: 1.3rem;
  }

  .price-amount {
    font-size: 2rem;
  }

  .enterprise-ultra-card {
    padding: 1.5rem 1rem;
  }

  .enterprise-ultra-card h3 {
    font-size: 1.3rem;
  }

  .value-number {
    font-size: 2rem;
  }

  .value-card h3 {
    font-size: 1.3rem;
  }

  .feature-showcase-icon {
    width: 56px;
    height: 56px;
  }

  .cta-heading-modern {
    font-size: 1.75rem !important;
  }
}

/* ============================================
   Accessibility - Contemporary Sections
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .hero-gradient-mesh,
  .works-gradient-shape,
  .pricing-mesh,
  .abstract-shape,
  .pricing-shape,
  .cta-gradient-orb {
    animation: none !important;
  }

  .badge-dot {
    animation: none !important;
  }

  .step-modern-card,
  .pricing-ultra-card,
  .value-card-inner,
  .feature-showcase-card,
  .enterprise-ultra-button,
  .cta-primary-button,
  .cta-secondary-button,
  .hero-button-primary,
  .hero-button-secondary {
    transition: none !important;
  }
}

@media (prefers-contrast: high) {
  .step-modern-card,
  .pricing-ultra-card,
  .enterprise-ultra-card,
  .value-card-inner,
  .feature-showcase-card {
    border-width: 2px !important;
  }
}
/* AuthPage Tablet and Mobile Styles */
@media (max-width: 1024px) {
  /* Stack layout vertically on mobile */
  .auth-container {
    flex-direction: column !important;
  }

  /* Hide branding section on mobile */
  .auth-branding {
    display: none !important;
  }

  /* Make auth section full width on mobile */
  .auth-form {
    width: 100% !important;
    padding: 1rem !important;
    min-height: 100vh !important;
    justify-content: flex-start !important;
    padding-top: 2rem !important;
  }

  /* Add mobile header */
  .auth-mobile-header {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    padding-top: 2rem;
  }

  /* Adjust card on mobile */
  .auth-card {
    max-width: 400px !important;
    margin: 0 auto !important;
    box-shadow: none !important;
    border: 1px solid var(--amplify-colors-neutral-20) !important;
    padding: 1rem !important;
  }

  /* Hide auth header on mobile to prevent duplication */
  .auth-header {
    display: none !important;
  }

  /* Ensure auth card fits properly on mobile */
  .auth-card {
    width: 100% !important;
    max-width: 450px !important;
    box-sizing: border-box !important;
    padding: 1rem !important;
  }

  /* Force password field and button to stay inline */
  .auth-card .amplify-field-group__control {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  .auth-card .amplify-input {
    flex: 1 !important;
    min-width: 0 !important;
  }

  .auth-card .amplify-field-group__control .amplify-button {
    flex-shrink: 0 !important;
    margin-left: 0.5rem !important;
  }
}

/* Desktop - hide mobile header */
@media (min-width: 1025px) {
  .auth-mobile-header {
    display: none !important;
  }
}
/* Modern Marketing Navigation */

.marketing-nav-modern {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #1f2937;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition:
    padding 0.3s ease,
    box-shadow 0.3s ease;
}

.marketing-nav-modern--scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.marketing-nav-modern__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: padding 0.3s ease;
}

.marketing-nav-modern--scrolled .marketing-nav-modern__container {
  padding: 0.5rem 1.5rem;
}

/* Logo */
.marketing-nav-modern__logo {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.marketing-nav-modern__logo:hover {
  transform: scale(1.05);
}

.marketing-nav-modern__logo-img {
  height: 60px;
  transition: height 0.3s ease;
}

.marketing-nav-modern--scrolled .marketing-nav-modern__logo-img {
  height: 36px;
}

/* Desktop Navigation */
.marketing-nav-modern__desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
}

.marketing-nav-modern__links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.marketing-nav-modern__link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  color: #e5e7eb;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.marketing-nav-modern__link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateY(-1px);
}

.marketing-nav-modern__link--active {
  background: rgba(102, 126, 234, 0.2);
  color: white;
  font-weight: 600;
  position: relative;
}

.marketing-nav-modern__link--active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 3px;
  background: #667eea;
  border-radius: 2px 2px 0 0;
}

/* Actions */
.marketing-nav-modern__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.marketing-nav-modern__button {
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}

.marketing-nav-modern__button--secondary {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid #374151;
}

.marketing-nav-modern__button--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #4b5563;
  color: white;
  transform: translateY(-1px);
}

.marketing-nav-modern__button--primary {
  background: #667eea;
  color: white;
}

.marketing-nav-modern__button--primary:hover {
  background: #5568d3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Mobile Toggle */
.marketing-nav-modern__mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid #374151;
  border-radius: 8px;
  cursor: pointer;
  color: #e5e7eb;
  transition: all 0.2s ease;
}

.marketing-nav-modern__mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #4b5563;
  color: white;
}

/* Mobile Menu */
.marketing-nav-modern__mobile-menu {
  background: #1f2937;
  border-top: 1px solid #374151;
  padding: 1rem;
  animation: mobileMenuSlideIn 0.3s ease;
}

@keyframes mobileMenuSlideIn {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.marketing-nav-modern__mobile-link {
  display: block;
  width: 100%;
  padding: 0.875rem 1rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #e5e7eb;
  text-decoration: none;
  text-align: left;
  transition: all 0.15s ease;
  margin-bottom: 0.25rem;
}

.marketing-nav-modern__mobile-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.marketing-nav-modern__mobile-link--primary {
  color: #667eea;
  font-weight: 600;
}

.marketing-nav-modern__mobile-link--primary:hover {
  background: rgba(102, 126, 234, 0.2);
  color: #818cf8;
}

.marketing-nav-modern__mobile-divider {
  height: 1px;
  background: #374151;
  margin: 0.75rem 0;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .marketing-nav-modern__desktop {
    display: none;
  }

  .marketing-nav-modern__mobile-toggle {
    display: flex;
  }
}

@media (min-width: 1025px) {
  .marketing-nav-modern__mobile-menu {
    display: none !important;
  }
}

/* Accessibility */
.marketing-nav-modern__logo:focus-visible,
.marketing-nav-modern__link:focus-visible,
.marketing-nav-modern__button:focus-visible,
.marketing-nav-modern__mobile-toggle:focus-visible,
.marketing-nav-modern__mobile-link:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* Prevent text selection on interactive elements */
.marketing-nav-modern__logo,
.marketing-nav-modern__link,
.marketing-nav-modern__button,
.marketing-nav-modern__mobile-toggle,
.marketing-nav-modern__mobile-link {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Touch-friendly sizing for mobile */
@media (max-width: 1024px) {
  .marketing-nav-modern__mobile-link {
    min-height: 48px;
  }

  .marketing-nav-modern__mobile-toggle {
    min-width: 48px;
    min-height: 48px;
  }
}
/* Marketing Layout Mobile Styles - Including Tablets */
@media (max-width: 1024px) {
  /* Reduce padding on mobile */
  .marketing-nav {
    padding: 0.5rem 1rem !important;
  }

  /* Hide desktop navigation links on mobile */
  .marketing-nav .amplify-flex[data-display="none"] {
    display: none !important;
  }

  /* Ensure mobile menu button is visible */
  .marketing-nav .amplify-button[aria-label*="menu"] {
    display: inline-flex !important;
    min-width: 48px !important;
    min-height: 48px !important;
    padding: 0.75rem !important;
    font-size: 1.5rem !important;
    border: 1px solid currentColor !important;
    border-radius: 6px !important;
  }

  /* Mobile menu dropdown */
  .marketing-nav .amplify-view[style*="position: absolute"] {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: white !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #ccc !important;
    border-top: none !important;
  }

  /* Mobile menu items */
  .marketing-nav .amplify-view[style*="cursor: pointer"] {
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0.75rem 1rem !important;
    border-radius: 4px !important;
    margin: 2px 0 !important;
    transition: background-color 0.2s ease !important;
  }

  .marketing-nav .amplify-view[style*="cursor: pointer"]:hover {
    background-color: #f0f0f0 !important;
  }

  .marketing-nav .amplify-view[style*="cursor: pointer"]:active {
    background-color: #e0e0e0 !important;
    transform: scale(0.98);
  }
}

/* Skip Links for Accessibility */
.skip-links {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 100000;
  width: 100%;
  background: var(--amplify-colors-background-primary);
}

.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: var(--amplify-colors-blue-60);
  color: white;
  padding: 1rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  left: 1rem;
  top: 1rem;
  z-index: 100001;
}

.skip-link:hover {
  background: var(--amplify-colors-blue-80);
}

/* Reset all navigation button states first */
.marketing-nav .amplify-button[data-variation="link"] {
  transition: all 0.2s ease !important;
}

/* Navigation Button States - Dark Background (not scrolled) */
.marketing-nav.dark .amplify-button[data-variation="link"]:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
}

.marketing-nav.dark .amplify-button[data-variation="link"]:focus,
.marketing-nav.dark .amplify-button[data-variation="link"]:active {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  outline: 2px solid rgba(255, 255, 255, 0.8) !important;
  outline-offset: 2px !important;
}

/* Navigation Button States - Light Background (scrolled) */
.marketing-nav.scrolled .amplify-button[data-variation="link"]:hover {
  background-color: rgba(59, 130, 246, 0.1) !important;
  color: var(--amplify-colors-blue-80) !important;
}

.marketing-nav.scrolled .amplify-button[data-variation="link"]:focus,
.marketing-nav.scrolled .amplify-button[data-variation="link"]:active {
  background-color: var(--amplify-colors-blue-60) !important;
  color: white !important;
  outline: 2px solid var(--amplify-colors-blue-80) !important;
  outline-offset: 2px !important;
}

/* Force reset focus state after navigation */
.marketing-nav
  .amplify-button[data-variation="link"]:not(:focus):not(:active):not(.active) {
  background-color: transparent !important;
  outline: none !important;
}

/* Active page highlighting - Dark Background */
.marketing-nav.dark .amplify-button[data-variation="link"].active,
.marketing-nav.dark button[data-variation="link"].active {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  border-bottom: 3px solid white !important;
  border-radius: 4px 4px 0 0 !important;
  position: relative !important;
}

.marketing-nav.dark .amplify-button[data-variation="link"].active::after,
.marketing-nav.dark button[data-variation="link"].active::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: white;
  border-radius: 0;
}

/* Active page highlighting - Light Background */
.marketing-nav.scrolled .amplify-button[data-variation="link"].active,
.marketing-nav.scrolled button[data-variation="link"].active {
  background-color: rgba(59, 130, 246, 0.15) !important;
  color: var(--amplify-colors-blue-80) !important;
  border-bottom: 3px solid var(--amplify-colors-blue-60) !important;
  border-radius: 4px 4px 0 0 !important;
  font-weight: 600 !important;
  position: relative !important;
}

.marketing-nav.scrolled .amplify-button[data-variation="link"].active::after,
.marketing-nav.scrolled button[data-variation="link"].active::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--amplify-colors-blue-60);
  border-radius: 0;
}

/* Mobile menu item states */
.marketing-nav .amplify-view:focus,
.marketing-nav .amplify-view:active {
  background-color: var(--amplify-colors-blue-10) !important;
  color: var(--amplify-colors-blue-80) !important;
  outline: 2px solid var(--amplify-colors-blue-60) !important;
  outline-offset: -2px !important;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }
}
/* Subscription Settings Page - Modern Styling */

/* Page Container */
.subscription-page {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Page Title */
.subscription-page-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #212529;
  margin: 0 0 1.5rem 0;
}

/* Tab Navigation */
.subscription-tabs {
  display: flex;
  gap: 0.75rem;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 2rem;
}

.subscription-tab {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 1rem;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  bottom: -2px;
  font-family: inherit;
}

.subscription-tab:hover {
  color: #3b82f6;
  background-color: #f9fafb;
}

.subscription-tab:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.subscription-tab.active {
  color: #3b82f6;
  border-bottom-color: #3b82f6;
  font-weight: 600;
}

/* Hide duplicate headings in tab panels */
.subscription-page [role="tabpanel"] > div > h3:first-child {
  display: none;
}

/* Loading State */
.subscription-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  gap: 1rem;
}

.subscription-loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e9ecef;
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.subscription-loading-text {
  font-size: 0.9375rem;
  color: #6c757d;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Alert Messages */
.subscription-alert {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.subscription-alert.error {
  background: #fee;
  border-left: 4px solid #d32f2f;
}

.subscription-alert.success {
  background: #e7f5e9;
  border-left: 4px solid #2e7d32;
}

.subscription-alert.warning {
  background: #fff3cd;
  border-left: 4px solid #ff9800;
}

.subscription-alert-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.subscription-alert.error .subscription-alert-content {
  color: #d32f2f;
  font-weight: 600;
}

.subscription-alert.success .subscription-alert-content {
  color: #2e7d32;
  font-weight: 600;
}

.subscription-alert.warning .subscription-alert-content {
  color: #856404;
  font-weight: 600;
}

.subscription-alert-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: inherit;
  padding: 0;
  line-height: 1;
}

/* Company Subscription Card */
.company-subscription-card {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.company-subscription-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.company-subscription-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #212529;
  margin: 0;
}

.company-subscription-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  background: #e7f3ff;
  color: #0066cc;
}

.company-subscription-text {
  font-size: 0.9375rem;
  color: #495057;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.company-subscription-renew {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 1rem;
}

.company-subscription-divider {
  height: 1px;
  background: #e9ecef;
  margin: 1rem 0;
}

.company-admin-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.company-admin-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
  margin: 0 0 0.25rem 0;
}

.company-admin-info p {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
}

/* Current Plan Card */
.current-plan-card {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.current-plan-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #212529;
  margin: 0 0 1rem 0;
}

.current-plan-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.current-plan-status-label {
  font-weight: 600;
  color: #495057;
}

.plan-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

.plan-badge.success {
  background: #d4edda;
  color: #155724;
}

.plan-badge.info {
  background: #e7f3ff;
  color: #0066cc;
}

.plan-badge.warning {
  background: #fff3cd;
  color: #856404;
}

.current-plan-text {
  font-size: 0.9375rem;
  color: #495057;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.current-plan-trial-warning {
  font-size: 0.875rem;
  color: #d97706;
  margin-bottom: 1rem;
}

.current-plan-secondary-text {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 1rem;
}

.current-plan-divider {
  height: 1px;
  background: #e9ecef;
  margin: 1.5rem 0;
}

/* Available Plans Section */
.available-plans-header {
  font-size: 1.25rem;
  font-weight: 600;
  color: #212529;
  margin: 0 0 1rem 0;
}

.plans-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Plan Cards */
.plan-card {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}

.plan-card.elevated {
  background: #f8f9fa;
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.plan-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.plan-card-header h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #212529;
  margin: 0;
}

.plan-card-price {
  font-size: 2rem;
  font-weight: 700;
  color: #212529;
  margin: 0 0 0.5rem 0;
}

.plan-card-interval {
  font-size: 0.9375rem;
  color: #6c757d;
  margin-bottom: 1rem;
}

.plan-card-tagline {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.plan-card-divider {
  height: 1px;
  background: #e9ecef;
  margin: 1rem 0;
}

.plan-card-features {
  flex: 1;
  margin-bottom: 1.5rem;
}

.plan-card-feature {
  font-size: 0.9rem;
  color: #495057;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* Plan Actions */
.plan-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.plan-billing-toggle {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.plan-billing-toggle button {
  flex: 1;
}

/* Plan Change Section */
.plan-change-section {
  margin-top: 1.5rem;
}

.plan-change-section h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
  margin: 0 0 0.5rem 0;
}

.plan-change-description {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Buttons */
.primary-action-button {
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  border: 2px solid #3b82f6;
  background: white;
  color: #3b82f6;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  width: 100%;
}

.primary-action-button:hover:not(:disabled) {
  background: #3b82f6;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}

.primary-action-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.secondary-action-button {
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  border: 2px solid #dee2e6;
  background: white;
  color: #495057;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  width: 100%;
}

.secondary-action-button:hover:not(:disabled) {
  background: #f8f9fa;
  border-color: #adb5bd;
}

.secondary-action-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.link-button {
  background: none;
  border: none;
  color: #3b82f6;
  cursor: pointer;
  font-size: 0.9375rem;
  padding: 0.625rem 1.25rem;
  text-decoration: underline;
  width: 100%;
}

.link-button:hover:not(:disabled) {
  color: #2563eb;
}

.link-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.destructive-button {
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  border: 2px solid #dc3545;
  background: white;
  color: #dc3545;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  width: 100%;
}

.destructive-button:hover:not(:disabled) {
  background: #dc3545;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(220, 53, 69, 0.2);
}

.destructive-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.small-button {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}

.modal-content {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 10000;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.modal-header-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #212529;
  margin: 0 0 0.5rem 0;
}

.modal-header-content p {
  font-size: 0.9375rem;
  color: #6c757d;
  margin: 0;
}

.modal-close-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6c757d;
  padding: 0;
  line-height: 1;
}

.modal-close-button:hover {
  color: #212529;
}

.modal-body {
  margin-bottom: 1.5rem;
}

.modal-text {
  font-size: 0.9375rem;
  color: #495057;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.modal-loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6c757d;
}

.modal-loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #e9ecef;
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.modal-secondary-text {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 1rem;
}

.modal-divider {
  height: 1px;
  background: #e9ecef;
  margin: 1.5rem 0;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Payment Method Selection */
.payment-method-section {
  margin-bottom: 1rem;
}

.payment-method-section h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
  margin: 0 0 0.5rem 0;
}

.payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.payment-method-option {
  cursor: pointer;
}

.payment-method-option input[type="radio"] {
  margin-right: 0.5rem;
}

.payment-method-card {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
}

.payment-method-card:hover {
  border-color: #3b82f6;
}

.payment-method-card.selected {
  background: #e7f3ff;
  border-color: #3b82f6;
}

.payment-method-icon {
  font-size: 1.5rem;
}

.payment-method-details {
  flex: 1;
}

.payment-method-number {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.25rem;
}

.payment-method-info {
  font-size: 0.875rem;
  color: #6c757d;
}

/* Payment Methods Section */
.payment-methods-section {
  margin-bottom: 2rem;
}

/* MFA Setup Steps */
.mfa-setup-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mfa-setup-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.mfa-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #3b82f6;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.mfa-step-content {
  flex: 1;
}

.mfa-step-content h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
  margin: 0 0 0.5rem 0;
}

.mfa-step-content p {
  font-size: 0.9375rem;
  color: #6c757d;
  margin: 0;
  line-height: 1.5;
}

/* Notification Settings */
.notification-setting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.notification-setting-info {
  flex: 1;
}

.notification-setting-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.25rem;
}

.notification-setting-description {
  font-size: 0.875rem;
  color: #6c757d;
  line-height: 1.5;
}

/* Toggle Switch */
.notification-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
}

.notification-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.notification-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e9ecef;
  transition: 0.3s;
  border-radius: 26px;
}

.notification-toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.notification-toggle input:checked + .notification-toggle-slider {
  background-color: #3b82f6;
}

.notification-toggle input:focus + .notification-toggle-slider {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.notification-toggle input:checked + .notification-toggle-slider:before {
  transform: translateX(22px);
}

.notification-toggle input:disabled + .notification-toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Stripe Payment Element Styling */
.StripeElement {
  padding: 0.75rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  transition: border-color 0.2s ease;
}

.StripeElement--focus {
  border-color: #3b82f6;
  outline: none;
}

.StripeElement--invalid {
  border-color: #dc3545;
}

/* Payment Method Cards */
.payment-method-card {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
}

.payment-method-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.payment-method-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.payment-method-details {
  flex: 1;
  min-width: 0;
}

.payment-method-number {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.25rem;
  flex-wrap: wrap;
}

.payment-method-info {
  font-size: 0.875rem;
  color: #6c757d;
}

.payment-method-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Invoice Cards */
.invoice-card {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.2s ease;
}

.invoice-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.invoice-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.invoice-card-info {
  flex: 1;
}

.invoice-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.invoice-number {
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
}

.invoice-card-date {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
}

.invoice-card-description {
  font-size: 0.875rem;
  color: #495057;
  margin-top: 0.5rem;
}

.invoice-card-amount-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.invoice-card-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #212529;
}

.invoice-card-actions {
  display: flex;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
  .subscription-page {
    padding: 1rem;
  }

  .subscription-tabs {
    gap: 0.5rem;
  }

  .subscription-tab {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .company-subscription-card,
  .current-plan-card {
    padding: 1rem;
  }

  .company-admin-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .plans-grid {
    flex-direction: column;
  }

  .plan-card {
    min-width: 100%;
  }

  .modal-content {
    width: 95%;
    padding: 1rem;
  }

  .invoice-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .invoice-card-amount-section {
    align-items: flex-start;
    width: 100%;
  }

  .invoice-card-actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .payment-method-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .payment-method-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .payment-method-actions button {
    flex: 1;
  }

  .notification-setting {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .notification-toggle {
    align-self: flex-end;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .subscription-tab,
  .primary-action-button,
  .secondary-action-button,
  .link-button,
  .destructive-button,
  .payment-method-card {
    transition: none;
  }

  .subscription-loading-spinner,
  .modal-loading-spinner {
    animation: none;
  }
}
/* Import centralized design tokens */
/**
 * Design Tokens Index
 * 
 * Central import file for all design tokens.
 * Import this file to get access to all design tokens.
 */
/* Import all token files in order */
/**
 * Design Tokens: Colors
 * 
 * Centralized color definitions for the SkillBubble application.
 * These tokens should be used throughout the application for consistency.
 */
:root {
  /* ========================================
     PRIMARY BRAND COLORS
     ======================================== */
  --color-brand-blue-50: #f0f9ff;
  --color-brand-blue-100: #e0f2fe;
  --color-brand-blue-200: #bae6fd;
  --color-brand-blue-300: #7dd3fc;
  --color-brand-blue-400: #38bdf8;
  --color-brand-blue-500: #0ea5e9;
  --color-brand-blue-600: #3b82f6; /* Main brand blue */
  --color-brand-blue-700: #1d4ed8;
  --color-brand-blue-800: #1e40af;
  --color-brand-blue-900: #1e3a8a;

  /* ========================================
     ACCENT COLORS
     ======================================== */
  /* Purple */
  --color-accent-purple-500: #8b5cf6;
  --color-accent-purple-600: #7c3aed;

  /* Teal */
  --color-accent-teal-400: #2dd4bf;
  --color-accent-teal-500: #14b8a6;
  --color-accent-teal-600: #0d9488;

  /* ========================================
     NEUTRAL COLORS (Grays)
     ======================================== */
  --color-neutral-50: #f8fafc;
  --color-neutral-100: #f1f5f9;
  --color-neutral-200: #e2e8f0;
  --color-neutral-300: #cbd5e1;
  --color-neutral-400: #94a3b8;
  --color-neutral-500: #64748b;
  --color-neutral-600: #475569;
  --color-neutral-700: #334155;
  --color-neutral-800: #1e293b;
  --color-neutral-900: #0f172a;

  /* ========================================
     SEMANTIC COLORS
     ======================================== */
  --color-success: #10b981;
  --color-success-light: #d1fae5;
  --color-success-dark: #047857;

  --color-warning: #f59e0b;
  --color-warning-light: #fef3c7;
  --color-warning-dark: #d97706;

  --color-error: #ef4444;
  --color-error-light: #fee2e2;
  --color-error-dark: #dc2626;

  --color-info: #3b82f6;
  --color-info-light: #dbeafe;
  --color-info-dark: #1d4ed8;

  /* ========================================
     BACKGROUND COLORS
     ======================================== */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: var(--color-neutral-50);
  --color-bg-tertiary: var(--color-neutral-100);
  --color-bg-inverse: var(--color-neutral-900);

  /* ========================================
     TEXT COLORS
     ======================================== */
  --color-text-primary: var(--color-neutral-900);
  --color-text-secondary: var(--color-neutral-600);
  --color-text-tertiary: var(--color-neutral-500);
  --color-text-inverse: #ffffff;
  --color-text-link: var(--color-brand-blue-600);
  --color-text-link-hover: var(--color-brand-blue-700);

  /* ========================================
     BORDER COLORS
     ======================================== */
  --color-border-primary: var(--color-neutral-200);
  --color-border-secondary: var(--color-neutral-300);
  --color-border-tertiary: var(--color-neutral-400);
  --color-border-focus: var(--color-brand-blue-600);

  /* ========================================
     GRADIENTS
     ======================================== */
  --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
  --gradient-teal: linear-gradient(135deg, #3b82f6, #14b8a6);
  --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  --gradient-card: linear-gradient(135deg, #60a5fa, #a78bfa);

  /* ========================================
     SHADOWS
     ======================================== */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.15);
  --shadow-blue: 0 4px 12px rgba(59, 130, 246, 0.3);
  --shadow-purple: 0 4px 12px rgba(139, 92, 246, 0.3);
  --shadow-teal: 0 4px 12px rgba(20, 184, 166, 0.3);

  /* ========================================
     LEGACY COMPATIBILITY
     (Maintain backward compatibility with existing code)
     ======================================== */
  --sb-blue-50: var(--color-brand-blue-50);
  --sb-blue-100: var(--color-brand-blue-100);
  --sb-blue-200: var(--color-brand-blue-200);
  --sb-blue-300: var(--color-brand-blue-300);
  --sb-blue-400: var(--color-brand-blue-400);
  --sb-blue-500: var(--color-brand-blue-500);
  --sb-blue-600: var(--color-brand-blue-600);
  --sb-blue-700: var(--color-brand-blue-700);
  --sb-blue-800: var(--color-brand-blue-800);
  --sb-blue-900: var(--color-brand-blue-900);

  --sb-purple-500: var(--color-accent-purple-500);
  --sb-purple-600: var(--color-accent-purple-600);

  --sb-teal-400: var(--color-accent-teal-400);
  --sb-teal-500: var(--color-accent-teal-500);
  --sb-teal-600: var(--color-accent-teal-600);

  --sb-gray-50: var(--color-neutral-50);
  --sb-gray-100: var(--color-neutral-100);
  --sb-gray-200: var(--color-neutral-200);
  --sb-gray-300: var(--color-neutral-300);
  --sb-gray-400: var(--color-neutral-400);
  --sb-gray-500: var(--color-neutral-500);
  --sb-gray-600: var(--color-neutral-600);
  --sb-gray-700: var(--color-neutral-700);
  --sb-gray-800: var(--color-neutral-800);
  --sb-gray-900: var(--color-neutral-900);

  --sb-success: var(--color-success);
  --sb-warning: var(--color-warning);
  --sb-error: var(--color-error);

  --sb-gradient-primary: var(--gradient-primary);
  --sb-gradient-teal: var(--gradient-teal);
  --sb-gradient-hero: var(--gradient-hero);
  --sb-gradient-card: var(--gradient-card);

  --sb-shadow-sm: var(--shadow-sm);
  --sb-shadow-md: var(--shadow-md);
  --sb-shadow-lg: var(--shadow-lg);
  --sb-shadow-xl: var(--shadow-xl);
  --sb-shadow-blue: var(--shadow-blue);
}
/* ========================================
   AMPLIFY UI THEME OVERRIDES
   ======================================== */
[data-amplify-theme] {
  --amplify-colors-brand-primary-10: var(--color-brand-blue-50);
  --amplify-colors-brand-primary-20: var(--color-brand-blue-100);
  --amplify-colors-brand-primary-40: var(--color-brand-blue-300);
  --amplify-colors-brand-primary-60: var(--color-brand-blue-600);
  --amplify-colors-brand-primary-80: var(--color-brand-blue-800);
  --amplify-colors-brand-primary-90: var(--color-brand-blue-900);
  --amplify-colors-brand-primary-100: var(--color-brand-blue-900);

  --amplify-colors-background-primary: var(--color-bg-primary);
  --amplify-colors-background-secondary: var(--color-bg-secondary);
  --amplify-colors-background-tertiary: var(--color-bg-tertiary);

  --amplify-colors-border-primary: var(--color-border-primary);
  --amplify-colors-border-secondary: var(--color-border-secondary);
  --amplify-colors-border-tertiary: var(--color-border-tertiary);

  --amplify-colors-font-primary: var(--color-text-primary);
  --amplify-colors-font-secondary: var(--color-text-secondary);
  --amplify-colors-font-tertiary: var(--color-text-tertiary);
  --amplify-colors-font-interactive: var(--color-text-link);
  --amplify-colors-font-inverse: var(--color-text-inverse);
}
/**
 * Design Tokens: Spacing
 * 
 * Centralized spacing definitions for the SkillBubble application.
 * Based on an 8px grid system for consistent spacing throughout the app.
 */
:root {
  /* ========================================
     BASE SPACING SCALE (8px grid)
     ======================================== */
  --spacing-0: 0;
  --spacing-1: 0.25rem;  /* 4px */
  --spacing-2: 0.5rem;   /* 8px */
  --spacing-3: 0.75rem;  /* 12px */
  --spacing-4: 1rem;     /* 16px */
  --spacing-5: 1.25rem;  /* 20px */
  --spacing-6: 1.5rem;   /* 24px */
  --spacing-8: 2rem;     /* 32px */
  --spacing-10: 2.5rem;  /* 40px */
  --spacing-12: 3rem;    /* 48px */
  --spacing-16: 4rem;    /* 64px */
  --spacing-20: 5rem;    /* 80px */
  --spacing-24: 6rem;    /* 96px */
  --spacing-32: 8rem;    /* 128px */

  /* ========================================
     SEMANTIC SPACING
     ======================================== */
  /* Component spacing */
  --spacing-component-xs: var(--spacing-2);   /* 8px */
  --spacing-component-sm: var(--spacing-3);   /* 12px */
  --spacing-component-md: var(--spacing-4);   /* 16px */
  --spacing-component-lg: var(--spacing-6);   /* 24px */
  --spacing-component-xl: var(--spacing-8);   /* 32px */

  /* Section spacing */
  --spacing-section-sm: var(--spacing-8);     /* 32px */
  --spacing-section-md: var(--spacing-12);    /* 48px */
  --spacing-section-lg: var(--spacing-16);    /* 64px */
  --spacing-section-xl: var(--spacing-24);    /* 96px */

  /* Page spacing */
  --spacing-page-padding: var(--spacing-8);   /* 32px */
  --spacing-page-padding-mobile: var(--spacing-4); /* 16px */

  /* Card spacing */
  --spacing-card-padding: var(--spacing-6);   /* 24px */
  --spacing-card-padding-mobile: var(--spacing-4); /* 16px */
  --spacing-card-gap: var(--spacing-4);       /* 16px */

  /* Form spacing */
  --spacing-form-field-gap: var(--spacing-4); /* 16px */
  --spacing-form-label-gap: var(--spacing-2); /* 8px */
  --spacing-form-group-gap: var(--spacing-6); /* 24px */

  /* Button spacing */
  --spacing-button-padding-x: var(--spacing-4); /* 16px */
  --spacing-button-padding-y: var(--spacing-2); /* 8px */
  --spacing-button-gap: var(--spacing-2);       /* 8px */

  /* ========================================
     BORDER RADIUS
     ======================================== */
  --radius-none: 0;
  --radius-sm: 0.25rem;  /* 4px */
  --radius-md: 0.5rem;   /* 8px */
  --radius-lg: 0.75rem;  /* 12px */
  --radius-xl: 1rem;     /* 16px */
  --radius-2xl: 1.5rem;  /* 24px */
  --radius-full: 9999px; /* Fully rounded */

  /* Semantic radius */
  --radius-button: var(--radius-md);
  --radius-card: var(--radius-lg);
  --radius-input: var(--radius-md);
  --radius-badge: var(--radius-full);

  /* ========================================
     LEGACY COMPATIBILITY
     (Maintain backward compatibility with existing code)
     ======================================== */
  --sb-radius-sm: var(--radius-sm);
  --sb-radius-md: var(--radius-md);
  --sb-radius-lg: var(--radius-lg);
  --sb-radius-xl: var(--radius-xl);
}
/* ========================================
   RESPONSIVE SPACING ADJUSTMENTS
   ======================================== */
@media (max-width: 768px) {
  :root {
    /* Reduce spacing on mobile for better space utilization */
    --spacing-page-padding: var(--spacing-page-padding-mobile);
    --spacing-card-padding: var(--spacing-card-padding-mobile);
    --spacing-section-lg: var(--spacing-12); /* 48px instead of 64px */
    --spacing-section-xl: var(--spacing-16); /* 64px instead of 96px */
  }
}
@media (max-width: 480px) {
  :root {
    /* Further reduce spacing on small mobile devices */
    --spacing-page-padding: var(--spacing-3); /* 12px */
    --spacing-card-padding: var(--spacing-3); /* 12px */
  }
}
/**
 * Design Tokens: Typography
 * 
 * Centralized typography definitions for the SkillBubble application.
 * Includes font families, sizes, weights, line heights, and letter spacing.
 */
:root {
  /* ========================================
     FONT FAMILIES
     ======================================== */
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --font-family-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;

  /* Default font family */
  --font-family-base: var(--font-family-sans);

  /* ========================================
     FONT SIZES
     ======================================== */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-size-4xl: 2.25rem;   /* 36px */
  --font-size-5xl: 3rem;      /* 48px */
  --font-size-6xl: 3.75rem;   /* 60px */
  --font-size-7xl: 4.5rem;    /* 72px */

  /* ========================================
     FONT WEIGHTS
     ======================================== */
  --font-weight-thin: 100;
  --font-weight-extralight: 200;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;

  /* ========================================
     LINE HEIGHTS
     ======================================== */
  --line-height-none: 1;
  --line-height-tight: 1.25;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  --line-height-loose: 2;

  /* ========================================
     LETTER SPACING
     ======================================== */
  --letter-spacing-tighter: -0.05em;
  --letter-spacing-tight: -0.025em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.025em;
  --letter-spacing-wider: 0.05em;
  --letter-spacing-widest: 0.1em;

  /* ========================================
     HEADING STYLES
     ======================================== */
  /* H1 - Page titles */
  --heading-1-size: var(--font-size-4xl);
  --heading-1-weight: var(--font-weight-bold);
  --heading-1-line-height: var(--line-height-tight);
  --heading-1-letter-spacing: var(--letter-spacing-tight);

  /* H2 - Section titles */
  --heading-2-size: var(--font-size-3xl);
  --heading-2-weight: var(--font-weight-bold);
  --heading-2-line-height: var(--line-height-tight);
  --heading-2-letter-spacing: var(--letter-spacing-tight);

  /* H3 - Subsection titles */
  --heading-3-size: var(--font-size-2xl);
  --heading-3-weight: var(--font-weight-semibold);
  --heading-3-line-height: var(--line-height-snug);
  --heading-3-letter-spacing: var(--letter-spacing-normal);

  /* H4 - Card titles */
  --heading-4-size: var(--font-size-xl);
  --heading-4-weight: var(--font-weight-semibold);
  --heading-4-line-height: var(--line-height-snug);
  --heading-4-letter-spacing: var(--letter-spacing-normal);

  /* H5 - Small headings */
  --heading-5-size: var(--font-size-lg);
  --heading-5-weight: var(--font-weight-medium);
  --heading-5-line-height: var(--line-height-normal);
  --heading-5-letter-spacing: var(--letter-spacing-normal);

  /* H6 - Smallest headings */
  --heading-6-size: var(--font-size-base);
  --heading-6-weight: var(--font-weight-medium);
  --heading-6-line-height: var(--line-height-normal);
  --heading-6-letter-spacing: var(--letter-spacing-normal);

  /* ========================================
     BODY TEXT STYLES
     ======================================== */
  --body-size: var(--font-size-base);
  --body-weight: var(--font-weight-normal);
  --body-line-height: var(--line-height-normal);
  --body-letter-spacing: var(--letter-spacing-normal);

  --body-sm-size: var(--font-size-sm);
  --body-sm-weight: var(--font-weight-normal);
  --body-sm-line-height: var(--line-height-normal);
  --body-sm-letter-spacing: var(--letter-spacing-normal);

  --body-lg-size: var(--font-size-lg);
  --body-lg-weight: var(--font-weight-normal);
  --body-lg-line-height: var(--line-height-relaxed);
  --body-lg-letter-spacing: var(--letter-spacing-normal);

  /* ========================================
     SPECIAL TEXT STYLES
     ======================================== */
  /* Caption text */
  --caption-size: var(--font-size-xs);
  --caption-weight: var(--font-weight-normal);
  --caption-line-height: var(--line-height-normal);
  --caption-letter-spacing: var(--letter-spacing-normal);

  /* Label text */
  --label-size: var(--font-size-sm);
  --label-weight: var(--font-weight-medium);
  --label-line-height: var(--line-height-normal);
  --label-letter-spacing: var(--letter-spacing-normal);

  /* Button text */
  --button-size: var(--font-size-base);
  --button-weight: var(--font-weight-medium);
  --button-line-height: var(--line-height-none);
  --button-letter-spacing: var(--letter-spacing-normal);

  /* Code text */
  --code-size: var(--font-size-sm);
  --code-weight: var(--font-weight-normal);
  --code-line-height: var(--line-height-normal);
  --code-letter-spacing: var(--letter-spacing-normal);
  --code-family: var(--font-family-mono);
}
/* ========================================
   RESPONSIVE TYPOGRAPHY
   ======================================== */
@media (max-width: 768px) {
  :root {
    /* Reduce heading sizes on mobile */
    --heading-1-size: var(--font-size-3xl);  /* 30px instead of 36px */
    --heading-2-size: var(--font-size-2xl);  /* 24px instead of 30px */
    --heading-3-size: var(--font-size-xl);   /* 20px instead of 24px */
    --heading-4-size: var(--font-size-lg);   /* 18px instead of 20px */
  }
}
@media (max-width: 480px) {
  :root {
    /* Further reduce heading sizes on small mobile */
    --heading-1-size: var(--font-size-2xl);  /* 24px */
    --heading-2-size: var(--font-size-xl);   /* 20px */
    --heading-3-size: var(--font-size-lg);   /* 18px */
  }
}
/* ========================================
   UTILITY CLASSES FOR TYPOGRAPHY
   ======================================== */
/* Font smoothing */
.font-smooth {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Text truncation */
.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.text-truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Import utility classes */
/**
 * Utility Classes Index
 * 
 * Central import file for all utility classes.
 * Import this file to get access to all utility classes.
 */
/* Import all utility files in order */
/**
 * Utility Classes: Layout
 * 
 * Flexbox and grid utilities for common layout patterns.
 * Use these classes to quickly build responsive layouts without writing custom CSS.
 */
/* ========================================
   DISPLAY UTILITIES
   ======================================== */
.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }
.d-grid { display: grid; }
/* ========================================
   FLEXBOX DIRECTION
   ======================================== */
.flex-row { flex-direction: row; }
.flex-row-reverse { flex-direction: row-reverse; }
.flex-column { flex-direction: column; }
.flex-column-reverse { flex-direction: column-reverse; }
/* ========================================
   FLEXBOX WRAP
   ======================================== */
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-wrap-reverse { flex-wrap: wrap-reverse; }
/* ========================================
   FLEXBOX JUSTIFY CONTENT
   ======================================== */
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }
/* ========================================
   FLEXBOX ALIGN ITEMS
   ======================================== */
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }
.align-center { align-items: center; }
.align-baseline { align-items: baseline; }
.align-stretch { align-items: stretch; }
/* ========================================
   FLEXBOX ALIGN SELF
   ======================================== */
.align-self-start { align-self: flex-start; }
.align-self-end { align-self: flex-end; }
.align-self-center { align-self: center; }
.align-self-baseline { align-self: baseline; }
.align-self-stretch { align-self: stretch; }
/* ========================================
   FLEXBOX ALIGN CONTENT
   ======================================== */
.align-content-start { align-content: flex-start; }
.align-content-end { align-content: flex-end; }
.align-content-center { align-content: center; }
.align-content-between { align-content: space-between; }
.align-content-around { align-content: space-around; }
.align-content-stretch { align-content: stretch; }
/* ========================================
   FLEXBOX GROW & SHRINK
   ======================================== */
.flex-grow-0 { flex-grow: 0; }
.flex-grow-1 { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-shrink-1 { flex-shrink: 1; }
/* ========================================
   FLEXBOX GAP
   ======================================== */
.gap-0 { gap: var(--spacing-0); }
.gap-1 { gap: var(--spacing-1); }
.gap-2 { gap: var(--spacing-2); }
.gap-3 { gap: var(--spacing-3); }
.gap-4 { gap: var(--spacing-4); }
.gap-5 { gap: var(--spacing-5); }
.gap-6 { gap: var(--spacing-6); }
.gap-8 { gap: var(--spacing-8); }
/* Row and column gap */
.gap-x-0 { column-gap: var(--spacing-0); }
.gap-x-1 { column-gap: var(--spacing-1); }
.gap-x-2 { column-gap: var(--spacing-2); }
.gap-x-3 { column-gap: var(--spacing-3); }
.gap-x-4 { column-gap: var(--spacing-4); }
.gap-x-6 { column-gap: var(--spacing-6); }
.gap-y-0 { row-gap: var(--spacing-0); }
.gap-y-1 { row-gap: var(--spacing-1); }
.gap-y-2 { row-gap: var(--spacing-2); }
.gap-y-3 { row-gap: var(--spacing-3); }
.gap-y-4 { row-gap: var(--spacing-4); }
.gap-y-6 { row-gap: var(--spacing-6); }
/* ========================================
   GRID UTILITIES
   ======================================== */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
/* Grid column span */
.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-6 { grid-column: span 6 / span 6; }
.col-span-full { grid-column: 1 / -1; }
/* ========================================
   POSITION UTILITIES
   ======================================== */
.position-static { position: static; }
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }
.position-sticky { position: sticky; }
/* ========================================
   WIDTH & HEIGHT UTILITIES
   ======================================== */
.w-auto { width: auto; }
.w-full { width: 100%; }
.w-screen { width: 100vw; }
.w-min { width: min-content; }
.w-max { width: max-content; }
.w-fit { width: fit-content; }
.h-auto { height: auto; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.h-min { height: min-content; }
.h-max { height: max-content; }
.h-fit { height: fit-content; }
/* ========================================
   OVERFLOW UTILITIES
   ======================================== */
.overflow-auto { overflow: auto; }
.overflow-hidden { overflow: hidden; }
.overflow-visible { overflow: visible; }
.overflow-scroll { overflow: scroll; }
.overflow-x-auto { overflow-x: auto; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-y-auto { overflow-y: auto; }
.overflow-y-hidden { overflow-y: hidden; }
/* ========================================
   Z-INDEX UTILITIES
   ======================================== */
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-auto { z-index: auto; }
/* ========================================
   COMMON LAYOUT PATTERNS
   ======================================== */
/* Centered container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-page-padding);
  padding-right: var(--spacing-page-padding);
}
/* Centered flex container */
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Flex row with gap */
.flex-row-gap {
  display: flex;
  flex-direction: row;
  gap: var(--spacing-component-md);
}
/* Flex column with gap */
.flex-column-gap {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-component-md);
}
/* Space between items */
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Responsive grid */
.grid-responsive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-component-lg);
}
/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */
@media (max-width: 768px) {
  /* Hide on mobile */
  .d-md-none { display: none; }
  
  /* Show on mobile */
  .d-md-block { display: block; }
  .d-md-flex { display: flex; }
  
  /* Stack on mobile */
  .flex-md-column { flex-direction: column; }
  
  /* Full width on mobile */
  .w-md-full { width: 100%; }
  
  /* Reduce grid columns on mobile */
  .grid-cols-md-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .grid-cols-md-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 769px) {
  /* Hide on desktop */
  .d-lg-none { display: none; }
  
  /* Show on desktop */
  .d-lg-block { display: block; }
  .d-lg-flex { display: flex; }
}
/**
 * Utility Classes: Spacing
 * 
 * Margin and padding utilities based on the spacing scale.
 * Use these classes to quickly add spacing without writing custom CSS.
 */
/* ========================================
   MARGIN UTILITIES
   ======================================== */
/* Margin all sides */
.m-0 { margin: var(--spacing-0); }
.m-1 { margin: var(--spacing-1); }
.m-2 { margin: var(--spacing-2); }
.m-3 { margin: var(--spacing-3); }
.m-4 { margin: var(--spacing-4); }
.m-5 { margin: var(--spacing-5); }
.m-6 { margin: var(--spacing-6); }
.m-8 { margin: var(--spacing-8); }
.m-auto { margin: auto; }
/* Margin top */
.mt-0 { margin-top: var(--spacing-0); }
.mt-1 { margin-top: var(--spacing-1); }
.mt-2 { margin-top: var(--spacing-2); }
.mt-3 { margin-top: var(--spacing-3); }
.mt-4 { margin-top: var(--spacing-4); }
.mt-5 { margin-top: var(--spacing-5); }
.mt-6 { margin-top: var(--spacing-6); }
.mt-8 { margin-top: var(--spacing-8); }
.mt-auto { margin-top: auto; }
/* Margin bottom */
.mb-0 { margin-bottom: var(--spacing-0); }
.mb-1 { margin-bottom: var(--spacing-1); }
.mb-2 { margin-bottom: var(--spacing-2); }
.mb-3 { margin-bottom: var(--spacing-3); }
.mb-4 { margin-bottom: var(--spacing-4); }
.mb-5 { margin-bottom: var(--spacing-5); }
.mb-6 { margin-bottom: var(--spacing-6); }
.mb-8 { margin-bottom: var(--spacing-8); }
.mb-auto { margin-bottom: auto; }
/* Margin left */
.ml-0 { margin-left: var(--spacing-0); }
.ml-1 { margin-left: var(--spacing-1); }
.ml-2 { margin-left: var(--spacing-2); }
.ml-3 { margin-left: var(--spacing-3); }
.ml-4 { margin-left: var(--spacing-4); }
.ml-5 { margin-left: var(--spacing-5); }
.ml-6 { margin-left: var(--spacing-6); }
.ml-8 { margin-left: var(--spacing-8); }
.ml-auto { margin-left: auto; }
/* Margin right */
.mr-0 { margin-right: var(--spacing-0); }
.mr-1 { margin-right: var(--spacing-1); }
.mr-2 { margin-right: var(--spacing-2); }
.mr-3 { margin-right: var(--spacing-3); }
.mr-4 { margin-right: var(--spacing-4); }
.mr-5 { margin-right: var(--spacing-5); }
.mr-6 { margin-right: var(--spacing-6); }
.mr-8 { margin-right: var(--spacing-8); }
.mr-auto { margin-right: auto; }
/* Margin horizontal (left + right) */
.mx-0 { margin-left: var(--spacing-0); margin-right: var(--spacing-0); }
.mx-1 { margin-left: var(--spacing-1); margin-right: var(--spacing-1); }
.mx-2 { margin-left: var(--spacing-2); margin-right: var(--spacing-2); }
.mx-3 { margin-left: var(--spacing-3); margin-right: var(--spacing-3); }
.mx-4 { margin-left: var(--spacing-4); margin-right: var(--spacing-4); }
.mx-6 { margin-left: var(--spacing-6); margin-right: var(--spacing-6); }
.mx-auto { margin-left: auto; margin-right: auto; }
/* Margin vertical (top + bottom) */
.my-0 { margin-top: var(--spacing-0); margin-bottom: var(--spacing-0); }
.my-1 { margin-top: var(--spacing-1); margin-bottom: var(--spacing-1); }
.my-2 { margin-top: var(--spacing-2); margin-bottom: var(--spacing-2); }
.my-3 { margin-top: var(--spacing-3); margin-bottom: var(--spacing-3); }
.my-4 { margin-top: var(--spacing-4); margin-bottom: var(--spacing-4); }
.my-6 { margin-top: var(--spacing-6); margin-bottom: var(--spacing-6); }
.my-8 { margin-top: var(--spacing-8); margin-bottom: var(--spacing-8); }
/* ========================================
   PADDING UTILITIES
   ======================================== */
/* Padding all sides */
.p-0 { padding: var(--spacing-0); }
.p-1 { padding: var(--spacing-1); }
.p-2 { padding: var(--spacing-2); }
.p-3 { padding: var(--spacing-3); }
.p-4 { padding: var(--spacing-4); }
.p-5 { padding: var(--spacing-5); }
.p-6 { padding: var(--spacing-6); }
.p-8 { padding: var(--spacing-8); }
/* Padding top */
.pt-0 { padding-top: var(--spacing-0); }
.pt-1 { padding-top: var(--spacing-1); }
.pt-2 { padding-top: var(--spacing-2); }
.pt-3 { padding-top: var(--spacing-3); }
.pt-4 { padding-top: var(--spacing-4); }
.pt-5 { padding-top: var(--spacing-5); }
.pt-6 { padding-top: var(--spacing-6); }
.pt-8 { padding-top: var(--spacing-8); }
/* Padding bottom */
.pb-0 { padding-bottom: var(--spacing-0); }
.pb-1 { padding-bottom: var(--spacing-1); }
.pb-2 { padding-bottom: var(--spacing-2); }
.pb-3 { padding-bottom: var(--spacing-3); }
.pb-4 { padding-bottom: var(--spacing-4); }
.pb-5 { padding-bottom: var(--spacing-5); }
.pb-6 { padding-bottom: var(--spacing-6); }
.pb-8 { padding-bottom: var(--spacing-8); }
/* Padding left */
.pl-0 { padding-left: var(--spacing-0); }
.pl-1 { padding-left: var(--spacing-1); }
.pl-2 { padding-left: var(--spacing-2); }
.pl-3 { padding-left: var(--spacing-3); }
.pl-4 { padding-left: var(--spacing-4); }
.pl-5 { padding-left: var(--spacing-5); }
.pl-6 { padding-left: var(--spacing-6); }
.pl-8 { padding-left: var(--spacing-8); }
/* Padding right */
.pr-0 { padding-right: var(--spacing-0); }
.pr-1 { padding-right: var(--spacing-1); }
.pr-2 { padding-right: var(--spacing-2); }
.pr-3 { padding-right: var(--spacing-3); }
.pr-4 { padding-right: var(--spacing-4); }
.pr-5 { padding-right: var(--spacing-5); }
.pr-6 { padding-right: var(--spacing-6); }
.pr-8 { padding-right: var(--spacing-8); }
/* Padding horizontal (left + right) */
.px-0 { padding-left: var(--spacing-0); padding-right: var(--spacing-0); }
.px-1 { padding-left: var(--spacing-1); padding-right: var(--spacing-1); }
.px-2 { padding-left: var(--spacing-2); padding-right: var(--spacing-2); }
.px-3 { padding-left: var(--spacing-3); padding-right: var(--spacing-3); }
.px-4 { padding-left: var(--spacing-4); padding-right: var(--spacing-4); }
.px-6 { padding-left: var(--spacing-6); padding-right: var(--spacing-6); }
.px-8 { padding-left: var(--spacing-8); padding-right: var(--spacing-8); }
/* Padding vertical (top + bottom) */
.py-0 { padding-top: var(--spacing-0); padding-bottom: var(--spacing-0); }
.py-1 { padding-top: var(--spacing-1); padding-bottom: var(--spacing-1); }
.py-2 { padding-top: var(--spacing-2); padding-bottom: var(--spacing-2); }
.py-3 { padding-top: var(--spacing-3); padding-bottom: var(--spacing-3); }
.py-4 { padding-top: var(--spacing-4); padding-bottom: var(--spacing-4); }
.py-6 { padding-top: var(--spacing-6); padding-bottom: var(--spacing-6); }
.py-8 { padding-top: var(--spacing-8); padding-bottom: var(--spacing-8); }
/* ========================================
   BORDER RADIUS UTILITIES
   ======================================== */
.rounded-none { border-radius: var(--radius-none); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded { border-radius: var(--radius-md); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }
/* Border radius by side */
.rounded-t-none { border-top-left-radius: var(--radius-none); border-top-right-radius: var(--radius-none); }
.rounded-t { border-top-left-radius: var(--radius-md); border-top-right-radius: var(--radius-md); }
.rounded-t-lg { border-top-left-radius: var(--radius-lg); border-top-right-radius: var(--radius-lg); }
.rounded-b-none { border-bottom-left-radius: var(--radius-none); border-bottom-right-radius: var(--radius-none); }
.rounded-b { border-bottom-left-radius: var(--radius-md); border-bottom-right-radius: var(--radius-md); }
.rounded-b-lg { border-bottom-left-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg); }
/* ========================================
   BORDER UTILITIES
   ======================================== */
.border-0 { border-width: 0; }
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
/* Border by side */
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-l { border-left-width: 1px; border-left-style: solid; }
.border-r { border-right-width: 1px; border-right-style: solid; }
/* Border colors */
.border-primary { border-color: var(--color-border-primary); }
.border-secondary { border-color: var(--color-border-secondary); }
.border-tertiary { border-color: var(--color-border-tertiary); }
/* ========================================
   SHADOW UTILITIES
   ======================================== */
.shadow-none { box-shadow: none; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow-md); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }
/* Colored shadows */
.shadow-blue { box-shadow: var(--shadow-blue); }
.shadow-purple { box-shadow: var(--shadow-purple); }
.shadow-teal { box-shadow: var(--shadow-teal); }
/* ========================================
   RESPONSIVE SPACING
   ======================================== */
@media (max-width: 768px) {
  /* Reduce padding on mobile */
  .p-md-2 { padding: var(--spacing-2); }
  .p-md-3 { padding: var(--spacing-3); }
  .p-md-4 { padding: var(--spacing-4); }
  
  .px-md-2 { padding-left: var(--spacing-2); padding-right: var(--spacing-2); }
  .px-md-3 { padding-left: var(--spacing-3); padding-right: var(--spacing-3); }
  
  .py-md-2 { padding-top: var(--spacing-2); padding-bottom: var(--spacing-2); }
  .py-md-3 { padding-top: var(--spacing-3); padding-bottom: var(--spacing-3); }
  
  /* Reduce margin on mobile */
  .m-md-2 { margin: var(--spacing-2); }
  .m-md-3 { margin: var(--spacing-3); }
  
  .mb-md-2 { margin-bottom: var(--spacing-2); }
  .mb-md-3 { margin-bottom: var(--spacing-3); }
  .mb-md-4 { margin-bottom: var(--spacing-4); }
}
/**
 * Utility Classes: Text
 * 
 * Typography utilities for text styling, alignment, and decoration.
 * Use these classes to quickly style text without writing custom CSS.
 */
/* ========================================
   FONT SIZE UTILITIES
   ======================================== */
.text-xs { font-size: var(--font-size-xs); }
.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); }
.text-3xl { font-size: var(--font-size-3xl); }
.text-4xl { font-size: var(--font-size-4xl); }
/* ========================================
   FONT WEIGHT UTILITIES
   ======================================== */
.font-thin { font-weight: var(--font-weight-thin); }
.font-light { font-weight: var(--font-weight-light); }
.font-normal { font-weight: var(--font-weight-normal); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }
.font-extrabold { font-weight: var(--font-weight-extrabold); }
/* ========================================
   TEXT ALIGNMENT UTILITIES
   ======================================== */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }
/* ========================================
   TEXT COLOR UTILITIES
   ======================================== */
.text-primary { color: var(--color-text-primary); }
.text-secondary { color: var(--color-text-secondary); }
.text-tertiary { color: var(--color-text-tertiary); }
.text-inverse { color: var(--color-text-inverse); }
.text-link { color: var(--color-text-link); }
/* Semantic colors */
.text-success { color: var(--color-success); }
.text-warning { color: var(--color-warning); }
.text-error { color: var(--color-error); }
.text-info { color: var(--color-info); }
/* Brand colors */
.text-brand { color: var(--color-brand-blue-600); }
.text-purple { color: var(--color-accent-purple-500); }
.text-teal { color: var(--color-accent-teal-500); }
/* ========================================
   TEXT DECORATION UTILITIES
   ======================================== */
.underline { text-decoration: underline; }
.line-through { text-decoration: line-through; }
.no-underline { text-decoration: none; }
/* ========================================
   TEXT TRANSFORM UTILITIES
   ======================================== */
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.normal-case { text-transform: none; }
/* ========================================
   LINE HEIGHT UTILITIES
   ======================================== */
.leading-none { line-height: var(--line-height-none); }
.leading-tight { line-height: var(--line-height-tight); }
.leading-snug { line-height: var(--line-height-snug); }
.leading-normal { line-height: var(--line-height-normal); }
.leading-relaxed { line-height: var(--line-height-relaxed); }
.leading-loose { line-height: var(--line-height-loose); }
/* ========================================
   LETTER SPACING UTILITIES
   ======================================== */
.tracking-tighter { letter-spacing: var(--letter-spacing-tighter); }
.tracking-tight { letter-spacing: var(--letter-spacing-tight); }
.tracking-normal { letter-spacing: var(--letter-spacing-normal); }
.tracking-wide { letter-spacing: var(--letter-spacing-wide); }
.tracking-wider { letter-spacing: var(--letter-spacing-wider); }
.tracking-widest { letter-spacing: var(--letter-spacing-widest); }
/* ========================================
   TEXT OVERFLOW UTILITIES
   ======================================== */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.text-ellipsis {
  text-overflow: ellipsis;
}
.text-clip {
  text-overflow: clip;
}
/* Multi-line truncation */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* ========================================
   WHITE SPACE UTILITIES
   ======================================== */
.whitespace-normal { white-space: normal; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre { white-space: pre; }
.whitespace-pre-line { white-space: pre-line; }
.whitespace-pre-wrap { white-space: pre-wrap; }
/* ========================================
   WORD BREAK UTILITIES
   ======================================== */
.break-normal {
  overflow-wrap: normal;
  word-break: normal;
}
.break-words {
  overflow-wrap: break-word;
}
.break-all {
  word-break: break-all;
}
/* ========================================
   FONT STYLE UTILITIES
   ======================================== */
.italic { font-style: italic; }
.not-italic { font-style: normal; }
/* ========================================
   VERTICAL ALIGNMENT UTILITIES
   ======================================== */
.align-baseline { vertical-align: baseline; }
.align-top { vertical-align: top; }
.align-middle { vertical-align: middle; }
.align-bottom { vertical-align: bottom; }
.align-text-top { vertical-align: text-top; }
.align-text-bottom { vertical-align: text-bottom; }
/* ========================================
   LIST STYLE UTILITIES
   ======================================== */
.list-none { list-style-type: none; }
.list-disc { list-style-type: disc; }
.list-decimal { list-style-type: decimal; }
.list-inside { list-style-position: inside; }
.list-outside { list-style-position: outside; }
/* ========================================
   BACKGROUND COLOR UTILITIES
   ======================================== */
.bg-primary { background-color: var(--color-bg-primary); }
.bg-secondary { background-color: var(--color-bg-secondary); }
.bg-tertiary { background-color: var(--color-bg-tertiary); }
.bg-inverse { background-color: var(--color-bg-inverse); }
/* Semantic backgrounds */
.bg-success { background-color: var(--color-success); }
.bg-success-light { background-color: var(--color-success-light); }
.bg-warning { background-color: var(--color-warning); }
.bg-warning-light { background-color: var(--color-warning-light); }
.bg-error { background-color: var(--color-error); }
.bg-error-light { background-color: var(--color-error-light); }
.bg-info { background-color: var(--color-info); }
.bg-info-light { background-color: var(--color-info-light); }
/* Brand backgrounds */
.bg-brand { background-color: var(--color-brand-blue-600); }
.bg-purple { background-color: var(--color-accent-purple-500); }
.bg-teal { background-color: var(--color-accent-teal-500); }
/* Gradient backgrounds */
.bg-gradient-primary { background: var(--gradient-primary); }
.bg-gradient-teal { background: var(--gradient-teal); }
.bg-gradient-hero { background: var(--gradient-hero); }
.bg-gradient-card { background: var(--gradient-card); }
/* ========================================
   OPACITY UTILITIES
   ======================================== */
.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }
/* ========================================
   CURSOR UTILITIES
   ======================================== */
.cursor-auto { cursor: auto; }
.cursor-default { cursor: default; }
.cursor-pointer { cursor: pointer; }
.cursor-wait { cursor: wait; }
.cursor-text { cursor: text; }
.cursor-move { cursor: move; }
.cursor-not-allowed { cursor: not-allowed; }
/* ========================================
   USER SELECT UTILITIES
   ======================================== */
.select-none { user-select: none; }
.select-text { user-select: text; }
.select-all { user-select: all; }
.select-auto { user-select: auto; }
/* ========================================
   POINTER EVENTS UTILITIES
   ======================================== */
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }
/* ========================================
   RESPONSIVE TEXT UTILITIES
   ======================================== */
@media (max-width: 768px) {
  /* Smaller text on mobile */
  .text-md-sm { font-size: var(--font-size-sm); }
  .text-md-base { font-size: var(--font-size-base); }
  .text-md-lg { font-size: var(--font-size-lg); }
  
  /* Center text on mobile */
  .text-md-center { text-align: center; }
  
  /* Left align on mobile */
  .text-md-left { text-align: left; }
}
/* Import shared component styles */
/**
 * Shared Styles Index
 * 
 * Central import file for all shared component styles.
 * Import this file to access common patterns for cards, buttons, forms, and modals.
 */
/**
 * Shared Card Styles
 * 
 * Common card patterns used across components.
 * Reduces duplication in TeamCard, MemberCard, SharedProfileCard, etc.
 */
/* Base Card Styles */
.card-base {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
  position: relative;
}
.card-base:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: #d1d5db;
}
.card-base:focus-within {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
  border-color: #3b82f6;
}
/* Card Header */
.card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.card-header-between {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}
/* Card Title */
.card-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #212529;
  flex: 1;
  word-break: break-word;
}
.card-title-sm {
  font-size: 1.125rem;
}
.card-title-lg {
  font-size: 1.5rem;
}
/* Card Description */
.card-description {
  margin: 0 0 1rem 0;
  font-size: 0.875rem;
  color: #6c757d;
  line-height: 1.5;
}
.card-description-truncate {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Card Avatar */
.card-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease;
}
.card-avatar-sm {
  width: 3rem;
  height: 3rem;
  font-size: 1.125rem;
}
.card-base:hover .card-avatar {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Card Info Section */
.card-info {
  flex: 1;
  min-width: 0;
}
.card-info-name {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-info-email {
  margin: 0.25rem 0 0 0;
  font-size: 0.875rem;
  color: #6b7280;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Card Stats */
.card-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}
.card-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 1.25rem;
}
.card-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.card-stat-center {
  align-items: center;
  text-align: center;
}
.card-stat-label {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.card-stat-value {
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
}
.card-stat-value-lg {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  line-height: 1;
}
/* Card Actions */
.card-actions {
  display: flex;
  gap: 0.75rem;
}
.card-actions-end {
  justify-content: flex-end;
}
.card-actions-column {
  flex-direction: column;
}
/* Card Menu */
.card-menu-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6c757d;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  line-height: 1;
}
.card-menu-button:hover {
  background-color: #f8f9fa;
  color: #212529;
}
.card-menu-button:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}
.card-menu-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.card-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 120px;
  z-index: 10;
  margin-top: 0.25rem;
}
.card-menu-item {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 0.875rem;
  color: #212529;
  transition: background-color 0.2s ease;
}
.card-menu-item:hover {
  background-color: #f8f9fa;
}
.card-menu-item:focus {
  outline: 2px solid #007bff;
  outline-offset: -2px;
  background-color: #f8f9fa;
}
.card-menu-item-danger {
  color: #dc3545;
}
.card-menu-item-danger:hover {
  background-color: #fff5f5;
}
.card-menu-item:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/* Card Badges */
.card-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  color: white;
  text-transform: capitalize;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.card-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.card-badge-success {
  background-color: #10b981;
}
.card-badge-warning {
  background-color: #f59e0b;
}
.card-badge-info {
  background-color: #3b82f6;
}
.card-badge-danger {
  background-color: #ef4444;
}
/* Card Categories/Lists */
.card-categories {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}
.card-categories-title {
  margin: 0 0 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.card-categories-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card-category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background-color: #f9fafb;
  border-radius: 4px;
  transition:
    background-color 0.2s ease,
    transform 0.15s ease;
  cursor: default;
}
.card-category-item:hover {
  background-color: #f3f4f6;
  transform: translateX(2px);
}
.card-category-item:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.card-category-name {
  font-size: 0.875rem;
  color: #111827;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  margin-right: 0.5rem;
}
.card-category-rating {
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
}
/* Card States */
.card-archived {
  opacity: 0.7;
  background: #f8f9fa;
}
.card-deleting {
  pointer-events: none;
  opacity: 0.6;
}
.card-loading {
  pointer-events: none;
  opacity: 0.6;
}
.card-loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 100%
  );
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.card-error {
  border-color: #ef4444;
  background-color: #fef2f2;
}
.card-pending {
  background-color: #fef3c7;
  border-left: 4px solid #f59e0b;
}
.card-pending:hover {
  background-color: #fde68a;
}
.card-success {
  border-color: #10b981;
  animation: successPulse 0.5s ease-out;
}
@keyframes successPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}
/* Card Loading Overlay */
.card-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 600;
  color: #007bff;
}
/* Responsive Design */
@media (max-width: 768px) {
  .card-base {
    padding: 1rem;
  }

  .card-header {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .card-avatar {
    width: 3rem;
    height: 3rem;
    font-size: 1.125rem;
  }

  .card-title {
    font-size: 1.125rem;
  }

  .card-info-name {
    font-size: 1rem;
  }

  .card-info-email {
    font-size: 0.8125rem;
  }

  .card-stats {
    gap: 1rem;
  }

  .card-stats-grid {
    gap: 0.75rem;
    padding: 0.75rem 0;
    margin-bottom: 1rem;
  }

  .card-stat-value-lg {
    font-size: 1.25rem;
  }

  .card-stat-label {
    font-size: 0.6875rem;
  }

  .card-actions {
    flex-direction: column;
    gap: 0.625rem;
  }

  .card-menu {
    min-width: 100px;
  }

  .card-menu-item {
    padding: 0.625rem 0.875rem;
    font-size: 0.8125rem;
  }
}
@media (max-width: 640px) {
  .card-base {
    padding: 0.875rem;
  }
}
@media (max-width: 480px) {
  .card-title {
    font-size: 1rem;
  }

  .card-description {
    font-size: 0.8125rem;
  }

  .card-stats {
    gap: 0.75rem;
    padding: 0.75rem 0;
  }

  .card-stat-value {
    font-size: 0.875rem;
  }
}
/* Touch-friendly targets for mobile */
@media (max-width: 768px) and (hover: none) {
  .card-menu-button {
    min-width: 44px;
    min-height: 44px;
    padding: 0.5rem;
  }

  .card-menu-item {
    min-height: 44px;
  }
}
/* Accessibility - High contrast mode support */
@media (prefers-contrast: high) {
  .card-base {
    border-width: 2px;
    border-color: currentColor;
  }

  .card-base:hover {
    border-width: 2px;
  }

  .card-badge {
    border: 2px solid currentColor;
  }

  .card-info-name,
  .card-stat-value,
  .card-stat-value-lg {
    color: #000000;
  }

  .card-info-email,
  .card-stat-label {
    color: #1f2937;
  }
}
/* Accessibility - Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .card-base,
  .card-menu-button,
  .card-category-item,
  .card-avatar,
  .card-badge {
    transition: none;
    animation: none;
  }

  .card-base:hover {
    transform: none;
  }

  .card-loading::after {
    animation: none;
  }

  .card-success {
    animation: none;
  }
}
/* Print styles */
@media print {
  .card-base {
    box-shadow: none;
    border: 1px solid #000;
    page-break-inside: avoid;
  }

  .card-base:hover {
    transform: none;
    box-shadow: none;
  }

  .card-actions,
  .card-menu-button {
    display: none;
  }
}
/**
 * Shared Button Styles
 * 
 * Common button patterns used across components.
 * Reduces duplication in modals, cards, forms, etc.
 */
/* Base Button Styles */
.btn-base {
  padding: 0.625rem 1.25rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease,
    transform 0.15s ease;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  line-height: 1.5;
}
.btn-base:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.btn-base:focus-visible {
  outline: 3px solid #3b82f6;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}
.btn-base:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-base:active:not(:disabled) {
  transform: scale(0.98);
}
/* Button Variants */
.btn-primary {
  background-color: #3b82f6;
  color: white;
  border-color: #3b82f6;
}
.btn-primary:hover:not(:disabled) {
  background-color: #2563eb;
  border-color: #2563eb;
}
.btn-secondary {
  background-color: white;
  color: #374151;
  border-color: #d1d5db;
}
.btn-secondary:hover:not(:disabled) {
  background-color: #f9fafb;
  border-color: #9ca3af;
}
.btn-danger {
  background-color: #dc2626;
  color: white;
  border-color: #dc2626;
}
.btn-danger:hover:not(:disabled) {
  background-color: #b91c1c;
  border-color: #b91c1c;
}
.btn-success {
  background-color: #10b981;
  color: white;
  border-color: #10b981;
}
.btn-success:hover:not(:disabled) {
  background-color: #059669;
  border-color: #059669;
}
.btn-warning {
  background-color: #f59e0b;
  color: white;
  border-color: #f59e0b;
}
.btn-warning:hover:not(:disabled) {
  background-color: #d97706;
  border-color: #d97706;
}
.btn-info {
  background-color: #3b82f6;
  color: white;
  border-color: #3b82f6;
}
.btn-info:hover:not(:disabled) {
  background-color: #2563eb;
  border-color: #2563eb;
}
.btn-link {
  background: none;
  color: #3b82f6;
  border: none;
  padding: 0.25rem 0.5rem;
  text-decoration: underline;
}
.btn-link:hover:not(:disabled) {
  color: #2563eb;
  text-decoration: none;
}
.btn-ghost {
  background: none;
  color: #374151;
  border: 1px solid transparent;
}
.btn-ghost:hover:not(:disabled) {
  background-color: #f9fafb;
  border-color: #d1d5db;
}
/* Button Sizes */
.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}
.btn-md {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}
.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}
.btn-xl {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}
/* Button Widths */
.btn-full {
  width: 100%;
}
.btn-auto {
  width: auto;
}
/* Button Groups */
.btn-group {
  display: flex;
  gap: 0.75rem;
}
.btn-group-end {
  justify-content: flex-end;
}
.btn-group-center {
  justify-content: center;
}
.btn-group-between {
  justify-content: space-between;
}
.btn-group-column {
  flex-direction: column;
}
.btn-group-column-reverse {
  flex-direction: column-reverse;
}
/* Icon Buttons */
.btn-icon {
  padding: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-icon-sm {
  padding: 0.375rem;
  width: 2rem;
  height: 2rem;
}
.btn-icon-lg {
  padding: 0.75rem;
  width: 3rem;
  height: 3rem;
}
/* Close Button */
.btn-close {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.btn-close:hover:not(:disabled) {
  background-color: #f3f4f6;
  color: #111827;
}
.btn-close:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.btn-close:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/* Loading State */
.btn-loading {
  position: relative;
  pointer-events: none;
}
.btn-loading::after {
  content: "";
  position: absolute;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
}
@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}
/* Bulk Action Buttons */
.btn-bulk {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  color: #3b82f6;
  background: none;
  border: 1px solid #3b82f6;
  border-radius: 4px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.btn-bulk:hover:not(:disabled) {
  background-color: #eff6ff;
}
.btn-bulk:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.btn-bulk:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/* Responsive Design */
@media (max-width: 768px) {
  .btn-base {
    min-height: 44px; /* Touch target size */
  }

  .btn-group-column-mobile {
    flex-direction: column;
  }

  .btn-group-column-reverse-mobile {
    flex-direction: column-reverse;
  }

  .btn-full-mobile {
    width: 100%;
  }

  .btn-bulk {
    min-height: 44px; /* Touch target size */
  }
}
@media (max-width: 640px) {
  .btn-base {
    padding: 0.75rem 1rem;
  }

  .btn-sm {
    padding: 0.5rem 0.875rem;
  }

  .btn-lg {
    padding: 0.875rem 1.25rem;
  }
}
/* Accessibility - High contrast mode support */
@media (prefers-contrast: high) {
  .btn-base {
    border-width: 2px;
  }

  .btn-primary,
  .btn-secondary,
  .btn-danger,
  .btn-success,
  .btn-warning,
  .btn-info {
    border-width: 2px;
  }
}
/* Accessibility - Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .btn-base,
  .btn-close,
  .btn-bulk {
    transition: none;
  }

  .btn-base:active:not(:disabled) {
    transform: none;
  }

  .btn-loading::after {
    animation: none;
  }
}
/* Print styles */
@media print {
  .btn-base,
  .btn-close,
  .btn-bulk {
    display: none;
  }
}
/**
 * Shared Form Styles
 * 
 * Common form patterns used across components.
 * Reduces duplication in modals, settings pages, etc.
 */
/* Form Container */
.form-container {
  padding: 1.5rem;
}
/* Form Field */
.form-field {
  margin-bottom: 1.5rem;
}
.form-field:last-of-type {
  margin-bottom: 1rem;
}
/* Form Label */
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}
.form-label-required::after {
  content: " *";
  color: #dc2626;
}
.form-label-optional {
  color: #6b7280;
  font-weight: 400;
  font-size: 0.75rem;
  margin-left: 0.25rem;
}
/* Form Inputs */
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.875rem;
  color: #111827;
  background-color: white;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.form-input:disabled,
.form-textarea:disabled,
.form-select:disabled {
  background-color: #f9fafb;
  cursor: not-allowed;
  opacity: 0.6;
}
/* Input States */
.form-input-error,
.form-textarea-error,
.form-select-error {
  border-color: #dc2626;
}
.form-input-error:focus,
.form-textarea-error:focus,
.form-select-error:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}
.form-input-success,
.form-textarea-success,
.form-select-success {
  border-color: #10b981;
}
.form-input-success:focus,
.form-textarea-success:focus,
.form-select-success:focus {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}
/* Textarea */
.form-textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}
.form-textarea-sm {
  min-height: 80px;
}
.form-textarea-lg {
  min-height: 150px;
}
/* Select */
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}
/* Checkbox and Radio */
.form-checkbox,
.form-radio {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}
.form-radio {
  border-radius: 50%;
}
.form-checkbox:checked,
.form-radio:checked {
  background-color: #3b82f6;
  border-color: #3b82f6;
}
.form-checkbox:focus,
.form-radio:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.form-checkbox:disabled,
.form-radio:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/* Checkbox/Radio Label */
.form-checkbox-label,
.form-radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: #374151;
}
.form-checkbox-label input,
.form-radio-label input {
  flex-shrink: 0;
}
/* Form Help Text */
.form-help {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.5;
}
/* Form Error Message */
.form-error {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: #dc2626;
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
}
.form-error::before {
  content: "⚠";
  flex-shrink: 0;
}
/* Form Success Message */
.form-success {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: #10b981;
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
}
.form-success::before {
  content: "✓";
  flex-shrink: 0;
}
/* Form Submit Error */
.form-submit-error {
  padding: 0.75rem;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  color: #991b1b;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
/* Form Submit Success */
.form-submit-success {
  padding: 0.75rem;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  color: #166534;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
/* Form Actions */
.form-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}
.form-actions-start {
  justify-content: flex-start;
}
.form-actions-center {
  justify-content: center;
}
.form-actions-between {
  justify-content: space-between;
}
/* Form Group */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-group-row {
  flex-direction: row;
  gap: 1rem;
}
.form-group-row > * {
  flex: 1;
}
/* Input Group (with prefix/suffix) */
.form-input-group {
  display: flex;
  align-items: stretch;
}
.form-input-group-prefix,
.form-input-group-suffix {
  display: flex;
  align-items: center;
  padding: 0.625rem 0.75rem;
  background-color: #f9fafb;
  border: 1px solid #d1d5db;
  font-size: 0.875rem;
  color: #6b7280;
}
.form-input-group-prefix {
  border-right: none;
  border-radius: 6px 0 0 6px;
}
.form-input-group-suffix {
  border-left: none;
  border-radius: 0 6px 6px 0;
}
.form-input-group .form-input {
  border-radius: 0;
}
.form-input-group .form-input:first-child {
  border-radius: 6px 0 0 6px;
}
.form-input-group .form-input:last-child {
  border-radius: 0 6px 6px 0;
}
/* Fieldset */
.form-fieldset {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.form-legend {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  padding: 0 0.5rem;
}
/* Responsive Design */
@media (max-width: 768px) {
  .form-container {
    padding: 1rem;
  }

  .form-field {
    margin-bottom: 1.25rem;
  }

  .form-actions {
    flex-direction: column-reverse;
    gap: 0.625rem;
  }

  .form-actions button {
    width: 100%;
  }

  .form-group-row {
    flex-direction: column;
  }

  .form-input-group {
    flex-direction: column;
  }

  .form-input-group-prefix,
  .form-input-group-suffix {
    border: 1px solid #d1d5db;
    border-radius: 6px;
  }

  .form-input-group .form-input {
    border-radius: 6px;
  }
}
@media (max-width: 640px) {
  .form-container {
    padding: 0.875rem;
  }

  .form-label {
    font-size: 0.8125rem;
  }

  .form-input,
  .form-textarea,
  .form-select {
    font-size: 0.8125rem;
  }
}
/* Accessibility - High contrast mode support */
@media (prefers-contrast: high) {
  .form-input,
  .form-textarea,
  .form-select,
  .form-fieldset {
    border-width: 2px;
  }

  .form-checkbox,
  .form-radio {
    border-width: 2px;
  }
}
/* Accessibility - Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .form-input,
  .form-textarea,
  .form-select,
  .form-checkbox,
  .form-radio {
    transition: none;
  }
}
/* Print styles */
@media print {
  .form-actions {
    display: none;
  }

  .form-input,
  .form-textarea,
  .form-select {
    border: 1px solid #000;
  }
}
/**
 * Shared Modal Styles
 * 
 * Common modal patterns used across components.
 * Reduces duplication in CreateTeamModal, EditTeamModal, etc.
 */
/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  animation: modal-fade-in 0.2s ease-out;
}
@keyframes modal-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Modal Container */
.modal {
  background: white;
  border-radius: 8px;
  box-shadow:
    0 10px 15px rgba(0, 0, 0, 0.1),
    0 4px 6px rgba(0, 0, 0, 0.05);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modal-slide-up 0.3s ease-out;
}
@keyframes modal-slide-up {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.modal-sm {
  max-width: 400px;
}
.modal-md {
  max-width: 500px;
}
.modal-lg {
  max-width: 600px;
}
.modal-xl {
  max-width: 800px;
}
.modal-full {
  max-width: 100%;
  max-height: 100vh;
  border-radius: 0;
}
/* Modal Header */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  background: white;
  z-index: 10;
  border-radius: 8px 8px 0 0;
}
.modal-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
}
.modal-title-sm {
  font-size: 1.25rem;
}
.modal-title-lg {
  font-size: 1.75rem;
}
.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.modal-close:hover:not(:disabled) {
  background-color: #f3f4f6;
  color: #111827;
}
.modal-close:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.modal-close:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/* Modal Body */
.modal-body {
  padding: 1.5rem;
}
.modal-body-sm {
  padding: 1rem;
}
.modal-body-lg {
  padding: 2rem;
}
/* Modal Footer */
.modal-footer {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
  border-top: 1px solid #e5e7eb;
  position: sticky;
  bottom: 0;
  background: white;
  border-radius: 0 0 8px 8px;
}
.modal-footer-start {
  justify-content: flex-start;
}
.modal-footer-center {
  justify-content: center;
}
.modal-footer-between {
  justify-content: space-between;
}
/* Modal Sections */
.modal-section {
  margin-bottom: 1.5rem;
}
.modal-section:last-child {
  margin-bottom: 0;
}
.modal-section-title {
  margin: 0 0 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
/* Modal List */
.modal-list {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
}
.modal-list-scrollable {
  max-height: 300px;
  overflow-y: auto;
}
.modal-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.modal-list-item:last-child {
  border-bottom: none;
}
.modal-list-item:hover {
  background-color: #f9fafb;
}
.modal-list-item-selected {
  background-color: #eff6ff;
}
.modal-list-item-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.modal-list-item-disabled:hover {
  background-color: transparent;
}
/* Modal Empty State */
.modal-empty {
  padding: 2rem 1rem;
  text-align: center;
}
.modal-empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.modal-empty-text {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 0.5rem 0;
}
.modal-empty-hint {
  font-size: 0.75rem;
  color: #9ca3af;
  margin: 0;
}
/* Modal Confirm */
.modal-confirm {
  padding: 1rem;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
}
.modal-confirm-warning {
  background-color: #fef3c7;
  border-color: #fde68a;
}
.modal-confirm-info {
  background-color: #eff6ff;
  border-color: #dbeafe;
}
.modal-confirm-text {
  margin: 0 0 0.75rem 0;
  font-size: 0.875rem;
  color: #991b1b;
  font-weight: 500;
  text-align: center;
}
.modal-confirm-warning .modal-confirm-text {
  color: #92400e;
}
.modal-confirm-info .modal-confirm-text {
  color: #1e40af;
}
.modal-confirm-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}
/* Modal Loading */
.modal-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  gap: 1rem;
}
.modal-loading-spinner {
  width: 3rem;
  height: 3rem;
  border: 3px solid #e5e7eb;
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: modal-spin 0.8s linear infinite;
}
@keyframes modal-spin {
  to {
    transform: rotate(360deg);
  }
}
.modal-loading-text {
  font-size: 0.875rem;
  color: #6b7280;
}
/* Scrollbar Styling */
.modal-list-scrollable::-webkit-scrollbar,
.modal::-webkit-scrollbar {
  width: 8px;
}
.modal-list-scrollable::-webkit-scrollbar-track,
.modal::-webkit-scrollbar-track {
  background: #f3f4f6;
}
.modal-list-scrollable::-webkit-scrollbar-thumb,
.modal::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}
.modal-list-scrollable::-webkit-scrollbar-thumb:hover,
.modal::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}
/* Responsive Design */
@media (max-width: 768px) {
  .modal {
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    max-height: 100vh;
  }

  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .modal-header {
    padding: 1rem;
    border-radius: 0;
  }

  .modal-title {
    font-size: 1.25rem;
  }

  .modal-body {
    padding: 1rem;
  }

  .modal-footer {
    flex-direction: column-reverse;
    padding: 1rem;
    gap: 0.625rem;
    border-radius: 0;
  }

  .modal-footer button {
    width: 100%;
    min-height: 44px; /* Touch target size */
  }

  .modal-list-scrollable {
    max-height: 250px;
  }

  .modal-list-item {
    padding: 1rem 0.75rem;
  }
}
@media (max-width: 640px) {
  .modal-title {
    font-size: 1.125rem;
  }

  .modal-list-scrollable {
    max-height: 200px;
  }

  .modal-body-sm {
    padding: 0.875rem;
  }
}
/* Accessibility - High Contrast Mode */
@media (prefers-contrast: high) {
  .modal {
    border: 2px solid #000;
  }

  .modal-list {
    border-width: 2px;
  }

  .modal-list-item-selected {
    border: 2px solid #3b82f6;
  }
}
/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .modal-overlay,
  .modal,
  .modal-close,
  .modal-list-item {
    animation: none;
    transition: none;
  }

  .modal-loading-spinner {
    animation: none;
  }
}
/* Focus Trap */
.modal-overlay:focus {
  outline: none;
}
/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}
/* Print styles */
@media print {
  .modal-overlay {
    position: static;
    background: none;
  }

  .modal {
    box-shadow: none;
    border: 1px solid #000;
    max-width: 100%;
    max-height: none;
  }

  .modal-close,
  .modal-footer {
    display: none;
  }
}
/* Import empty state styles */
/**
 * Centralized Empty State Styling System
 * 
 * This file provides consistent styling for empty state buttons across the application.
 * All empty state pages should use these classes for visual consistency.
 * 
 * Usage:
 * - Wrap button in .empty-state-container for centering
 * - Apply .empty-state-button class to action buttons
 * 
 * Example:
 * <div class="empty-state-container">
 *   <button class="empty-state-button" onClick={handleAction}>
 *     Action Text
 *   </button>
 * </div>
 */
/* Container for centering empty state buttons */
.empty-state-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
/* Standard empty state button styling - matches skill packages outlined style */
.empty-state-button {
  /* Sizing */
  padding: 0.625rem 1.25rem;
  min-width: 200px;
  max-width: 300px;
  width: auto;
  
  /* Typography */
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  
  /* Colors - outlined style matching skill packages */
  background: white;
  color: #3b82f6;
  border: 2px solid #3b82f6;
  
  /* Border and shape */
  border-radius: 8px;
  
  /* Interaction */
  cursor: pointer;
  transition: all 0.2s ease;
  
  /* Layout */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  
  /* Accessibility */
  outline: none;
}
/* Hover state - fills with blue like skill packages */
.empty-state-button:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}
/* Active state */
.empty-state-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.15);
}
/* Focus-visible state for keyboard navigation */
.empty-state-button:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25);
}
/* Disabled state */
.empty-state-button:disabled {
  background: white;
  color: #9ca3af;
  border-color: #d1d5db;
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}
.empty-state-button:disabled:hover {
  background: white;
  color: #9ca3af;
  border-color: #d1d5db;
  transform: none;
  box-shadow: none;
}
/* Responsive design for mobile devices */
@media (max-width: 768px) {
  .empty-state-button {
    min-width: 160px;
    max-width: 100%;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
  }
}
/* Responsive design for small mobile devices */
@media (max-width: 480px) {
  .empty-state-button {
    min-width: 140px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}
/* High contrast mode support */
@media (prefers-contrast: high) {
  .empty-state-button {
    border: 2px solid currentColor;
  }
  
  .empty-state-button:focus-visible {
    outline-width: 4px;
  }
}
/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .empty-state-button {
    transition: none;
  }
  
  .empty-state-button:hover {
    transform: none;
  }
  
  .empty-state-button:active {
    transform: none;
  }
}
/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body,
#root {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* Ensure Amplify UI components take full width */
[data-amplify-authenticator] {
  height: 100%;
  width: 100%;
}
[data-amplify-container] {
  width: 100%;
  max-width: 500px;
}
/* Prevent password show button from wrapping */
.amplify-passwordfield .amplify-field-group {
  flex-wrap: nowrap !important;
  min-width: 0;
}
.amplify-passwordfield .amplify-field-group__field-wrapper {
  flex: 1;
  min-width: 0;
}
.amplify-passwordfield .amplify-field-group__outer-end {
  flex-shrink: 0;
}
/* Ensure form flex elements take full width but not button containers */
/* Exclude SelectField to prevent dropdown arrow positioning issues */
.amplify-textfield .amplify-flex,
.amplify-passwordfield .amplify-flex {
  width: 100%;
}
/* Force menu items to be left aligned */
.amplify-menu .amplify-menuitem,
.amplify-menu .amplify-text,
.amplify-menuitem {
  text-align: left !important;
  justify-content: flex-start !important;
}
/* Override button centering for menu items with maximum specificity */
html body .amplify-menu .amplify-menuitem,
html body .amplify-menuitem,
html body [role="menuitem"],
html body .amplify-menu button {
  text-align: left !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}
@media (max-width: 768px) {
  .amplify-passwordfield .amplify-field-group {
    flex-direction: row !important;
  }
}
/* Progress bar animations */
@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
@keyframes progress-stripes {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 40px 0;
  }
}
/* Custom progress bar styles */
.progress-bar-striped {
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.15) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.15) 75%,
    transparent 75%,
    transparent
  );
  background-size: 40px 40px;
}
.amplify-checkbox__button.amplify-flex {
  width: auto !important;
}

.amplify-checkbox {
  justify-content: flex-start !important;
  width: 100%;
  text-align: left;
}

.amplify-flex.amplify-checkbox__label {
  justify-content: flex-start !important;
}
/* Responsive Breakpoints and Mobile Optimizations */

/* 
 * Breakpoint Strategy:
 * - Mobile: 0-767px (portrait phones)
 * - Tablet: 768px-1023px (tablets and landscape phones)
 * - Desktop: 1024px+ (laptops and desktops)
 */

:root {
  /* Responsive breakpoints */
  --breakpoint-mobile: 767px;
  --breakpoint-tablet: 1023px;
  --breakpoint-desktop: 1024px;

  /* Responsive spacing */
  --spacing-mobile: 1rem;
  --spacing-tablet: 1.5rem;
  --spacing-desktop: 2rem;

  /* Responsive font sizes */
  --font-size-h1-mobile: 2rem;
  --font-size-h1-tablet: 2.5rem;
  --font-size-h1-desktop: 3rem;

  --font-size-h2-mobile: 1.5rem;
  --font-size-h2-tablet: 1.75rem;
  --font-size-h2-desktop: 2rem;

  --font-size-body-mobile: 0.875rem;
  --font-size-body-tablet: 1rem;
  --font-size-body-desktop: 1rem;
}

/* Mobile-first base styles */
body {
  font-size: var(--font-size-body-mobile);
  overflow-x: hidden;
}

/* Tablet styles */
@media (min-width: 768px) {
  body {
    font-size: var(--font-size-body-tablet);
  }
}

/* Desktop styles */
@media (min-width: 1024px) {
  body {
    font-size: var(--font-size-body-desktop);
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Increase touch target sizes */
  button,
  a,
  input,
  select,
  textarea {
    min-height: 44px;
    min-width: 44px;
  }

  /* Disable hover effects on touch devices */
  *:hover {
    /* Hover effects will be overridden by component-specific styles */
  }
}

/* Performance optimizations for mobile */
@media (max-width: 767px) {
  /* Use passive scroll listeners (handled in JS) */
  /* Reduce animation complexity */
  * {
    will-change: auto !important;
  }

  /* Optimize transforms */
  .animated-element {
    transform: translateZ(0);
    backface-visibility: hidden;
  }
}

/* Landscape phone optimizations */
@media (max-width: 767px) and (orientation: landscape) {
  /* Reduce vertical spacing in landscape */
  .feature-section {
    min-height: 70vh !important;
  }

  /* Adjust padding for landscape */
  .slanted-overlay {
    padding: 1.5rem 1.25rem !important;
  }
}

/* High DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure crisp rendering on retina displays */
  img,
  svg {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

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

/* Accessibility: High contrast mode */
@media (prefers-contrast: high) {
  /* Increase border visibility */
  .slanted-overlay,
  .modern-pricing-card {
    border-width: 3px !important;
  }

  /* Ensure text contrast */
  .slanted-overlay-content,
  .modern-pricing-card {
    color: #000 !important;
    background: #fff !important;
  }
}

/* Print styles */
@media print {
  /* Hide decorative elements */
  .geometric-shapes-container,
  .screenshot-background {
    display: none !important;
  }

  /* Optimize for print */
  .slanted-overlay {
    background: white !important;
    box-shadow: none !important;
    border: 1px solid #000 !important;
  }
}
