/* ══════════════════════════════════════════════
   TouchCard — Index Page Styles
   ══════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
  background: var(--cream);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 56px 80px 48px;
}

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: heroImgReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes heroImgReveal {
  from { opacity: 0; transform: scale(1.03); }
  to { opacity: 1; transform: scale(1); }
}

.hero-right-overlay {
  position: absolute;
  bottom: 32px;
  left: 24px;
  right: 24px;
  display: flex;
  gap: 12px;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.hero-pill {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brown);
  white-space: nowrap;
}

.hero-badge {
  display: inline-block;
  background: var(--rose-light);
  color: var(--rose-dark);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  align-self: flex-start;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero h1 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  color: var(--brown);
  margin-bottom: 20px;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero h1 em {
  font-style: italic;
  color: var(--rose-dark);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 440px;
  margin-bottom: 36px;
  line-height: 1.75;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1.5px solid var(--cream-dark);
  flex-wrap: wrap;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-stat strong {
  display: block;
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  color: var(--brown);
}

.hero-stat span { font-size: 0.8rem; color: var(--text-mid); }

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.hero-scroll span {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
  opacity: 0.6;
}

.hero-scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--rose), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); }
}

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 48px 24px 36px; }
  .hero-right { height: 340px; }
  .hero-badge { align-self: auto; }
  .hero-scroll { display: none; }
}

/* ── How it Works ─────────────────────────────── */
.how { background: var(--cream-dark); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(92,61,46,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(92,61,46,0.1);
}

.step-img {
  height: 200px;
  overflow: hidden;
}

.step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.step:hover .step-img img { transform: scale(1.04); }

.step-body { padding: 24px 22px 28px; }

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rose-light);
  color: var(--rose-dark);
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.step h3 { font-size: 1rem; color: var(--brown); margin-bottom: 8px; }
.step p { font-size: 0.87rem; color: var(--text-mid); line-height: 1.65; }

/* ── Products ─────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(92,61,46,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(92,61,46,0.14);
}

.product-thumb {
  height: 260px;
  overflow: hidden;
  position: relative;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-thumb img { transform: scale(1.04); }

.product-info { padding: 20px 22px 24px; }
.product-info h3 { font-size: 1.1rem; color: var(--brown); margin-bottom: 6px; }
.product-info p { font-size: 0.85rem; color: var(--text-mid); margin-bottom: 14px; }

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--rose-dark);
}

.price span { font-family: 'Nunito', sans-serif; font-size: 0.8rem; color: var(--text-mid); font-weight: 400; }

.btn-card {
  background: var(--sage);
  color: var(--white);
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.btn-card:hover { background: var(--sage-dark); }

.badge-popular {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--rose);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 50px;
}

/* ── Custom Message Builder ───────────────────── */
.builder { background: var(--cream-dark); }

.builder-label-demo {
  display: inline-block;
  background: rgba(122, 158, 126, 0.15);
  color: var(--sage-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.builder-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 4px 24px rgba(92,61,46,0.08);
  max-width: 680px;
  margin: 0 auto;
}

.builder-wrap h3 {
  font-size: 1.4rem;
  color: var(--brown);
  margin-bottom: 6px;
}

.builder-wrap > p {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 28px;
}

.builder-total {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  margin-bottom: 22px;
}

.builder-total span { font-size: 0.9rem; color: var(--text-mid); }
.builder-total strong { font-family: 'Lora', serif; font-size: 1.5rem; color: var(--rose-dark); }

@media (max-width: 768px) {
  .builder-wrap { padding: 28px 20px; }
}

/* ── Why TouchCard ────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(92,61,46,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(92,61,46,0.1);
}

.why-card .icon { font-size: 2rem; margin-bottom: 14px; }
.why-card h3 { font-size: 1rem; color: var(--brown); margin-bottom: 8px; }
.why-card p { font-size: 0.85rem; color: var(--text-mid); }

/* ── Testimonials ─────────────────────────────── */
.testimonials { background: var(--cream-dark); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(92,61,46,0.06);
}

.testi-photo {
  height: 220px;
  overflow: hidden;
}

.testi-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.testi-body { padding: 24px 24px 28px; }

.testi-stars { color: var(--rose); font-size: 0.9rem; margin-bottom: 12px; }

.testi-card blockquote {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.97rem;
  color: var(--brown);
  margin-bottom: 18px;
  line-height: 1.65;
}

.testi-author { display: flex; align-items: center; gap: 10px; }

.testi-author-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rose-light);
  flex-shrink: 0;
}

.testi-author div strong { display: block; font-size: 0.85rem; color: var(--brown); }
.testi-author div span { font-size: 0.78rem; color: var(--text-mid); }

/* ── FAQ ──────────────────────────────────────── */
.faq-header { text-align: center; }

.faq-list { max-width: 680px; margin: 48px auto 0; }

.faq-item {
  border-bottom: 1.5px solid var(--cream-dark);
  padding: 22px 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: var(--brown);
  font-weight: 600;
  padding: 0;
}

.faq-question .chevron {
  font-size: 0.9rem;
  color: var(--rose);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.faq-answer {
  display: none;
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-top: 12px;
  line-height: 1.7;
}

.faq-answer.visible { display: block; }

/* ── Braille texture banner ───────────────────── */
.braille-banner {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.braille-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.braille-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(92,61,46,0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.braille-banner-overlay p {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--white);
  max-width: 600px;
  line-height: 1.6;
}
