:root {
  /* Colors */
  --color-bg: #FFFFFF;
  --color-text-main: #0C0C0D;
  --color-text-light: #4A4A4A;
  --color-primary: #76A5AF;
  --color-secondary: #A5C7C9;
  --color-accent: #3A6D78;
  /* Darker teal for hover/active states */
  --color-light-gray: #F5F7FA;
  --color-white: #FFFFFF;

  /* Typography */
  --font-heading-main: 'Poppins', sans-serif;
  --font-heading-sub: 'Montserrat', sans-serif;
  --font-body: 'Raleway', sans-serif;

  /* Spacing */
  --spacing-container: 1200px;
  --spacing-padding: 2rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading-main);
  margin-top: 0;
  color: var(--color-text-main);
  font-weight: 700;
}

h2 {
  font-family: var(--font-heading-sub);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  border-radius: 8px;
}

/* Utilities */
.container {
  max-width: var(--spacing-container);
  margin: 0 auto;
  padding: 0 var(--spacing-padding);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-heading-sub);
  font-weight: 600;
  border-radius: 5px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--color-primary);
}

/* Header */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading-main);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--color-primary);
}

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

.nav-links a {
  font-weight: 600;
  font-family: var(--font-heading-sub);
  font-size: 0.95rem;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  bottom: -5px;
  background-color: var(--color-primary);
}

/* Footer */
footer {
  background-color: var(--color-text-main);
  color: var(--color-white);
  padding: 60px 0 20px;
  margin-top: auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: var(--color-white);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  opacity: 0.8;
}

.footer-column a:hover {
  opacity: 1;
  color: var(--color-secondary);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.9rem;
  opacity: 0.6;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  background: white;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border: 1px solid rgba(0, 0, 0, 0.05);
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translate(-50%, 100px);
    opacity: 0;
  }

  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-main);
  margin-right: 20px;
  line-height: 1.5;
}

.cookie-btn {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
}

.cookie-btn-outline {
  background: transparent;
  color: var(--color-text-main);
  border: 1px solid #ddd;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
}

.cookie-btn-outline:hover {
  border-color: var(--color-text-main);
  background: #f5f5f5;
}

.cookie-btn:hover {
  background: #0e3a3e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(19, 75, 79, 0.2);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    bottom: 15px;
    padding: 20px;
  }

  .cookie-banner p {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .cookie-btn {
    width: 100%;
  }
}

/* Responsive Utilities */
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 60vh;
}

.workflow-box {
  flex: 1;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.problem-grid,
.solution-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.solution-content {
  align-items: center;
  gap: 50px;
}

.stats-card {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

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

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-content {
    flex-direction: column;
    padding-top: 40px;
    text-align: center;
    min-height: auto;
  }

  .hero-content h1 {
    font-size: 2.5rem !important;
  }

  .workflow-box {
    width: 100%;
    box-sizing: border-box;
  }

  .solution-content {
    flex-direction: column;
  }

  .stats-card {
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }
}