/* Color Palette */
:root {
  --color-primary: #0A0A0A;
  --color-secondary: #FFFFFF;
  --color-accent: #C9A961;
  --color-bg: #FAFAF8;
  --color-text: #2C2C2C;
  --color-success: #00C896;
  --color-error: #FF3B30;

  --radius-sm: 8px;
  --radius-md: 12px;
  --shadow-sm: 0 8px 24px rgba(10,10,10,0.06);
  --shadow-md: 0 12px 32px rgba(10,10,10,0.08);
}

/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: linear-gradient(180deg, var(--color-bg), #fff);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html { scroll-behavior: smooth; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0; z-index: 50;
  background: rgba(250,250,248,0.8);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(10,10,10,0.06);
}
.header-inner {
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-link { display: inline-flex; align-items: center; gap: 10px; height: 28px; overflow: visible; width: auto; }
.brand-logo { display: block; width: 28px; height: 28px; object-fit: contain; object-position: center; }
.brand-text { font-family: "Libre Baskerville", Georgia, serif; letter-spacing: 0.2px; font-weight: 700; font-size: 16px; color: var(--color-primary); }
.nav a { margin-left: 18px; font-weight: 500; opacity: 0.8; }
.nav a:hover { opacity: 1; }

/* Language switcher */
.lang-switcher {
  display: inline-flex; align-items: center; gap: 0;
  margin-left: 16px; border-radius: 999px; overflow: hidden;
  border: 1px solid #E6E2D8; background: #F7F5EF;
}
.lang-switcher button {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent;
  font: 600 13px/1 Inter, system-ui, sans-serif; padding: 8px 12px; cursor: pointer;
  color: #6b6b6b;
}
.lang-switcher button.active {
  background: linear-gradient(180deg, #efe6c9, #dac78f);
  color: #1f1a0f;
}

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 22px; border-radius: 999px;
  border: 1px solid transparent; font-weight: 600; transition: all .25s ease;
}
.button-accent {
  background: linear-gradient(180deg, #d9c58a, var(--color-accent));
  color: #fff;
  box-shadow: 0 8px 18px rgba(201,169,97,0.28), inset 0 -2px 0 rgba(0,0,0,0.08);
}
.button-accent:hover { filter: brightness(0.96); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(201,169,97,0.32); }
.button.full { width: 100%; height: 56px; }

/* Make CTA button inside form look like the screenshot: padded and extra rounded */
.form-wrap .button.full {
  width: calc(100% - 56px);
  margin: 12px auto 0;
  border-radius: 32px;
}

/* Hero */
.hero {
  min-height: 100svh;
  display: grid; align-items: center; position: relative;
  /* Keep hero image with a soft light overlay for readability */
  background:
    linear-gradient(180deg, rgba(250,250,248,0.90), rgba(255,255,255,0.86)),
    url('images/hero.jpg') center / cover no-repeat;
}
.hero-inner { text-align: center; padding: 96px 0; }
.display {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(40px, 8.5vw, 88px);
  line-height: 1.06; margin: 0; color: var(--color-primary);
  letter-spacing: -0.5px;
}
.gold { color: var(--color-accent); }
.subtitle { max-width: 760px; margin: 18px auto 28px; font-size: 18px; opacity: 0.9; }
.hero-sub { opacity: .7; }
.hero-cta { display: inline-flex; gap: 14px; align-items: center; justify-content: center; }
.button-ghost { background: #fff; color: var(--color-text); border: 1px solid #E6E6E6; }
.button-ghost:hover { background: #FAFAF8; box-shadow: var(--shadow-sm); }
.hero .trusted { margin-top: 24px; color: #555; }
.hero .trusted b { color: var(--color-primary); }
.trusted { margin: 20px 0 8px; font-size: 13px; opacity: .6; }
.trusted-logos { display: flex; gap: 16px; justify-content: center; align-items: center; margin: 6px 0 0; }
.trusted-logos .logo { width: 92px; height: 22px; background: #F1F0EC; border: 1px solid #E6E2D8; border-radius: 6px; box-shadow: inset 0 -1px 0 rgba(0,0,0,0.04); }

.scroll-indicator { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); height: 40px; }
.scroll-indicator span {
  display: inline-block; width: 22px; height: 36px; border-radius: 16px;
  border: 2px solid rgba(10,10,10,0.25); position: relative;
}
.scroll-indicator span::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: rgba(10,10,10,0.4); border-radius: 2px; top: 6px;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot { 0%{opacity:0; transform:translate(-50%,0)} 40%{opacity:1} 100%{opacity:0; transform:translate(-50%,10px)} }

/* Gallery */
.gallery { padding: 64px 0 40px; }
.section-title {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(24px, 3.5vw, 36px);
  margin: 0 0 24px; text-align: center; color: var(--color-primary);
}
.section-subtitle { text-align: center; margin: 0 0 28px; opacity: .75; }
.grid {
  display: grid;
  gap: 22px;
}

/* Responsive grid layout */
@media (min-width: 768px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .compare-wide { grid-column: 1 / -1; }
}

/* Styles (style cards) */
.styles { padding: 28px 0 64px; }
.styles-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .styles-grid { grid-template-columns: repeat(3, 1fr); } }
.style-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 36px rgba(10,10,10,0.08); border: 1px solid rgba(10,10,10,0.06); }
.style-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.style-card .content { padding: 16px 18px 18px; }
.style-title { font-family: "Libre Baskerville", Georgia, serif; font-size: 20px; margin: 0 0 6px; color: var(--color-primary); }
.style-desc { margin: 0; opacity: .8; }

/* Pricing */
.pricing { padding: 64px 0 24px; background: transparent; }
.pricing-grid {
  display: grid; gap: 24px; grid-template-columns: 1fr; align-items: stretch;
}
@media (min-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.plan {
  position: relative;
  background: #fff;
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(10,10,10,0.06);
  padding: 28px 24px;
  text-align: center;
}
.plan.popular { border-color: rgba(201,169,97,0.8); box-shadow: 0 24px 48px rgba(201,169,97,0.18); }
.plan-badge {
  position: absolute; left: 50%; transform: translate(-50%, -50%);
  top: 0; background: var(--color-accent); color: #1f1a0f; font-weight: 700;
  padding: 8px 14px; border-radius: 999px; font-size: 13px; box-shadow: 0 8px 16px rgba(201,169,97,0.35);
}
.plan-header { margin-bottom: 12px; }
.plan-title { font-family: "Libre Baskerville", Georgia, serif; font-size: 24px; margin: 0; color: var(--color-primary); }
.plan-sub { margin: 6px 0 0; opacity: .7; }
.plan-price { margin: 16px 0 8px; display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.plan-price .currency { font-weight: 700; }
.plan-price .amount { font-size: 40px; font-weight: 800; letter-spacing: -0.5px; }
.plan-price .period { opacity: .7; }

.plan-features { list-style: none; margin: 14px 0 18px; padding: 0; text-align: left; display: inline-block; }
.plan-features li { padding: 8px 0 8px 26px; position: relative; }
.plan-features li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #b7f5df, #00C896);
}
.plan-features li::after {
  content: ""; position: absolute; left: 3px; top: 13px; width: 12px; height: 12px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center / 12px 12px no-repeat;
}

.plan-cta { margin-top: 10px; }
.button-dark {
  background: #0A0A0A; color: #fff; border-color: #0A0A0A;
}
.button-dark:hover { filter: none; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(10,10,10,0.2); }

/* Muted buttons for non-primary pricing cards */
.plan .button:not(.button-dark) {
  background: #F1F0EC; color: #1d1d1d; border: 1px solid #E6E2D8;
}
.plan .button:not(.button-dark):hover {
  filter: none; transform: translateY(-1px); box-shadow: var(--shadow-sm);
}

/* Compare component */
.compare {
  position: relative;
  overflow: hidden; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  background: #eee;
  --pos: 50%;
}
.compare .img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.compare .img-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); transition: clip-path .06s linear; }
.compare .labels { position: absolute; inset: 12px; display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.label { font-size: 12px; font-weight: 600; letter-spacing: .4px; color: #fff; background: rgba(10,10,10,0.35); padding: 6px 10px; border-radius: 999px; text-transform: uppercase; }
.label.after { background: rgba(201,169,97,0.70); color: #1f1a0f; }

/* Range overlay for accessibility */
.compare .slider {
  appearance: none; -webkit-appearance: none;
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize;
}
.compare:has(.slider:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* Handle */
.compare .handle {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  left: var(--pos);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 2px solid rgba(10,10,10,0.1);
  box-shadow: 0 8px 22px rgba(10,10,10,0.15);
  pointer-events: none;
  /* Left-right arrows icon */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M4 12h16' stroke='%23C9A961' stroke-width='2' stroke-linecap='round'/><path d='M10 8l-4 4 4 4' stroke='%23C9A961' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/><path d='M14 8l4 4-4 4' stroke='%23C9A961' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
}
.compare:hover .handle { transform: translate(-50%, -50%) scale(1.02); }

/* CTA */
.cta { padding: 80px 0 100px; background: #fff; }
.cta-inner { max-width: 960px; margin: 0 auto; text-align: center; }
.cta-header h3 { font-family: "Libre Baskerville", Georgia, serif; font-size: clamp(22px, 3vw, 32px); margin: 0 0 10px; color: var(--color-primary); }
.cta-header p { margin: 0 0 26px; opacity: .9; }

.form-wrap {
  margin: 0 auto; max-width: 500px; background: #fff; padding: 40px; border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.form-title { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.form-subtitle { margin: 0 0 20px; opacity: .8; }
.field { margin-bottom: 20px; }
.field input {
  width: 100%; height: 56px; padding: 0 20px; font: 16px/1 Inter, sans-serif;
  border: 2px solid #E5E5E5; border-radius: 12px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(201,169,97,0.2); }
.form-message { min-height: 22px; margin-top: 8px; font-size: 14px; }
.form-message.success { color: var(--color-success); }
.form-message.error { color: var(--color-error); }

/* Sticky mobile CTA */
.mobile-sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  background: var(--color-accent); color: #fff; text-align: center; padding: 14px 18px; border-radius: 999px; font-weight: 700; box-shadow: var(--shadow-md);
  transition: transform .2s ease, filter .2s ease; display: none;
}
.mobile-sticky-cta:hover { filter: brightness(0.92); transform: translateY(-1px); }
@media (max-width: 767px) { .mobile-sticky-cta { display: block; } }

/* Footer */
.site-footer { border-top: 1px solid rgba(10,10,10,0.06); background: #fff; }
.footer-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.to-top { opacity: .7; }
.to-top:hover { opacity: 1; }

/* Hover effects */
.compare:hover .img { transform: scale(1.02); transition: transform .25s ease; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .compare .img-after { transition: none; }
  .compare:hover .img { transform: none; }
}

/* Modal */
body.modal-open { overflow: hidden; }
.modal {
  position: fixed; inset: 0; z-index: 100; display: none;
}
.modal[aria-hidden="false"] { display: block; }
.modal-backdrop {
  position: absolute; inset: 0; background: rgba(10,10,10,0.45);
  backdrop-filter: blur(4px);
}
.modal-dialog {
  position: relative; max-width: 520px; margin: 10vh auto; background: #fff; color: var(--color-text);
  border-radius: 16px; box-shadow: var(--shadow-md); padding: 28px 24px;
}
.modal-header h3 { margin: 0 0 6px; font-family: "Libre Baskerville", Georgia, serif; color: var(--color-primary); }
.modal-body p { margin: 8px 0; line-height: 1.6; }
.modal-footer { display: grid; gap: 12px; margin-top: 18px; }
.modal-close {
  position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(10,10,10,0.1);
  background: #fff; cursor: pointer; font-size: 22px; line-height: 1; color: var(--color-primary);
}
/* Features */
.features { padding: 64px 0; }
.features-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: #fff; border: 1px solid rgba(10,10,10,0.08); border-radius: 12px;
  padding: 22px; box-shadow: var(--shadow-sm);
}
.feature .icon { margin-bottom: 10px; }
.feature .svg-icon { width: 24px; height: 24px; stroke: var(--color-accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-title { margin: 6px 0 8px; font-size: 18px; font-weight: 700; color: var(--color-primary); }
.feature-text { margin: 0; opacity: .8; }

/* FAQ */
.faq { padding: 72px 0; background: transparent; }
.accordion { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
.accordion-item {
  background: #fff; border: 1px solid rgba(10,10,10,0.08); border-radius: 12px; box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.accordion-item summary {
  list-style: none; cursor: pointer; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; font-weight: 600;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after {
  content: ""; width: 18px; height: 18px; flex: 0 0 18px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232C2C2C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") center / 18px 18px no-repeat;
  opacity: .7;
}
.accordion-item[open] summary { border-bottom: 1px solid rgba(10,10,10,0.06); }
.accordion-item[open] summary::after {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232C2C2C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M18 15l-6-6-6 6'/></svg>") center / 18px 18px no-repeat;
}
.accordion-item .content { padding: 14px 18px 18px; opacity: .85; }
