:root {
  --primary-color: #1e40af;
  --secondary-color: #0891b2;
  --background-color: #f8fafc;
  --footer-bg-color: #1e293b;
  --button-color: #1e40af;
  --section-bg-1: #ffffff;
  --section-bg-2: #f1f5f9;
  --section-bg-3: #ffffff;
  --section-bg-4: #f8fafc;
  
  --font-primary: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-secondary: 'Quicksand', 'Nunito', sans-serif;
  
  --shadow-soft: 0 10px 30px -10px rgba(30, 64, 175, 0.15);
  --shadow-soft-hover: 0 15px 35px -10px rgba(30, 64, 175, 0.2);
  --shadow-gentle: 0 4px 20px -5px rgba(8, 145, 178, 0.1);
  
  --border-radius-sm: 16px;
  --border-radius-md: 20px;
  --border-radius-lg: 24px;
  --border-radius-xl: 28px;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-soft: all 0.25s ease-out;
}

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700&family=Quicksand:wght@300;400;500;600;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  background-attachment: fixed;
  line-height: 1.7;
  color: #334155;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #1e293b;
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.8rem; font-weight: 600; }
h3 { font-size: 2.2rem; font-weight: 500; }
h4 { font-size: 1.8rem; font-weight: 500; }
h5 { font-size: 1.4rem; font-weight: 400; }
h6 { font-size: 1.2rem; font-weight: 400; }

p {
  margin: 0 0 1.5rem 0;
  font-weight: 400;
  line-height: 1.7;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-soft);
}

a:hover {
  color: var(--secondary-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section:nth-child(odd) {
  background: var(--section-bg-1);
}

.section:nth-child(even) {
  background: var(--section-bg-2);
}

.section:nth-child(3n) {
  background: var(--section-bg-3);
}

.section:nth-child(4n) {
  background: var(--section-bg-4);
}

.section:nth-child(odd)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: 0.8;
}

.card {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: var(--transition-soft);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft-hover);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-gentle {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-gentle);
  transition: var(--transition-soft);
}

.card-gentle:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 25px -8px rgba(8, 145, 178, 0.15);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: var(--border-radius-md);
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 50%, var(--secondary-color) 100%);
  color: white;
  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 ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft-hover);
  color: white;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #06b6d4 50%, var(--primary-color) 100%);
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft-hover);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: none;
}

.btn-outline:hover {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  transform: translateY(-2px);
  border-color: transparent;
}

.header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30, 64, 175, 0.1);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header h1,
.header h2,
.header h3 {
  color: var(--primary-color);
  margin: 0;
}

.footer {
  background: linear-gradient(135deg, var(--footer-bg-color) 0%, #334155 100%);
  color: #cbd5e1;
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

.footer p,
.footer a {
  color: #cbd5e1;
}

.footer a:hover {
  color: #e2e8f0;
}

.form {
  background: #ffffff;
  border-radius: var(--border-radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(30, 64, 175, 0.1);
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 500;
  color: #374151;
  font-family: var(--font-secondary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: var(--border-radius-md);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition-soft);
  background: #ffffff;
  color: #374151;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
  transform: translateY(-1px);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.grid {
  display: grid;
  gap: 2.5rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-secondary);
  box-shadow: var(--shadow-gentle);
}

.badge-gentle {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(8, 145, 178, 0.1));
  color: var(--primary-color);
  border: 1px solid rgba(30, 64, 175, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-gentle);
  backdrop-filter: blur(10px);
}

.nav-link {
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  color: #475569;
  transition: var(--transition-soft);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
  background: rgba(30, 64, 175, 0.05);
}

.nav-link.active {
  color: var(--primary-color);
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(8, 145, 178, 0.1));
}

.hero {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  padding: 8rem 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(30, 64, 175, 0.03) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
  50% { transform: translate(-50%, -50%) rotate(180deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.2), transparent);
  margin: 4rem 0;
  border: none;
}

.icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  box-shadow: var(--shadow-gentle);
  margin-bottom: 1.5rem;
}

blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 2rem;
  margin: 2rem 0;
  font-style: italic;
  color: #64748b;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.02), rgba(8, 145, 178, 0.02));
  padding: 2rem 2rem 2rem 3rem;
  border-radius: var(--border-radius-md);
}

table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #ffffff;
}

th {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 1.25rem 1rem;
  font-weight: 600;
  font-family: var(--font-secondary);
  text-align: left;
}

td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid rgba(30, 64, 175, 0.1);
  color: #475569;
}

tr:hover {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.02), rgba(8, 145, 178, 0.02));
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
  
  .section {
    padding: 3rem 0;
  }
  
  .card {
    padding: 2rem;
  }
  
  .form {
    padding: 2rem;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .hero {
    padding: 4rem 0;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .form {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* 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;
    }
}