/* Homepage-only styles. Shared tokens and base components live in style.css. */

:root {
  --blue: #8FD3EC;
  --blue-light: #e6f6fc;
}

section { scroll-margin-top: 72px; }

/* ── NAV ── */
.home-brand { display: inline-flex; align-items: center; gap: 10px; }
.home-brand img { display: block; }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }

/* ── HERO ── */
.hero { padding-top: 72px; }
.proof { display: flex; gap: 28px; flex-wrap: wrap; margin: -12px 0 28px; }
.proof-item { display: flex; flex-direction: column; padding-left: 14px; border-left: 3px solid var(--primary); }
.proof-item strong { font-size: 1.15rem; line-height: 1.3; }
.proof-item > span { font-size: 0.82rem; color: var(--text-secondary); }
.stars { color: #F5B301; letter-spacing: 1px; font-size: 0.95rem; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 16px;
  border-radius: 12px;
  background: var(--text);
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-btn span { display: flex; flex-direction: column; font-weight: 600; font-size: 1.05rem; line-height: 1.15; }
.store-btn small { font-size: 0.68rem; font-weight: 500; opacity: 0.8; }

.hero-visual { min-height: 540px; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.55;
}
.blob-pink { width: 300px; height: 300px; background: var(--primary-light); top: 10px; left: 0; }
.blob-blue { width: 260px; height: 260px; background: var(--blue-light); bottom: 0; right: 0; }
.phone-mockup { z-index: 1; }

.countdown-card { background: var(--primary); text-align: center; }
.countdown-card .phone-card-label { color: var(--text); opacity: 0.7; }
.countdown-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}
.countdown-sub { font-size: 0.65rem; margin-top: 4px; }
.chip-blue { background: var(--blue-light); color: #2a7fa0; }

.mini-check { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mini-check li {
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mini-check li::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 4px;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
}
.mini-check li.done { color: var(--text-secondary); text-decoration: line-through; }
.mini-check li.done::before {
  background: var(--primary);
  border-color: var(--primary);
}
.mini-check.lg { gap: 12px; }
.mini-check.lg li { font-size: 0.95rem; gap: 12px; }
.mini-check.lg li::before { width: 20px; height: 20px; border-radius: 6px; }

/* ── FEATURES ── */
.features-grid.four { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ── SPLIT SECTIONS ── */
.split {
  max-width: 1100px;
  margin: 0 auto;
  padding: 88px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse .split-visual { order: -1; }
.split-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 16px;
}
.split-text > p { color: var(--text-secondary); margin-bottom: 24px; }
.split-visual { display: flex; justify-content: center; }

.tick-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.tick-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; }
.tick-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23242423'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.panel {
  width: 100%;
  max-width: 380px;
  background: var(--card-bg);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}
.panel-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.panel-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.stat-row div {
  background: var(--bg);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.stat-row strong { font-family: 'Playfair Display', serif; font-size: 1.4rem; line-height: 1.1; }
.stat-row span { font-size: 0.72rem; color: var(--text-secondary); }

.guest-list { list-style: none; display: flex; flex-direction: column; }
.guest-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}
.tag {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.tag.yes { background: var(--primary-light); color: var(--accent); }
.tag.wait { background: var(--blue-light); color: #2a7fa0; }

/* ── PLAN TOGETHER ── */
.together { background: var(--card-bg); padding: 88px 24px; }
.steps {
  list-style: none;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: none;
}
.steps li {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  font-weight: 700;
  margin-bottom: 16px;
}
.steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
.steps p { font-size: 0.9rem; color: var(--text-secondary); }

/* ── COMPARISON ── */
.compare { padding: 88px 24px; }
.compare .section-header { margin-bottom: 40px; }
.compare-table-wrap { max-width: 760px; margin: 0 auto; overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 0.92rem;
}
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; }
.compare-table thead th { font-weight: 700; border-bottom: 1px solid var(--border); }
.compare-table tbody tr + tr td { border-top: 1px solid var(--border); }
.compare-table .col-us { background: var(--primary-light); color: var(--accent); }
.compare-table td.no { color: var(--text-secondary); }
.compare-table td.no::before { content: '✕  '; color: #c0c0c0; }
.compare-table td.yes { background: var(--primary-light); font-weight: 600; }
.compare-table td.yes::before { content: '✓  '; color: var(--accent); }

/* ── E-KAD ── */
.ekad { padding-top: 40px; }
.ekad-stack { position: relative; width: 260px; height: 380px; }
.ekad-card {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
.ekad-back { background: var(--blue-light); transform: rotate(7deg) translate(24px, 6px); }
.ekad-front {
  background: #fffaf7;
  border: 1px solid var(--primary-light);
  transform: rotate(-3deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 28px;
}
.ekad-front small {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.ekad-names {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  line-height: 1.15;
}
.ekad-names span { color: var(--primary); font-size: 1.6rem; }
.ekad-rsvp {
  margin-top: 6px;
  padding: 8px 26px;
  border-radius: 999px;
  background: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}

/* ── BUDGET ── */
.budget { background: var(--card-bg); }

/* ── GIFTS & GALLERY ── */
.qr-panel { text-align: center; max-width: 300px; }
.qr {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  border-radius: 12px;
  border: 10px solid #fff;
  box-shadow: var(--shadow);
  background: repeating-conic-gradient(var(--text) 0 25%, #fff 0 50%) 0 0 / 28px 28px;
  position: relative;
}
.qr::after {
  content: '';
  position: absolute;
  inset: 50px;
  background: #fff url("images/favicon.png") center / 44px no-repeat;
  border-radius: 8px;
}

/* ── WIDGET ── */
.widget-band { padding: 0 24px 88px; }
.widget-inner {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(120deg, var(--primary-light), var(--blue-light));
  border-radius: 28px;
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.widget-preview {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  border-radius: 32px;
  background: var(--card-bg);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.widget-num { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; line-height: 1; }
.widget-label { font-size: 0.8rem; color: var(--text-secondary); margin-top: 4px; }
.widget-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 8px;
}
.widget-inner p { color: var(--text-secondary); }

/* ── CTA ── */
.cta-logo {
  background: #fff;
  border-radius: 20px;
  padding: 6px;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.store-btn.dark { background: var(--text); }

/* ── FAQ ── */
.faq { padding: 88px 24px; }
.faq .section-header { margin-bottom: 40px; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0 24px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-secondary); padding-bottom: 20px; font-size: 0.95rem; }
.faq details a { color: var(--accent); }

/* ── FOOTER ── */
.footer-brand .home-brand { display: inline-flex; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero { padding-top: 40px; }
  .hero-visual { min-height: 0; }
  .split { grid-template-columns: 1fr; gap: 40px; padding: 64px 16px; }
  .split .split-visual, .split.reverse .split-visual { order: 0; }
  .together, .compare, .faq { padding: 64px 16px; }
  .widget-inner { flex-direction: column; text-align: center; padding: 32px 24px; }
  .compare-table th, .compare-table td { padding: 12px; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .store-btn { flex: 1; justify-content: center; }
}
