/* Mizuyagi Wellness | Refined dark visual system */
:root {
  color-scheme: dark;
  --bg: #283618;
  --bg-deep: #11160A;
  --surface: #212B13;
  --surface-soft: #303D20;
  --accent: #DDA15E;
  --accent-deep: #BC6C25;
  --text: #FEFAE0;
  --muted: #D6CBA8;
  --line: rgba(254,250,224,.14);
  --max: 1160px;
  --radius: 22px;
  --ease: cubic-bezier(.2,.75,.25,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.7 "DM Sans", sans-serif; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--accent); color: #1a1a12; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(17,22,10,.94);
  border-bottom: 1px solid transparent; backdrop-filter: blur(16px);
  transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.16); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 600 18px/1 "Outfit", sans-serif; letter-spacing: -.02em; white-space: nowrap; }
.brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 50%; }
.brand b { color: var(--accent); font-weight: 500; }
.nav-menu { display: flex; align-items: center; gap: clamp(16px,2.4vw,32px); }
.nav-menu > a:not(.button), .footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color .2s; }
.nav-menu > a:not(.button):hover, .footer-links a:hover { color: var(--accent); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 22px; border: 1px solid var(--accent);
  border-radius: 999px; background: var(--accent); color: #20190f;
  text-decoration: none; font-size: 13px; font-weight: 700; transition: transform .2s, background .2s, border-color .2s;
}
.button:hover { transform: translateY(-2px); background: #e8b477; border-color: #e8b477; }
.button-small { min-height: 42px; padding-inline: 17px; font-size: 12px; }
.button-outline { background: transparent; color: var(--text); border-color: var(--line); }
.button-outline:hover { background: var(--surface-soft); border-color: var(--accent); color: var(--text); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 17px; height: 1.5px; background: var(--text); margin: 4px auto; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-5.5px) rotate(-45deg); }

.section { padding: 112px 0; }
.hero { min-height: 650px; padding: 76px 0 90px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; right: -260px; top: -300px; background: radial-gradient(circle, rgba(221,161,94,.12), transparent 68%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(42px,8vw,110px); }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { font-family: "Outfit", sans-serif; }
h1 { max-width: 650px; margin-bottom: 24px; font-size: clamp(54px,7.4vw,96px); line-height: .99; letter-spacing: -.065em; font-weight: 600; }
h1 span { color: var(--accent); }
.lead { max-width: 560px; color: var(--muted); font-size: clamp(16px,1.5vw,18px); line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin: 32px 0 0; color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.note-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(221,161,94,.12); }
.hero-art { position: relative; max-width: 480px; justify-self: end; width: 100%; }
.hero-image-frame { position: relative; aspect-ratio: 4/4.8; overflow: hidden; border-radius: 48% 48% 18px 18px; border: 1px solid rgba(221,161,94,.35); background: var(--surface); }
.hero-image-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 55%,rgba(17,22,10,.5)); pointer-events: none; }
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.image-caption { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; color: var(--muted); font-size: 9px; letter-spacing: .15em; }
.intro-strip { background: var(--bg-deep); border-block: 1px solid var(--line); }
.strip-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font: 500 11px "Outfit",sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.strip-inner i { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; flex: 0 0 auto; }

