/* ============================================================
   Od ideje do zaslužka z AI — Workshop Landing Page
   Design: itsanusa.com system (cream · lime · dark)
   ============================================================ */

/* --- Variables --- */
:root {
  --lime:        #DCFD44;
  --lime-dark:   #C5E82E;
  --lime-light:  #F2FFCA;
  --cream:       #F6EFEE;
  --cream-mid:   #EDE4E2;
  --white:       #FFFFFF;
  --dark:        #181210;
  --dark-mid:    #3A302D;
  --gray:        #7A6E6B;
  --gray-mid:    #A89E9B;
  --border:      #E5DAD7;
  --radius:      18px;
  --radius-sm:   10px;
  --radius-pill: 999px;
  --shadow-card: 0 2px 20px rgba(0,0,0,0.07);
  --max-w:       1120px;
  --font-head:   'Plus Jakarta Sans', sans-serif;
  --font-body:   'DM Sans', sans-serif;

  /* Legacy aliases so existing inline styles still resolve */
  --black:       var(--dark);
  --card:        var(--cream-mid);
  --accent:      var(--lime);
  --mid:         var(--gray);
  --light:       var(--border);
  --accent2:     var(--dark-mid);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  font-weight: 800;
  color: var(--dark);
}
h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.05; }
h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 16px; }
h3 { font-size: clamp(16px, 2.2vw, 20px); }

p { margin-bottom: 0; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

/* --- Layout --- */
.section {
  padding: 88px 24px;
  background: var(--cream);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* --- CTA Buttons --- */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--dark);
  color: var(--lime);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.18s;
}
.cta-primary:hover {
  background: var(--dark-mid);
  transform: translateY(-2px);
}

.cta-white {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--lime);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.18s;
}
.cta-white:hover {
  background: var(--lime-dark);
  transform: translateY(-2px);
}

/* --- HERO --- */
.hero {
  background: var(--cream);
  padding: 0;
}
.hero-grid {
  max-width: 1500px;
  margin: 0 auto;
  padding: 80px 24px 72px;
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(0, 620px) minmax(140px, 1fr);
  gap: 32px;
  align-items: center;
}
.hero-flank-photo {
  display: block;
}
.hero-flank-photo img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3/4;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  background: var(--cream);
}
.hero-flank-manca img {
  margin-right: auto;
  object-fit: cover;
  object-position: center 15%;
}
.hero-flank-anusa img {
  margin-left: auto;
  object-fit: contain;
  object-position: center;
}
.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  background: var(--cream-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  margin-bottom: 28px;
}
.hero h1 { color: var(--dark); margin-bottom: 20px; line-height: 1.25; }
.hero h1 .accent {
  background: var(--lime);
  color: var(--dark);
  padding: 4px 12px 6px;
  border-radius: 8px;
  display: inline-block;
  line-height: 1;
  vertical-align: baseline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero-sub {
  font-size: 18px;
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.65;
}
.hero-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  justify-content: center;
}
.hero-meta span {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-mid);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
}
.hero-price-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--gray);
}
.hero-price-note strong { color: var(--dark); }
.hero-hosts {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--gray);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-hosts-label { color: var(--gray-mid); font-weight: 700; }
.hero-host {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dark);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.18s;
}
.hero-host:hover { text-decoration-color: var(--dark); }
.hero-host-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 1px solid var(--border);
  background: var(--cream-mid);
  flex-shrink: 0;
}
.hero-host.is-anusa .hero-host-avatar {
  object-fit: contain;
  object-position: center bottom;
  background: var(--cream);
}
.hero-host-sep { color: var(--gray-mid); }
.hero-photos-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: end;
}
.hero-photo-item { position: relative; }
.hero-photo-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 10%;
  border-radius: var(--radius);
  display: block;
}
.hero-photo-anusa img {
  object-fit: contain;
  object-position: center bottom;
  background: var(--cream);
}
.hero-photo-manca { transform: translateY(28px); }
.hero-photo-name {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  margin-top: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- PROBLEM --- */
#problem { background: var(--white); }
.problem-intro {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.3;
  margin-left: auto;
  margin-right: auto;
}
.pain-list {
  max-width: 640px;
  margin-bottom: 32px;
  margin-left: auto;
  margin-right: auto;
}
.pain-list li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  font-size: 16px;
  color: var(--dark-mid);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
}
.pain-list li:last-child { border-bottom: none; }
.pain-list li::before {
  content: '✕';
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-mid);
  margin-top: 2px;
}
.problem-flip {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--lime-light);
  border: 1px solid rgba(220,253,68,0.5);
  border-radius: var(--radius);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.problem-flip p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--dark);
}
.problem-flip strong { color: var(--dark); }

