:root {
  --navy: #14213d;
  --navy-2: #1f2f52;
  --gold: #c9a35c;
  --gold-dark: #b08a45;
  --cream: #faf8f4;
  --ink: #1d2433;
  --muted: #6b7280;
  --line: #e7e3dc;
  --amazon: #ffa41c;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(20, 33, 61, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", system-ui, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: "Montserrat", sans-serif; color: var(--navy); line-height: 1.2; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 0.6rem; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.75rem; font-weight: 600; color: var(--gold); margin-bottom: 0.8rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.8rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem; border: 2px solid transparent; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; width: 100%; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline-light { border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-amazon { background: var(--amazon); color: #111; }
.btn-amazon:hover { background: #f08f00; }
.btn-amazon.is-disabled { background: #eee; color: #888; cursor: not-allowed; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.8rem; font-weight: 500; font-size: 0.95rem; }
.nav a:not(.btn):hover { color: var(--gold-dark); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* Hero */
.hero-slider { position: relative; overflow: hidden; background: #ece5d8; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; padding: 4rem 0 4.5rem; opacity: 0; visibility: hidden; transition: opacity 0.8s ease, visibility 0.8s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide-light { background: radial-gradient(ellipse at 75% 50%, #ffffff 0%, #f4f0e8 60%, #ece5d8 100%); }
.slide-dark { background: #05070d; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.slide-dark .slide-inner { z-index: 2; }
.slide-dark::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(5,8,16,0.95) 0%, rgba(5,8,16,0.65) 45%, rgba(5,8,16,0.05) 100%); }
.slide-inner { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; gap: 2.5rem; align-items: center; }
.slide-copy > * { transform: translateY(16px); opacity: 0; transition: transform 0.7s ease, opacity 0.7s ease; }
.slide.is-active .slide-copy > * { transform: none; opacity: 1; }
.slide.is-active .slide-copy > :nth-child(2) { transition-delay: 0.1s; }
.slide.is-active .slide-copy > :nth-child(3) { transition-delay: 0.2s; }
.slide.is-active .slide-copy > :nth-child(n+4) { transition-delay: 0.3s; }
.slide-media img { width: 100%; mix-blend-mode: multiply; transform: scale(0.97); transition: transform 3.5s ease; }
.slide-media img.rounded { mix-blend-mode: normal; border-radius: var(--radius); box-shadow: var(--shadow); }
.slide.is-active .slide-media img { transform: scale(1); }
.slide h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); margin-bottom: 1.2rem; }
.slide h1 .accent { color: var(--gold-dark); }
.slide-dark h1 { color: #fff; }
.slide-dark h1 .accent { color: var(--gold); }
.slide-dark .hero-sub { color: rgba(255,255,255,0.85); }
.slide-dark .hero-points li { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.85); }
.slide-dark .hero-points strong { color: #fff; }
.hero-sub { max-width: 500px; font-size: 1.1rem; color: #3b4252; margin-bottom: 1.5rem; }
.hero-points { list-style: none; display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-points li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 1rem; font-size: 0.9rem; color: #3b4252; }
.hero-points strong { color: var(--navy); }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.85); color: var(--navy); font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); opacity: 0; transition: opacity 0.2s ease; }
.slider-arrow.prev { left: 18px; }
.slider-arrow.next { right: 18px; }
.hero-slider:hover .slider-arrow { opacity: 1; }
.slider-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 0.6rem; }
.slider-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(20,33,61,0.25); cursor: pointer; transition: all 0.3s ease; padding: 0; }
.slider-dots button.active { width: 28px; background: var(--gold); }
.hero-slider.on-dark .slider-dots button:not(.active) { background: rgba(255,255,255,0.4); }
.slider-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 5; background: transparent; }
.slider-progress span { display: block; height: 100%; width: 0; background: var(--gold); }
.slider-progress span.run { width: 100%; }