.section-heading { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-heading h2 { margin: 0 0 18px; font-size: clamp(36px,5vw,58px); line-height: 1.08; letter-spacing: -.045em; font-weight: 500; }
.section-heading > p:not(.eyebrow) { max-width: 650px; margin-inline: auto; color: var(--muted); }
.align-left { margin-left: 0; text-align: left; }
.align-left > p:not(.eyebrow) { margin-inline: 0; }
.village-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.village-card { min-height: 310px; position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg,rgba(255,255,255,.035),transparent 65%),var(--surface); transition: transform .25s var(--ease), border-color .25s; }
.village-card:hover { transform: translateY(-5px); border-color: rgba(221,161,94,.5); }
.card-index { position: absolute; top: 25px; right: 24px; color: rgba(254,250,224,.35); font: 12px "Outfit",sans-serif; }
.card-symbol { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 42px; border: 1px solid rgba(221,161,94,.3); border-radius: 15px; color: var(--accent); font-size: 25px; }
.village-card h3 { margin-bottom: 10px; font-size: 20px; font-weight: 500; }
.village-card p { min-height: 82px; margin-bottom: 18px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.village-card a, .text-link { color: var(--accent); text-decoration: none; font-size: 12px; font-weight: 700; }
.village-card a span, .text-link span { padding-left: 5px; }
.section-alt { background: var(--bg-deep); border-block: 1px solid var(--line); }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.split-layout .section-heading { margin-bottom: 0; }
.split-layout .section-heading p:not(.eyebrow) { margin-bottom: 18px; }
.text-link { display: inline-block; margin-top: 14px; }
.experience-panel { min-height: 390px; position: relative; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 50% 50% 24px 24px; background: radial-gradient(circle at center,rgba(221,161,94,.13),transparent 58%),var(--surface); }
.experience-orbit { position: absolute; border: 1px solid rgba(221,161,94,.28); border-radius: 50%; aspect-ratio: 1; }
.orbit-one { width: 68%; }
.orbit-two { width: 88%; border-style: dashed; opacity: .65; }
.experience-center { width: 142px; height: 142px; border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--accent); color: #20190f; box-shadow: 0 0 80px rgba(221,161,94,.18); }
.experience-center span { font: 600 38px "Outfit",sans-serif; line-height: 1; }
.experience-center small { margin-top: 9px; font-size: 8px; line-height: 1.3; text-align: center; letter-spacing: .14em; }
.panel-note { position: absolute; bottom: 24px; margin: 0; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-align: center; }
.apothecary-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 100px; }
.apothecary-layout .section-heading { margin-bottom: 0; }
.apothecary-mark { min-height: 340px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; border: 1px solid rgba(221,161,94,.28); border-radius: 50% 50% 20px 20px; background: radial-gradient(circle,rgba(221,161,94,.14),transparent 68%),var(--surface); color: var(--accent); }
.apothecary-mark span { font-size: 110px; line-height: 1; }
.apothecary-mark small { color: var(--muted); font-size: 9px; letter-spacing: .18em; text-align: center; line-height: 1.6; }
.apothecary-layout .button { margin-top: 14px; }

