/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8f5e8 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  text-align: center;
}

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

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #333;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  color: #666;
}

.hero .btn {
  min-width: 200px;
  height: 50px;
  text-align: center;
  display: inline-block;
  line-height: 50px;
  vertical-align: middle;
  padding: 0;
  margin: 0 10px;
}

/* Stats */
.stats {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

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

.stat-icon {
  width: 60px;
  height: 60px;
  background-color: #4CAF50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 2rem;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
}

.stat-label {
  font-size: 1.25rem;
  color: #666;
}

/* AI Demo Section */
.ai-demo {
  padding: 120px 0 4rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.demo-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.demo-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
}

.demo-text p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.demo-text {
  text-align: center;
}

.demo-btn {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  animation: fadeInUp 1s ease-out 0.4s both;
}

.demo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.play-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.demo-btn:hover .play-icon {
  transform: scale(1.2);
}

.demo-visual {
  position: relative;
  text-align: center;
  animation: fadeInUp 1s ease-out 0.6s both;
  order: -1;
}

.ai-icon {
  font-size: 6rem;
  animation: pulse 2s infinite;
}

.floating-elements {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  opacity: 0.7;
}

.float-item {
  font-size: 2rem;
  animation: float 6s ease-in-out infinite;
}

.float-item:nth-child(1) {
  animation-delay: 0s;
}

.float-item:nth-child(2) {
  animation-delay: 2s;
}

.float-item:nth-child(3) {
  animation-delay: 4s;
}

.demo-video {
  margin-top: 2rem;
  position: relative;
  animation: fadeIn 0.5s ease-out;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.demo-video video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.close-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

/* Call to Action */
.cta {
  padding: 4rem 0;
  background-color: #f5f5f5;
}

.cta-paper {
  background-color: rgba(255, 255, 255, 0.8);
  border: 2px solid #4CAF50;
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  transition: transform 0.3s, border-color 0.3s;
}

.cta-paper:hover {
  transform: translateY(-4px);
  border-color: #45a049;
}

.cta h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #333;
}

.cta p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #666;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(5deg);
  }
  50% {
    transform: translateY(-10px) rotate(-5deg);
  }
  75% {
    transform: translateY(-25px) rotate(3deg);
  }
}

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

  .hero p {
    font-size: 1.2rem;
  }

  .hero .btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 10px auto;
  }

  .stats {
    flex-direction: column;
  }

  .stat {
    margin: 1rem 0;
  }

  .demo-content {
    gap: 2rem;
  }

  .demo-text h2 {
    font-size: 2rem;
  }

  .cta .btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 10px auto;
  }

  .demo-video {
    margin: 1rem;
    border-radius: 8px;
  }

  .demo-video video {
    width: 100%;
    height: auto;
  }

  .close-btn {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 16px;
    /* Ensure it's always tappable on mobile */
    min-width: 40px;
    min-height: 40px;
  }
}

/* Cookie Consent Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  padding: 1rem;
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.cookie-text {
  flex: 1;
  min-width: 200px;
}

.cookie-text p {
  margin: 0;
  color: #333;
  font-size: 0.9rem;
  line-height: 1.4;
}

.cookie-link {
  color: #4CAF50;
  text-decoration: none;
  font-weight: 600;
}

.cookie-link:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cookie-buttons .btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  min-width: auto;
  height: auto;
  line-height: normal;
}

/* Cookie Modal Styles */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  padding: 1rem;
}

.cookie-modal-content {
  background: white;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.cookie-modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.close-modal:hover {
  background: #f5f5f5;
}

.cookie-modal-body {
  padding: 1.5rem;
}

.cookie-modal-body p {
  margin-bottom: 1.5rem;
  color: #666;
  line-height: 1.5;
}

.cookie-option {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.cookie-option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.cookie-option-header h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.cookie-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #4CAF50;
}

.cookie-option p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

.cookie-modal-footer {
  display: flex;
  gap: 0.75rem;
  padding: 1.5rem;
  border-top: 1px solid #e0e0e0;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.cookie-modal-footer .btn {
  flex: 0 1 auto;
  min-width: 140px;
  padding: 0.75rem 1.5rem;
  text-align: center;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.cookie-modal-footer .btn-outline {
  background: white;
  color: #666;
  border-color: #ddd;
}

.cookie-modal-footer .btn-outline:hover {
  background: #f8f9fa;
  border-color: #ccc;
}

.cookie-modal-footer .btn-primary {
  background: #4CAF50;
  color: white;
  border-color: #4CAF50;
}

.cookie-modal-footer .btn-primary:hover {
  background: #45a049;
  border-color: #45a049;
  transform: translateY(-1px);
}

.cookie-modal-footer .btn-secondary {
  background: #2196F3;
  color: white;
  border-color: #2196F3;
}

.cookie-modal-footer .btn-secondary:hover {
  background: #1976D2;
  border-color: #1976D2;
  transform: translateY(-1px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .cookie-buttons {
    justify-content: center;
  }

  .cookie-modal-content {
    margin: 1rem;
    max-height: calc(100vh - 2rem);
  }

  .cookie-modal-header,
  .cookie-modal-body,
  .cookie-modal-footer {
    padding: 1rem;
  }

  .cookie-modal-footer {
    flex-direction: column;
    gap: 0.5rem;
  }

  .cookie-modal-footer .btn {
    width: 100%;
    min-width: unset;
    flex: none;
  }
}