/* ─────────────────────────────────────────────────────────
   Diary of the Day — Landing Page Stylesheet (v2)
   Clean white design. Photo placeholders ready for swap.
   Typography centralized in :root for easy font swap.
   ───────────────────────────────────────────────────────── */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&display=swap");

:root {
  /* Typography — swappable */
  --font-serif: "Playfair Display", "Tiempos Headline", Georgia, serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;

  /* Palette — clean white-first */
  --bg:         #ffffff;
  --bg-soft:    #fafaf9;
  --bg-dark:    #111111;
  --ink:        #111111;
  --ink-soft:   #4a4a4a;
  --ink-mute:   #8a8a8a;
  --line:       #ececec;
  --line-soft:  #f4f4f4;
  --accent:     #c9a961;
  --accent-deep:#8a7242;

  /* Sizing */
  --max-w: 1200px;
  --gutter: clamp(20px, 4vw, 56px);
}

/* ─── Reset / Base ─── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  font-weight: 400;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

[data-en]:not([data-cs]) { display: none; }
html[lang="en"] [data-cs]:not([data-en]) { display: none; }
html[lang="en"] [data-en]:not([data-cs]) { display: inline; }

/* ─── Top navigation ─── */
.land-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}
.land-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 36px var(--gutter) 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.land-brand {
  display: inline-block;
  color: var(--ink);
  line-height: 0;
  text-decoration: none;
}
.land-brand:hover { color: #000; }
.land-brand svg { display: block; width: 240px; height: auto; }
@media (max-width: 640px) {
  .land-brand svg { width: 180px; }
  .land-nav-inner { padding: 26px var(--gutter) 16px; }
}
.land-nav-links {
  display: flex; align-items: center; gap: 32px;
  font-size: 14px;
  color: var(--ink-soft);
}
.land-nav-links a { transition: color .15s; }
.land-nav-links a:hover { color: var(--ink); }
.land-cta {
  background: var(--ink);
  color: #fff;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  transition: background .15s;
}
.land-cta:hover { background: #333; }
.land-lang {
  font-size: 11px; color: var(--ink-mute); letter-spacing: .15em;
  text-transform: uppercase;
}
.land-lang b { color: var(--ink); font-weight: 600; }

/* ─── HERO — split: text left, image right ─── */
.hero {
  padding: clamp(60px, 10vw, 120px) var(--gutter) clamp(80px, 10vw, 120px);
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-text { text-align: left; }
.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 28px;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: clamp(20px, 2.5vw, 32px);
}
.hero h1 i { font-style: normal; color: var(--ink); }
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-soft);
  margin: 0 0 clamp(28px, 4vw, 40px);
  line-height: 1.55;
  font-weight: 300;
  max-width: 480px;
}
.hero-actions {
  display: flex; justify-content: flex-start; gap: 14px; flex-wrap: wrap;
}
.hero-image-side {
  position: relative;
  /* Photo frame — white matte + thin border + soft shadow */
  background: #fff;
  padding: 14px 14px 18px;
  border: 1px solid #e8e4dc;
  box-shadow: 0 16px 48px -12px rgba(0, 0, 0, .14);
}
/* Stacked images — all share same grid cell, fade between active */
.hero-stack {
  display: grid;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.02;
  background: #f5f3ee;
  overflow: hidden;
}
.hero-stack img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-stack img.active { opacity: 1; }

/* Year dots — compact for many years (14+) */
.hero-stack-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 14px;
  max-width: 100%;
}
.hero-stack-dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 0;
  background: #d8d4cc;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s, width .25s;
  flex: 0 0 auto;
}
.hero-stack-dots button:hover { background: #888; transform: scale(1.4); }
.hero-stack-dots button.active {
  background: var(--ink);
  width: 22px;
  border-radius: 100px;
  transform: none;
}
.btn-primary, .btn-secondary {
  padding: 15px 34px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: #333; transform: translateY(-1px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: var(--ink); }

/* (hero-image-wrap removed — image now lives inside .hero as side-by-side) */

/* ─── Features ─── */
.features {
  padding: clamp(100px, 12vw, 160px) var(--gutter);
  background: var(--bg);
}
.features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 20px;
  padding: 0;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 28px;
  padding: 0;
  /* Visually aligned with hero text column (~50% of max-w) */
  max-width: 600px;
}
.section-title.center { margin-inline: auto; }
.section-title i { font-style: normal; color: var(--ink); }
.section-lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 580px;
  margin-bottom: clamp(56px, 7vw, 88px);
  line-height: 1.6;
  font-weight: 300;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  min-height: 180px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.04);
  border-color: var(--ink-mute);
}
.feature-icon {
  font-size: 24px;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}
