/* Reset and base styles */

* {

  margin: 0;

  padding: 0;

  box-sizing: border-box;

}



html {

  scroll-behavior: smooth;

}



body {

  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  color: #111827;

  line-height: 1.6;

  -webkit-font-smoothing: antialiased;

  -moz-osx-font-smoothing: grayscale;

}



.container {

  max-width: 1200px;

  margin: 0 auto;

  padding: 0 2rem;

}



/* Navigation */

.navbar {

  position: fixed;

  top: 0;

  left: 0;

  right: 0;

  background: rgba(255, 255, 255, 0.95);

  backdrop-filter: blur(10px);

  border-bottom: 1px solid #e5e7eb;

  z-index: 1000;

  padding: 1rem 0;

}



.nav-container {

  max-width: 1200px;

  margin: 0 auto;

  padding: 0 2rem;

  display: flex;

  align-items: center;

  justify-content: space-between;

}



.nav-logo {

  display: flex;

  align-items: center;

  gap: 0.75rem;

}



.nav-logo .logo {

  height: 120px;
  width: auto;
  border-radius: 8px;

  margin-right: 30px;

  image-rendering: auto;
  image-rendering: smooth;
  image-rendering: high-quality;
  filter: contrast(1.1) brightness(1.05);
  object-fit: contain;
  max-width: 300px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}



.logo-text {

  font-size: 1.75rem;

  font-weight: 700;

  color: #111827;

}



.nav-menu {

  display: flex;

  align-items: center;

  gap: 2rem;

}



.nav-link {

  text-decoration: none;

  color: #6b7280;

  font-weight: 500;

  transition: color 0.2s ease;

}



.nav-link:hover {

  color: #111827;

}



.nav-btn {

  background: #111827;

  color: #ffffff;

  padding: 0.75rem 1.5rem;

  border-radius: 8px;

  text-decoration: none;

  font-weight: 600;

  transition: all 0.2s ease;

}



.nav-btn:hover {

  background: #1f2937;

  transform: translateY(-1px);

}



.nav-toggle {

  display: none;

  flex-direction: column;

  gap: 4px;

  cursor: pointer;

}



.nav-toggle span {

  width: 25px;

  height: 3px;

  background: #111827;

  border-radius: 2px;

  transition: all 0.3s ease;

}



/* Hero Section */

.hero {

  padding: 4rem 0 6rem;

  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);

  /* margin-top: 80px; */

}



.hero-container {

  max-width: 1200px;

  margin: 0 auto;

  padding: 0 2rem;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 4rem;

  align-items: center;

}



.hero-title {

  font-size: 3.5rem;

  font-weight: 800;

  line-height: 1.1;

  margin-bottom: 1.5rem;

  letter-spacing: -0.025em;

  color: #111827;

}



.highlight {

  display: inline-flex;

  gap: 0.25rem;

  font-family: inherit;

  font-weight: inherit;

  font-size: inherit;

  line-height: inherit;

  letter-spacing: inherit;

}



.highlight .project {

  color: #111827;

}



.highlight .profile {

  color: #3b82f6;

}



.hero-subtitle {

  font-size: 1.25rem;

  color: #6b7280;

  margin-bottom: 2.5rem;

  line-height: 1.6;

}



.hero-actions {

  display: flex;

  gap: 1rem;

  margin-bottom: 3rem;

}



.btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 0.875rem 2rem;

  border-radius: 8px;

  text-decoration: none;

  font-weight: 600;

  transition: all 0.2s ease;

  border: none;

  cursor: pointer;

  font-size: 1rem;

}



.btn-primary {

  background: #ffffff;

  color: #111827;

  border: 2px solid #3b82f6;

}



.btn-primary:hover {

  background: #f9fafb;

  border-color: #2563eb;

  transform: translateY(-2px);

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

}



.btn-secondary {

  background: #ffffff;

  color: #374151;

  border: 1px solid #d1d5db;

}



.btn-secondary:hover {

  background: #f9fafb;

  border-color: #9ca3af;

  transform: translateY(-2px);

}



.btn-large {

  padding: 1rem 2.5rem;

  font-size: 1.125rem;

}



.btn-outline {

  background: transparent;

  color: #111827;

  border: 2px solid #111827;

}



.btn-outline:hover {

  background: #111827;

  color: #ffffff;

}



.hero-stats {

  display: flex;

  gap: 2rem;

}



.stat {

  display: flex;

  flex-direction: column;

  align-items: center;

}



.stat-number {

  font-size: 2rem;

  font-weight: 800;

  color: #111827;

}



.stat-label {

  font-size: 0.875rem;

  color: #6b7280;

  font-weight: 500;

}



/* Hero Visual */

.hero-visual {

  position: relative;

}



.hero-image {

  position: relative;

  border-radius: 16px;

  overflow: hidden;

  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

}



.main-image {

  width: 120%;

  height: auto;

  display: block;

}



.floating-card {

  position: absolute;

  background: #ffffff;

  padding: 1rem;

  border-radius: 12px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

  border: 1px solid #e5e7eb;

  max-width: 200px;

}



