/*
Theme Name: GuruPojisteni
Theme URI: https://www.gurupojisteni.cz
Author: Insurance Guru
Author URI: https://www.gurupojisteni.cz
Description: Landing page theme for Insurance Guru life insurance comparison service.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gurupojisteni.cz
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Montserrat:wght@700;800&display=swap');

:root {
  --nf-primary: #F7A000;
  --nf-primary-fg: #ffffff;
  --nf-secondary: #1B2A4A;
  --nf-secondary-fg: #ffffff;
  --nf-accent: #4CAF50;
  --nf-accent-fg: #ffffff;
  --nf-bg: #f7f7f7;
  --nf-card: #ffffff;
  --nf-muted: #f0f0f0;
  --nf-muted-fg: #6b7280;
  --nf-fg: #1a2233;
  --nf-border: #e0e3e8;
  --nf-radius: 0.5rem;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--nf-bg);
  color: var(--nf-fg);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

a { text-decoration: none; color: inherit; }

/* ── Header ── */
.site-header {
  background: var(--nf-card);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.site-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.site-logo .primary { color: var(--nf-primary); }
.site-logo .suffix { color: var(--nf-muted-fg); font-size: 0.75rem; font-weight: 700; }

.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--nf-primary);
}
.main-nav a.active {
  border-bottom: 2px solid var(--nf-primary);
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.875rem;
}
.header-phone .label { color: var(--nf-primary); font-weight: 600; font-size: 0.75rem; }
.header-phone .number {
  color: var(--nf-primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
}
.header-phone .hours { color: var(--nf-muted-fg); font-size: 0.75rem; }

/* ── Hero ── */
.hero-section {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: bottom;
  min-height: 360px;
}
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 3rem 0 4rem;
}
.hero-card {
  background: rgba(27, 42, 74, 0.9);
  border-radius: 0.75rem;
  padding: 2rem;
  max-width: 32rem;
}
.hero-card h1 {
  font-size: 2rem;
  color: var(--nf-secondary-fg);
  margin-bottom: 1.5rem;
}
.hero-features { list-style: none; }
.hero-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--nf-secondary-fg);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero-features li svg { color: var(--nf-primary); width: 24px; height: 24px; flex-shrink: 0; }

.hero-mascot {
  position: absolute;
  right: 3rem;
  bottom: 0;
  width: 16rem;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.25));
}

.hero-cta-wrap {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  margin-bottom: -1.75rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: opacity 0.2s, transform 0.2s;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-hero {
  background: var(--nf-primary);
  color: var(--nf-primary-fg);
  font-size: 1.25rem;
  border-radius: 9999px;
  padding: 1rem 2.5rem;
  box-shadow: 0 10px 25px rgba(247,160,0,0.3);
}
.btn-cta {
  background: var(--nf-accent);
  color: var(--nf-accent-fg);
  font-size: 1.25rem;
  border-radius: 9999px;
  padding: 1rem 2.5rem;
  box-shadow: 0 10px 25px rgba(76,175,80,0.3);
}

/* ── Stats ── */
.stats-section { padding: 4rem 0; background: var(--nf-card); }
.stats-section h2 { text-align: center; font-size: 1.875rem; margin-bottom: 3rem; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item { text-align: center; }
.stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--nf-primary);
  margin-bottom: 0.75rem;
}
.stat-text { color: var(--nf-muted-fg); line-height: 1.6; }

/* ── Savings ── */
.savings-section { padding: 4rem 0; background: var(--nf-muted); }
.savings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.savings-card {
  background: var(--nf-card);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}
.savings-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.savings-emoji { font-size: 3rem; margin-bottom: 1rem; }
.savings-name { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.125rem; }
.savings-desc { color: var(--nf-muted-fg); font-size: 0.875rem; margin-bottom: 1rem; }
.savings-prices { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-bottom: 0.5rem; }
.price-old { color: #999; text-decoration: line-through; font-size: 1.125rem; }
.price-new { color: var(--nf-accent); font-weight: 800; font-size: 1.5rem; }
.savings-saved { color: var(--nf-accent); font-weight: 600; font-size: 0.875rem; }

/* ── Benefits ── */
.benefits-section { padding: 4rem 0; background: var(--nf-card); }
.benefits-section h2 { text-align: center; font-size: 1.875rem; margin-bottom: 3rem; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}
.benefit-item { display: flex; gap: 1rem; }
.benefit-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(247,160,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-icon svg { color: var(--nf-primary); width: 24px; height: 24px; }
.benefit-text { line-height: 1.7; }

/* ── CTA ── */
.cta-section { padding: 4rem 0; background: var(--nf-secondary); text-align: center; }
.cta-section h2 { color: var(--nf-secondary-fg); font-size: 1.875rem; margin-bottom: 1rem; }

/* ── Testimonials ── */
.testimonials-section { padding: 4rem 0; background: var(--nf-muted); }
.testimonials-section h2 { text-align: center; font-size: 1.875rem; margin-bottom: 3rem; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--nf-card);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.stars { display: flex; gap: 2px; margin-bottom: 0.75rem; }
.star { width: 16px; height: 16px; }
.star-filled { color: var(--nf-primary); }
.star-empty { color: var(--nf-border); }
.testimonial-text { font-size: 0.875rem; line-height: 1.7; margin-bottom: 1rem; }
.testimonial-name { font-weight: 600; font-size: 0.875rem; }
.testimonial-city { color: var(--nf-muted-fg); font-size: 0.75rem; }

/* ── FAQ ── */
.faq-section { padding: 4rem 0; background: var(--nf-card); }
.faq-section h2 { text-align: center; font-size: 1.875rem; margin-bottom: 3rem; }
.faq-list { max-width: 48rem; margin: 0 auto; }
.faq-item {
  background: var(--nf-muted);
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Open Sans', sans-serif;
  color: var(--nf-fg);
}
.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 700;
  transition: transform 0.2s;
}
.faq-item.open .faq-question::after {
  content: '−';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--nf-muted-fg);
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1rem;
}

/* ── Bottom ── */
.bottom-section { padding: 4rem 0; background: var(--nf-muted); }
.bottom-content { max-width: 48rem; margin: 0 auto; text-align: center; }
.bottom-content h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.bottom-content p { color: var(--nf-muted-fg); line-height: 1.7; margin-bottom: 1rem; }
.rating-box {
  background: var(--nf-card);
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  margin-top: 1rem;
}
.rating-label { font-size: 0.875rem; color: var(--nf-muted-fg); margin-bottom: 0.25rem; }
.rating-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--nf-primary);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .stats-grid, .savings-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-mascot { display: none; }
}
@media (max-width: 640px) {
  .stats-grid, .savings-grid, .testimonials-grid, .benefits-grid { grid-template-columns: 1fr; }
  .header-phone { display: none; }
  .hero-card h1 { font-size: 1.5rem; }
}
