* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #1f2937;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: -200px;
  left: 0;
  right: 0;
  background: #ffffff;
  color: #1f2937;
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 1px solid #e5e7eb;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-content p {
  flex: 1;
  margin: 0;
  color: #4b5563;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Section Animations */
section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

section.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Form Validation */
.border-red-500 {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* Image Styles */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Focus States */
input:focus,
textarea:focus,
select:focus {
  outline: none;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
}

/* Solution Cards Hover Effects */
.solution-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.solution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.solution-card:hover::before {
  left: 100%;
}

/* Case Cards Effects */
.case-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card:hover {
  transform: translateY(-6px);
}

.case-card img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card:hover img {
  transform: scale(1.05);
}

/* Hero Image Wrapper */
.hero-image-wrapper {
  transition: transform 0.1s ease-out;
  will-change: transform;
}

/* Smooth Transitions for Interactive Elements */
.solution-extra,
.case-details {
  transition: all 0.3s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .solution-card,
  .case-card {
    transform: none !important;
  }

  .hero-image-wrapper {
    transform: none !important;
  }
}

/* Rounded corners consistency */
.rounded-3xl {
  border-radius: 1.5rem;
}

/* Glass effect for cards */
.bg-white {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

/* Soft shadows matching reference design */
.shadow-lg {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.shadow-xl {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.shadow-2xl {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

/* Gradient backgrounds */
.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

/* Badge styles */
.px-4.py-1.rounded-full {
  letter-spacing: 0.05em;
}

/* Typography adjustments for light font weight */
h1,
h2,
h3,
h4 {
  font-weight: 300;
  letter-spacing: -0.02em;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

/* Smooth color transitions */
a,
button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Partner logos fade effect */
.opacity-60 {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.opacity-60:hover {
  opacity: 1;
}