.feature h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -.01em;
  line-height: 1.25;
  color: var(--ink);
}
.feature p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  flex: 1;
  font-weight: 400;
}

/* ─── Quote / Editorial section ─── */
.quote-section {
  padding: clamp(120px, 16vw, 200px) var(--gutter);
  text-align: center;
  background: var(--bg);
}
.quote-section blockquote {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.3;
  font-weight: 400;
  color: var(--ink);
  max-width: 920px;
  margin: 0 auto;
  letter-spacing: -.015em;
}
.quote-section blockquote::before {
  content: "“";
  font-size: 1.8em;
  color: var(--ink);
  display: block;
  line-height: .6;
  margin-bottom: 20px;
}
.quote-section cite {
  display: block;
  margin-top: 36px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

/* (How-it-works section removed) */

/* ─── Pricing ─── */
.pricing {
  padding: clamp(100px, 12vw, 160px) var(--gutter);
  background: var(--bg-soft);
  text-align: center;
}
.pricing-inner { max-width: var(--max-w); margin: 0 auto; }
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  max-width: 1100px;
  margin-inline: auto;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 44px 36px;
  text-align: left;
  position: relative;
  display: flex; flex-direction: column;
}
.price-card.featured {
  border-color: var(--ink);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .08);
}
.price-card.featured::before {
  content: "Doporučujeme";
  position: absolute; top: -12px; left: 36px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}
html[lang="en"] .price-card.featured::before { content: "Recommended"; }
.price-card h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -.01em;
}
.price-tagline {
  color: var(--ink-mute);
  font-size: 13px;
}
.price-amount {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 400;
  color: var(--ink);
  margin: 24px 0 8px;
  line-height: 1;
  letter-spacing: -.02em;
}
.price-amount small {
  font-size: 16px;
  color: var(--ink-mute);
  font-weight: 400;
  margin-left: 6px;
  font-family: var(--font-sans);
  letter-spacing: 0;
}
.price-features {
  list-style: none;
  margin: 28px 0;
  flex: 1;
}
.price-features li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--ink-soft);
  display: flex; align-items: flex-start; gap: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.price-features li:last-child { border-bottom: 0; }
.price-features li::before {
  content: "✓";
  color: var(--ink);
  font-weight: 600;
  flex-shrink: 0;
  font-size: 16px;
}
.price-card .btn-primary, .price-card .btn-secondary {
  width: 100%;
  justify-content: center;
}

/* ─── Final CTA ─── */
.cta-final {
  padding: clamp(120px, 16vw, 200px) var(--gutter);
  background: var(--bg-dark);
  color: #fff;
  text-align: center;
}
.cta-final-inner { max-width: 800px; margin: 0 auto; }
.cta-final h2 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.025em;
  margin-bottom: 28px;
}
.cta-final h2 i { font-style: normal; color: #fff; }
.cta-final p {
  font-size: 18px;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 44px;
  line-height: 1.6;
  font-weight: 300;
}
.cta-final .btn-primary {
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  padding: 18px 40px;
}
.cta-final .btn-primary:hover { background: var(--ink); color: #fff; box-shadow: 0 0 0 1px #fff; }

/* ─── Footer ─── */
.land-foot {
  padding: 56px var(--gutter) 36px;
  background: var(--bg);
  font-size: 13px;
  color: var(--ink-mute);
}
.land-foot-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.land-foot a { color: var(--ink-soft); margin-left: 28px; }
.land-foot a:hover { color: var(--ink); }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: clamp(40px, 8vw, 80px);
  }
  .hero-text { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-image-side { order: -1; max-width: 600px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-cards { grid-template-columns: 1fr; max-width: 480px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .land-nav-links { gap: 16px; }
  .land-nav-links a:not(.land-cta) { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .feature { min-height: auto; padding: 32px 24px; }
}
@media (max-width: 500px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .photo-grid { grid-template-columns: 1fr; }
}