.consultation-card { max-width: 720px; margin: 0 auto; padding: clamp(26px,5vw,48px); border: 1px solid rgba(221,161,94,.4); border-radius: 26px; background: linear-gradient(145deg,rgba(221,161,94,.08),transparent 45%),var(--surface); }
.consultation-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.consultation-top .eyebrow { margin-bottom: 8px; }
.consultation-top h3 { margin: 0; font-size: clamp(24px,3vw,32px); font-weight: 500; }
.price { color: var(--accent); font: 600 clamp(42px,6vw,60px)/1 "Outfit",sans-serif; white-space: nowrap; }
.price span { font-size: .48em; vertical-align: top; }
.consultation-duration { margin: 8px 0 24px; color: var(--muted); font-size: 13px; }
.consultation-description { color: var(--muted); font-size: 13px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; padding: 0; margin: 20px 0 30px; list-style: none; }
.feature-list li { position: relative; padding-left: 22px; color: var(--text); font-size: 13px; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.disclaimer { max-width: 720px; margin: 18px auto 0; color: var(--muted); font-size: 11px; text-align: center; }

.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.faq-layout .section-heading { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 22px 42px 22px 0; cursor: pointer; list-style: none; font: 500 17px "Outfit",sans-serif; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 18px; color: var(--accent); font: 26px "DM Sans",sans-serif; transition: transform .2s; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { max-width: 620px; margin: 0; padding: 0 35px 22px 0; color: var(--muted); font-size: 13px; }
.faq-item p a { color: var(--accent); }

.site-footer { padding: 48px 0 22px; background: var(--bg-deep); border-top: 1px solid var(--line); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 34px; }
.footer-main > p { margin: 0; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); color: rgba(214,203,168,.65); font-size: 10px; }

@media (max-width: 980px) {
  .nav-menu { gap: 14px; }
  .nav-menu > a:not(.button) { font-size: 12px; }
  .village-grid { grid-template-columns: repeat(2,1fr); }
  .split-layout, .faq-layout { gap: 48px; }
  .apothecary-layout { gap: 55px; }
}
@media (max-width: 760px) {
  .container { width: min(var(--max), calc(100% - 36px)); }
  .nav { min-height: 70px; }
  .menu-toggle { display: block; flex: 0 0 auto; }
  .nav-menu { display: none; position: absolute; top: 70px; left: 0; right: 0; padding: 18px 22px 24px; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg-deep); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.25); }
  .nav-menu.is-open { display: flex; }
  .nav-menu > a:not(.button) { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav-menu .button { margin-top: 16px; }
  .hero { padding: 65px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-art { justify-self: center; width: min(100%,440px); }
  .hero-image-frame { aspect-ratio: 5/4.5; border-radius: 44% 44% 18px 18px; }
  .section { padding: 82px 0; }
  .split-layout, .apothecary-layout, .faq-layout { grid-template-columns: 1fr; gap: 42px; }
  .experience-panel { min-height: 330px; }
  .apothecary-mark { min-height: 260px; }
  .apothecary-mark span { font-size: 86px; }
  .faq-layout .section-heading { margin-bottom: 0; }
  .footer-main { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 32px); }
  .brand { font-size: 16px; }
  .brand img { width: 36px; height: 36px; }
  h1 { font-size: clamp(50px,15vw,72px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .image-caption { font-size: 8px; letter-spacing: .08em; }
  .strip-inner { justify-content: center; flex-wrap: wrap; padding-block: 18px; gap: 10px 14px; font-size: 9px; }
  .strip-inner i { display: none; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2 { font-size: 38px; }
  .village-grid { grid-template-columns: 1fr; }
  .village-card { min-height: 0; }
  .village-card p { min-height: 0; }
  .card-symbol { margin-bottom: 28px; }
  .consultation-top { flex-direction: column; gap: 12px; }
  .feature-list { grid-template-columns: 1fr; gap: 9px; }
  .footer-links { gap: 12px 18px; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Hlamfura Classes 2027 waiting-list section */
.hlamfura-section { background: linear-gradient(180deg, rgba(221,161,94,.055), transparent 46%), var(--bg); }
.hlamfura-intro { max-width: 760px; margin: -22px auto 34px; text-align: center; }
.hlamfura-intro p { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.waiting-pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border: 1px solid rgba(221,161,94,.35); border-radius: 999px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.waiting-pill span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(221,161,94,.12); }
.package-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; align-items: stretch; }
.package-card { display: flex; flex-direction: column; padding: clamp(22px,3vw,32px); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg,rgba(255,255,255,.035),transparent 65%),var(--surface); }
.package-card-featured { border-color: rgba(221,161,94,.58); box-shadow: 0 18px 55px rgba(0,0,0,.14); }
.package-number { margin-bottom: 18px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.package-card h3 { margin-bottom: 8px; font-size: 25px; font-weight: 500; }
.package-price { margin-bottom: 14px; color: var(--accent); font: 600 clamp(20px,2.5vw,27px)/1.2 "Outfit",sans-serif; }
.package-description { min-height: 66px; margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.package-inclusions { display: grid; gap: 10px; padding: 18px 0 22px; margin: 0 0 22px; border-top: 1px solid var(--line); list-style: none; }
.package-inclusions li { position: relative; padding-left: 21px; color: var(--text); font-size: 12px; }
.package-inclusions li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.package-button { width: 100%; margin-top: auto; cursor: pointer; font-family: inherit; }
.form-status { max-width: 760px; min-height: 24px; margin: 24px auto 0; color: var(--muted); font-size: 12px; text-align: center; }
@media (max-width: 900px) { .package-grid { grid-template-columns: 1fr 1fr; } .package-card:last-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .package-grid { grid-template-columns: 1fr; } .package-card:last-child { grid-column: auto; } .package-description { min-height: 0; } .hlamfura-intro { margin-top: -12px; } }



/* =========================================
   NUMEROLOGY CALCULATOR
========================================= */

.numerology-section {
    padding: 100px 20px;
    background: var(--bg-deep);
    color: var(--text);
}

.numerology-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.numerology-heading {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.numerology-heading h2 {
    margin: 15px 0;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--text);
}

.numerology-heading p {
    color: var(--muted);
    line-height: 1.8;
}

.section-label {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
}

.numerology-calculator {
    padding: 35px;
    border: 1px solid rgba(221, 161, 94, 0.25);
    border-radius: 18px;
    background: var(--surface);
}

.numerology-input {
    max-width: 500px;
    margin: 0 auto 45px;
}

.numerology-input label {
    display: block;
    margin-bottom: 12px;
    color: var(--text);
    font-weight: 600;
}

.numerology-input input {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 12px 15px;
    border: 1px solid rgba(221, 161, 94, 0.4);
    border-radius: 8px;
    background: var(--bg-deep);
    color: var(--text);
    font: inherit;
    color-scheme: dark;
}

.numerology-input button {
    width: 100%;
    min-height: 52px;
    margin-top: 18px;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    background: var(--accent);
    color: #11160A;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.numerology-input button:hover {
    background: var(--accent-deep);
    color: var(--text);
    transform: translateY(-2px);
}

.numerology-note {
    margin-top: 15px;
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: center;
}

#numerology-error {
    min-height: 20px;
    margin-top: 12px;
    color: #ffb4a2;
    font-size: 0.9rem;
    text-align: center;
}

.numerology-results[hidden] {
    display: none;
}

.numerology-results-heading {
    margin-bottom: 30px;
    text-align: center;
}

.numerology-results-heading h3 {
    margin: 12px 0;
    font-size: 2rem;
    color: var(--text);
}

.numerology-results-heading p {
    color: var(--muted);
}

.numerology-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.numerology-card {
    padding: 25px;
    border: 1px solid rgba(221, 161, 94, 0.2);
    border-radius: 12px;
    background: var(--surface-soft);
}

.numerology-card:last-child {
    grid-column: 1 / -1;
}

.number-label {
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.numerology-number {
    margin: 18px 0 12px;
    color: var(--accent);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.numerology-card h4 {
    margin-bottom: 10px;
    color: var(--text);
    font-size: 1.15rem;
}

.numerology-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.numerology-disclaimer {
    max-width: 700px;
    margin: 35px auto 0;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.7;
    text-align: center;
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 600px) {
    .numerology-section {
        padding: 70px 15px;
    }

    .numerology-calculator {
        padding: 22px 15px;
    }

    .numerology-grid {
        grid-template-columns: 1fr;
    }

    .numerology-card:last-child {
        grid-column: auto;
    }

    .numerology-number {
        font-size: 3rem;
    }

    .numerology-heading {
        margin-bottom: 35px;
    }
}


/* =========================================
   MIZUYAGI WELLNESS APP LAUNCHER
========================================= */

.wellness-apps {
    padding: 85px 20px;
    background: var(--bg);
    color: var(--text);
}

.wellness-apps-container {
    max-width: 1100px;
    margin: 0 auto;
}

.apps-launcher-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
}

.apps-launcher-heading h2 {
    margin: 14px 0;
    font-size: clamp(2rem, 5vw, 3rem);
}

.apps-launcher-heading p {
    color: var(--muted);
    line-height: 1.8;
}

/* MAIN TOGGLE BUTTON */

.apps-toggle-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: fit-content;
    min-width: 230px;
    margin: 0 auto;
    padding: 16px 25px;
    border: none;
    border-radius: 50px;
    background: var(--accent);
    color: #11160A;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.apps-toggle-button:hover {
    background: var(--accent-deep);
    color: var(--text);
    transform: translateY(-2px);
}

.apps-toggle-icon {
    font-size: 1.3rem;
    line-height: 1;
}

/* APP PANEL */

.apps-panel {
    margin-top: 35px;
}

.apps-panel[hidden] {
    display: none;
}

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

/* APP CARDS */

.app-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 25px;
    border: 1px solid rgba(221, 161, 94, 0.25);
    border-radius: 15px;
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    transition: 0.25s ease;
}

.app-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.app-icon {
    display: block;
    margin-bottom: 20px;
    color: var(--accent);
    font-size: 2.2rem;
}

.app-status {
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 5px 9px;
    border-radius: 20px;
    background: rgba(221, 161, 94, 0.12);
    color: var(--accent);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.app-live {
    background: rgba(100, 180, 120, 0.15);
    color: #9bd5a7;
}

.app-card h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    color: var(--text);
}

.app-card p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.app-action {
    margin-top: auto;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
}

.app-coming-soon {
    opacity: 0.85;
    cursor: default;
}

.app-coming-soon:hover {
    transform: none;
    border-color: rgba(221, 161, 94, 0.25);
}

/* RESPONSIVE DESIGN */

@media (max-width: 800px) {
    .apps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 550px) {
    .wellness-apps {
        padding: 65px 15px;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .app-card {
        min-height: 220px;
    }

    .apps-toggle-button {
        width: 100%;
    }
}


/* APP PRICING DISPLAY */

.app-pricing {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 5px 0 20px;
    padding: 12px;
    border: 1px solid rgba(221, 161, 94, 0.25);
    border-radius: 9px;
    background: rgba(221, 161, 94, 0.07);
}

.app-pricing strong {
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.app-pricing span {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.5;
}


/* =========================================
   MIZUYAGI WELLNESS SHOP CAROUSEL
========================================= */

.shop-heading {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.shop-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 290px);
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  padding: 8px 2px 22px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--surface);
}

.shop-carousel:has(.shop-empty-state) {
  display: block;
  overflow: visible;
}

.shop-empty-state {
  margin: 0;
  padding: 42px 24px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
  background: var(--surface);
}

.shop-product-card {
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.shop-product-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, rgba(221,161,94,.22), transparent 48%), var(--surface-soft);
}

.shop-product-image img { width: 100%; height: 100%; object-fit: cover; }

.shop-product-image-placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  color: var(--accent); font: 400 58px/1 "Outfit", sans-serif;
}

.shop-product-info { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.shop-product-info h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.shop-product-description { min-height: 3.4em; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.shop-product-price { margin: 0; color: var(--accent); font-size: 16px; font-weight: 700; }
.shop-product-actions { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 8px; }
.shop-product-actions .button { width: 100%; min-height: 44px; padding-inline: 12px; font-size: 11px; text-align: center; }
.shop-product-actions .button-outline { background: transparent; color: var(--text); }
.shop-scroll-hint { margin: 8px 0 0; color: var(--muted); font-size: 11px; text-align: center; }

.shop-toast {
  position: fixed; z-index: 500; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: max-content; max-width: calc(100vw - 32px); padding: 11px 18px;
  border: 1px solid rgba(221,161,94,.45); border-radius: 999px;
  background: var(--bg-deep); color: var(--text);
  box-shadow: 0 12px 35px rgba(0,0,0,.35); font-size: 12px; text-align: center;
  opacity: 0; transition: opacity .2s ease;
}
.shop-toast.is-visible { opacity: 1; }

@media (min-width: 761px) {
  .shop-carousel { grid-auto-columns: minmax(250px, calc((100% - 40px) / 3)); }
}
@media (max-width: 760px) {
  .shop-carousel { grid-auto-columns: minmax(245px, 82%); gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { .shop-toast { transition: none; } }


/* =========================================
   HLAMFURA CLASSES COUNTDOWN LOCK
========================================= */

#hlamfuraContent[hidden] {
    display: none !important;
}

.hlamfura-countdown {
    max-width: 760px;
    margin: 30px auto;
    padding: 55px 25px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
}

.countdown-lock-icon {
    font-size: 38px;
    margin: 22px 0;
}

.hlamfura-countdown h2 {
    margin-bottom: 15px;
}

.hlamfura-countdown > p {
    color: var(--muted);
    line-height: 1.7;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 550px;
    margin: 35px auto;
}

.countdown-unit {
    padding: 20px 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg);
}

.countdown-unit strong {
    display: block;
    font-size: clamp(25px, 5vw, 40px);
    font-weight: 700;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.countdown-unit span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-release {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.countdown-note {
    margin-top: 25px;
    font-size: 12px;
}

@media (max-width: 480px) {
    .hlamfura-countdown {
        padding: 40px 15px;
    }

    .countdown-grid {
        gap: 7px;
    }

    .countdown-unit {
        padding: 15px 4px;
    }

    .countdown-unit span {
        font-size: 9px;
        letter-spacing: 0;
    }
}

/* =========================================
   HOMEPAGE FEATURED PRODUCTS
========================================= */
.featured-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.featured-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.featured-product-card .shop-product-image {
  aspect-ratio: 4 / 3;
  flex: 0 0 auto;
}

.featured-product-card .shop-product-info {
  flex: 1;
}

.featured-product-card .shop-product-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-product-card .shop-product-actions {
  margin-top: auto;
  padding-top: 8px;
}

.featured-products-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.featured-products-cta .button {
  min-width: 220px;
}

@media (max-width: 900px) {
  .featured-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .featured-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .featured-product-card .shop-product-info {
    padding: 12px;
    gap: 8px;
  }

  .featured-product-card .shop-product-info h3 {
    font-size: 16px;
  }

  .featured-product-card .shop-product-description {
    font-size: 11px;
    min-height: 0;
  }

  .featured-product-card .shop-product-price {
    font-size: 14px;
  }

  .featured-products-cta .button {
    width: 100%;
  }
}
