/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #ffffff;
    --color-bg-light: #f9f9f9;
    --color-accent: #8b0000; /* Dark red for buy button similar to reference */
    --color-border: #e0e0e0;
    --font-sans: 'Jost', 'Noto Sans JP', sans-serif;
    --font-serif: 'Shippori Mincho', serif;
    --spacing-xs: 1rem;
    --spacing-sm: 2rem;
    --spacing-md: 4rem;
    --spacing-lg: 8rem;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.text-center { text-align: center; }
.mincho { font-family: var(--font-serif); }
.w-100 { width: 100%; }
.mt-4 { margin-top: 2rem; }
.bg-light { background-color: var(--color-bg-light); }
.ib { display: inline-block; }

/* Typography */
.section-title {
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.sp-only,
.sp-br {
    display: none;
}

@media (max-width: 768px) {
    .sp-only {
        display: block;
    }
    .sp-br {
        display: inline;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    z-index: 100;
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.logo span {
    font-size: 0.5em;
    vertical-align: top;
}

.global-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.global-nav a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-text);
}

.global-nav a:hover {
    opacity: 0.6;
}

.btn-buy-small {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--color-text);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 2px;
}

.btn-buy-small:hover {
    background-color: var(--color-accent);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    margin-top: 70px; /* Offset for fixed header */
    background: #f4f4f4; /* Fallback */
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.40);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.hero-logo {
    max-width: 85%;
    width: 420px;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpLogo 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
}

@keyframes fadeUpLogo {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #333;
    z-index: 10;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 2;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-copy {
    font-size: 1.1rem;
    font-weight: 500;
}

.unmute-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 30px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 20;
    backdrop-filter: blur(4px);
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.unmute-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Concept Section */
#concept {
    padding-top: 4rem; /* Narrowed space below hero */
}

.section-padding {
    padding: var(--spacing-lg) 0;
}

.product-shot {
    max-width: 400px;
    margin: 0 auto 3rem;
}

.concept-product-name {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0;
    letter-spacing: 0.1em;
}

.concept-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: #9a6b47; /* Elegant bronze */
    letter-spacing: 0.15em;
    margin-top: 0.75rem;
    line-height: 1.2;
}

.concept-subtitle-en {
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #bfa693; /* Light metallic bronze-gray */
    margin-top: 0.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.concept-price {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.concept-btn-wrap {
    margin-bottom: 4rem;
}

.btn-buy-large {
    display: inline-block;
    padding: 15px 60px;
    background-color: #222;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-buy-large:hover {
    background-color: var(--color-accent);
}

.concept-desc {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 2rem;
}

.concept-desc-sub {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Page Tabs */
.page-tabs {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: #fff;
    position: sticky;
    top: 70px;
    z-index: 90;
}

.page-tabs ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

.page-tabs li {
    flex: 1;
    max-width: 200px;
    text-align: center;
}

.page-tabs a {
    display: block;
    padding: 15px 0;
    font-size: 0.9rem;
    color: #999;
    background: #f9f9f9;
    border-right: 1px solid var(--color-border);
    transition: all 0.3s;
}

.page-tabs li:first-child a {
    border-left: 1px solid var(--color-border);
}

.page-tabs a:hover,
.page-tabs li.active a {
    background: #fff;
    color: var(--color-accent);
    font-weight: 500;
}

/* Features */
.features {
    padding: var(--spacing-lg) 0;
    background-color: #000000; /* Pure deep black */
    color: #ffffff;
}

.feature-block {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: var(--spacing-lg);
}

.feature-block:last-child {
    margin-bottom: 0;
}

.feature-block.row-reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
}

.feature-text {
    flex: 1;
    padding: 2rem;
}

.feature-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    color: #ffffff;
}

.feature-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7); /* High legibility light gray text on dark background */
    line-height: 2;
}

.features-disclaimer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: right;
    margin-top: -3rem;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .features-disclaimer {
        text-align: center;
        margin-top: 1rem;
        margin-bottom: 2rem;
    }
}

/* Specs Section */
.specs-grid {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.specs-image {
    flex: 0 0 350px;
}

.specs-title-small {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-align: left;
}

.specs-title-main {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border-bottom: 2px solid #222;
    padding-bottom: 1rem;
}

.specs-table-wrap {
    flex: 1;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
    font-size: 0.9rem;
}

.specs-table th {
    width: 30%;
    font-weight: 500;
    color: var(--color-text-light);
}

.specs-table-note {
    font-size: 0.78rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-top: 1.5rem;
}

/* Retailer Buttons */
.retailer-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 2rem;
    text-align: left;
}

.retailer-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-light);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    border-left: 2px solid var(--color-accent);
    padding-left: 10px;
    line-height: 1;
}

