:root {
  /* Color scheme with HSL format - Salmon based palette */
  --primary: 17 54% 75%; /* #e1ab9b - Main salmon color */
  --primary-light: 17 54% 95%; /* #faf6f4 - Very light salmon */
  --primary-dark: 17 54% 55%; /* #d18b6f - Darker salmon */
  --secondary: 197 100% 85%; /* #9bcdde - Complementary blue-green */
  --success: 134 61% 41%; /* #28a745 */
  --info: 197 78% 65%; /* #5db3d1 - Complementary blue */
  --warning: 45 100% 51%; /* #ffc107 */
  --danger: 354 70% 54%; /* #dc3545 */  
  --light: 17 25% 98%; /* #fcfbfa */
  --dark: 210 11% 15%; /* #212529 */
  --white: 0 0% 100%; /* #ffffff */
  --background: 17 15% 98%; /* #faf9f8 */
  --text: 210 11% 15%; /* #212529 */
  --text-muted: 210 11% 46%; /* #6c757d */
  --border: 17 15% 85%; /* #ede8e6 */
  --shadow: 210 25% 12%; /* rgba(0, 0, 0, 0.1) */
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: hsl(var(--text));
  background-color: hsl(var(--background));
  padding-top: 76px; /* Account for fixed navbar */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.display-4, .display-5 {
  font-weight: 700;
}

.lead {
  font-size: 1.1rem;
  font-weight: 400;
  color: hsl(var(--text-muted));
}

/* Custom Bootstrap overrides */
:root {
  --bs-primary: hsl(var(--primary));
  --bs-primary-rgb: 225, 171, 155;
  --bs-light: hsl(var(--light));
  --bs-success: hsl(var(--success));
  --bs-info: hsl(var(--info));
  --bs-warning: hsl(var(--warning));
  --bs-danger: hsl(var(--danger));
}

/* Navigation */
.navbar {
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar-logo {
  height: 55px;
  width: auto;
  transition: all 0.3s ease;
}

.navbar-logo:hover {
  transform: scale(1.05);
}

.navbar-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e1ab9b !important;
  text-decoration: none;
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem !important;
}

.nav-link:hover {
  color: hsl(var(--primary)) !important;
}

/* Buttons */
.btn {
  font-weight: 500;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #e1ab9b 0%, #d18b6f 100%);
  border: none;
  box-shadow: 0 4px 12px rgba(225, 171, 155, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d18b6f 0%, #b8775f 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 171, 155, 0.4);
}

.btn-outline-primary {
  border: 2px solid hsl(var(--primary));
  color: hsl(var(--primary));
}

.btn-outline-primary:hover {
  background: hsl(var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px hsla(var(--primary), 0.3);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Hero Section - Dégradé saumon épuré */
.hero-section {
  background: linear-gradient(135deg, #f5e6e1 0%, #ecd4cb 100%);
  position: relative;
  overflow: hidden;
  color: #2d2d2d;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg%3E%3C!-- Capsule 1 --%3E%3Crect x='25' y='35' width='28' height='11' rx='5.5' ry='5.5' transform='rotate(15 39 40.5)' fill='%23e1ab9b' fill-opacity='0.18'/%3E%3Crect x='39' y='35' width='14' height='11' rx='0' ry='0' transform='rotate(15 46 40.5)' fill='%23f5e6e1' fill-opacity='0.3'/%3E%3C!-- Croix 1 --%3E%3Ccircle cx='145' cy='45' r='16' fill='none' stroke='%23e1ab9b' stroke-width='2.5' opacity='0.12'/%3E%3Cpath d='M141 37h8v16h-8zM137 41h16v8h-16z' fill='%23e1ab9b' fill-opacity='0.15'/%3E%3C!-- Capsule 2 --%3E%3Crect x='75' y='85' width='22' height='9' rx='4.5' ry='4.5' transform='rotate(-25 86 89.5)' fill='%23d18b6f' fill-opacity='0.16'/%3E%3Crect x='86' y='85' width='11' height='9' rx='0' ry='0' transform='rotate(-25 91.5 89.5)' fill='%23ecd4cb' fill-opacity='0.28'/%3E%3C!-- Croix 2 --%3E%3Cpath d='M55 115h3v10h-3zM52 118h9v4h-9z' fill='%23e1ab9b' fill-opacity='0.14'/%3E%3C!-- Capsule 3 --%3E%3Crect x='120' y='125' width='24' height='10' rx='5' ry='5' transform='rotate(40 132 130)' fill='%23e1ab9b' fill-opacity='0.13'/%3E%3Crect x='132' y='125' width='12' height='10' rx='0' ry='0' transform='rotate(40 138 130)' fill='%23f5e6e1' fill-opacity='0.25'/%3E%3C!-- Croix 3 --%3E%3Ccircle cx='35' cy='160' r='12' fill='none' stroke='%23d18b6f' stroke-width='2' opacity='0.1'/%3E%3Cpath d='M32 155h6v10h-6zM29 158h12v4h-12z' fill='%23d18b6f' fill-opacity='0.12'/%3E%3C!-- Capsule 4 --%3E%3Crect x='160' y='75' width='18' height='8' rx='4' ry='4' transform='rotate(-10 169 79)' fill='%23e1ab9b' fill-opacity='0.11'/%3E%3Crect x='169' y='75' width='9' height='8' rx='0' ry='0' transform='rotate(-10 173.5 79)' fill='%23f5e6e1' fill-opacity='0.22'/%3E%3C/g%3E%3C/svg%3E");
  background-position: 0 0, 50px 30px, 100px 80px;
  background-size: 200px 200px, 180px 180px, 220px 220px;
  z-index: 1;
  animation: random-medical-flow 25s ease-in-out infinite;
}

@keyframes random-medical-flow {
  0% { 
    background-position: 0 0, 50px 30px, 100px 80px;
    transform: translateX(0) translateY(0);
  }
  25% { 
    background-position: -80px -40px, 70px 10px, 60px 120px;
    transform: translateX(-10px) translateY(5px);
  }
  50% { 
    background-position: -160px -80px, 30px 60px, 140px 40px;
    transform: translateX(-5px) translateY(-8px);
  }
  75% { 
    background-position: -240px -120px, 90px 90px, 20px 160px;
    transform: translateX(-15px) translateY(3px);
  }
  100% { 
    background-position: -320px -160px, 110px 120px, 180px 200px;
    transform: translateX(0) translateY(0);
  }
}

.hero-section h1 {
  color: #2d2d2d;
  position: relative;
  z-index: 2;
}

.hero-section .lead,
.hero-section p {
  background: rgba(255, 255, 255, 0.6);
  color: #2d2d2d;
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 15px rgba(225, 171, 155, 0.1);
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.hero-section .btn {
  background: #e1ab9b;
  border: 1px solid #d18b6f;
  color: white;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(225, 171, 155, 0.2);
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.hero-section .btn:hover {
  background: #d18b6f;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(225, 171, 155, 0.3);
}

.hero-section .btn-outline-primary {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #e1ab9b;
  color: #2d2d2d;
  position: relative;
  z-index: 2;
}

.hero-section .btn-outline-primary:hover {
  background: #e1ab9b;
  color: white;
  border-color: #d18b6f;
}



.hero-illustration {
  position: relative;
  z-index: 3;
}

.hero-section .container {
  position: relative;
  z-index: 3;
}

.hero-section h1,
.hero-section .lead,
.hero-section .btn {
  position: relative;
  z-index: 3;
}

.metric-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.metric-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px hsla(var(--shadow), 0.15);
}

/* Cards */
.card {
  border-radius: 1rem;
  transition: all 0.3s ease;
  border: 1px solid hsl(var(--border));
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px hsla(var(--shadow), 0.15) !important;
}

.feature-card .card-body {
  padding: 2rem;
}

.feature-card-large {
  border: 2px solid hsl(var(--primary));
  background: linear-gradient(145deg, hsl(var(--white)) 0%, hsl(var(--primary-light)) 100%);
}

.feature-card-large:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px hsla(var(--primary), 0.2) !important;
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto;
}

.feature-icon-large {
  width: 90px;
  height: 90px;
  margin: 0 auto;
}

.security-icon {
  width: 50px;
  height: 50px;
}

/* Sections */
section {
  padding: 5rem 0;
}

.bg-light {
  background-color: hsl(var(--light)) !important;
}

/* Forms */
.form-control {
  border-radius: 0.5rem;
  border: 2px solid hsl(var(--border));
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 0.2rem hsla(var(--primary), 0.25);
}

.form-control-lg {
  padding: 1rem 1.25rem;
  font-size: 1.1rem;
}

/* Analytics Container Card */
.analytics-container-card {
  background: rgba(248, 249, 250, 0.7) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

.analytics-container-card .card-body {
  background: transparent !important;
}

/* Modern Analytics Feature Cards */
.modern-analytics-card {
  background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid rgba(225, 171, 155, 0.15);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 20px rgba(225, 171, 155, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.modern-analytics-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(225, 171, 155, 0.06), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.modern-analytics-card:hover::before {
  left: 100%;
}

.modern-analytics-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 12px 40px rgba(225, 171, 155, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(225, 171, 155, 0.3);
}

.modern-analytics-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #e1ab9b 0%, #d18b6f 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
  box-shadow:
    0 8px 25px rgba(225, 171, 155, 0.3),
    0 4px 12px rgba(209, 139, 111, 0.2);
}

.modern-analytics-card:nth-child(1) .modern-analytics-icon-wrapper {
  background: linear-gradient(135deg, #e1ab9b 0%, #d18b6f 100%);
  box-shadow:
    0 8px 25px rgba(225, 171, 155, 0.3),
    0 4px 12px rgba(209, 139, 111, 0.2);
}

.modern-analytics-card:nth-child(2) .modern-analytics-icon-wrapper {
  background: linear-gradient(135deg, #e1ab9b 0%, #d18b6f 100%);
  box-shadow:
    0 8px 25px rgba(225, 171, 155, 0.3),
    0 4px 12px rgba(209, 139, 111, 0.2);
}

.modern-analytics-card:nth-child(3) .modern-analytics-icon-wrapper {
  background: linear-gradient(135deg, #e1ab9b 0%, #d18b6f 100%);
  box-shadow:
    0 8px 25px rgba(225, 171, 155, 0.3),
    0 4px 12px rgba(209, 139, 111, 0.2);
}

.modern-analytics-card:nth-child(4) .modern-analytics-icon-wrapper {
  background: linear-gradient(135deg, #e1ab9b 0%, #d18b6f 100%);
  box-shadow:
    0 8px 25px rgba(225, 171, 155, 0.3),
    0 4px 12px rgba(209, 139, 111, 0.2);
}

.modern-analytics-icon-wrapper i {
  font-size: 2rem;
  color: white;
  transition: all 0.3s ease;
}

.modern-analytics-card:hover .modern-analytics-icon-wrapper {
  transform: scale(1.1) rotateY(5deg);
  box-shadow:
    0 12px 35px rgba(225, 171, 155, 0.4),
    0 6px 16px rgba(209, 139, 111, 0.3);
}

.modern-analytics-card:nth-child(1):hover .modern-analytics-icon-wrapper,
.modern-analytics-card:nth-child(2):hover .modern-analytics-icon-wrapper,
.modern-analytics-card:nth-child(3):hover .modern-analytics-icon-wrapper,
.modern-analytics-card:nth-child(4):hover .modern-analytics-icon-wrapper {
  box-shadow:
    0 12px 35px rgba(225, 171, 155, 0.4),
    0 6px 16px rgba(209, 139, 111, 0.3);
}

.modern-analytics-card h5 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  line-height: 1.4;
}

.modern-analytics-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #6b7280;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  font-weight: 400;
}

/* Legacy Analytics Cards for backward compatibility */
.analytics-feature-card {
  background: white;
  border: none;
  border-radius: 0.8rem;
  padding: 1.2rem 0.8rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.analytics-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, hsla(var(--primary), 0.05), transparent);
  transition: left 0.6s ease;
}

.analytics-feature-card:hover::before {
  left: 100%;
}

.analytics-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px hsla(var(--primary), 0.15);
}

.analytics-icon {
  width: 50px;
  height: 50px;
  background-color: #e6f3ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.analytics-icon i {
  font-size: 1.2rem;
  color: #0d6efd;
}

.analytics-feature-card:hover .analytics-icon {
  transform: scale(1.05);
}

.analytics-feature-card h6 {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.analytics-feature-card p {
  font-size: 0.8rem;
  line-height: 1.3;
  margin-bottom: 0;
}


.feature-item {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.4);
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(44, 62, 80, 0.1);
  transition: all 0.3s ease;
  color: #2c3e50;
  font-weight: 500;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.feature-item i {
  margin-right: 0.5rem;
  font-size: 0.875rem;
}

/* AI Section Styles */
.ai-feature-card {
  background: linear-gradient(145deg, hsl(var(--white)) 0%, hsl(var(--light)) 100%);
  border: 1px solid hsl(var(--border));
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px hsla(var(--shadow), 0.08);
}

.ai-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, hsla(var(--primary), 0.05), transparent);
  transition: left 0.6s ease;
}

.ai-feature-card:hover::before {
  left: 100%;
}

.ai-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px hsla(var(--primary), 0.15);
  border-color: hsl(var(--primary));
}

.ai-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #e1ab9b 0%, #d18b6f 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 25px rgba(225, 171, 155, 0.3);
  transition: all 0.3s ease;
}

.ai-feature-card:hover .ai-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(225, 171, 155, 0.4);
}

.ai-main-icon {
  font-size: 2rem;
  color: white;
}

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

.ai-benefits-list li {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid hsl(var(--border));
  transition: all 0.3s ease;
}

.ai-benefits-list li:last-child {
  border-bottom: none;
}

.ai-benefits-list li:hover {
  background: hsl(var(--primary-light));
  border-radius: 0.5rem;
  padding-left: 1rem;
  margin: 0 -1rem;
}

.ai-benefits-list i {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  border-radius: 50%;
  background: hsl(var(--light));
  font-size: 0.875rem;
  flex-shrink: 0;
}

.ai-benefits-list span {
  font-weight: 500;
  font-size: 0.9rem;
  color: hsl(var(--text));
}

/* AI Guarantee Card */
.ai-guarantee-card {
  background: linear-gradient(135deg, hsl(var(--primary-light)) 0%, hsl(var(--white)) 100%);
  border: 2px solid hsl(var(--primary));
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.ai-guarantee-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, hsla(var(--primary), 0.1) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, hsla(var(--info), 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.guarantee-icon {
  width: 60px;
  height: 60px;
  background: hsl(var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 4px 15px hsla(var(--primary), 0.3);
}

.guarantee-icon i {
  font-size: 1.5rem;
  color: white;
}

.ai-guarantee-card h5 {
  color: hsl(var(--primary));
  position: relative;
  z-index: 2;
}

.ai-guarantee-card p {
  color: hsl(var(--text));
  position: relative;
  z-index: 2;
  line-height: 1.6;
}

/* Concrete Platform Section Styles */
.concrete-feature-card {
  background: linear-gradient(145deg, hsl(var(--white)) 0%, hsl(var(--light)) 100%);
  border: 1px solid hsl(var(--border));
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px hsla(var(--shadow), 0.08);
}

.concrete-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, hsla(var(--primary), 0.05), transparent);
  transition: left 0.6s ease;
}

.concrete-feature-card:hover::before {
  left: 100%;
}

.concrete-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px hsla(var(--primary), 0.15);
  border-color: hsl(var(--primary));
}

.concrete-icon-wrapper {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #e1ab9b 0%, #d18b6f 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 6px 20px rgba(225, 171, 155, 0.3);
  transition: all 0.3s ease;
}

.concrete-feature-card:hover .concrete-icon-wrapper {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(225, 171, 155, 0.4);
}

.concrete-main-icon {
  font-size: 1.75rem;
  color: white;
}

.concrete-conclusion-card {
  background: linear-gradient(135deg, hsl(var(--primary-light)) 0%, hsl(var(--white)) 100%);
  border: 2px solid hsl(var(--primary));
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.concrete-conclusion-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, hsla(var(--primary), 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, hsla(var(--primary), 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.concrete-conclusion-card p {
  color: hsl(var(--primary-dark));
  position: relative;
  z-index: 2;
  font-style: italic;
}

/* Contact section */
.contact-info {
  padding: 1rem;
  transition: all 0.3s ease;
}

.contact-info:hover {
  transform: translateY(-3px);
}

/* Badges */
.badge {
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}

/* Alerts */
.alert {
  border-radius: 0.75rem;
  border: none;
  padding: 1rem 1.25rem;
}

.alert-success {
  background-color: hsla(var(--success), 0.1);
  color: hsl(var(--success));
}

.alert-danger {
  background-color: hsla(var(--danger), 0.1);
  color: hsl(var(--danger));
}

/* Footer */
footer {
  background-color: hsl(var(--dark)) !important;
}

.footer-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

footer a:hover {
  color: hsl(var(--primary)) !important;
  transition: color 0.3s ease;
}

footer .d-flex a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: hsla(var(--primary), 0.1);
  transition: all 0.3s ease;
}

footer .d-flex a:hover {
  background: hsl(var(--primary));
  transform: translateY(-2px);
}

footer .input-group .form-control:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 0.2rem hsla(var(--primary), 0.25);
}

footer .text-light {
  color: #e9ecef !important;
}

footer h5, footer h6 {
  color: white !important;
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }
  
  .hero-section {
    padding: 3rem 0;
  }
  
  .display-4 {
    font-size: 2.5rem;
  }
  
  .display-5 {
    font-size: 2rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  .feature-card .card-body {
    padding: 1.5rem;
  }
  
  .hero-illustration {
    margin-top: 2rem;
  }
  
  
  .feature-item {
    flex: 1;
    min-width: 120px;
    justify-content: center;
  }
  
  .ai-feature-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .ai-icon-wrapper {
    width: 70px;
    height: 70px;
  }
  
  .ai-main-icon {
    font-size: 1.75rem;
  }
  
  .ai-guarantee-card {
    padding: 1.5rem;
  }
  
  .guarantee-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }
  
  .guarantee-icon i {
    font-size: 1.25rem;
  }
  
  .concrete-feature-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .concrete-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  
  .concrete-main-icon {
    font-size: 1.5rem;
  }
  
  .concrete-conclusion-card {
    padding: 1.5rem;
  }

  .modern-analytics-card {
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
  }

  .modern-analytics-icon-wrapper {
    width: 70px;
    height: 70px;
    margin-bottom: 1.25rem;
  }

  .modern-analytics-icon-wrapper i {
    font-size: 1.75rem;
  }

  .modern-analytics-card h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .modern-analytics-card p {
    font-size: 0.875rem;
  }
}

@media (max-width: 576px) {
  .display-4 {
    font-size: 2rem;
  }
  
  .hero-section .d-flex {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-section .d-flex .btn {
    margin-bottom: 0.5rem;
  }
  
  .metric-card {
    margin-bottom: 1rem;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid hsl(var(--text));
  }
  
  .btn-outline-primary {
    border-width: 3px;
  }
}

/* Print styles */
@media print {
  .navbar,
  footer,
  #contact {
    display: none;
  }
  
  body {
    padding-top: 0;
  }
  
  .card,
  .btn {
    box-shadow: none !important;
  }
}
