/* ================================================================
   Hostee Landing Page — Custom Styles
   ================================================================ */

/* ── Base ──────────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #2C2C2C;
  background-color: #FBF9F5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Typography ───────────────────────────────────────────────── */
.font-heading {
  font-family: 'Playfair Display', Georgia, serif;
}

.font-body {
  font-family: 'Inter', system-ui, sans-serif;
}

/* ── Placeholder screenshots ──────────────────────────────────── */
.placeholder-img {
  background: linear-gradient(135deg, #EDE7DB 0%, #FBF9F5 100%);
  border: 2px dashed #4A5E3E33;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  min-height: 220px;
  color: #6B7066;
  font-size: 0.875rem;
}

/* ── Sticky nav ───────────────────────────────────────────────── */
.nav-scrolled {
  background-color: rgba(251, 249, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(74, 94, 62, 0.08);
}

/* ── FAQ accordion ────────────────────────────────────────────── */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer.open {
  max-height: 400px;
}

.faq-chevron {
  transition: transform 0.3s ease;
}

.faq-chevron.rotated {
  transform: rotate(180deg);
}

/* ── Feature cards ────────────────────────────────────────────── */
.feature-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(74, 94, 62, 0.1);
}

/* ── CTA button pulse ─────────────────────────────────────────── */
.btn-primary {
  background-color: #4A5E3E;
  color: #FBF9F5;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #3D4F33;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: #4A5E3E;
  border: 2px solid #4A5E3E;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
  background-color: #4A5E3E;
  color: #FBF9F5;
}

/* ── Step connector line ──────────────────────────────────────── */
.step-connector {
  position: absolute;
  top: 2rem;
  left: calc(50% + 2rem);
  width: calc(100% - 4rem);
  height: 2px;
  background: linear-gradient(90deg, #C8B078, #4A5E3E33);
}

/* ── Gold accent underline ────────────────────────────────────── */
.gold-underline {
  position: relative;
  display: inline-block;
}

.gold-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #C8B078, #C8B07844);
  border-radius: 2px;
}

/* ── Subtle gradient for sections ─────────────────────────────── */
.section-cream {
  background: linear-gradient(180deg, #FBF9F5 0%, #EDE7DB 100%);
}

.section-white {
  background-color: #FBF9F5;
}

/* ── Mobile nav ───────────────────────────────────────────────── */
.mobile-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-nav.open {
  max-height: 400px;
}

/* ── Pricing card highlight ───────────────────────────────────── */
.pricing-popular {
  border: 2px solid #C8B078;
  position: relative;
}

.pricing-popular::before {
  content: var(--popular-badge-text, 'Najobľúbenejší');
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #C8B078, #B8A068);
  color: #FBF9F5;
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── Decorative elements ──────────────────────────────────────── */
.hero-pattern {
  background-image: radial-gradient(circle at 20% 80%, #C8B07811 1px, transparent 1px),
                    radial-gradient(circle at 80% 20%, #4A5E3E08 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── Hero ornamental divider ─────────────────────────────────── */
.hero-ornament {
  width: 200px;
  height: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ornament::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #C8B078, transparent);
}

.hero-ornament::after {
  content: '';
  position: relative;
  width: 8px;
  height: 8px;
  background: #C8B078;
  border-radius: 50%;
  z-index: 1;
  box-shadow: -16px 0 0 -2px #C8B078, 16px 0 0 -2px #C8B078;
}

/* ── Gold section divider ────────────────────────────────────── */
.gold-divider {
  width: 100%;
  height: 1px;
  max-width: 80rem;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent 5%, #C8B07840 30%, #C8B078 50%, #C8B07840 70%, transparent 95%);
}

/* ── Section ornament (decorative flourish) ──────────────────── */
.section-ornament {
  width: 120px;
  height: 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-ornament::before,
.section-ornament::after {
  content: '';
  position: absolute;
  top: 50%;
}

.section-ornament::before {
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #C8B078, transparent);
}

.section-ornament::after {
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border: 1px solid #C8B078;
  z-index: 1;
  background: #FBF9F5;
}

/* ── Smooth animations ────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* ── QR mock styling ──────────────────────────────────────────── */
.qr-mock {
  width: 120px;
  height: 120px;
  background: white;
  border: 3px solid #4A5E3E;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* ── Language switcher ────────────────────────────────────────── */
.lang-btn {
  cursor: pointer;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  line-height: 1;
}

.lang-btn:hover {
  opacity: 0.8;
}
