:root {
  --color-primary: #1a202c;
  --color-secondary: #2b6cb0;
  --color-background: #ffffff;
  --color-footer: #111827;
  --color-section-1: #ffffff;
  --color-section-2: #f7fafc;
  --color-section-3: #ffffff;
  --color-text-primary: #1a202c;
  --color-text-secondary: #4a5568;
  --color-text-light: #ffffff;
  --border-radius-soft: 16px;
  --border-radius-rounded: 24px;
  --shadow-soft: 0 10px 30px -10px rgba(26, 32, 44, 0.15);
  --shadow-medium: 0 15px 35px -10px rgba(26, 32, 44, 0.2);
  --shadow-strong: 0 20px 40px -10px rgba(26, 32, 44, 0.25);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--color-background);
  color: var(--color-text-primary);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.75rem; }
h3 { font-size: 2.25rem; }
h4 { font-size: 1.875rem; }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
  font-size: 1.1rem;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #3182ce 100%);
  color: var(--color-text-light);
  border: none;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius-soft);
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3182ce 0%, var(--color-secondary) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-soft);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius-soft);
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-secondary:hover {
  background: var(--color-secondary);
  color: var(--color-text-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text-light);
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius-soft);
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Cards */
.card {
  background: var(--color-background);
  border-radius: var(--border-radius-rounded);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(26, 32, 44, 0.08);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary), #3182ce);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.card:hover::before {
  opacity: 1;
}

.card-featured {
  background: linear-gradient(135deg, #f7fafc 0%, #ffffff 100%);
  border: 2px solid rgba(43, 108, 176, 0.1);
}

.card-featured::before {
  height: 6px;
  background: linear-gradient(90deg, var(--color-secondary), #3182ce, var(--color-secondary));
}

/* Section backgrounds */
.section-light {
  background-color: var(--color-section-2);
}

.section-dark {
  background-color: var(--color-footer);
  color: var(--color-text-light);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
  color: var(--color-text-light);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.8);
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26, 32, 44, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
}

.nav-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-soft);
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover {
  color: var(--color-secondary);
  background: rgba(43, 108, 176, 0.08);
}

.nav-link.active {
  color: var(--color-secondary);
  background: rgba(43, 108, 176, 0.1);
}

/* Footer */
.footer {
  background: var(--color-footer);
  color: var(--color-text-light);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer h4,
.footer h5,
.footer h6 {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer a:hover {
  color: var(--color-text-light);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid rgba(26, 32, 44, 0.1);
  border-radius: var(--border-radius-soft);
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  background: var(--color-background);
  color: var(--color-text-primary);
  transition: var(--transition-smooth);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover {
  border-color: rgba(26, 32, 44, 0.2);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-section-2) 0%, var(--color-background) 100%);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(43, 108, 176, 0.03) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
  50% { transform: translate(-45%, -45%) rotate(180deg); }
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Utility Classes */
.container-soft {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #3182ce 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #3182ce 100%);
}

.bg-gradient-light {
  background: linear-gradient(135deg, var(--color-section-2) 0%, var(--color-background) 100%);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

.px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-4 { padding-left: 2rem; padding-right: 2rem; }
.px-5 { padding-left: 3rem; padding-right: 3rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.py-6 { padding-top: 4rem; padding-bottom: 4rem; }
.py-7 { padding-top: 5rem; padding-bottom: 5rem; }

/* Responsive Design */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
  
  .hero h1 { font-size: 3rem; }
  
  .hero {
    padding: 4rem 0;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .container-soft {
    padding: 0 1rem;
  }
  
  .btn-primary,
  .btn-secondary,
  .btn-outline {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  .hero h1 { font-size: 2.5rem; }
  
  .hero {
    padding: 3rem 0;
  }
  
  .card {
    padding: 1.25rem;
  }
  
  .container-soft {
    padding: 0 0.75rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.animate-fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.animate-fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.animate-fade-in-up:nth-child(4) { animation-delay: 0.4s; }
.animate-fade-in-up:nth-child(5) { animation-delay: 0.5s; }

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3182ce;
}

/* Focus states for accessibility */
*:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

button:focus,
a:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Selection */
::selection {
  background: rgba(43, 108, 176, 0.2);
  color: var(--color-primary);
}

::-moz-selection {
  background: rgba(43, 108, 176, 0.2);
  color: var(--color-primary);
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}