/* ===== KEVYEMMÄKSI – Brand & Global Styles ===== */

:root {
  /* Brand colours */
  --primary:    #0D9488;   /* teal-600 */
  --primary-dark:#0F766E;
  --primary-light:#CCFBF1;
  --accent:     #F59E0B;   /* amber-500 */
  --accent-dark:#D97706;
  --dark:       #1E293B;
  --gray:       #64748B;
  --light:      #F8FAFC;
  --white:      #FFFFFF;
  --danger:     #EF4444;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-main);

  /* Spacing */
  --section-py: 5rem;
  --container-max: 1140px;

  /* Misc */
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
  --transition: .25s ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

/* ===== Utility ===== */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ===== Typography ===== */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; color: var(--dark); }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; }
p  { margin-bottom: 1rem; color: var(--gray); }

.section-subtitle {
  max-width: 640px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--gray);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2rem;
  border: none;
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13,148,136,.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,148,136,.45);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(245,158,11,.35);
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.1rem; }

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.02em;
}
.navbar-brand span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--dark);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--primary); }

.nav-cta { margin-left: .5rem; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  transition: all var(--transition);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  padding: 10rem 0 6rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 60%);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13,148,136,.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 540px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem 1rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-content h1 { margin-bottom: 1.25rem; }
.hero-content h1 span { color: var(--primary); }

.hero-content p {
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,.06);
}
.hero-stats .stat strong {
  display: block;
  font-size: 1.75rem;
  color: var(--primary);
  font-weight: 800;
}
.hero-stats .stat span {
  font-size: .85rem;
  color: var(--gray);
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  max-width: 380px;
  position: relative;
}
.hero-card-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
}
.hero-card h3 { font-size: 1.1rem; margin-bottom: .75rem; color: var(--dark); }
.hero-card p  { font-size: .95rem; color: var(--gray); margin-bottom: 1.25rem; }

.hero-card-progress {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.progress-step {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  color: var(--gray);
}
.progress-step .step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.progress-step .step-dot.active {
  background: var(--primary);
  color: var(--white);
}
.progress-step .step-dot.pending {
  background: #E2E8F0;
  color: var(--gray);
}

/* Floating badge on hero card */
.hero-card-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--accent);
  color: var(--white);
  padding: .35rem .9rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(245,158,11,.3);
}

/* ===== How It Works (Process) ===== */
.process {
  padding: var(--section-py) 0;
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}

.process-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.process-card h3 { color: var(--dark); margin-bottom: .75rem; }
.process-card p  { font-size: .95rem; }

/* Arrow between cards */
.process-card:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
}