.floating-card.card-1 {

  top: 15%;

  left: 10px;

  animation: float 6s ease-in-out infinite;

}



.floating-card.card-2 {

  bottom: 15%;

  right: 10px;

  animation: float 6s ease-in-out infinite reverse;

}



.card-icon {

  font-size: 1.5rem;

  margin-bottom: 0.5rem;

}



.card-content h4 {

  font-size: 0.875rem;

  font-weight: 600;

  color: #111827;

  margin-bottom: 0.25rem;

}



.card-content p {

  font-size: 0.75rem;

  color: #6b7280;

}



@keyframes float {

  0%, 100% { transform: translateY(0px); }

  50% { transform: translateY(-10px); }

}



/* Section Headers */

.section-header {

  text-align: center;

  margin-bottom: 4rem;

}



.section-title {

  font-size: 3rem;

  font-weight: 800;

  color: #111827;

  margin-bottom: 1rem;

  letter-spacing: -0.025em;

  line-height: 1.2;

}



.section-title .highlight {

  display: inline-flex;

  gap: 0.25rem;

  font-family: inherit;

  font-weight: inherit;

  font-size: inherit;

  line-height: inherit;

  letter-spacing: inherit;

}



.section-subtitle {

  font-size: 1.25rem;

  color: #6b7280;

  max-width: 600px;

  margin: 0 auto;

  line-height: 1.6;

}



/* Features Section */

.features {

  padding: 6rem 0;

  background: #ffffff;

}



.features-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));

  gap: 2rem;

}



.feature-card {

  background: #ffffff;

  padding: 2rem;

  border-radius: 16px;

  border: 1px solid #e5e7eb;

  transition: all 0.3s ease;

}



.feature-card:hover {

  transform: translateY(-4px);

  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  border-color: #d1d5db;

}



.feature-icon {

  font-size: 3rem;

  margin-bottom: 1.5rem;

}



.feature-card h3 {

  font-size: 1.5rem;

  font-weight: 700;

  color: #111827;

  margin-bottom: 1rem;

}



.feature-card p {

  color: #6b7280;

  line-height: 1.6;

}



/* How It Works Section */

.how-it-works {

  padding: 6rem 0;

  background: #f9fafb;

}



.steps {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

  gap: 3rem;

  margin-top: 3rem;

}



.step {

  display: flex;

  align-items: flex-start;

  gap: 1.5rem;

}



.step-number {

  background: #111827;

  color: #ffffff;

  width: 48px;

  height: 48px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 1.25rem;

  font-weight: 700;

  flex-shrink: 0;

}



.step-content h3 {

  font-size: 1.5rem;

  font-weight: 700;

  color: #111827;

  margin-bottom: 0.75rem;

}



.step-content p {

  color: #6b7280;

  line-height: 1.6;

}



/* Pricing Section */

.pricing {

  padding: 6rem 0;

  background: #ffffff;

}



.pricing-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

  gap: 2rem;

  margin-top: 3rem;

}



.pricing-card {

  background: #ffffff;

  border: 1px solid #e5e7eb;

  border-radius: 16px;

  padding: 2rem;

  position: relative;

  transition: all 0.3s ease;

}



.pricing-card:hover {

  transform: translateY(-4px);

  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

}



.pricing-card.featured {

  border-color: #667eea;

  box-shadow: 0 20px 25px -5px rgba(102, 126, 234, 0.15);

}



.plan-badge {

  position: absolute;

  top: -12px;

  left: 50%;

  transform: translateX(-50%);

  background: #667eea;

  color: #ffffff;

  padding: 0.5rem 1rem;

  border-radius: 20px;

  font-size: 0.875rem;

  font-weight: 600;

}



.plan-header {

  text-align: center;

  margin-bottom: 2rem;

}



.plan-header h3 {

  font-size: 1.5rem;

  font-weight: 700;

  color: #111827;

  margin-bottom: 1rem;

}



.price {

  margin-bottom: 1rem;

}



.currency {

  font-size: 1.5rem;

  color: #6b7280;

  vertical-align: top;

}



.amount {

  font-size: 3rem;

  font-weight: 800;

  color: #111827;

}



.period {

  font-size: 1rem;

  color: #6b7280;

}



.plan-header p {

  color: #6b7280;

  font-size: 0.875rem;

}



.plan-features {

  list-style: none;

  margin-bottom: 2rem;

}



.plan-features li {

  padding: 0.5rem 0;

  color: #6b7280;

  position: relative;

  padding-left: 1.5rem;

}



.plan-features li::before {

  content: "✓";

  position: absolute;

  left: 0;

  color: #10b981;

  font-weight: 700;

}



/* CTA Section */

.cta {

  padding: 6rem 0;

  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

  color: #ffffff;

  text-align: center;

}



.cta h2 {

  font-size: 3rem;

  font-weight: 800;

  margin-bottom: 1rem;

  letter-spacing: -0.025em;

}



.cta p {

  font-size: 1.25rem;

  margin-bottom: 2.5rem;

  opacity: 0.9;

  max-width: 600px;

  margin-left: auto;

  margin-right: auto;

}



