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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
}

/* Header Styles */
.page-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo h1 {
  color: #4CAF50;
  font-size: 1.8rem;
  margin: 0;
  font-weight: 700;
}

.logo span {
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #4CAF50;
}

/* Footer Styles */
.page-footer {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  margin-top: auto;
  padding: 40px 0 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.footer-section h3 {
  color: #4CAF50;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.footer-section h4 {
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.footer-section p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #4CAF50;
}

.footer-bottom {
  border-top: 1px solid #e1e5e9;
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: #999;
  font-size: 0.9rem;
  margin: 0;
}

.chatbot-container {
  width: 100%;
  max-width: 500px;
  height: 600px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 40px auto;
}

.chatbot-header {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.header-info h2 {
  margin-bottom: 5px;
  font-size: 1.3rem;
}

.header-info p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: #f8f9fa;
}

.message {
  margin-bottom: 15px;
  animation: fadeIn 0.3s ease-in;
}

.message.bot {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.message.user {
  display: flex;
  justify-content: flex-end;
}

.message-content {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 18px;
  line-height: 1.4;
}

.message.bot .message-content {
  background: white;
  border: 1px solid #e1e5e9;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.message.user .message-content {
  background: #4CAF50;
  color: white;
}

.bot-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #4CAF50;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 5px;
  overflow: hidden;
}

.bot-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.input-container {
  padding: 20px;
  background: white;
  border-top: 1px solid #e1e5e9;
  display: flex;
  gap: 10px;
}

#userInput {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 25px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

#userInput:focus:not(:disabled) {
  border-color: #4CAF50;
}

#userInput:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

#sendButton {
  padding: 12px 24px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

#sendButton:hover:not(:disabled) {
  background: #45a049;
}

#sendButton:disabled {
  background: #cccccc;
  cursor: not-allowed;
}

.typing-indicator {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #666;
  font-style: italic;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4CAF50;
  animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

.response-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.response-button {
  padding: 8px 16px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.response-button:hover {
  background: #4CAF50;
  color: white;
  border-color: #4CAF50;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes typing {
  0%, 60%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-10px);
  }
}

/* Page Content Styles */
.page-content {
  flex: 1;
  padding: 60px 0;
}

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

.hero-section {
  text-align: center;
  margin-bottom: 60px;
}

