/* MyHomeWell — Japanese Minimal direction */
:root {
  --primary: #2a3a30;
  --primary-dark: #1a251e;
  --accent: #7a8f6f;
  --accent-dark: #5c7053;
  --accent-glow: rgba(122, 143, 111, 0.35);
  --accent-rgb: 122, 143, 111;
  --bg: #f8f6f0;
  --bg-alt: #efeae0;
  --bg-dark: #1a251e;
  --ink: #24302a;
  --muted: #6e7770;
  --border: #d9d3c4;
  --white: #ffffff;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Nunito", Helvetica, Arial, sans-serif;
  --radius-sm: 3px;
  --radius-md: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--white); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.announcement-bar { background: var(--primary); color: var(--white); text-align: center; font-size: 0.78rem; letter-spacing: 0.08em; padding: 10px 16px; font-weight: 300; }
.nav { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 24px 24px; background: rgba(248, 246, 240, 0.9); backdrop-filter: blur(10px); transition: box-shadow 0.3s ease; }
.nav.scrolled { box-shadow: 0 4px 20px rgba(36,48,42,0.06); }
.nav-logo { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; letter-spacing: 0.02em; display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; font-weight: 400; font-size: 0.9rem; letter-spacing: 0.04em; padding-bottom: 4px; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--accent); transition: width 0.4s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { padding: 11px 26px; background: var(--primary); color: var(--white); font-weight: 400; font-size: 0.85rem; letter-spacing: 0.06em; border-radius: 999px; }
.hamburger { display: none; background: none; border: none; cursor: pointer; }

/* Hero — full-viewport, minimal, CSS-only visual */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; background: var(--bg); }
.hero-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; padding: 80px 24px; text-align: center; }
.hero-inner > * { opacity: 0; transform: translateY(24px); animation: heroReveal 1s cubic-bezier(0.16,1,0.3,1) forwards; }
.hero-inner > *:nth-child(1) { animation-delay: .15s; }
.hero-inner > *:nth-child(2) { animation-delay: .35s; }
.hero-inner > *:nth-child(3) { animation-delay: .55s; }
.hero-inner > *:nth-child(4) { animation-delay: .75s; }
@keyframes heroReveal { to { opacity: 1; transform: translateY(0); } }
.hero-eyebrow { display: inline-block; font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-dark); font-weight: 600; margin-bottom: 32px; }
.hero-eyebrow::before, .hero-eyebrow::after { content: "—"; margin: 0 12px; color: var(--border); }
.hero h1 { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 300; line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 32px; font-style: italic; }
.hero h1 em { font-style: normal; color: var(--accent-dark); }
.hero p { font-size: 1.05rem; max-width: 560px; color: var(--muted); margin: 0 auto 40px; }
.hero-decorative { position: absolute; top: 40%; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); opacity: 0.7; pointer-events: none; }
.hero-decorative-text { position: absolute; bottom: 40px; right: 40px; font-family: var(--font-display); font-size: 8rem; font-style: italic; color: rgba(122, 143, 111, 0.05); z-index: 1; pointer-events: none; line-height: 1; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 32px; font-weight: 500; font-size: 0.9rem; letter-spacing: 0.04em; border: none; cursor: pointer; border-radius: 999px; transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-outline { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--accent-glow); }

.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 0.9s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

.section { padding: 120px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: var(--white); }
.section-eyebrow { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-dark); font-weight: 600; margin-bottom: 20px; display: block; }
.section-title { font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 300; line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 24px; }
.section-title em { font-style: italic; color: var(--accent-dark); }
.separator { width: 40px; height: 1px; background: var(--accent); margin: 0 auto 28px; }
.text-center { text-align: center; }
.gradient-text { color: var(--accent-dark); font-style: italic; }