.cta-actions {

  display: flex;

  gap: 1rem;

  justify-content: center;

  flex-wrap: wrap;

}



.cta .btn-primary {

  background: #ffffff;

  color: #111827;

}



.cta .btn-primary:hover {

  background: #f9fafb;

}



.cta .btn-secondary {

  background: transparent;

  color: #ffffff;

  border: 2px solid #ffffff;

}



.cta .btn-secondary:hover {

  background: #ffffff;

  color: #111827;

}



/* Footer */

.footer {

  background: #111827;

  color: #ffffff;

  padding: 4rem 0 2rem;

}



.footer-content {

  display: grid;

  grid-template-columns: 1fr 1fr 1fr 1fr;

  gap: 4rem;

  margin-bottom: 3rem;

}



.footer-logo {

  display: flex;

  align-items: center;

  gap: 0.75rem;

  margin-bottom: 1rem;

}



.footer-logo .logo {

  height: 120px;
  width: auto;
  border-radius: 8px;

  image-rendering: auto;
  image-rendering: smooth;
  image-rendering: high-quality;
  filter: contrast(1.1) brightness(1.05);
  object-fit: contain;
  max-width: 300px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}



.footer-logo .logo-text {

  font-size: 1.75rem;

  font-weight: 700;

}



.footer-section p {

  color: #9ca3af;

  line-height: 1.6;

  margin-bottom: 1rem;

}



.footer-section h4 {

  font-size: 1.125rem;

  font-weight: 600;

  margin-bottom: 1rem;

  text-align: left;

}



.footer-section ul {

  list-style: none;

  text-align: left;

  padding-left: 0;

}



.footer-section ul li {

  margin-bottom: 0.5rem;

}



.footer-section ul li a {

  color: #9ca3af;

  text-decoration: none;

  transition: color 0.2s ease;

  user-select: text;

}



.footer-section ul li a:hover {

  color: #ffffff;

}



.footer-section ul li {

  color: #9ca3af;

  user-select: text;

}



.footer-bottom {

  border-top: 1px solid #374151;

  padding-top: 2rem;

  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-wrap: wrap;

  gap: 1rem;

}



.footer-bottom p {

  color: #9ca3af;

}



.footer-links {

  display: flex;

  gap: 2rem;

}



.footer-links a {

  color: #9ca3af;

  text-decoration: none;

  font-size: 0.875rem;

  transition: color 0.2s ease;

}



.footer-links a:hover {

  color: #ffffff;

}



/* Responsive Design */

@media (max-width: 1024px) {

  .hero-container {

    grid-template-columns: 1fr;

    gap: 3rem;

    text-align: center;

  }

  

  .hero-title {

    font-size: 3rem;

  }

  

  .section-title {

    font-size: 2.5rem;

  }

  

  .hero-stats {

    justify-content: center;

  }

  

  .floating-card {

    display: none;

  }

}



@media (max-width: 768px) {

  .nav-menu {

    display: none;

  }

  

  .nav-toggle {

    display: flex;

  }

  
  .nav-logo {
    flex: 1;
    justify-content: center;
  }
  
  .nav-logo .logo {
    margin-right: 10px;
  }
  

  .nav-menu.active {

    display: flex;

    flex-direction: column;

    position: absolute;

    top: 100%;

    left: 0;

    right: 0;

    background: #ffffff;

    border-top: 1px solid #e5e7eb;

    padding: 1rem;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

  }

  

  .hero {

    padding: 6rem 0 4rem;

  }

  

  .hero-title {

    font-size: 2.5rem;

  }

  

  .hero-subtitle {

    font-size: 1.125rem;

  }

  

  .hero-actions {

    flex-direction: column;

    align-items: center;

  }

  

  .hero-stats {

    flex-direction: column;

    gap: 1rem;

  }

  

  .section-title {

    font-size: 2rem;

  }

  

  .section-subtitle {

    font-size: 1.125rem;

  }

  

  .features-grid {

    grid-template-columns: 1fr;

  }

  

  .steps {

    grid-template-columns: 1fr;

  }

  

  .pricing-grid {

    grid-template-columns: 1fr;

  }

  

  .cta h2 {

    font-size: 2rem;

  }

  

  .cta p {

    font-size: 1.125rem;

  }

  

  .cta-actions {

    flex-direction: column;

    align-items: center;

  }

  

  .footer-content {

    grid-template-columns: 1fr;

    gap: 2rem;

    text-align: center;

  }

  

  .footer-bottom {

    flex-direction: column;

    text-align: center;

  }

  

  .nav-logo .logo,

  .footer-logo .logo {

    width: 140px;
    height: 140px;
  }

  

  .logo-text {

    font-size: 1.5rem;

  }

}



@media (max-width: 480px) {

  .container {

    padding: 0 1rem;

  }

  

  .nav-container {

    padding: 0 1rem;

  }

  

  .hero-container {

    padding: 0 1rem;

  }

  

  .hero-title {

    font-size: 2rem;

  }

  

  .section-title {

    font-size: 1.75rem;

  }

  

  .btn {

    padding: 0.75rem 1.5rem;

    font-size: 0.875rem;

  }

  

  .btn-large {

    padding: 0.875rem 2rem;

    font-size: 1rem;

  }

  

  .nav-logo .logo,

  .footer-logo .logo {

    width: 120px;
    height: 120px;
  }

  

  .logo-text {

    font-size: 1.25rem;

  }

}