/* --- PROMISE --- */
#promise { background: var(--cream); }
#promise h2 {
  color: var(--dark);
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
#promise > .container > p {
  color: var(--gray);
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.promise-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.promise-item:nth-child(2) {
  border-color: var(--lime);
  background: var(--lime-light);
}
.p-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  color: var(--border);
  margin-bottom: 12px;
}
.promise-item:nth-child(2) .p-num { color: var(--lime-dark); }
.p-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.35;
}
.p-desc { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* --- AGENDA --- */
#agenda { background: var(--cream); }
#agenda h2 { color: var(--dark); }
.agenda-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.agenda-row:last-child { border-bottom: none; }
.agenda-time {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  padding-top: 2px;
}
.agenda-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.4;
}
.agenda-desc { font-size: 14px; color: var(--gray); line-height: 1.6; margin-bottom: 10px; }
.ai-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.ai-tag.manca { background: var(--dark); color: var(--white); }
.ai-tag.anusa { background: var(--lime-light); color: var(--dark); border: 1px solid rgba(220,253,68,0.6); }

/* --- WHY NOT NORMAL --- */
#why { background: var(--dark); }
#why h2 { color: var(--white); margin-bottom: 10px; }
#why > .container > p { color: var(--gray-mid); font-size: 16px; max-width: 560px; margin-bottom: 48px; line-height: 1.65; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.why-host-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.why-host-role {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
  font-weight: 600;
}
.why-focus { list-style: none; padding: 0; margin: 0; }
.why-focus li {
  font-size: 14px;
  color: var(--gray-mid);
  padding: 8px 0 8px 20px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  line-height: 1.5;
}
.why-focus li:last-child { border-bottom: none; }
.why-focus li::before { content: '·'; position: absolute; left: 0; color: var(--lime); font-size: 22px; top: 0px; line-height: 1.3; }
.nomad-bar {
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding: 24px 28px;
  border-left: 3px solid var(--lime);
  margin-bottom: 32px;
}
.nomad-bar p { font-size: 14px; color: var(--gray-mid); line-height: 1.7; }
.nomad-bar strong { color: var(--gray); }
.ai-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ai-feat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px;
}
.ai-feat h3 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.ai-feat p { font-size: 13px; color: var(--gray-mid); line-height: 1.6; }

