/* ── Reset & base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: #2d1f24;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── CSS custom properties ───────────────────────────────────────────────── */
:root {
  --brand:           #c47a8a;
  --brand-hover:     #b36878;
  --brand-subtle:    #f5e6ea;
  --bg-page:         #f8f2f4;
  --text-primary:    #2d1f24;
  --text-secondary:  #8a6570;
  --text-tertiary:   #b89aa2;
  --border:          #f0e0e5;
  --border-strong:   #ddc8ce;
  --font-display:    'Cormorant Garamond', serif;
  --font-ui:         'Inter', sans-serif;
  --radius-sm:       4px;
  --radius-md:       8px;
  --radius-lg:       12px;
  --shadow-sm:       0 1px 4px rgba(196,122,138,0.08);
  --shadow-md:       0 2px 12px rgba(196,122,138,0.12);
  --shadow-lg:       0 4px 28px rgba(196,122,138,0.16);
}

/* ── Layout ──────────────────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography helpers ──────────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }

.section-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  padding: 9px 22px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--brand);
  color: #ffffff;
  border: none;
}
.btn--primary:hover { background: var(--brand-hover); box-shadow: var(--shadow-sm); }

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 0.5px solid var(--border-strong);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn--text {
  background: transparent;
  color: var(--text-secondary);
  padding: 9px 0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.btn--text:hover { color: var(--brand); }

.btn--lg { padding: 13px 32px; font-size: 12px; }
.btn--full { width: 100%; }

/* ── Logo mark ───────────────────────────────────────────────────────────── */
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--brand);
  color: #ffffff;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.logo-mark--dark {
  background: #ffffff;
  color: var(--brand);
}

.logo-wordmark {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.10em;
  color: var(--text-primary);
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 0.5px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.header--scrolled { box-shadow: var(--shadow-md); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}

.nav-link {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.15s;
}
.nav-link:hover { color: var(--brand); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text-secondary);
  font-size: 20px;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  border-top: 0.5px solid var(--border);
  background: #ffffff;
  gap: 4px;
}

.mobile-nav--open { display: flex; }