/* Demo Button Styling */

.btn-secondary {

  background: #6b7280;

  color: #ffffff;

  border: 1px solid #6b7280;

}



.btn-secondary:hover {

  background: #4b5563;

  border-color: #4b5563;

  color: #ffffff;

}



/* Demo Step Navigation */

.demo-steps {

  display: flex;

  justify-content: center;

  gap: 2rem;

  margin-bottom: 2rem;

}



.step-indicator {

  padding: 0.75rem 1.5rem;

  background: #f3f4f6;

  border-radius: 8px;

  cursor: pointer;

  transition: all 0.3s ease;

  font-weight: 500;

  color: #6b7280;

}



.step-indicator.active {

  background: #667eea;

  color: white;

}



.step-indicator:hover {

  background: #5a67d8;

  color: white;

}



/* Demo Modal Animation Styles */

.demo-animation-container {

  text-align: center;

  padding: 1rem 0;
  width: 100%;
  margin: 0 auto;

}



/* Override Bootstrap modal width */

#demoModal .modal-dialog {

  max-width: 500px;
  width: 600px;
}

/* Make modal wider on large screens */
@media (min-width: 1200px) {
  #demoModal .modal-dialog {
    max-width: 800px;
    width: 900px;
  }
  
  /* Improve workflow layout on large screens */
  .spreadsheets {
    left: 120px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  
  .data-flow {
    width: 200px !important;
    left: 200px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-left: 100px !important;
    height: 2px !important;
    background: linear-gradient(90deg, #667eea, #667eea) !important;
  }
  
  #step1 .data-flow {
    width: 200px !important;
    left: 200px !important;
    margin-left: 100px !important;
    height: 2px !important;
    background: linear-gradient(90deg, #667eea, #667eea) !important;
  }
  
  #step2 .data-flow {
    width: 200px !important; /* 5x wider than step 1 */
    left: 200px !important;
    margin-left: 100px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: 2px !important;
    background: linear-gradient(90deg, #667eea, #667eea) !important;
    position: absolute !important;
    display: block !important;
    opacity: 1 !important;
  }
  
  /* Override older conflicting rules */
  .spreadsheet-animation .data-flow {
    width: 200px !important;
    height: 2px !important;
    background: linear-gradient(90deg, #667eea, #667eea) !important;
  }
  
  .project-work-animation .data-flow {
    width: 200px !important; /* match step 2 override */
    height: 2px !important;
    background: linear-gradient(90deg, #667eea, #667eea) !important;
  }
  
  .central-platform {
    right: 20px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  
  #step1 .central-platform {
    right: 20px !important;
    left: auto !important;
  }
  
  #step2 .central-platform {
    right: 20px !important;
    left: auto !important;
  }
  
  /* Adjust user project selection for better flow */
  .user-project-selection {
    right: 20px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  
  #step2 .user-project-selection {
    right: 20px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-top: 100px !important;
  }
}

/* Demo text margin for large screens */
@media (min-width: 1200px) {
  .demo-text {
    margin-top: 100px !important;
  }
  
  .spreadsheets {
    top: 0px !important;
  }
}

/* Mobile modal optimization */
@media (max-width: 360px) {
  #demoModal .modal-dialog {
    max-width: 95vw;
    width: 95vw;
    margin: 0.5rem auto;
  }
  
  .demo-animation-container {
    width: 100%;
    padding: 1rem 0;
  }
  
  .demo-steps {
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .step-indicator {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    text-align: center;
  }
  
  .spreadsheet-animation {
    height: 300px;
    margin-bottom: 1rem;
  }
  
  .spreadsheets {
    position: static;
    transform: none;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  #step1 .spreadsheets {
    left: auto;
  }
  
  .spreadsheet {
    width: 150px;
    padding: 0.75rem;
  }
  
  .sheet-header {
    font-size: 0.75rem;
  }
  
  .sheet-content {
    font-size: 0.625rem;
  }
  
  .data-flow {
    display: block !important;
    position: absolute;
    left: 45%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 5px !important;
    height: 2px;
  }
  
  /* Additional mobile specificity for data-flow */
  .spreadsheet-animation .data-flow {
    width: 5px !important;
  }
  
  #step1 .data-flow {
    width: 5px !important;
  }
  
  /* Additional mobile specificity for data-flow */
  .spreadsheet-animation .data-flow {
    width: 5px !important;
  }
  
  #step1 .data-flow {
    width: 5px !important;
  }
  
  .central-platform {
    position: static;
    transform: none;
    width: 85%;
    margin-top: 1rem;
    padding: 0.7rem;
    left: 160px;
  }
  
  #step1 .central-platform {
    left: 180px !important;
    right: auto;
  }
  
  .platform-header {
    font-size: 1rem;
  }
  
  .data-item {
    font-size: 0.75rem;
    padding: 0.375rem;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    line-height: 1.2;
  }
  
  .project-work-animation {
    height: 250px;
    padding: 1rem;
  }
  
  .central-platform-start {
    position: static;
    transform: none;
    width: 100%;
    padding: 1rem;
  }
  
  .user-project-selection {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    margin-top: 1rem;
  }
  
  .user-info-row {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .user-avatar {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .selected-project,
  .selected-project-secondary,
  .selected-project-tertiary {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
  }
  
  .project-output-label {
    font-size: 0.75rem;
    margin: 0.25rem 0;
  }
  
  .demo-text {
    margin-top: 200px !important;
  }
  
  .spreadsheet-animation .spreadsheets {
    top: 0px !important;
    left: 0px !important;
  }
  
  /* Step 2 mobile layout - use same central-platform class but positioned on left */
  #step2 .central-platform {
    left: 0px !important;
    width: 85%;
  }
  
  #step2 .spreadsheet {
    width: 150px;
  }
  
  #step2 .data-flow {
    width: 5px !important;
    left: 45%;
  }
  
  .user-project-selection {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    margin-top: 1rem;
    width: 50%;
    max-width: 150px;
  }
  
  /* Force text wrapping for all user-project-selection elements on mobile */
  .user-project-selection * {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
  
  .user-project-selection .user-info-row,
  .user-project-selection .project-output-label,
  .user-project-selection .selected-project,
  .user-project-selection .selected-project-secondary,
  .user-project-selection .selected-project-tertiary {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
  
  /* Additional mobile specificity for user-project-selection text wrapping */
  #step2 .user-project-selection .user-info-row,
  #step2 .user-project-selection .project-output-label,
  #step2 .user-project-selection .selected-project,
  #step2 .user-project-selection .selected-project-secondary,
  #step2 .user-project-selection .selected-project-tertiary {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
  
  /* Force text wrapping for all user-project-selection elements on mobile */
  .user-project-selection * {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
  
  /* Additional aggressive text wrapping rules */
  .user-project-selection {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }
  
  .user-project-selection div {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    width: auto !important;
  }
  
  /* Very specific targeting for text elements that should wrap */
  .user-project-selection .selected-project,
  .user-project-selection .selected-project-secondary,
  .user-project-selection .selected-project-tertiary,
  .user-project-selection .project-output-label,
  .user-project-selection .user-label {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    width: auto !important;
    display: block !important;
  }
  
  .user-info-row {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .user-avatar {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .selected-project,
  .selected-project-secondary,
  .selected-project-tertiary {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Additional mobile specificity for user-project-selection text wrapping */
  .user-project-selection .user-info-row,
  .user-project-selection .project-output-label,
  .user-project-selection .selected-project,
  .user-project-selection .selected-project-secondary,
  .user-project-selection .selected-project-tertiary {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
  
  /* Force text wrapping for all user-project-selection elements on mobile */
  .user-project-selection * {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
  
  .project-output-label {
    font-size: 0.75rem;
    margin: 0.25rem 0;
  }
}

@media (max-width: 480px) {
  #demoModal .modal-dialog {
    max-width: 98vw;
    width: 98vw;
    margin: 0.25rem auto;
  }
  
  .demo-animation-container {
    padding: 0.5rem 0;
  }
  
  .spreadsheet-animation {
    height: 250px;
  }
  
  .spreadsheet {
    width: 120px;
    padding: 0.5rem;
  }
  
  .sheet-header {
    font-size: 0.625rem;
  }
  
  .sheet-content {
    font-size: 0.5rem;
  }
  
  .data-flow {
    width: 5px !important;
  }
  
  #step2 .spreadsheet {
    width: 120px;
  }
  
  #step2 .central-platform {
    width: 85%;
  }
  
  .central-platform {
    padding: 0.75rem;
  }
  
  .platform-header {
    font-size: 0.875rem;
  }
  
  .data-item {
    font-size: 0.625rem;
    padding: 0.25rem;
  }
  
  .project-work-animation {
    height: 200px;
    padding: 0.75rem;
  }
  
  .central-platform-start {
    padding: 0.75rem;
  }
  
  .user-avatar {
    width: 35px;
    height: 35px;
    font-size: 1.25rem;
  }
  
  .selected-project,
  .selected-project-secondary,
  .selected-project-tertiary {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
  
  .project-output-label {
    font-size: 0.625rem;
  }
  
  /* Additional mobile specificity for user-project-selection text wrapping */
  .user-project-selection .user-info-row,
  .user-project-selection .project-output-label,
  .user-project-selection .selected-project,
  .user-project-selection .selected-project-secondary,
  .user-project-selection .selected-project-tertiary {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
  
  /* Force text wrapping for all user-project-selection elements on mobile */
  .user-project-selection * {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
  
  .demo-text {
    margin-top: 200px !important;
  }
  
  .spreadsheet-animation .spreadsheets {
    top: 0px !important;
    left: 0px !important;
  }
}

/* Extra small mobile devices (320px and below) */
@media (max-width: 320px) {
  #demoModal .modal-dialog {
    max-width: 100vw;
    width: 100vw;
    margin: 0;
    height: 100vh;
  }
  
  #demoModal .modal-content {
    height: 100vh;
    border-radius: 0;
  }
  
  #demoModal .modal-header {
    padding: 0.75rem 1rem;
  }
  
  #demoModal .modal-body {
    padding: 0.5rem;
    overflow-y: auto;
    flex: 1;
  }
  
  #demoModal .modal-footer {
    padding: 0.75rem 1rem;
  }
  
  .demo-animation-container {
    padding: 0.25rem 0;
  }
  
  .demo-steps {
    gap: 0.25rem;
    margin-bottom: 0.75rem;
  }
  
  .step-indicator {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
  }
  
  .spreadsheet-animation {
    height: 200px;
    margin-bottom: 0.75rem;
  }
  
  .spreadsheet {
    width: 100px;
    padding: 0.375rem;
  }
  
  .data-flow {
    width: 5px !important;
  }
  
  #step2 .spreadsheet {
    width: 100px;
  }
  
  #step2 .central-platform {
    width: 85%;
  }
  
  .sheet-header {
    font-size: 0.5rem;
  }
  
  .sheet-content {
    font-size: 0.375rem;
  }
  
  .central-platform {
    padding: 0.5rem;
  }
  
  .platform-header {
    font-size: 0.75rem;
  }
  
  .data-item {
    font-size: 0.5rem;
    padding: 0.125rem;
  }
  
  .project-work-animation {
    height: 150px;
    padding: 0.5rem;
  }
  
  .central-platform-start {
    padding: 0.5rem;
  }
  
  .user-avatar {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  
  .selected-project,
  .selected-project-secondary,
  .selected-project-tertiary {
    font-size: 0.625rem;
    padding: 0.125rem 0.375rem;
  }
  
  .project-output-label {
    font-size: 0.5rem;
  }
  
  .demo-text h4 {
    font-size: 1rem;
    padding-top: 100px !important;
  }
  
  .demo-text p {
    font-size: 0.75rem;
  }
  
  .demo-text {
    margin-top: 200px !important;
  }
  
  .spreadsheet-animation .spreadsheets {
    top:  0px !important;
    left: 0px !important;
  }
}



.spreadsheet-animation {

  position: relative;

  height: 250px;
  margin-bottom: 1rem;
}

#step1.spreadsheet-animation {
  top: 200px !important;
}