/* How the 3-in-1 works */
.how { background: #fff; }
.how-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 3rem; align-items: center; }
.how-media img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.how-steps { list-style: none; display: flex; flex-direction: column; gap: 1.6rem; }
.how-steps li { display: flex; gap: 1.1rem; align-items: flex-start; }
.step-num { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; }
.how-steps h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.how-steps p { color: var(--muted); }
.how-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.8rem; margin: 3rem 0 2rem; }
.how-badges span { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 0.55rem 1.2rem; font-weight: 500; color: var(--navy); font-size: 0.92rem; }
.how-ctas { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* Perks */
.perks { background: var(--navy); color: #fff; padding: 2.4rem 0; }
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.perk-icon { font-size: 1.6rem; color: var(--gold); margin-bottom: 0.3rem; }
.perk h3 { color: #fff; font-size: 1.05rem; }
.perk p { color: rgba(255,255,255,0.7); font-size: 0.88rem; }

/* Sections */
.section { padding: 5rem 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 3rem; }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 2rem; }
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform 0.25s ease; }
.product-card:hover { transform: translateY(-4px); }
.product-card.is-featured { box-shadow: 0 0 0 2px var(--gold), var(--shadow); }
.product-card.is-featured .badge { background: var(--gold); }
.product-media { position: relative; aspect-ratio: 1 / 1; background: #f4f4f4; display: block; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-media img { transform: scale(1.03); }
.badge { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--navy); color: #fff; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.8rem; border-radius: 999px; }
.badge.static { position: static; display: inline-block; margin-bottom: 1rem; }
.product-body { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.9rem; flex: 1; }
.product-body h3 { font-size: 1.25rem; }
.swatch-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.swatches { display: flex; gap: 0.55rem; }
.swatch { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow 0.15s ease, transform 0.15s ease; }
.swatch:hover { transform: scale(1.1); }
.swatch.active { box-shadow: 0 0 0 2px var(--navy); }
.swatches.lg .swatch { width: 38px; height: 38px; }
.color-name { font-size: 0.9rem; color: var(--muted); }
.card-actions { display: flex; gap: 0.8rem; margin-top: auto; padding-top: 0.4rem; flex-wrap: wrap; }
.card-actions > * { flex: 1; }
.card-actions .btn { width: 100%; }

/* Lifestyle */
.lifestyle-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.lifestyle-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* About */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.about-inner p { margin-bottom: 1rem; color: #3b4252; }
.about-inner img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Why LYFWISH */
.why { background: var(--navy); color: #fff; }
.why h2 { color: #fff; }
.why-lead { color: rgba(255,255,255,0.8); font-size: 1.08rem; }
.why-lead strong { color: var(--gold); }
.why .section-head { max-width: 760px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.why-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 2rem; transition: transform 0.25s ease, border-color 0.25s ease; }
.why-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.why-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.why-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 0.5rem; }
.why-card p { color: rgba(255,255,255,0.72); }

/* Story */
.signature { font-family: "Montserrat", sans-serif; font-weight: 600; color: var(--gold-dark) !important; }
.story-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.5rem 2rem; text-align: center; border: 1px solid var(--line); }
.about-inner .story-logo { width: min(260px, 70%); margin: 0 auto 2rem; box-shadow: none; border-radius: 0; }
.story-facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-facts strong { display: block; font-family: "Montserrat", sans-serif; font-size: 2rem; color: var(--navy); line-height: 1.1; }
.story-facts span { font-size: 0.85rem; color: var(--muted); }
.story-quote { margin-top: 1.5rem; font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 1.1rem; color: var(--navy); }

/* Contact */
.contact { background: #fff; border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3.5rem; align-items: start; }
.contact-perks { list-style: none; margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: 0.8rem; }
.contact-perks li { padding-left: 1.6rem; position: relative; color: #3b4252; }
.contact-perks li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700; }
.contact-perks strong { color: var(--navy); }
.small { font-size: 0.9rem; }
.contact-intro .small + .small { margin-top: 1.2rem; }
.contact-links { display: flex; gap: 1rem; margin-top: 0.6rem; flex-wrap: wrap; }
.contact-form { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }

/* Forms */
.stack-form { display: flex; flex-direction: column; gap: 1rem; }
.stack-form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.stack-form input, .stack-form select, .stack-form textarea { font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid #d8d3ca; border-radius: 10px; padding: 0.75rem 0.9rem; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.stack-form input:focus, .stack-form select:focus, .stack-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,163,92,0.2); }
.stack-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.optional { font-weight: 400; color: var(--muted); }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-status { font-size: 0.9rem; min-height: 1.2em; }
.form-status.success { color: #2f7a4a; font-weight: 500; }
.form-status.error { color: #b42318; }
.form-status a { text-decoration: underline; }
.btn:disabled { opacity: 0.7; cursor: wait; }

/* Notify button + modal */
.btn-notify { background: var(--navy); color: #fff; }
.btn-notify:hover { background: var(--navy-2); }
.btn-notify::before { content: "\1F514"; font-size: 0.9em; }
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,16,30,0.6); backdrop-filter: blur(3px); animation: fade 0.2s ease; }
.modal-card { position: relative; background: #fff; border-radius: var(--radius); padding: 2.2rem; width: min(440px, 100%); box-shadow: 0 30px 80px rgba(0,0,0,0.3); animation: pop 0.25s ease; }
.modal-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.modal-card .muted { margin-bottom: 1.3rem; }
.modal-close { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer; }
.notify-success { text-align: center; }
.success-icon { width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 50%; background: var(--gold); color: #fff; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; }
.demo-note { font-size: 0.82rem; background: #fff7e6; color: #8a5a00; border-radius: 8px; padding: 0.5rem 0.8rem; margin-bottom: 1rem; }
body.modal-open { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(0.98); } }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 2.5rem 0; font-size: 0.9rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; }
.footer-mark { width: 72px; height: 72px; border-radius: 50%; background: #fff; padding: 6px; margin-bottom: 0.5rem; }
.footer-note { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* Product detail page */
.back-link { display: inline-block; margin-bottom: 1.5rem; color: var(--muted); font-size: 0.95rem; }
.back-link:hover { color: var(--navy); }
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: start; }
.pd-gallery { position: sticky; top: 100px; }
.pd-main { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.6rem; margin-top: 1rem; }
.pd-thumb { border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; aspect-ratio: 1 / 1; padding: 0; transition: border-color 0.15s ease; }
.pd-thumb:hover { border-color: #b9b3a8; }
.pd-thumb.active { border-color: var(--navy); }
.know-more { margin-top: 5rem; padding-top: 4rem; border-top: 1px solid var(--line); }
.know-more-list { display: flex; flex-direction: column; gap: 2rem; max-width: 1000px; margin: 0 auto; }
.know-more-list img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.6rem; }
.pd-tagline { font-size: 1.1rem; color: var(--gold-dark); font-weight: 500; margin-bottom: 1rem; }
.pd-info > p { color: #3b4252; }
.pd-colors { margin: 1.8rem 0 1.4rem; }
.pd-colors .label { margin-bottom: 0.7rem; }
.pd-note { font-size: 0.85rem; color: var(--muted); margin: 0.7rem 0 2rem; text-align: center; }
.pd-info h3 { font-size: 1.1rem; margin: 1.8rem 0 0.8rem; }
.checklist { list-style: none; }
.checklist li { padding-left: 1.8rem; position: relative; margin-bottom: 0.55rem; }
.checklist li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700; }
.specs { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.specs th, .specs td { text-align: left; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.specs th { color: var(--muted); font-weight: 500; width: 40%; }

@media (prefers-reduced-motion: reduce) {
  .slide, .slide-copy > *, .slide-media img { transition: none !important; }
}

/* Responsive */
@media (max-width: 860px) {
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 1.2rem; padding: 1.5rem; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .lifestyle-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner, .pd, .slide-inner, .how-inner, .contact-grid, .form-row { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { gap: 1rem; }
  .contact-form { padding: 1.4rem; }
  .pd-gallery { position: static; }
  .slide { padding: 2.5rem 0 3.5rem; align-items: flex-start; }
  .slide-media { order: -1; }
  .slide-dark .slide-copy { padding-top: 34vw; }
  .slide-dark::before { background: linear-gradient(180deg, rgba(5,8,16,0.1) 0%, rgba(5,8,16,0.85) 45%, rgba(5,8,16,0.97) 100%); }
  .slide-dark .slide-bg { height: 55%; object-position: center; }
  .slider-arrow { display: none; }
  .product-grid { grid-template-columns: 1fr; }
}