/* Book cover — minimal, papery */
.book-cover-wrap { perspective: 1400px; display: inline-block; }
.book-cover { position: relative; width: 240px; height: 340px; background: linear-gradient(160deg, #f0ead8 0%, #e6dfc9 100%); border: 1px solid var(--border); transform: rotateY(-14deg) rotateX(2deg); transform-style: preserve-3d; box-shadow: 14px 18px 40px rgba(36,48,42,0.25); padding: 40px 32px; display: flex; flex-direction: column; justify-content: space-between; color: var(--primary); transition: transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.book-cover-wrap:hover .book-cover { transform: rotateY(-6deg); }
.book-cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: linear-gradient(90deg, rgba(0,0,0,0.15), transparent); }
.book-cover .book-eyebrow { font-size: 0.65rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-dark); font-weight: 600; }
.book-cover h3 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 300; line-height: 1.05; margin: 20px 0 0; font-style: italic; }
.book-cover .book-author { font-size: 0.78rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 14px; letter-spacing: 0.06em; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.card { background: transparent; padding: 0; }
.card-num { font-family: var(--font-display); font-size: 3rem; font-style: italic; color: var(--accent); font-weight: 300; line-height: 1; margin-bottom: 12px; display: block; }
.card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; margin: 0 0 12px; }
.card p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* Pricing */
.pricing-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.pricing-card { background: var(--white); border: 1px solid var(--border); padding: 50px 44px; max-width: 440px; margin: 0 auto; border-radius: var(--radius-md); }
.price-tag { font-family: var(--font-display); font-size: 4rem; font-weight: 300; color: var(--primary); font-style: italic; }
.price-tag sup { font-size: 1.3rem; top: -1.8rem; font-style: normal; }
.includes-list { list-style: none; padding: 0; margin: 28px 0; text-align: left; }
.includes-list li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.94rem; color: var(--muted); }
.includes-list li::before { content: "·"; color: var(--accent); font-weight: 700; font-size: 1.4rem; line-height: 1; }

/* Stats */
.stats-section { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-number { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 300; color: var(--accent); font-style: italic; }
.stat-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255,255,255,0.6); margin-top: 8px; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.testimonial-card { padding: 32px 24px; border-top: 1px solid var(--border); }
.testimonial-card p { font-family: var(--font-display); font-size: 1.1rem; font-style: italic; margin: 0 0 20px; line-height: 1.5; }
.testimonial-name { font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; }
.testimonial-role { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 28px 0; }
.faq-item summary { cursor: pointer; font-weight: 500; font-family: var(--font-display); font-size: 1.2rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "＋"; color: var(--accent); font-size: 1rem; font-weight: 300; }
.faq-item[open] summary::after { content: "－"; }
.faq-item p { color: var(--muted); margin: 16px 0 0; }

/* Newsletter */
.newsletter { background: var(--bg-dark); color: var(--white); padding: 100px 0; }
.newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.newsletter-form { display: flex; gap: 12px; }
.newsletter-form input { flex: 1; padding: 15px 22px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); color: var(--white); font-family: var(--font-body); }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }

/* Footer */
footer { background: var(--primary-dark); color: rgba(255,255,255,0.75); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-grid h4 { color: var(--white); font-family: var(--font-display); font-size: 1.05rem; font-style: italic; margin: 0 0 20px; font-weight: 400; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand p { max-width: 300px; color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 30px; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { margin-left: 20px; }
.footer-bottom a:hover { color: var(--accent); }

/* Forms */
.form-field { margin-bottom: 24px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.85rem; letter-spacing: 0.04em; }
.form-field input, .form-field textarea { width: 100%; padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid var(--border); font-family: var(--font-body); font-size: 0.95rem; background: var(--white); }
.form-success { background: #e9f0e5; color: #2a3a30; padding: 18px 22px; border-radius: var(--radius-sm); margin-bottom: 24px; }
.notice { padding: 18px 22px; border-radius: var(--radius-sm); font-size: 0.9rem; margin: 24px 0; }
.notice-info { background: var(--bg-alt); border-left: 3px solid var(--accent); }

/* Legal */
.legal-content h2 { font-family: var(--font-display); margin-top: 44px; font-weight: 400; font-style: italic; font-size: 1.5rem; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.legal-content th, .legal-content td { border: 1px solid var(--border); padding: 12px 16px; text-align: left; font-size: 0.9rem; }
.legal-content th { background: var(--bg-alt); font-weight: 600; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse-glow { 0%,100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb),0.4); } 50% { box-shadow: 0 0 0 12px rgba(var(--accent-rgb),0); } }

@media (max-width: 1024px) {
  .grid-3, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-section { grid-template-columns: repeat(2, 1fr); }
  .pricing-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .grid-3, .testimonial-grid { grid-template-columns: 1fr; }
  .newsletter-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-decorative-text { display: none; }
}
