:root {
  --primary-color: #db2777; /* Pink-600 */
  --secondary-color: #f472b6; /* Pink-400 */
  --secondary-hover: #be185d; /* Pink-700 */
  --accent-color: #fbcfe8; /* Pink-200 */
  --text-main: #831843; /* Pink-900 */
  --text-muted: #9d174d; /* Pink-800 */
  --bg-main: #ffffff; /* White */
  --bg-card: #fdf2f8; /* Very light pink */
  --border-color: #fbcfe8; /* Pink-200 */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  text-align: center; /* Kaikki sisältö keskitetty */
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header & Navigation */
header {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.navbar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
  position: relative;
  gap: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: lowercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--secondary-color);
  color: #fff !important;
}

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

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

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: #fff !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background-color: var(--primary-color);
  color: #fff;
  padding: 5rem 0;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  text-align: center;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-image {
  flex: 1;
}

.hero-image img {
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2), 0 10px 10px -5px rgba(0,0,0,0.1);
  width: 100%;
  object-fit: cover;
}

.hero h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: #fbcfe8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Disclosure & Ethics */
.disclosure-banner {
  background-color: #fdf2f8;
  color: var(--text-main);
  padding: 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border-color);
}

.ethics-box {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 8px;
  border: 4px solid var(--warning);
  margin: 2rem auto;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  text-align: center;
  max-width: 800px;
}

/* Grids & Cards */
.grid-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0;
  justify-content: center;
  width: 100%;
}
.grid-2 > * {
  flex: 1 1 320px;
  max-width: 500px;
}

.grid-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0;
  justify-content: center;
  width: 100%;
}
.grid-3 > * {
  flex: 1 1 280px;
  max-width: 350px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: center;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.card-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tag {
  background: var(--bg-main);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  font-weight: 500;
}

.card-body {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.card-footer {
  margin-top: auto;
  width: 100%;
}

/* Filters */
.filter-section {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-main);
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color);
}

/* Tables */
.table-responsive {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  min-width: 600px;
  margin: 0 auto;
}

th, td {
  padding: 1rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

th {
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
}

tr:hover td {
  background-color: var(--bg-main);
}

/* Articles / Text Content */
.content-section {
  padding: 4rem 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.content-section h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0 0.75rem;
}

.content-section p {
  margin-bottom: 1rem;
}

.article-block {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
  width: 100%;
  text-align: center;
}

.article-block h3 {
  margin-top: 0;
  color: var(--secondary-color);
}

.highlight-section {
  background: var(--bg-card);
  padding: 4rem 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 4rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
  width: 100%;
}

.article-preview h3 {
  margin-top: 0;
}

.text-muted {
  color: var(--text-muted);
}

.review-hero-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 3rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  margin-bottom: 1rem;
  background: var(--bg-card);
  overflow: hidden;
  width: 100%;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background: transparent;
  border: none;
  color: var(--primary-color);
  text-align: center;
  font-family: inherit;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--secondary-color);
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.25rem;
  max-height: 500px;
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
  width: 100%;
  text-align: center;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary-color);
  text-align: center;
}

.form-control {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg-main);
  transition: border-color 0.2s;
  text-align: center;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.2);
  background: #fff;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--primary-color);
  color: #fff;
  padding: 1.5rem;
  box-shadow: 0 -10px 15px -3px rgba(0,0,0,0.1);
  z-index: 9999;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
}

.cookie-text {
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-cookie {
  padding: 0.75rem 1.25rem;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.btn-cookie:hover {
  background: rgba(255,255,255,0.1);
}

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

/* Footer */
footer {
  background-color: var(--text-main);
  color: #fff;
  padding: 4rem 0 1rem;
  margin-top: auto;
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  width: 100%;
}

.footer-section h4 {
  color: #fff;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.footer-logo {
  color: #fff !important;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-section p {
  color: var(--accent-color);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-address {
  font-style: normal;
  color: var(--accent-color);
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a, .footer-address a {
  color: var(--accent-color) !important;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover, .footer-address a:hover {
  color: #fff !important;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.footer-bottom-flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  text-align: center;
  color: var(--accent-color);
}

@media (min-width: 768px) {
  .footer-bottom-flex {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom-flex p {
  margin: 0;
}

.footer-bottom-links a {
  color: var(--accent-color) !important;
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: #fff !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  
  .nav-links.show {
    display: flex;
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  
  .nav-links a {
    display: block;
    padding: 1rem;
  }

  .mobile-menu-btn {
    display: block;
    position: absolute;
    right: 1rem;
    top: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }
  
  .filter-section {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-btn {
    border-radius: 6px;
    width: 100%;
    max-width: 300px;
  }
  
  .review-hero-img {
    height: 200px;
  }
}