* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DM Sans', sans-serif; background: #fbc6d2; color: #2c2c2c; font-size: 16px; line-height: 1.6; }
.header { background: #679ac0; border-bottom: 1px solid #ddd8d0; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; }
.logo {
  height: 48px;
  width: auto;
  display: block;
}
.logo span { color: #c8604a; }
.badge { background: #e8f0eb; color: #2c2c2c; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 20px; }

.progress-wrap { background: white; padding: 10px 24px 14px; border-bottom: 1px solid #ddd8d0; display: none; }
.progress-meta { display: flex; justify-content: space-between; font-size: 12px; color: #6b6b6b; margin-bottom: 6px; }
.progress-bg { height: 6px; background: #e8e4df; border-radius: 10px; overflow: hidden; }
.progress-fill { height: 100%; background: #679ac0; border-radius: 10px; transition: width 0.4s; width: 0%; }

.page { display: none; }
.page.active { display: block; }

/* HERO */
.hero-outer {
  display: flex;
  align-items: center;
  min-height: 580px;
  max-width: 1020px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-side-img {
  flex: 0 0 300px;
  display: flex;
  align-items: center;
}

.hero-side-img img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.12));
}

.hero-side-left {
  justify-content: flex-end;
}

.hero-side-right {
  justify-content: flex-start;
}

.hero { flex: 1; min-width: 0; padding: 48px 16px 60px; text-align: center; }
.hero-badge { display: inline-block; background: #cce0ff; color: #000000; font-size: 12px; font-weight: 600; padding: 6px 16px; border-radius: 20px; margin-bottom: 24px; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 700; line-height: 1.2; margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: #679ac0; }
.hero p { font-size: 17px; color: #000000; max-width: 500px; margin: 0 auto 32px; line-height: 1.7; }
.pills { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; margin-top: 40px;}
.pill { background: #679ac0; border: 1px solid #ddd8d0; padding: 8px 16px; border-radius: 30px; font-size: 13px; color: #ffff; margin-top: 30px;}

.btn { display: inline-block; padding: 16px 36px; border-radius: 50px; font-size: 16px; font-weight: 600; cursor: pointer; border: none; font-family: 'DM Sans', sans-serif; transition: all 0.2s; text-decoration: none; }
.btn-green { background: #cce0ff; color: #000000; box-shadow: 0 4px 16px rgba(61,92,78,0.3); }
.btn-green:hover { background: #cce0ff; transform: translateY(-2px); }
.btn-red { background: #c8604a; color: white; box-shadow: 0 4px 16px rgba(200,96,74,0.3); width: 100%; display: block; text-align: center; margin-top: 8px; }
.btn-red:hover { background: #b54e3a; }
.hero-note { text-align: center; padding: 24px 24px 32px; font-size: 13px; color: #6b6b6b; line-height: 1.6; }

/* AGE */
.wrap { max-width: 680px; margin: 0 auto; padding: 32px 24px 100px; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #2c2c2c; margin-bottom: 8px; }
.page-title { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 600; margin-bottom: 28px; }
.age-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.age-card { background: white; border: 2px solid #ddd8d0; border-radius: 16px; padding: 24px 16px; text-align: center; cursor: pointer; transition: all 0.2s; }
.age-card:hover { border-color: #679ac0; background: #eef5fb; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(103,154,192,0.20); }
.age-card.sel { border-color: #679ac0; background: #d6eaf7; box-shadow: 0 4px 12px rgba(103,154,192,0.25); }
.age-num { font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 700; color: #2c2c2c; line-height: 1; margin-bottom: 4px; }
.age-sub { font-size: 13px; color: #6b6b6b; }

/* QUESTIONS */
.q-card { background: white; border: 2px solid #679ac0; border-radius: 16px; padding: 24px; margin-bottom: 14px; box-shadow: 0 2px 10px rgba(103,154,192,0.10); }
.q-num { font-size: 11px; font-weight: 700; color: #2c2c2c; letter-spacing: 1px; margin-bottom: 8px; text-transform: uppercase; }
.q-text { font-size: 15px; margin-bottom: 16px; line-height: 1.6; }
.opts { display: flex; gap: 8px; }
.opt { flex: 1; padding: 11px 8px; border: 2px solid #e8e4df; border-radius: 10px; background: #faf8f4; font-size: 14px; font-weight: 500; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all 0.18s; text-align: center; }
.opt:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.12); }
.opts .opt:nth-child(1):hover { border-color: #22c55e; background: #dcfce7; color: #16a34a; }
.opts .opt:nth-child(2):hover { border-color: #eab308; background: #fef9c3; color: #ca8a04; }
.opts .opt:nth-child(3):hover { border-color: #ef4444; background: #fee2e2; color: #dc2626; }
.opt.da { border-color: #22c55e; background: #22c55e; color: white; font-weight: 600; }
.opt.ponekad { border-color: #eab308; background: #eab308; color: white; font-weight: 600; }
.opt.ne { border-color: #ef4444; background: #ef4444; color: white; font-weight: 600; }

/* NAV */
.nav { position: fixed; bottom: 0; left: 0; right: 0; background: white; border-top: 1px solid #ddd8d0; padding: 14px 24px; display: flex; gap: 12px; z-index: 100; }
.btn-prev { background: #e8e4df; color: #6b6b6b; padding: 13px 24px; border-radius: 50px; font-size: 15px; font-weight: 600; cursor: pointer; border: none; font-family: 'DM Sans', sans-serif; transition: all 0.18s; }
.btn-prev:hover { background: #d4d0cb; color: #2c2c2c; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.btn-next { flex: 1; padding: 13px; border-radius: 50px; font-size: 15px; font-weight: 600; cursor: pointer; border: none; font-family: 'DM Sans', sans-serif; background: #679ac0; color: white; transition: all 0.18s; }
.btn-next:hover:not(:disabled) { background: #5687ad; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(103,154,192,0.40); }
.btn-next:disabled { background: #e8e4df; color: #6b6b6b; cursor: not-allowed; }

/* RESULTS */
.result-wrap { max-width: 640px; margin: 0 auto; padding: 48px 24px 80px; text-align: center; }
.r-tag { display: inline-block; font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 12px 28px; border-radius: 50px; margin-bottom: 24px; }
.r-tag.green { background: #e8f0eb; color: #2c2c2c; }
.r-tag.amber { background: #fdf5e0; color: #2c2c2c; }
.r-tag.red { background: #f5e8e5; color: #2c2c2c; }
.result-wrap h2 { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.result-wrap p { font-size: 16px; color: #6b6b6b; line-height: 1.7; margin-bottom: 14px; }

.score-box { background: white; border: 1px solid #ddd8d0; border-radius: 16px; padding: 20px 24px; margin: 24px 0; text-align: left; }
.score-box h4 { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #6b6b6b; margin-bottom: 14px; }
.score-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid #e8e4df; font-size: 14px; }
.score-row:last-child { border-bottom: none; }
.score-pill { padding: 3px 10px; border-radius: 20px; font-weight: 700; font-size: 13px; }
.score-pill.ok { background: #e8f0eb; color: #2c2c2c; }
.score-pill.watch { background: #fdf5e0; color: #c4982a; }
.score-pill.bad { background: #f5e8e5; color: #c8604a; }

.score-box-wrap { border: 2px solid #93c5fd; background: #eff6ff; border-radius: 12px; padding: 20px; margin: 24px 0; }
.score-box-wrap .score-box { margin: 0; border: none; border-radius: 0; padding: 0; box-shadow: none; background: transparent; }
.recommendation-box { border: 2px solid #93c5fd; background: #eff6ff; border-radius: 12px; padding: 16px 20px; margin-bottom: 16px; text-align: center; font-style: italic; font-size: 15px; color: #2c2c2c; line-height: 1.6; }
.contact-box { background: white; border: 2px solid #93c5fd; border-radius: 12px; padding: 24px; margin: 24px 0; text-align: left; }
.contact-box h4 { font-family: 'Playfair Display', serif; font-size: 20px; margin-bottom: 6px; }
.contact-box p { font-size: 14px; color: #6b6b6b; margin-bottom: 18px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.form-group input { width: 100%; padding: 13px 14px; border: 2px solid #ddd8d0; border-radius: 10px; font-size: 15px; font-family: 'DM Sans', sans-serif; outline: none; }
.form-group input:focus { border-color: #3d5c4e; }

.success { background: #e8f0eb; border: 1px solid #5a7a6a; border-radius: 12px; padding: 18px; margin-top: 16px; display: none; }
.success p { color: #2c2c2c; font-weight: 500; margin: 0; font-size: 15px; }

.share-area { margin-top: 24px; }
.share-area p { font-size: 14px; color: #6b6b6b; margin-bottom: 12px; }
.share-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.btn-share { padding: 12px 24px; border-radius: 50px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; font-family: 'DM Sans', sans-serif; }
.btn-fb { background: #1877F2; color: white; }
.btn-copy { background: #e8e4df; color: #2c2c2c; }

/* RESULT ILLUSTRATIONS */
.result-illustration {
  width: 300px;
  height: 300px;
  object-fit: contain;
  display: block;
  margin: 20px auto 32px;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.10));
}

@media (max-width: 900px) {
  .hero-side-img { flex: 0 0 180px; }
  .hero-side-img img { max-height: 460px; }
}

@media (max-width: 640px) {
  .hero-outer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "text text"
      "left right";
    min-height: unset;
  }
  .hero          { grid-area: text; padding: 32px 16px 20px; }
  .hero-side-left  { grid-area: left;  align-items: flex-end; justify-content: center; }
  .hero-side-right { grid-area: right; align-items: flex-end; justify-content: center; }
  .hero-side-img { flex: unset; width: 100%; }
  .hero-side-img img { max-height: 200px; }
  .age-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 26px; }
  .opts { flex-direction: column; }
  .result-illustration { width: 200px; height: 200px; }
}

@keyframes spin { to { transform: rotate(360deg); } }