.mobile-nav__link {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 0.5px solid var(--border);
}
.mobile-nav__link:last-of-type { border-bottom: none; }
.mobile-nav__link:hover { color: var(--brand); }
.mobile-nav__cta { margin-top: 12px; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  background: linear-gradient(160deg, #ffffff 0%, var(--bg-page) 100%);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__content { max-width: 480px; }

.hero__headline {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.hero__note {
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}

/* ── Dashboard preview visual ────────────────────────────────────────────── */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dashboard-preview {
  background: #ffffff;
  border: 0.5px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 100%;
  max-width: 420px;
}

.preview__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-page);
  border-bottom: 0.5px solid var(--border);
}

.preview__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.preview__dot--red    { background: #ff5f57; }
.preview__dot--amber  { background: #febc2e; }
.preview__dot--green  { background: #28c840; }

.preview__title {
  flex: 1;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  letter-spacing: 0.04em;
}

.preview__live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.10em;
  color: #4a7c59;
}

.live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4a7c59;
  animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

.preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px;
}

.preview__tile {
  position: relative;
  background: #ffffff;
  border: 1px solid #cdb8be;
  border-radius: 10px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 72px;
}

.tile__label {
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #c8b0b5;
  width: 100%;
  text-align: center;
}

.tile__number {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile__person {
  position: absolute;
  bottom: 5px;
  right: 6px;
  font-size: 11px;
}
.tile__person--like    { color: #5a9e6f; opacity: 0.8; }
.tile__person--dislike { color: #c9544a; opacity: 0.8; }
.tile__person--occupied { color: #8a6570; opacity: 0.8; }

.tile__alert {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 14px;
  height: 14px;
  background: #c9544a;
  color: #ffffff;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview__tile--like {
  background: linear-gradient(160deg, #ffffff 0%, #f6faf2 100%);
  border: 1.5px solid #4a8e5f;
}
.preview__tile--dislike {
  background: linear-gradient(160deg, #ffffff 0%, #fdf6f6 100%);
  border: 1.5px solid #c9544a;
  animation: tile-pulse 2.5s ease-in-out infinite;
}
.preview__tile--available { background: #ffffff; border-color: #e0d4d7; }

@keyframes tile-pulse {
  0%,  100% { box-shadow: 0 0 0 2px rgba(201,84,74,0.08); }
  50%        { box-shadow: 0 0 0 5px rgba(201,84,74,0.14); }
}

.preview__alert {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 14px 14px;
  padding: 9px 12px;
  background: #fdf6f6;
  border: 0.5px solid #e8c5c3;
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-primary);
}
.preview__alert > i { color: #c9544a; font-size: 14px; flex-shrink: 0; }
.preview__alert > span { flex: 1; }

.preview__attend {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9544a;
  border: 0.5px solid #c9544a;
  border-radius: 4px;
  padding: 3px 8px;
  background: transparent;
  cursor: pointer;
}

/* ── How It Works ────────────────────────────────────────────────────────── */
.how-it-works {
  padding: 96px 0;
  background: var(--bg-page);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}

.step__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--brand-subtle);
  border-radius: 50%;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--brand);
}

.step__num {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: var(--brand);
  color: #ffffff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-page);
}

.step__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.step__connector {
  flex: 0 0 40px;
  height: 1px;
  border-top: 1.5px dashed var(--border-strong);
  margin-top: 32px;
  align-self: flex-start;
}

/* ── Features ────────────────────────────────────────────────────────────── */
.features { padding: 96px 0; background: #ffffff; }

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  position: relative;
  background: #ffffff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.feature-card--pro { border-color: var(--brand-subtle); }

.feature-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: var(--brand-subtle);
  color: var(--brand);
  border-radius: 99px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.feature-card__icon {
  font-size: 22px;
  color: var(--brand);
  margin-bottom: 14px;
  display: block;
}

.feature-card--pro .feature-card__icon { margin-top: 0; }

.feature-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-card__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.pricing { padding: 96px 0; background: var(--bg-page); }

.pricing__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto 24px;
}

.pricing-card {
  position: relative;
  background: #ffffff;
  border: 0.5px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.pricing-card--pro {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
}

.pricing-card__header { margin-bottom: 28px; }

.pricing-card__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price__amount {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1;
}

.price__period {
  font-size: 13px;
  color: var(--text-secondary);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.pricing-card__features li i {
  color: var(--brand);
  font-size: 14px;
  flex-shrink: 0;
}

.pricing-card__cta { margin-top: auto; }

.pricing__note {
  text-align: center;
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 0.03em;
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { padding: 96px 0; background: #ffffff; }

.faq__list {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item { border-bottom: 0.5px solid var(--border); }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  gap: 16px;
  transition: color 0.15s;
}
.faq__question:hover { color: var(--brand); }

.faq__icon {
  font-size: 16px;
  color: var(--text-tertiary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq__item--open .faq__icon { transform: rotate(90deg); color: var(--brand); }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__item--open .faq__answer { max-height: 200px; }

.faq__answer p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.75;
  padding-bottom: 20px;
}

/* ── Final CTA ───────────────────────────────────────────────────────────── */
.final-cta {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--brand-subtle) 0%, #fdf4f6 100%);
  text-align: center;
}

.final-cta__headline {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.final-cta__sub {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  background: #2d1f24;
  color: rgba(255,255,255,0.75);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 48px;
}

.footer__brand { max-width: 260px; }

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer__wordmark {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.9);
}

.footer__tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer__email {
  font-size: 13px;
  color: var(--brand);
  transition: opacity 0.15s;
}
.footer__email:hover { opacity: 0.8; }

.footer__heading {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.footer__link:hover { color: var(--brand); }

.footer__bottom {
  border-top: 0.5px solid rgba(255,255,255,0.08);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__legal-link {
  color: rgba(255,255,255,0.35);
  font-size: 11px;
  transition: color 0.15s;
}
.footer__legal-link:hover { color: var(--brand); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .hero__headline { font-size: 42px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 767px) {
  .header__nav, .header__actions { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 64px 0 56px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__content { max-width: none; }
  .hero__headline { font-size: 36px; }
  .hero__visual { display: none; }

  .how-it-works, .features, .pricing, .faq, .final-cta { padding: 64px 0; }
  .section-title { font-size: 28px; }

  .steps { flex-direction: column; gap: 32px; }
  .step__connector { display: none; }
  .step { padding: 0; text-align: left; display: flex; align-items: flex-start; gap: 16px; }
  .step__icon { flex-shrink: 0; margin-bottom: 0; width: 52px; height: 52px; font-size: 20px; }

  .features__grid { grid-template-columns: 1fr; gap: 16px; }

  .pricing__cards { grid-template-columns: 1fr; max-width: 400px; }
  .pricing-card--pro { margin-top: 16px; }

  .final-cta__headline { font-size: 30px; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 32px; }
  .footer__bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
}