.btn-retailer {
    display: block;
    width: 100%;
    padding: 14px 20px;
    text-align: center;
    border: 1px solid #222;
    background-color: #ffffff;
    color: #222;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-retailer:hover {
    background-color: #222;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Footer */
.footer {
    padding: 3rem 0;
    background: #fff;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-light);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
    .feature-block, .feature-block.row-reverse {
        flex-direction: column;
        gap: 2rem;
    }
    
    .feature-text {
        padding: 0;
        text-align: center;
    }
    
    .specs-grid {
        flex-direction: column;
    }
    
    .specs-image {
        flex: auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-md: 2rem;
        --spacing-lg: 4rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-text {
        left: 5%;
        right: 5%;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .global-nav {
        display: none;
    }
    
    .page-tabs ul {
        flex-wrap: wrap;
    }
    
    .page-tabs li {
        max-width: 50%;
        flex: 0 0 50%;
    }
    
    .page-tabs li a {
        font-size: 0.8rem;
        padding: 10px 0;
    }
    
    .specs-table th {
        width: 40%;
    }
}

/* ==========================================================================
   Image Lightbox Modal
   ========================================================================== */
.popup-trigger {
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease;
}

.popup-trigger:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}

.modal {
    display: flex;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content-wrap {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-content {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease-in-out;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: rgba(255, 255, 255, 0.7);
    background: none;
    border: none;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    line-height: 1;
    z-index: 1010;
}

.modal-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.modal-caption {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-family: var(--font-serif);
    letter-spacing: 0.1em;
    text-align: center;
    max-width: 600px;
    padding: 0 20px;
}

.modal-nav {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    background: none;
    border: none;
    font-size: 3.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    line-height: 1;
    z-index: 1010;
    padding: 20px;
    user-select: none;
}

.modal-nav:hover {
    color: #ffffff;
    transform: translateY(-50%) scale(1.15);
}

.modal-prev {
    left: 40px;
}

.modal-next {
    right: 40px;
}

/* On mobile, adjust position and padding to avoid overlapping too much */
@media (max-width: 768px) {
    .modal-nav {
        font-size: 2.5rem;
        padding: 10px;
    }
    .modal-prev {
        left: 15px;
    }
    .modal-next {
        right: 15px;
    }
}

body.modal-open {
    overflow: hidden;
}

/* Adjust close button on smaller screens */
@media (max-width: 768px) {
    .modal-close {
        top: 20px;
        right: 20px;
        font-size: 2.5rem;
    }
    .modal-caption {
        font-size: 0.9rem;
        margin-top: 15px;
    }
}

/* ==========================================================================
   FAQ Section Styles (Accordion)
   ========================================================================== */
.faq {
    background-color: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: #bfa693; /* Subtle bronze-gray border on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 22px 28px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.5;
}

.faq-question-title {
    display: flex;
    align-items: center;
    flex: 1;
}

.faq-q-icon {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: #9a6b47; /* Brand elegant bronze */
    margin-right: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.faq-q-text {
    flex: 1;
}

.faq-toggle-icon {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-text-light);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Horizontal line */
.faq-toggle-icon::before {
    top: 6px;
    left: 0;
    width: 14px;
    height: 2px;
}

/* Vertical line */
.faq-toggle-icon::after {
    top: 0;
    left: 6px;
    width: 2px;
    height: 14px;
}

.faq-item.active {
    border-color: #9a6b47; /* Brand bronze border when active */
    box-shadow: 0 6px 20px rgba(154, 107, 71, 0.06);
}

.faq-item.active .faq-toggle-icon::before {
    transform: rotate(90deg);
}

.faq-item.active .faq-toggle-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.faq-item.active .faq-answer {
    opacity: 1;
}

.faq-answer-inner {
    display: flex;
    align-items: flex-start;
    padding: 0 28px 28px 28px;
    border-top: 1px dashed var(--color-border);
    padding-top: 20px;
}

.faq-a-icon {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: #bfa693; /* Secondary brand bronze-gray */
    margin-right: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin: 0;
    flex: 1;
}

/* Adjustments for Mobile */
@media (max-width: 768px) {
    .faq-question {
        padding: 18px 20px;
        font-size: 0.95rem;
    }
    
    .faq-q-icon {
        font-size: 1.25rem;
        margin-right: 12px;
    }
    
    .faq-answer-inner {
        padding: 0 20px 20px 20px;
        padding-top: 16px;
    }
    
    .faq-a-icon {
        font-size: 1.25rem;
        margin-right: 12px;
    }
    
    .faq-answer p {
        font-size: 0.88rem;
    }
}

/* ==========================================================================
   Footer Distributor & Copyright Styles
   ========================================================================== */
.footer-distributor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
}

.distributor-logo-link {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.distributor-logo-link:hover {
    opacity: 0.7;
}

.distributor-logo {
    max-width: 140px;
    height: auto;
}

.distributor-text {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin: 0;
}

.footer-copyright {
    margin: 0;
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.footer-copyright a {
    color: var(--color-text);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-copyright a:hover {
    color: var(--color-accent);
    opacity: 0.8;
}

/* ==========================================================================
   Specs Image Slider Styles
   ========================================================================== */
.specs-slider {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--color-border);
}

.specs-slider-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fdfdfd;
}

.specs-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Contain the product shot nicely */
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    pointer-events: none;
    background: #ffffff;
}

.specs-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    color: #222;
    border: 1px solid rgba(0, 0, 0, 0.08);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background 0.3s, color 0.3s, opacity 0.3s;
    z-index: 10;
    padding-bottom: 2px;
}

.slider-btn:hover {
    background: #222;
    color: #fff;
    border-color: #222;
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.slider-dots .dot.active {
    background: #9a6b47;
    transform: scale(1.2);
}