/* --- HOSTS --- */
#hosts { background: var(--white); }
#hosts h2 { color: var(--dark); margin-bottom: 48px; }
.hosts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.host-name {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}
.host-role {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
}
.host-card-manca .host-role { color: var(--gray); }
.host-card-anusa .host-role { color: var(--gray); }
.host-photo {
  width: 100%;
  height: 320px;
  background: var(--cream-mid);
  border-radius: var(--radius);
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.host-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.host-card-anusa .host-photo {
  background: var(--cream);
}
.host-card-anusa .host-photo img {
  object-fit: contain;
  object-position: center bottom;
}
.host-stats { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.host-stat {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
}
.host-card-anusa .host-stat {
  background: var(--lime-light);
  border-color: rgba(220,253,68,0.5);
}
.host-stat-num {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}
.host-stat-label { font-size: 11px; color: var(--gray); margin-top: 2px; }
.host-bio { font-size: 15px; color: var(--gray); line-height: 1.7; margin-bottom: 12px; }

/* --- FOR WHOM --- */
#forwho { background: var(--cream-mid); }
.forwho-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.fwcol h3 { font-size: 18px; font-weight: 800; margin-bottom: 20px; }
.fwcol.yes h3 { color: var(--dark); }
.fwcol.no h3 { color: var(--gray); }
.fwcol ul li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--dark-mid);
  line-height: 1.5;
}
.fwcol ul li:last-child { border-bottom: none; }
.fwcol.yes ul li::before { content: '✓'; color: #27AE60; font-weight: 700; flex-shrink: 0; }
.fwcol.no ul li { color: var(--gray); }
.fwcol.no ul li::before { content: '✕'; color: var(--gray-mid); flex-shrink: 0; }

/* --- PRICING --- */
#pricing { background: var(--cream); }
#pricing h2 { color: var(--dark); text-align: center; }
#pricing > .container > p { text-align: center; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 640px;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.price-card.early { border-color: var(--lime); border-width: 2px; background: var(--lime-light); }
.price-card.regular { }
.price-card.sold-out { opacity: 0.45; }
.price-card.sold-out::after {
  content: 'RAZPRODANO';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  border: 3px solid var(--dark);
  padding: 8px 16px;
  pointer-events: none;
  white-space: nowrap;
  border-radius: 4px;
}
.price-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 600;
  margin-bottom: 12px;
}
.price-label.hot { color: var(--dark); }
.price-num {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 6px;
}
.price-seats { font-size: 13px; color: var(--gray); margin-bottom: 24px; }
.price-seats strong, .price-seats-count { color: var(--dark); font-weight: 700; }
.price-inc { list-style: none; padding: 0; margin: 0; }
.price-inc li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 13px;
  color: var(--dark-mid);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.45;
}
.price-inc li:last-child { border-bottom: none; }
.price-inc li::before { content: '·'; color: var(--dark); font-size: 18px; flex-shrink: 0; line-height: 1; }
.price-refund-note { color: var(--gray); font-size: 12px; margin-top: 14px; }
.price-cta-wrap { margin-top: 36px; text-align: center; }
.price-anchor {
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 560px;
  box-shadow: var(--shadow-card);
  margin-left: auto;
  margin-right: auto;
}
.price-anchor p { font-size: 14px; color: var(--gray); line-height: 1.75; }
.price-anchor strong { color: var(--dark-mid); }

/* --- FAQ --- */
#faq { background: var(--white); }
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.faq-a { font-size: 15px; color: var(--gray); line-height: 1.7; }
.faq-a a { color: var(--dark); font-weight: 500; text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 3px; }

/* --- FINAL CTA --- */
.final-cta {
  background: var(--dark);
  padding: 96px 24px;
  text-align: center;
}
.final-cta h2 { color: var(--white); font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.final-cta .sub {
  color: var(--gray-mid);
  font-size: 16px;
  margin-bottom: 40px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}
.final-meta { margin-top: 24px; font-size: 12px; color: var(--gray); line-height: 1.9; }

/* --- FOOTER --- */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 100%;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer p { font-size: 12px; color: var(--gray); margin: 0; }
.footer a { color: var(--gray-mid); text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: var(--lime); }

/* --- Loading state --- */
.cta-loading { opacity: 0.6; pointer-events: none; cursor: wait; }
.cta-loading::after { content: ' …'; }

/* Cookie consent UI now lives in consent.js (self-injected, scoped styles) */

/* --- Desktop-only: hide small Vodita avatars when big flank photos show --- */
@media (min-width: 901px) {
  .hero-host-avatar { display: none; }
  .hero-host { gap: 0; }
}

/* --- Mobile --- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 64px 20px 56px;
    gap: 0;
  }
  .hero-flank-photo { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 64px 20px; }
}

@media (max-width: 640px) {
  .section { padding: 56px 20px; }
  .promise-grid,
  .hosts-grid,
  .forwho-grid,
  .pricing-grid,
  .ai-features-grid,
  .why-grid { grid-template-columns: 1fr; }
  .agenda-row { grid-template-columns: 80px 1fr; gap: 16px; }
  .agenda-time { font-size: 18px; }
  .hero-photo-manca { transform: none; }
  .final-cta { padding: 64px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}