.spreadsheets {

  position: absolute;

  left: 0;

  top: 50%;

  transform: translateY(-50%);

  display: flex;

  flex-direction: column;

  gap: 0.5rem;
}



/* Step 1 specific spreadsheets positioning */

/* #step1 .spreadsheets {
  left: 10px;
} */


.spreadsheet {

  background: #f8f9fa;

  border: 2px solid #dee2e6;

  border-radius: 8px;

  padding: 0.75rem;
  width: 140px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

  opacity: 0;

  animation: fadeInSpreadsheet 0.5s ease-in forwards;

}



.spreadsheet:nth-child(1) { animation-delay: 0.2s; }

.spreadsheet:nth-child(2) { animation-delay: 0.4s; }

.spreadsheet:nth-child(3) { animation-delay: 0.6s; }



.sheet-header {

  font-weight: 600;

  color: #495057;

  margin-bottom: 0.5rem;

  font-size: 0.75rem;
}



.sheet-content {

  font-size: 0.625rem;
  color: #6c757d;

}



.data-row {

  margin-bottom: 0.25rem;

}



.data-flow {

  position: absolute;

  left: 150px !important;
  top: 0px !important;
  transform: translate(-50%, -50%);

  width: 10px !important;
  height: 2px;

}



/* Step 2 specific data-flow positioning */