.hero-section h1 {
  color: #333;
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-section p {
  color: #666;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Page Styles */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.service-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-card h3 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.service-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.service-card ul li {
  color: #555;
  padding: 5px 0;
  border-bottom: 1px solid #f0f0f0;
}

.service-card ul li:before {
  content: "✓ ";
  color: #4CAF50;
  font-weight: bold;
}

.cta-section {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
  padding: 50px;
  border-radius: 20px;
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background: white;
  color: #4CAF50;
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.contact-info h2 {
  color: #333;
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

.contact-details h3 {
  color: #333;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.contact-details p {
  color: #666;
  line-height: 1.5;
  margin-bottom: 5px;
}

.contact-form-section h2 {
  color: #333;
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.contact-form {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
  display: block;
  color: #333;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4CAF50;
}

.submit-button {
  background: #4CAF50;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
}

.submit-button:hover {
  background: #45a049;
}

.faq-section {
  margin-top: 60px;
}

.faq-section h2 {
  color: #333;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.faq-item {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.faq-item p {
  color: #666;
  line-height: 1.6;
}

/* Responsive Design - Mobile First Approach */

/* Extra small devices (phones, 320px and up) */
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .header-content {
    flex-direction: column;
    gap: 10px;
    padding: 0 10px;
    text-align: center;
  }

  .logo h1 {
    font-size: 1.5rem;
  }

  .logo span {
    font-size: 0.8rem;
  }

  .nav-links {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    font-size: 0.85rem;
    padding: 5px 10px;
  }

  .chatbot-container {
    height: 85vh;
    margin: 10px;
    border-radius: 10px;
    max-width: calc(100vw - 20px);
  }

  .chatbot-header {
    padding: 15px;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .avatar {
    width: 50px;
    height: 50px;
  }

  .header-info h2 {
    font-size: 1.1rem;
  }

  .header-info p {
    font-size: 0.8rem;
  }

  .chat-messages {
    padding: 10px;
  }

  .message-content {
    max-width: 90%;
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .input-container {
    padding: 10px;
    gap: 8px;
  }

  #userInput {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  #sendButton {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .response-buttons {
    gap: 6px;
  }

  .response-button {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .container {
    padding: 0 10px;
  }

  .hero-section {
    margin-bottom: 30px;
  }

  .hero-section h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
    text-align: center;
  }

  .footer-section h3 {
    font-size: 1.2rem;
  }

  .footer-section h4 {
    font-size: 1rem;
  }

  .page-footer {
    padding: 30px 0 15px;
  }

  /* Legal pages mobile optimization */
  .legal-section {
    padding: 20px 15px;
    margin-bottom: 20px;
  }

  .legal-section h2 {
    font-size: 1.2rem;
  }

  .legal-section h3 {
    font-size: 1.1rem;
  }

  /* Thanks page mobile optimization */
  .confirmation-hero {
    padding: 20px 0;
  }

  .success-icon {
    font-size: 2.5rem;
  }

  .advisor-section {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .advisor-avatar {
    width: 60px;
    height: 60px;
  }

  .message-card {
    padding: 20px 15px;
  }

  .offers-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .offer-card {
    padding: 20px 15px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left;
    padding-left: 60px;
    padding-right: 10px;
  }

  .timeline-marker {
    left: -10px !important;
    right: auto !important;
    width: 40px;
    height: 40px;
  }

  .step-number {
    font-size: 1rem;
  }

  /* Consent banner mobile */
  .consent-banner {
    padding: 15px 10px;
  }

  .consent-content {
    flex-direction: column;
    gap: 15px;
  }

  .consent-text h4 {
    font-size: 1rem;
  }

  .consent-text p {
    font-size: 0.9rem;
  }

  .consent-actions {
    width: 100%;
    justify-content: center;
  }

  .consent-btn {
    flex: 1;
    min-width: auto;
    font-size: 0.8rem;
    padding: 10px 15px;
  }

  .consent-modal {
    padding: 5px;
  }

  .consent-modal-header,
  .consent-modal-body,
  .consent-modal-footer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Small devices (landscape phones, 481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .nav-links {
    gap: 20px;
  }

  .chatbot-container {
    height: 75vh;
    margin: 20px;
    border-radius: 15px;
  }

  .chat-messages {
    padding: 15px;
  }

  .input-container {
    padding: 15px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    text-align: center;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form {
    padding: 20px;
  }

  .cta-section {
    padding: 30px 20px;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Thanks page tablet optimization */
  .offers-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-alternatives {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .guarantees-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonials-section {
    margin-left: -10px;
    margin-right: -10px;
    padding: 40px 0;
  }
}

/* Medium devices (tablets, 769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .chatbot-container {
    max-width: 600px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }

  .offers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .guarantees-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

/* Large devices (desktops, 1025px to 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
  .container {
    max-width: 1000px;
  }

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

  .offers-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .guarantees-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

/* Extra large devices (large desktops, 1441px and up) */
@media (min-width: 1441px) {
  .container {
    max-width: 1200px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .offers-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .guarantees-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile First Global Styles */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  touch-action: manipulation;
}

img {
  max-width: 100%;
  height: auto;
}

/* Prevent zoom on input focus in iOS */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
  font-size: 16px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Touch target improvements */
button,
.response-button,
.consent-btn,
a {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Improved focus states for accessibility */
button:focus,
input:focus,
a:focus {
  outline: 2px solid #4CAF50;
  outline-offset: 2px;
}

/* Consent Management Styles */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  padding: 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  transition: opacity 0.3s ease;
}

.consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.consent-text {
  flex: 1;
  min-width: 300px;
}

.consent-text h4 {
  margin: 0 0 10px 0;
  color: #4CAF50;
  font-size: 1.2rem;
}

.consent-text p {
  margin: 0 0 10px 0;
  line-height: 1.5;
  color: #ecf0f1;
}

.consent-links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.consent-links a {
  color: #4CAF50;
  text-decoration: underline;
  font-size: 0.9rem;
}

.consent-links a:hover {
  color: #66BB6A;
}

.consent-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.consent-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  min-width: 120px;
}

.consent-btn.accept {
  background: #4CAF50;
  color: white;
}

.consent-btn.accept:hover {
  background: #45a049;
  transform: translateY(-2px);
}

.consent-btn.reject {
  background: transparent;
  color: #ecf0f1;
  border: 2px solid #ecf0f1;
}

.consent-btn.reject:hover {
  background: #ecf0f1;
  color: #2c3e50;
}

.consent-btn.customize {
  background: transparent;
  color: #4CAF50;
  border: 2px solid #4CAF50;
}

.consent-btn.customize:hover {
  background: #4CAF50;
  color: white;
}

/* Modal de personnalisation */
.consent-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  padding: 20px;
}

.consent-modal-content {
  background: white;
  border-radius: 15px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.consent-modal-header {
  padding: 25px 30px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.consent-modal-header h3 {
  margin: 0;
  color: #333;
  font-size: 1.4rem;
}

.close-modal {
  background: none;
  border: none;
  font-size: 2rem;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.consent-modal-body {
  padding: 20px 30px;
}

.cookie-category {
  margin-bottom: 25px;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fafafa;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cookie-category-header h4 {
  margin: 0;
  color: #333;
  font-size: 1.1rem;
}

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

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

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

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: #4CAF50;
}

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

input:disabled + .toggle-slider {
  background-color: #4CAF50;
  opacity: 0.6;
  cursor: not-allowed;
}

.consent-modal-footer {
  padding: 20px 30px 25px;
  border-top: 1px solid #eee;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .consent-content {
    flex-direction: column;
    gap: 20px;
  }
  
  .consent-actions {
    width: 100%;
    justify-content: center;
  }
  
  .consent-btn {
    flex: 1;
    min-width: auto;
  }
  
  .consent-modal {
    padding: 10px;
  }
  
  .consent-modal-content {
    margin: 0;
  }
  
  .consent-modal-header,
  .consent-modal-body,
  .consent-modal-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Legal Pages Styles */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  background: white;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.legal-section h2 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 20px;
  border-bottom: 2px solid #4CAF50;
  padding-bottom: 10px;
}

.legal-section h3 {
  color: #555;
  font-size: 1.2rem;
  margin-top: 25px;
  margin-bottom: 15px;
}

.legal-section h4 {
  color: #666;
  font-size: 1.1rem;
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-section p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.intro-text {
  font-style: italic;
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.legal-list {
  list-style: none;
  padding-left: 0;
}

.legal-list li {
  color: #555;
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}

.legal-list li:before {
  content: "•";
  color: #4CAF50;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 8px;
}

.info-box {
  background: #f8f9fa;
  border-left: 4px solid #4CAF50;
  padding: 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}

.cookie-category {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin: 15px 0;
}

.browser-settings {
  background: #e8f5e8;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

@media (max-width: 768px) {
  .legal-content {
    margin: 0 20px;
  }

  .legal-section {
    padding: 20px;
  }

  .legal-section h2 {
    font-size: 1.3rem;
  }
}

/* Thanks Page Styles */
.confirmation-hero {
  text-align: center;
  padding: 40px 0;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: bounce 1s ease-in-out;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-top: 10px;
}

/* Section advisor message */
.advisor-message {
  margin-bottom: 60px;
}

.message-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #4CAF50;
}

.advisor-section {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.advisor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid #4CAF50;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.advisor-info h3 {
  color: #333;
  margin-bottom: 5px;
  font-size: 1.5rem;
}

.advisor-info p {
  color: #4CAF50;
  margin: 0;
  font-weight: 500;
}

.message-content h2 {
  color: #333;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.message-content p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Timeline styles */
.timeline-section {
  margin-bottom: 60px;
}

.timeline-section h2 {
  text-align: center;
  color: #333;
  font-size: 2rem;
  margin-bottom: 40px;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #4CAF50, #e0e0e0);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px;
  margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-marker {
  position: absolute;
  top: 20px;
  width: 60px;
  height: 60px;
  background: white;
  border: 4px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.timeline-item.active .timeline-marker,
.timeline-item.current .timeline-marker {
  border-color: #4CAF50;
  background: #4CAF50;
  color: white;
}

.timeline-item:nth-child(odd) .timeline-marker {
  right: -30px;
}

.timeline-item:nth-child(even) .timeline-marker {
  left: -30px;
}

.step-number {
  font-weight: 700;
  font-size: 1.2rem;
}

.timeline-content {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

.timeline-item.current .timeline-content {
  border-color: #4CAF50;
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.2);
}

.timeline-content h3 {
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.timeline-content p {
  color: #666;
  line-height: 1.5;
  margin-bottom: 15px;
}

.timeline-status {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 600;
}

.timeline-status.completed {
  background: #e8f5e8;
  color: #4CAF50;
}

.timeline-status.pending {
  background: #fff3cd;
  color: #856404;
}

.timeline-status.future {
  background: #f8f9fa;
  color: #6c757d;
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  color: #333;
  font-size: 2rem;
  margin-bottom: 15px;
}

.section-header p {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact urgent */
.urgent-contact {
  margin-bottom: 60px;
}

.contact-card {
  background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
  color: white;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.contact-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-icon {
  font-size: 2rem;
}

.contact-card h3 {
  font-size: 1.8rem;
  margin: 0;
}

.contact-card p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.contact-alternatives {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.contact-option {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  backdrop-filter: blur(10px);
}

.contact-option .icon {
  font-size: 1.5rem;
}

.contact-option strong {
  display: block;
  margin-bottom: 5px;
}

.contact-option a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

/* Guarantees section */
.guarantees-section {
  margin-bottom: 60px;
}

.guarantees-section h2 {
  text-align: center;
  color: #333;
  font-size: 2rem;
  margin-bottom: 40px;
}

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.guarantee-item {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s;
}

.guarantee-item:hover {
  transform: translateY(-5px);
}

.guarantee-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 20px;
}

.guarantee-item h4 {
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.guarantee-item p {
  color: #666;
  line-height: 1.5;
}

/* Testimonials section */
.testimonials-section {
  margin-bottom: 60px;
  background: #f8f9fa;
  padding: 60px 0;
  margin-left: -20px;
  margin-right: -20px;
}

.testimonials-section h2 {
  text-align: center;
  color: #333;
  font-size: 2rem;
  margin-bottom: 40px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.testimonial-item {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  position: relative;
}

.testimonial-item::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: #4CAF50;
  line-height: 1;
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-content p {
  color: #555;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}

.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonial-author strong {
  color: #333;
  font-size: 1rem;
}

.testimonial-author span {
  color: #ffc107;
}

.profile-summary {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 15px;
  margin-top: 20px;
}

.profile-summary h4 {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.profile-details {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.profile-item {
  background: white;
  padding: 8px 15px;
  border-radius: 20px;
  color: #555;
  font-size: 0.9rem;
  border: 1px solid #e0e0e0;
}

.personalized-offers {
  margin-bottom: 60px;
}

.personalized-offers h2 {
  color: #333;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.offer-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s;
}

.offer-card:hover {
  transform: translateY(-5px);
}

.offer-card.recommended {
  border: 3px solid #4CAF50;
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.2);
}

.recommended-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #4CAF50;
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.offer-header {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.offer-header h3 {
  color: #333;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.offer-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #4CAF50;
}

.period {
  color: #666;
  font-size: 1rem;
}

.offer-features {
  margin-bottom: 25px;
}

.offer-features h4 {
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

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

.offer-features li {
  color: #555;
  padding: 6px 0;
  padding-left: 25px;
  position: relative;
}

.offer-features li:before {
  content: "✓";
  color: #4CAF50;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.offer-coverage {
  margin-bottom: 25px;
}

.offer-coverage h4 {
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.coverage-grid {
  display: grid;
  gap: 12px;
}

.coverage-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.coverage-label {
  min-width: 80px;
  color: #666;
  font-size: 0.9rem;
}

.coverage-bar {
  flex: 1;
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}

.coverage-fill {
  height: 100%;
  background: linear-gradient(90deg, #4CAF50, #66bb6a);
  transition: width 0.5s ease;
}

.coverage-value {
  min-width: 35px;
  color: #4CAF50;
  font-weight: 600;
  font-size: 0.9rem;
}

.offer-button {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.offer-button.primary {
  background: #4CAF50;
  color: white;
}

.offer-button.primary:hover {
  background: #45a049;
}

.offer-button.secondary {
  background: #f8f9fa;
  color: #4CAF50;
  border: 2px solid #4CAF50;
}

.offer-button.secondary:hover {
  background: #4CAF50;
  color: white;
}

.next-steps {
  margin-bottom: 60px;
}

.next-steps h2 {
  color: #333;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.step-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: #4CAF50;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step-card h3 {
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.step-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.step-time {
  background: #e8f5e8;
  color: #4CAF50;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-reminder {
  margin-bottom: 60px;
}

.reminder-card {
  background: linear-gradient(135deg, #4CAF50, #66bb6a);
  color: white;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
}

.reminder-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.reminder-card p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.contact-option {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-option .icon {
  font-size: 2rem;
}

.contact-option strong {
  display: block;
  margin-bottom: 5px;
}

.guarantees h2 {
  color: #333;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.guarantee-item {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.guarantee-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 15px;
}

.guarantee-item h4 {
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.guarantee-item p {
  color: #666;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .confirmation-hero {
    padding: 20px 0;
  }

  .success-icon {
    font-size: 3rem;
  }

  .advisor-section {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .message-card {
    padding: 25px;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left;
    padding-left: 80px;
    padding-right: 20px;
  }

  .timeline-marker {
    left: 0 !important;
    right: auto !important;
  }

  .offers-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-alternatives {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .guarantees-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonials-section {
    margin-left: -10px;
    margin-right: -10px;
    padding: 40px 0;
  }

  .profile-details {
    flex-direction: column;
    align-items: center;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .timeline-content h3 {
    font-size: 1.1rem;
  }
}

/* Additional mobile optimizations */
@media (max-width: 768px) {
  /* Improved touch interactions */
  .message {
    margin-bottom: 12px;
  }

  .bot-avatar {
    width: 25px;
    height: 25px;
    font-size: 0.7rem;
  }

  /* Better form styling on mobile */
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 14px 16px;
    border-radius: 10px;
    border: 2px solid #e1e5e9;
  }

  /* Improved contact cards */
  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .contact-icon {
    font-size: 2.5rem;
  }

  /* Better service cards layout */
  .service-card {
    padding: 25px 20px;
  }

  /* Improved timeline for mobile */
  .timeline-content {
    padding: 20px 15px;
  }

  /* Better spacing for offers */
  .offer-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
  }

  .offer-features,
  .offer-coverage {
    margin-bottom: 20px;
  }

  /* Improved modal for mobile */
  .consent-modal-content {
    border-radius: 10px 10px 0 0;
    max-height: 90vh;
  }

  .cookie-category {
    padding: 15px;
    margin-bottom: 15px;
  }

  /* Better legal page readability */
  .legal-list li {
    padding: 10px 0;
    line-height: 1.5;
  }

  /* Improved footer on mobile */
  .footer-section ul li {
    margin-bottom: 10px;
  }

  .footer-section p {
    font-size: 0.9rem;
  }
}

/* Landscape orientation optimizations */
@media (max-height: 500px) and (orientation: landscape) {
  .chatbot-container {
    height: 90vh;
    margin: 5px;
  }

  .chatbot-header {
    padding: 10px 20px;
  }

  .header-info h2 {
    font-size: 1rem;
  }

  .header-info p {
    font-size: 0.8rem;
  }

  .avatar {
    width: 40px;
    height: 40px;
  }
}

/* Print styles */
@media print {
  .chatbot-container,
  .consent-banner,
  .consent-modal,
  .page-header nav,
  button,
  .response-buttons {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .page-content {
    margin: 0 !important;
    padding: 0 !important;
  }
}
}