/* Google-inspired color palette */
:root {
  --primary-color: #4285f4;      /* Google Blue */
  --primary-light: #e8f0fe;
  --primary-dark: #1a73e8;
  --secondary-color: #34a853;    /* Google Green */
  --accent-color: #fbbc04;       /* Google Yellow */
  --error-color: #ea4335;        /* Google Red */
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --bg-light: #ffffff;
  --bg-off-white: #f8f9fa;
  --border-color: #dadce0;
  --shadow-color: rgba(60, 64, 67, 0.3);
  --shadow-light: rgba(60, 64, 67, 0.5);
  
  /* Aurora Blue-Violet Color Palette */
  --aurora-blue-500: #3b82f6;    /* Deep blue foundation */
  --aurora-indigo-300: #a5b4fc;  /* Medium indigo transition */
  --aurora-blue-300: #93c5fd;    /* Lighter blue */
  --aurora-violet-200: #ddd6fe;  /* Soft violet accent */
  --aurora-blue-400: #60a5fa;    /* Medium blue finish */
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Google Sans', Roboto, Arial, sans-serif;
  color: var(--text-primary);
  background-color: white;
  line-height: 1.5;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.nav-tool.active {
  color: #2563eb; /* or any blue shade */
  font-weight: 600;
}

/* New Pricing Styles */
.promo-banner {
  background: linear-gradient(135deg, var(--secondary-color), #20c997);
  color: white;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(52, 168, 83, 0.3);
}

.promo-banner h2 {
  margin: 0;
  font-size: 1.5rem;
}

.promo-banner p {
  margin: 0.5rem 0 0 0;
  opacity: 0.9;
}

/* Split Layout Pricing Design */
.pricing-simple {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.pricing-card-single {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  max-width: 900px;
  width: 100%;
  display: flex;
  min-height: 400px;
  border: 1px solid var(--border-color);
}

/* Left side - Pricing Info */
.pricing-left {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}


.pricing-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.pricing-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.price-display {
  margin: 2rem 0;
  text-align: center;
}

.example-text {
  display: block;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.benchmark-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
  margin-bottom: 0.5rem;
}

.price-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.cta-button {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.cta-button:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Override plan.css hover effect specifically for pricing section */
.pricing-left .cta-button:hover {
  transform: none;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Right side - Features */
.pricing-right {
  background: var(--bg-off-white);
  padding: 3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.features-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2rem;
  text-align: center;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  color: var(--text-primary);
  font-size: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.feature-icon {
  background: var(--secondary-color);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  margin-right: 1rem;
  flex-shrink: 0;
}

/* Modern Pricing Card Styles */
.pricing-card-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.modern-pricing-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.plan-header {
  margin-bottom: 2rem;
}

.plan-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.plan-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.price-section {
  margin-bottom: 2.5rem;
}

.price-container {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.main-price {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.original-price {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-left: 0.5rem;
}

.price-period {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 500;
}

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

.features-column {
  /* Grid item styles */
}

.features-heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.features-list li:last-child {
  margin-bottom: 0;
}

.checkmark {
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 0.75rem;
  font-size: 1rem;
}

.get-started-btn {
  background: var(--text-primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.get-started-btn:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .pricing-card-single {
    flex-direction: column;
    max-width: 400px;
  }
  
  .pricing-left, .pricing-right {
    padding: 2rem;
  }
  
  .benchmark-price {
    font-size: 2rem;
  }

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

  .plan-title {
    font-size: 1.75rem;
  }

  .main-price {
    font-size: 3rem;
  }

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

/* Typography */
h1, h2, h3 {
  color: var(--text-primary);
  margin-bottom: 8px;
}

h1 {
  font-size: 24px;
  font-weight: 500;
}

h2 {
  font-size: 18px;
  font-weight: 500;
}

h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}

p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

/* Header */
.app-header {
  margin-bottom: 24px;
  text-align: center;
}

.app-subtitle {
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Card Component */
.card {
  background-color: var(--bg-light);
  border-radius: 8px;
  box-shadow: 0 1px 3px var(--shadow-light);
  padding: 24px;
  margin-bottom: 24px;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 2px 6px var(--shadow-light);
}

.card-title {
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.section-subtitle {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

/* Button Components */
.btn-primary, .btn-secondary, .btn-text {
  font-family: inherit;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

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

.btn-primary:hover:not(:disabled) {
  background-color: var(--primary-dark);
  box-shadow: 0 1px 2px var(--shadow-light);
}

.btn-primary:disabled, .btn-primary.btn-disabled {
  background-color: var(--border-color);
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-secondary {
  background-color: var(--bg-light);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
}

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

.btn-text {
  background: none;
  border: none;
  color: var(--primary-color);
  padding: 0;
  font-weight: 500;
}

.btn-text:hover {
  text-decoration: underline;
}

.btn-icon {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  line-height: 1;
  transition: all 0.2s ease;
}

.btn-icon:hover {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

/* Upload Area */
.upload-container {
  width: 100%;
}

.upload-area {
  border: 2px dashed var(--border-color);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  background-color: var(--bg-off-white);
  transition: all 0.2s ease;
  cursor: pointer;
}

.upload-area:hover {
  border-color: var(--primary-color);
  background-color: var(--primary-light);
}

.upload-area.drag-over {
  border-color: var(--primary-color);
  background-color: var(--primary-light);
}

.upload-icon {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.upload-prompt p {
  margin-bottom: 8px;
}

.upload-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
}

.image-preview-container {
  margin-top: 16px;
  position: relative;
  max-width: 400px;
  margin: 16px auto 0;
}

.image-preview-container img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 10px var(--shadow-light);
}

.image-preview-container .btn-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: var(--bg-light);
  box-shadow: 0 1px 3px var(--shadow-color);
}

/* Column Section */
.column-section {
  margin-bottom: 16px;
}

.chip-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background-color: var(--bg-off-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip:hover {
  background-color: var(--primary-light);
}

.chip.selected {
  background-color: var(--primary-light);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.chip .remove-icon {
  margin-left: 6px;
  font-size: 16px;
  line-height: 1;
}

.selected-section {
  background-color: var(--primary-light);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--primary-color);
}

.input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.input-group input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px var(--primary-light);
}

/* Action Panel */
.action-panel {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-bottom: 24px;
}

/* Results Section */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.table-container {
  overflow-x: auto;
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  position: sticky;
  top: 0;
  background-color: var(--bg-off-white);
  z-index: 1;
}

th, td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

th {
  font-weight: 500;
  color: var(--text-secondary);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover {
  background-color: var(--primary-light);
}

/* Status Indicators */
.status-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.loader {
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.status-message {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  border-radius: 4px;
  background-color: var(--bg-light);
  box-shadow: 0 2px 10px var(--shadow-color);
  z-index: 900;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.status-message.error {
  background-color: var(--error-color);
  color: white;
}

.status-message.success {
  background-color: var(--secondary-color);
  color: white;
}

/* Export Form Modal Styles */
.export-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.export-modal-content {
  background: white;
  border-radius: 12px;
  padding: 0;
  max-width: 500px;
  width: 90%;
  max-height: 90%;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  z-index: 1;
  line-height: 1;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #333;
}

.export-form {
  padding: 40px 30px 30px;
  display: flex;
  flex-direction: column;
}

.export-form h3 {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 24px;
  font-weight: 600;
}

.export-form p {
  margin: 0 0 30px 0;
  font-size: 14px;
  line-height: 1.5;
}

.export-form-group {
  margin-bottom: 20px;
}

.export-form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.export-form-input:focus {
  outline: none;
  border-color: #4285f4;
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.export-form-input::placeholder {
  color: #9aa0a6;
}

.export-form-button {
  background: #4285f4;
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  margin-top: 10px;
}

.export-form-button:hover:not(:disabled) {
  background: #3367d6;
  transform: translateY(-1px);
}

.export-form-button:disabled {
  background: #dadce0;
  cursor: not-allowed;
  transform: none;
}

.export-form-error {
  color: #d93025;
  font-size: 14px;
  margin-top: 5px;
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 16px;
  }
  
  .card {
    padding: 16px;
  }
  
  .action-panel {
    flex-direction: column;
  }
  
  /* Export modal mobile styles */
  .export-modal-content {
    width: 95%;
    margin: 20px;
  }
  
  .export-form {
    padding: 30px 20px 20px;
  }
  
  .export-form h3 {
    font-size: 20px;
  }
  
  .export-form-input {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
  }
  
  .results-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .results-header button {
    width: 100%;
  }

}
/* Multiple Image Grid Styles */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.image-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px var(--shadow-light);
  background-color: var(--bg-light);
  transition: transform 0.2s ease;
  height: 0;
  padding-bottom: 100%; /* Square aspect ratio */
}

.image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px var(--shadow-light);
}

.image-card .preview-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.image-card .remove-image-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: var(--bg-light);
  box-shadow: 0 1px 3px var(--shadow-color);
  width: 24px;
  height: 24px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 2;
}

.image-card .file-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 4px 8px;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.preview-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Progress Bar */
.progress-container {
  width: 100%;
  max-width: 400px;
  background-color: var(--bg-off-white);
  border-radius: 4px;
  margin-top: 16px;
  overflow: hidden;
}

.progress-bar {
  height: 8px;
  background-color: var(--primary-color);
  width: 0%;
  transition: width 0.3s ease;
}

.progress-text {
  text-align: center;
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* Batch Options */
.batch-options {
  margin-top: 8px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 8px;
}

.option-description {
  font-size: 14px;
  color: var(--text-secondary);
  margin-left: 24px;
}

/* Results table improvements for multiple items */
.table-container {
  max-height: 500px;
}

/* Cell with image thumbnail */
.image-cell {
  width: 60px;
}

.image-cell img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
}

.image-thumbnail {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
}

/* Image Modal */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.modal-image {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 4px;
}

.close-modal {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  
  .preview-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .preview-actions {
    margin-top: 8px;
    width: 100%;
  }
  
  .preview-actions button {
    flex: 1;
  }
}
/* PDF Preview Styles */
.pdf-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: #f5f5f5;
  border-radius: 8px;
}

.pdf-preview svg {
  margin-bottom: 8px;
}

.pdf-preview span {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Positioning for aurora effects */
.pricing {
  position: relative;
  overflow: hidden;
}

/* Aurora Background Styles */
.aurora-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(-45deg, 
    rgba(59, 130, 246, 0.25),   /* aurora-blue-500 */
    rgba(165, 180, 252, 0.22),  /* aurora-indigo-300 */
    rgba(147, 197, 253, 0.18),  /* aurora-blue-300 */
    rgba(221, 214, 254, 0.15),  /* aurora-violet-200 */
    rgba(96, 165, 250, 0.20),   /* aurora-blue-400 */
    rgba(59, 130, 246, 0.25),   /* aurora-blue-500 again */
    rgba(165, 180, 252, 0.18)   /* aurora-indigo-300 again */
  );
  background-size: 400% 400%;
  animation: aurora-shift 15s ease infinite;
  z-index: -1;
  opacity: 0.08;
  pointer-events: none;
  filter: blur(0.5px);
}

.aurora-background.enhanced {
  opacity: 0.12;
  animation-duration: 10s;
  filter: blur(0px);
}

@keyframes aurora-shift {
  0% {
    background-position: 0% 50%;
    filter: hue-rotate(0deg) brightness(1);
  }
  20% {
    background-position: 80% 20%;
    filter: hue-rotate(72deg) brightness(1.1);
  }
  40% {
    background-position: 100% 80%;
    filter: hue-rotate(144deg) brightness(0.9);
  }
  60% {
    background-position: 20% 100%;
    filter: hue-rotate(216deg) brightness(1.2);
  }
  80% {
    background-position: 0% 20%;
    filter: hue-rotate(288deg) brightness(1);
  }
  100% {
    background-position: 0% 50%;
    filter: hue-rotate(360deg) brightness(1);
  }
}

/* Aurora particles for enhanced effect */
.aurora-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.06;
}

.aurora-particle {
  position: absolute;
  background: radial-gradient(circle, var(--aurora-blue-500) 0%, rgba(59, 130, 246, 0.4) 30%, transparent 70%);
  border-radius: 50%;
  animation: float 8s infinite ease-in-out;
  filter: blur(1px);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.aurora-particle:nth-child(1) {
  width: 150px;
  height: 150px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.aurora-particle:nth-child(2) {
  width: 200px;
  height: 200px;
  top: 60%;
  left: 70%;
  animation-delay: 2s;
  background: radial-gradient(circle, var(--aurora-indigo-300) 0%, rgba(165, 180, 252, 0.4) 30%, transparent 70%);
  box-shadow: 0 0 40px rgba(165, 180, 252, 0.3);
}

.aurora-particle:nth-child(3) {
  width: 120px;
  height: 120px;
  top: 10%;
  left: 80%;
  animation-delay: 4s;
  background: radial-gradient(circle, var(--aurora-blue-300) 0%, rgba(147, 197, 253, 0.4) 30%, transparent 70%);
  box-shadow: 0 0 35px rgba(147, 197, 253, 0.3);
}

.aurora-particle:nth-child(4) {
  width: 180px;
  height: 180px;
  top: 80%;
  left: 20%;
  animation-delay: 6s;
  background: radial-gradient(circle, var(--aurora-violet-200) 0%, rgba(221, 214, 254, 0.4) 30%, transparent 70%);
  box-shadow: 0 0 45px rgba(221, 214, 254, 0.3);
}

.aurora-particle:nth-child(5) {
  width: 140px;
  height: 140px;
  top: 40%;
  left: 50%;
  animation-delay: 8s;
  background: radial-gradient(circle, var(--aurora-blue-400) 0%, rgba(96, 165, 250, 0.4) 30%, transparent 70%);
  box-shadow: 0 0 50px rgba(96, 165, 250, 0.3);
}

.aurora-particle:nth-child(6) {
  width: 160px;
  height: 160px;
  top: 70%;
  left: 60%;
  animation-delay: 10s;
  background: radial-gradient(circle, var(--aurora-indigo-300) 0%, rgba(165, 180, 252, 0.4) 30%, transparent 70%);
  box-shadow: 0 0 55px rgba(165, 180, 252, 0.3);
}

/* Aurora overlay for additional depth */
.aurora-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(165, 180, 252, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(147, 197, 253, 0.06) 0%, transparent 50%);
  animation: aurora-overlay-shift 25s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
  opacity: 0.12;
}

@keyframes aurora-overlay-shift {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.6;
  }
  33% {
    transform: scale(1.1) rotate(120deg);
    opacity: 0.8;
  }
  66% {
    transform: scale(0.9) rotate(240deg);
    opacity: 0.4;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-40px) translateX(20px) scale(1.2) rotate(90deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-80px) translateX(-20px) scale(0.8) rotate(180deg);
    opacity: 0.8;
  }
  75% {
    transform: translateY(-40px) translateX(10px) scale(1.1) rotate(270deg);
    opacity: 0.5;
  }
}

/* Hero section specific aurora */
.hero-aurora {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.06) 0%,
    rgba(165, 180, 252, 0.05) 25%,
    rgba(147, 197, 253, 0.04) 50%,
    rgba(221, 214, 254, 0.04) 75%,
    rgba(96, 165, 250, 0.06) 100%
  );
  background-size: 200% 200%;
  animation: aurora-shift 18s ease infinite;
  z-index: -1;
  pointer-events: none;
  box-shadow: inset 0 0 100px rgba(59, 130, 246, 0.08);
}

/* ===== HERO GALLERY STYLES ===== */
.hero-gallery {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 1rem 2rem 0 2rem;
  background-color: var(--bg-light);
}

.hero-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  align-items: center;
  padding: 0;
}

/* Left Content Panel */
.hero-text-content {
  padding: 2rem 0;
  z-index: 10;
}

.hero-main-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary-color);
  margin-top: 0.5rem;
  line-height: 1.3;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 90%;
}

.hero-cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-primary-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.hero-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(66, 133, 244, 0.4);
}

.hero-secondary-btn {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

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

.trust-item {
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}

.trust-item::before {
  content: "✓";
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Right Gallery Panel */
.hero-gallery-container {
  position: relative;
  height: 600px;
  z-index: 5;
}

.gallery-main-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.gallery-main-image img {
  width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.gallery-main-image:hover img {
  transform: scale(1.02);
  box-shadow: 0 16px 64px rgba(0,0,0,0.2);
}

/* Floating Gallery Images */
.gallery-float-image {
  position: absolute;
  transition: all 0.3s ease;
}

.gallery-float-image img {
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.gallery-float-image:hover img {
  transform: scale(1.05);
  box-shadow: 0 12px 48px rgba(0,0,0,0.15);
}

/* Specific positioning for floating images */
.gallery-float-1 {
  top: 10%;
  right: 0;
  z-index: 3;
}

.gallery-float-1 img {
  width: 180px;
  height: 140px;
  object-fit: cover;
}

.gallery-float-2 {
  bottom: 20%;
  left: 0;
  z-index: 4;
}

.gallery-float-2 img {
  width: 200px;
  height: 150px;
  object-fit: cover;
}

.gallery-float-3 {
  top: 30%;
  left: 20%;
  z-index: 2;
}

.gallery-float-3 img {
  width: 160px;
  height: 120px;
  object-fit: cover;
}

.gallery-float-4 {
  bottom: 10%;
  right: 25%;
  z-index: 3;
}

.gallery-float-4 img {
  width: 170px;
  height: 130px;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-content-wrapper {
    gap: 3rem;
  }
  
  .hero-main-title {
    font-size: 3rem;
  }
  
  .gallery-main-image img {
    width: 350px;
    height: 260px;
  }
  
  .gallery-float-1 img,
  .gallery-float-2 img,
  .gallery-float-3 img,
  .gallery-float-4 img {
    transform: scale(0.9);
  }
}

@media (max-width: 768px) {
  .hero-gallery {
    padding: 0.5rem 1rem 0 1rem;
    min-height: auto;
  }
  
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-main-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    max-width: 100%;
  }
  
  .hero-cta-buttons {
    justify-content: center;
  }
  
  .hero-trust-indicators {
    align-items: center;
  }
  
  .hero-gallery-container {
    height: 400px;
  }
  
  .gallery-main-image img {
    width: 280px;
    height: 210px;
  }
  
  /* Hide some float images on mobile for cleaner look */
  .gallery-float-3,
  .gallery-float-4 {
    display: none;
  }
  
  .gallery-float-1,
  .gallery-float-2 {
    opacity: 0.7;
  }
  
  .gallery-float-1 img,
  .gallery-float-2 img {
    transform: scale(0.8);
  }
}

@media (max-width: 480px) {
  .hero-main-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .hero-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-primary-btn,
  .hero-secondary-btn {
    width: 100%;
    max-width: 280px;
  }
  
  .hero-gallery-container {
    height: 300px;
  }
  
  .gallery-main-image img {
    width: 240px;
    height: 180px;
  }
  
  /* Hide all float images on very small screens */
  .gallery-float-1,
  .gallery-float-2 {
    display: none;
  }
}

/* Pricing section aurora - enhanced visibility */
.pricing-aurora {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center,
    rgba(59, 130, 246, 0.05) 0%,
    rgba(165, 180, 252, 0.03) 30%,
    rgba(147, 197, 253, 0.02) 60%,
    transparent 100%
  );
  animation: aurora-pulse 10s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
  filter: blur(0.5px);
}

@keyframes aurora-pulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1) rotate(0deg);
    filter: hue-rotate(0deg);
  }
  25% {
    opacity: 0.8;
    transform: scale(1.03) rotate(1deg);
    filter: hue-rotate(30deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.06) rotate(0deg);
    filter: hue-rotate(60deg);
  }
  75% {
    opacity: 0.7;
    transform: scale(1.02) rotate(-1deg);
    filter: hue-rotate(30deg);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .aurora-background,
  .aurora-particle,
  .hero-aurora,
  .pricing-aurora {
    animation: none;
  }
  
  .aurora-background {
    background: linear-gradient(-45deg, 
      rgba(66, 133, 244, 0.03),
      rgba(52, 168, 83, 0.02)
    );
  }
}

/* Mobile optimization */
@media (max-width: 768px) {
  .aurora-background {
    animation-duration: 25s; /* Slower on mobile for better performance */
    opacity: 0.05; /* Minimal on mobile */
  }
  
  .aurora-particles {
    opacity: 0.03; /* Minimal particles on mobile */
  }
  
  .aurora-particle {
    filter: blur(2px); /* More blur on mobile */
  }
  
  .aurora-particle:nth-child(n+5) {
    display: none; /* Hide extra particles on mobile */
  }
  
  .aurora-overlay {
    opacity: 0.06;
    animation-duration: 35s;
  }

  /* Section-specific mobile optimizations */
  .steps-aurora,
  .upload-aurora,
  .columns-aurora,
  .results-aurora,
  .info-aurora,
  .invoice-aurora,
  .faq-aurora,
  .footer-aurora {
    opacity: 0.6; /* Reduce intensity on mobile */
    animation-duration: calc(var(--duration, 20s) * 1.5); /* Slower animations */
    filter: blur(1px); /* More blur for performance */
  }

  .hero-aurora,
  .pricing-aurora {
    opacity: 0.8; /* Keep these more visible */
  }
}

/* Section-Specific Aurora Effects */

/* Steps Section Aurora */
.steps-container {
  position: relative;
  overflow: hidden;
}

.steps-aurora {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg,
    rgba(59, 130, 246, 0.03) 0%,
    rgba(165, 180, 252, 0.02) 30%,
    rgba(147, 197, 253, 0.015) 60%,
    rgba(96, 165, 250, 0.03) 100%
  );
  background-size: 300% 300%;
  animation: aurora-flow 20s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

/* Upload Section Aurora */
.step-card {
  position: relative;
  overflow: hidden;
}

.upload-aurora {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 40%,
    rgba(165, 180, 252, 0.04) 0%,
    rgba(59, 130, 246, 0.03) 50%,
    transparent 100%
  );
  animation: aurora-upload 15s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
  filter: blur(1px);
}

/* Columns Selection Aurora */
.columns-aurora {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(147, 197, 253, 0.03) 0%,
    rgba(221, 214, 254, 0.025) 40%,
    rgba(59, 130, 246, 0.02) 80%,
    rgba(96, 165, 250, 0.03) 100%
  );
  background-size: 250% 250%;
  animation: aurora-columns 18s ease infinite;
  z-index: -1;
  pointer-events: none;
}

/* Results Section Aurora */
.results-aurora {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: conic-gradient(from 0deg,
    rgba(165, 180, 252, 0.04) 0deg,
    rgba(59, 130, 246, 0.03) 120deg,
    rgba(147, 197, 253, 0.025) 240deg,
    rgba(221, 214, 254, 0.04) 360deg
  );
  animation: aurora-results 22s linear infinite;
  z-index: -1;
  pointer-events: none;
  filter: blur(1.5px);
}

/* Info Section Aurora */
.info-section {
  position: relative;
  overflow: hidden;
}

.info-aurora {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(59, 130, 246, 0.025) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(165, 180, 252, 0.02) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(147, 197, 253, 0.015) 0%, transparent 50%);
  animation: aurora-info 25s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

/* Invoice Container Aurora */
.invoice-container {
  position: relative;
  overflow: hidden;
}

.invoice-aurora {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
    rgba(96, 165, 250, 0.03) 0%,
    rgba(147, 197, 253, 0.025) 25%,
    rgba(165, 180, 252, 0.02) 50%,
    rgba(59, 130, 246, 0.025) 75%,
    rgba(221, 214, 254, 0.03) 100%
  );
  background-size: 200% 100%;
  animation: aurora-invoice 16s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

/* FAQ Section Aurora */
.faq-section {
  position: relative;
  overflow: hidden;
}

.faq-aurora {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(45deg,
    rgba(221, 214, 254, 0.02) 0%,
    rgba(59, 130, 246, 0.025) 20%,
    rgba(165, 180, 252, 0.015) 40%,
    rgba(147, 197, 253, 0.02) 60%
  );
  background-size: 400% 400%;
  animation: aurora-faq 24s ease infinite;
  z-index: -1;
  pointer-events: none;
  filter: blur(0.8px);
}

/* Footer Aurora */
.main-footer {
  position: relative;
  overflow: hidden;
}

.footer-aurora {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(59, 130, 246, 0.03) 30%,
    rgba(165, 180, 252, 0.025) 60%,
    rgba(147, 197, 253, 0.02) 90%,
    rgba(221, 214, 254, 0.015) 100%
  );
  animation: aurora-footer 30s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

/* New Animation Keyframes */
@keyframes aurora-flow {
  0%, 100% {
    background-position: 0% 0%;
    opacity: 0.6;
  }
  50% {
    background-position: 100% 100%;
    opacity: 1;
  }
}

@keyframes aurora-upload {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.8;
  }
  33% {
    transform: scale(1.1) rotate(120deg);
    opacity: 1;
  }
  66% {
    transform: scale(0.9) rotate(240deg);
    opacity: 0.6;
  }
}

@keyframes aurora-columns {
  0% {
    background-position: 0% 0%;
    filter: hue-rotate(0deg);
  }
  25% {
    background-position: 100% 0%;
    filter: hue-rotate(90deg);
  }
  50% {
    background-position: 100% 100%;
    filter: hue-rotate(180deg);
  }
  75% {
    background-position: 0% 100%;
    filter: hue-rotate(270deg);
  }
  100% {
    background-position: 0% 0%;
    filter: hue-rotate(360deg);
  }
}

@keyframes aurora-results {
  0% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(360deg) scale(1.1);
  }
}

@keyframes aurora-info {
  0%, 100% {
    transform: translate(0%, 0%) scale(1);
    filter: hue-rotate(0deg);
  }
  25% {
    transform: translate(2%, -2%) scale(1.05);
    filter: hue-rotate(90deg);
  }
  50% {
    transform: translate(-2%, 2%) scale(0.95);
    filter: hue-rotate(180deg);
  }
  75% {
    transform: translate(2%, 2%) scale(1.02);
    filter: hue-rotate(270deg);
  }
}

@keyframes aurora-invoice {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes aurora-faq {
  0% {
    background-position: 0% 0%;
    transform: skew(0deg, 0deg);
  }
  25% {
    background-position: 100% 25%;
    transform: skew(1deg, 0deg);
  }
  50% {
    background-position: 50% 100%;
    transform: skew(0deg, 1deg);
  }
  75% {
    background-position: 0% 75%;
    transform: skew(-1deg, 0deg);
  }
  100% {
    background-position: 0% 0%;
    transform: skew(0deg, 0deg);
  }
}

@keyframes aurora-footer {
  0%, 100% {
    opacity: 0.8;
    transform: translateY(0%);
  }
  50% {
    opacity: 1;
    transform: translateY(-10%);
  }
}