#step2 .data-flow {

  left: 200px;
  top: calc(50% - 60px);

}


/* Step 2 specific central-platform positioning - move down to prevent overlap */
#step2 .central-platform {
  top: 100px !important;
  width: 150px;
  left: 0px !important;
}

/* Step 2 specific spreadsheet sizes - same as Step 1 */
#step2 .spreadsheet {
  width: 140px;
}

/* Step 2 specific data-flow - same as Step 1 */
#step2 .data-flow {
  left: 150px !important;
  width: 10px !important;
}

/* Step 2 user-project-selection width */
#step2 .user-project-selection {
  width: 140px !important;
  max-width: 140px !important;
}

/* User project selection positioning */
.user-project-selection {
  top: 0px !important;
}

/* Data flow positioning */
.data-flow {
  margin-left: 10px !important;
  margin-top: 20px !important;
}

/* Central platform positioning */
.central-platform {
  margin-top: 10px !important;
}


.flow-line {

  width: 100%;

  height: 2px;

  background: linear-gradient(90deg, #667eea, #667eea);

  position: relative;

}



.flow-particles {

  position: absolute;

  top: -4px;

  width: 100%;

}



.particle {

  width: 8px;

  height: 8px;

  background: #667eea;

  border-radius: 50%;

  position: absolute;

  left: 0;

  opacity: 0;

  animation: flowParticle 2s ease-in-out infinite;

}



.particle:nth-child(1) { animation-delay: 0.8s; }

.particle:nth-child(2) { animation-delay: 1.2s; }

.particle:nth-child(3) { animation-delay: 1.6s; }



.central-platform {

  position: absolute;

  right: 10px;
  top: 0px !important;
  transform: translateY(-50%);

  background: linear-gradient(135deg, #667eea, #764ba2);

  color: white;

  border-radius: 12px;

  padding: 1rem;
  width: 150px;
  opacity: 0;

  animation: fadeInPlatform 0.5s ease-in forwards;

  animation-delay: 1.8s;

}



/* Step 1 specific central-platform positioning */

#step1 .central-platform {

  left: 180px;
  right: auto;

}



.platform-header {

  font-weight: 700;

  font-size: 0.9rem;
  margin-bottom: 1rem;

  text-align: left;
}



.platform-content {

  text-align: left;

}



.unified-data {

  opacity: 0;

  animation: fadeInData 0.5s ease-in forwards;

  animation-delay: 2.2s;

}



.data-item {

  background: rgba(255, 255, 255, 0.1);

  padding: 0.5rem;

  margin-bottom: 0.5rem;

  border-radius: 6px;

  font-size: 0.875rem;

}



.demo-text {

  margin-top: 2rem;

}



.demo-text h4 {

  color: #111827;

  margin-bottom: 1rem;

  padding-top: 100px !important;
}



.demo-text p {

  color: #6b7280;

  line-height: 1.6;

}



@keyframes fadeInSpreadsheet {

  from {

    opacity: 0;

    transform: translateX(-20px);

  }

  to {

    opacity: 1;

    transform: translateX(0);

  }

}



@keyframes flowParticle {

  0% {

    opacity: 0;

    left: 0;

  }

  50% {

    opacity: 1;

  }

  100% {

    opacity: 0;

    left: 100%;

  }

}



@keyframes fadeInPlatform {

  from {

    opacity: 0;

    transform: translateY(-50%) translateX(20px);

  }

  to {

    opacity: 1;

    transform: translateY(-50%) translateX(0);

  }

}



@keyframes fadeInData {

  from {

    opacity: 0;

  }

  to {

    opacity: 1;

  }

}



@keyframes fadeInPlatformStart {

  from {

    opacity: 0;

    transform: translateY(-50%) translateX(20px);

  }

  to {

    opacity: 1;

    transform: translateY(-50%) translateX(0);

  }

}



@keyframes fadeInDataStart {

  from {

    opacity: 0;

  }

  to {

    opacity: 1;

  }

}



@keyframes fadeInUserSelection {

  from {

    opacity: 0;

    transform: translateX(-50%) translateY(-10px);

  }

  to {

    opacity: 1;

    transform: translateX(-50%) translateY(0);

  }

}



/* Step 2: Project Work Interface */

.central-platform-start {

  position: absolute;

  left: 0px;

  top: calc(50% - 60px);

  transform: translateY(-50%);

  background: linear-gradient(135deg, #667eea, #764ba2);

  color: white;

  border-radius: 16px;

  padding: 1rem;
  width: 180px;
  opacity: 0;

  animation: fadeInPlatformStart 0.5s ease-in forwards;

  animation-delay: 0.2s;

}



.unified-data-start {

  opacity: 0;

  animation: fadeInDataStart 0.5s ease-in forwards;

  animation-delay: 0.6s;

}



.data-item-start {

  background: rgba(255, 255, 255, 0.1);

  padding: 0.5rem;

  margin-bottom: 0.5rem;

  border-radius: 6px;

  font-size: 0.875rem;

  position: relative;

}



.user-selection {

  position: absolute;

  right: 3rem;

  top: 50%;

  transform: translateY(-50%);

  display: flex;

  align-items: center;

  gap: 1.5rem;

  opacity: 0;

  animation: fadeInUserSelection 0.5s ease-in forwards;

  animation-delay: 1.2s;

}



.user-project-selection {

  position: absolute;

  left: 270px !important;
  top: calc(25% - 60px);

  transform: translateY(-50%);

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 1rem;
  opacity: 0;

  animation: fadeInUserSelection 0.5s ease-in forwards;

  animation-delay: 1.2s;

}



.user-info-row {

  display: flex;

  align-items: center;

  gap: 1rem;

  margin-bottom: 0;

}



.user-avatar {

  font-size: 2rem;

  background: #667eea;

  color: white;

  width: 60px;

  height: 60px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

}



.user-label {

  font-weight: 600;

  color: #111827;

  font-size: 1.125rem;

}



.selection-arrow {

  font-size: 1.5rem;

  color: #667eea;

  font-weight: bold;

  margin: 0 0.5rem;

}



.project-output-label {

  font-size: 0.875rem;

  color: #374151;

  font-weight: 600;

  text-align: center;

  margin: 0.5rem 0;

  padding: 0.5rem;

  background: #f9fafb;

  border-radius: 8px;

  border: 1px dashed #d1d5db;

}



.selected-project {

  background: #667eea;

  color: white;

  padding: 0.5rem 1rem;

  border-radius: 20px;

  font-weight: 600;

  font-size: 1rem;

}



.selected-project-secondary {

  background: #667eea;

  color: white;

  padding: 0.5rem 1rem;

  border-radius: 20px;

  font-weight: 600;

  font-size: 1rem;

  margin-top: 0;

}



.selected-project-tertiary {

  background: #667eea;

  color: white;

  padding: 0.5rem 1rem;

  border-radius: 20px;

  font-weight: 600;

  font-size: 1rem;

  margin-top: 0;

}



.user-indicator {

  background: #f0f9ff;

  color: #0369a1;

  padding: 0.5rem 1rem;

  border-radius: 20px;

  font-size: 0.875rem;

  font-weight: 500;

  margin-top: 0.5rem;

  display: inline-block;

}



.simple-interface {

  text-align: center;

  padding: 2rem;

}



.contact-email {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding-top: 7px;

  padding-bottom: 7px;

  padding-left: 2rem;

  padding-right: 2rem;

  border-radius: 8px;

  background: #667eea;

  color: white;

  font-weight: 600;

  font-size: 1rem;

  border: 1px solid #667eea;

  user-select: text;

  cursor: text;

}



.interface-message {

  font-size: 1.125rem;

  color: #374151;

  font-weight: 500;

}

.project-work-animation {

  position: relative;

  height: 250px;
  width: 100%;

  max-width: 100%;
  margin: 0 auto 1rem auto;
  background: #ffffff;

  border-radius: 12px;

  padding: 1rem;
  
}



/* Flow line from Project Profile to User Selection */

.project-to-user-flow {

  position: absolute;

  left: 320px;

  top: 50%;

  transform: translateY(-50%);

  width: 100px;

  height: 2px;

  background: linear-gradient(90deg, #667eea, #667eea);

  z-index: 5;

}



.project-to-user-flow::after {

  content: '→';

  position: absolute;

  right: -1rem;

  top: 50%;

  transform: translateY(-50%);

  color: #667eea;

  font-size: 1.5rem;

  font-weight: bold;

}



.active-project-label {

  position: absolute;

  top: 1rem;

  right: 8rem;

  background: #10b981;

  color: white;

  padding: 0.5rem 1rem;

  border-radius: 20px;

  font-size: 0.875rem;

  font-weight: 600;

  z-index: 10;

}



.active-project-label::after {

  content: '';

  position: absolute;

  top: 50%;

  right: -2rem;

  width: 2rem;

  height: 1px;

  background: #d1d5db;

  transform: translateY(-50%);

}



.project-user-avatar {

  position: absolute;

  right: -0.25rem;

  top: 50%;

  transform: translateY(-50%);

  background: #667eea;

  color: white;

  width: 20px;

  height: 20px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 0.75rem;

}



.project-header {

  text-align: center;

  margin-bottom: 2rem;

  padding-bottom: 1rem;

  border-bottom: 2px solid #e5e7eb;

}



.project-title {

  font-size: 1.5rem;

  font-weight: 700;

  color: #111827;

  margin-bottom: 0.5rem;

}



.project-status {

  background: #10b981;

  color: white;

  padding: 0.25rem 1rem;

  border-radius: 20px;

  font-size: 0.875rem;

  font-weight: 500;

  display: inline-block;

}



.interface-section {

  margin-bottom: 2rem;

}



.section-title {

  font-weight: 600;

  color: #374151;

  margin-bottom: 1rem;

  font-size: 1.125rem;

}



.data-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 1rem;

  margin-bottom: 1.5rem;

}



.data-card {

  background: #f9fafb;

  padding: 1rem;

  border-radius: 8px;

  text-align: center;

  border: 1px solid #e5e7eb;

}



.card-label {

  font-size: 0.875rem;

  color: #6b7280;

  margin-bottom: 0.5rem;

}



.card-value {

  font-size: 1.125rem;

  font-weight: 600;

  color: #111827;

}



.activity-list {

  display: flex;

  flex-direction: column;

  gap: 0.75rem;

}



.activity-item {

  display: flex;

  align-items: center;

  gap: 0.75rem;

  padding: 0.75rem;

  background: #f9fafb;

  border-radius: 8px;

  border: 1px solid #e5e7eb;

}



.activity-icon {

  font-size: 1.25rem;

}



.activity-text {

  flex: 1;

  font-weight: 500;

  color: #374151;

}



.activity-time {

  font-size: 0.875rem;

  color: #6b7280;

}

/* Final large-screen overrides (must come after legacy rules) */
@media (min-width: 1200px) {
  /* Force Step 2 flow line to be five times wider on desktops */
  #step2 .data-flow {
    width: 200px !important;
    height: 2px !important;
    left: 200px !important;
    margin-left: 100px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  /* Ensure Step 2 flow visuals match Step 1 */
  #step2 .flow-line {
    width: 100% !important;
    height: 2px !important;
    background: linear-gradient(90deg, #667eea, #667eea) !important;
    position: relative !important;
    display: block !important;
  }
  #step2 .flow-particles {
    position: absolute !important;
    top: -4px !important;
    width: 100% !important;
  }
}

@media (min-width: 1200px) {
  #step2 .central-platform {
    left: auto !important;
    right: 550px !important;
  }
}