/* ===== Benefits ===== */
.benefits {
  padding: var(--section-py) 0;
  background: var(--light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  transition: all var(--transition);
}
.benefit-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.benefit-card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.benefit-card p  { font-size: .93rem; margin-bottom: 0; }

/* ===== Pricing ===== */
.pricing {
  padding: var(--section-py) 0;
  background: var(--light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 2px solid #E2E8F0;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
}
.pricing-card.popular:hover {
  transform: scale(1.04) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: .3rem 1.25rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-guarantee {
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  color: #92400E;
  padding: .4rem 1rem;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-duration {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .5rem;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: .25rem;
}
.pricing-price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray);
}

.pricing-total {
  font-size: .85rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 0 0 1.5rem 0;
  padding: 0;
  flex-grow: 1;
}
.pricing-features li {
  padding: .4rem 0;
  font-size: .9rem;
  color: var(--gray);
  border-bottom: 1px solid #F1F5F9;
  padding-left: 1.5rem;
  position: relative;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.pricing-features li strong {
  color: var(--dark);
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 1rem auto 0; }
  .pricing-card.popular { transform: scale(1); }
  .pricing-card.popular:hover { transform: translateY(-4px); }
}

/* ===== Discount Banner ===== */
.discount-banner {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
}
.discount-banner h2 { color: var(--white); margin-bottom: .75rem; }
.discount-banner p  { color: rgba(255,255,255,.85); max-width: 600px; margin: 0 auto 2rem; font-size: 1.1rem; }
.discount-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: .5rem 1.5rem;
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

/* ===== Quiz ===== */
.quiz-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

.quiz-container {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.quiz-step {
  display: none;
  animation: quizFadeIn .4s ease;
}
.quiz-step.active { display: block; }

@keyframes quizFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.quiz-progress {
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  text-align: center;
}

.quiz-step h3 {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: .5rem;
}

.quiz-hint {
  text-align: center;
  font-size: .9rem;
  color: var(--gray);
  margin-bottom: 1.25rem;
}

/* BMI Calculator */
.bmi-calc {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.bmi-inputs {
  display: flex;
  gap: .75rem;
  align-items: flex-end;
  flex-wrap: wrap;
}

.bmi-inputs label {
  display: flex;
  flex-direction: column;
  font-size: .85rem;
  font-weight: 600;
  color: var(--dark);
  flex: 1;
  min-width: 100px;
}

.bmi-inputs input {
  margin-top: .35rem;
  padding: .6rem .75rem;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-main);
  transition: border-color var(--transition);
}
.bmi-inputs input:focus {
  outline: none;
  border-color: var(--primary);
}

.bmi-inputs .btn { white-space: nowrap; padding: .6rem 1.25rem; }

.bmi-result {
  margin-top: .75rem;
  font-size: .95rem;
  font-weight: 600;
  text-align: center;
  min-height: 1.5em;
}

/* Quiz options */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.quiz-option {
  display: block;
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--light);
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
}
.quiz-option:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateX(4px);
}

/* Quiz result */
.quiz-result {
  display: none;
  text-align: center;
  animation: quizFadeIn .5s ease;
}
.quiz-result.active { display: block; }

.quiz-result-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.quiz-result h3 {
  font-size: 1.5rem;
  margin-bottom: .75rem;
  text-align: center;
}

.quiz-result p {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 480px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

@media (max-width: 480px) {
  .bmi-inputs { flex-direction: column; }
  .bmi-inputs .btn { width: 100%; }
}

/* ===== Trust / Social Proof ===== */
.trust {
  padding: var(--section-py) 0;
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.trust-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 2rem;
  border-left: 4px solid var(--primary);
}
.trust-card p {
  font-style: italic;
  font-size: .95rem;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.trust-card .trust-author {
  font-size: .85rem;
  color: var(--gray);
  font-style: normal;
  font-weight: 600;
}

/* ===== CTA Section ===== */
/* ===== Partners ===== */
.partners {
  padding: var(--section-py) 0;
  background: var(--white);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.partner-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.partner-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.partner-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.partner-card h3 {
  font-size: 1.25rem;
  margin-bottom: .75rem;
  color: var(--dark);
}

.partner-card p {
  font-size: .95rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .partners-grid { grid-template-columns: 1fr; }
}

/* ===== CTA Section ===== */
.cta-section {
  padding: var(--section-py) 0;
  background: var(--light);
  text-align: center;
}
.cta-section h2 { margin-bottom: .75rem; }
.cta-section p  { max-width: 560px; margin: 0 auto 2rem; font-size: 1.1rem; }

/* ===== Footer ===== */
.footer {
  padding: 3rem 0 2rem;
  background: var(--dark);
  color: rgba(255,255,255,.6);
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand .navbar-brand { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,.5); font-size: .9rem; max-width: 280px; }

.footer-links h4 {
  color: var(--white);
  font-size: .9rem;
  margin-bottom: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a  { color: rgba(255,255,255,.6); font-size: .9rem; }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .85rem;
}

/* ===== Subpage – Generic ===== */
.page-header {
  padding: 8rem 0 3rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
  text-align: center;
}
.page-header h1 { margin-bottom: .5rem; }
.page-header p  { font-size: 1.1rem; }

.page-content {
  padding: 4rem 0;
}
.page-content .container { max-width: 800px; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid #E2E8F0;
  padding: 1.5rem 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  padding: 0;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-question .icon {
  font-size: 1.25rem;
  color: var(--primary);
  transition: transform var(--transition);
}
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  color: var(--gray);
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 1rem;
}

/* Privacy / legal */
.legal-content h2 { font-size: 1.4rem; margin-top: 2rem; margin-bottom: .75rem; }
.legal-content h3 { font-size: 1.15rem; margin-top: 1.5rem; margin-bottom: .5rem; }
.legal-content p  { margin-bottom: 1rem; }
.legal-content ul { margin: 0 0 1rem 1.5rem; color: var(--gray); }
.legal-content li { margin-bottom: .35rem; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    gap: 1rem;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats  { justify-content: center; }
  .hero-visual { margin-top: 2rem; }

  .process-grid { grid-template-columns: 1fr; }
  .process-card::after { display: none; }

  .benefits-grid { grid-template-columns: 1fr; }

  .trust-grid { grid-template-columns: 1fr; }

  .footer .container { flex-direction: column; align-items: center; text-align: center; }
  .footer-brand p { max-width: 100%; }
}

@media (max-width: 480px) {
  .hero { padding: 7rem 0 3rem; }
  .hero-stats { flex-direction: column; gap: 1rem; align-items: center; }
  .btn-lg { padding: .9rem 1.8rem; font-size: 1rem; }
}
