:root {
    --navy: #0a192f;
    --navy-light: #112240;
    --gold: #d4af37;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f1d592 100%);
    --cream: #faf8f5;
    --white: #ffffff;
    --red: #b32b2b;
    --green: #27ae60;
    --text-dark: #2d2d2d;
    --text-gray: #595959;
    --border: #e8e8e8;
    --shadow: 0 10px 30px rgba(0,0,0,0.06);
    --radius-lg: 24px;
    --radius-md: 12px;
}

/* --- Base Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
    padding-bottom: 80px;
}

h1, h2, h3, h4 { font-family: 'Noto Serif JP', serif; font-weight: 700; color: var(--navy); }
a { text-decoration: none; color: inherit; transition: 0.3s; }

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

/* --- Components --- */
.btn-gold {
    background: var(--gold-gradient);
    color: var(--navy);
    border: none;
    padding: 18px 30px;
    border-radius: var(--radius-md);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
    transition: all 0.3s ease;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(212, 175, 55, 0.4); }

@keyframes pulse-btn {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* --- Header --- */
.top-notice { background: var(--navy); color: var(--white); text-align: center; padding: 10px; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 14px 0;
}

/* Back link */
.back-link {
    justify-self: start;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-gray);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    white-space: nowrap;
}

.back-link:hover {
    color: var(--navy);
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-self: center;
}

.logo-img {
    height: 44px;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--navy);
}

/* --- Hero --- */
.hero { padding: 40px 0; background: var(--white); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }

.hero-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.hero-visual img { width: 100%; display: block; object-fit: cover; }
.award-badge { position: absolute; top: 20px; right: 20px; background: var(--gold); color: white; width: 85px; height: 85px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 0.7rem; font-weight: 800; border: 3px solid white; line-height: 1.2; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

.hero-copy h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 15px; }
.hero-copy .top-rank { color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; margin-bottom: 10px; display: block; }

.social-proof { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.stars-static { color: #f1c40f; font-size: 1.2rem; }

.benefit-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; }
.pill { background: #f0f4f8; padding: 6px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; color: var(--navy); border: 1.5px solid #d0dae5; }

.price-card { background: #fffcf5; border: 2.5px dashed var(--gold); padding: 30px; border-radius: var(--radius-lg); text-align: center; position: relative; margin: 30px 0; }
.price-label { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--red); color: white; padding: 4px 18px; border-radius: 6px; font-size: 0.8rem; font-weight: 800; }
.price-large { font-size: 3rem; font-weight: 900; color: var(--red); display: block; line-height: 1; }
.original-price { text-decoration: line-through; color: #999; font-size: 1.2rem; margin-right: 15px; }

/* --- Featured Sections --- */
.featured-section { padding: 80px 0; background: var(--white); border-top: 1px solid var(--border); }
.feature-row { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; margin-bottom: 80px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); width: 100%; border: 1px solid var(--border); }
.feature-img img { width: 100%; display: block; object-fit: cover; transition: transform 0.5s; }
.feature-img:hover img { transform: scale(1.02); }
.feature-text h2 { font-size: 2rem; margin-bottom: 20px; color: var(--navy); }
.feature-text p { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 20px; }
.feature-list { list-style: none; }
.feature-list li { position: relative; padding-left: 30px; margin-bottom: 12px; font-weight: 600; color: var(--navy); }
.feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 900; font-size: 1.1rem; }

/* --- Comparison Table --- */
.comparison-section { padding: 80px 0; background: var(--cream); }
.comparison-wrapper { margin-top: 40px; }

/* Desktop Table View */
.comparison-table { width: 100%; border-collapse: collapse; background: white; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); display: table; }
.comparison-table th { background: var(--navy); color: white; padding: 20px; text-align: center; font-size: 1rem; }
.comparison-table td { padding: 18px; border-bottom: 1px solid #f0f0f0; text-align: center; font-size: 0.95rem; }
.comparison-table .feature-col { text-align: left; font-weight: 700; color: var(--navy); background: #fdfdfd; padding-left: 25px; width: 30%; }
.comparison-table .highlight-col { background: rgba(212, 175, 55, 0.05); font-weight: 800; color: var(--navy); }

/* Mobile Card View */
.comparison-mobile { display: none; }
.compare-card { background: white; border-radius: 20px; padding: 25px; margin-bottom: 20px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.compare-card h4 { text-align: center; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; color: var(--text-gray); border-bottom: 1px solid #f0f0f0; padding-bottom: 15px; font-weight: 700; }
.compare-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; position: relative; }
.compare-row::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: #f0f0f0; }
.compare-item { text-align: center; padding: 5px; }
.compare-label { font-size: 0.7rem; font-weight: 700; color: var(--text-gray); display: block; margin-bottom: 8px; text-transform: uppercase; }
.compare-value { font-size: 1rem; font-weight: 700; color: var(--navy); display: block; line-height: 1.3; }
.compare-value.highlight { color: var(--navy); background: rgba(212, 175, 55, 0.1); padding: 8px 10px; border-radius: 8px; border: 1px solid rgba(212, 175, 55, 0.3); }

.check-mark { color: var(--green); font-weight: 800; }
.cross-mark { color: var(--red); font-weight: 800; }

/* --- Tech Specs --- */
.product-details { padding: 80px 0; background: white; }
.details-grid { display: grid; grid-template-columns: 1fr; gap: 25px; margin-top: 40px; }
.detail-card { background: var(--cream); padding: 30px; border-radius: 20px; border-top: 4px solid var(--gold); box-shadow: var(--shadow); border: 1px solid var(--border); }
.detail-card h3 { font-size: 1.2rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; color: var(--navy); }
.detail-item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #e0e0e0; }
.detail-item:last-child { border-bottom: none; }
.detail-label { font-weight: 600; color: var(--text-gray); font-size: 0.9rem; }
.detail-value { font-weight: 800; color: var(--navy); text-align: right; font-size: 0.9rem; }

/* --- Order Section --- */
.order-section { padding: 80px 0; background: var(--white); border-top: 1px solid var(--border); }
.order-grid { display: grid; grid-template-columns: 1fr; gap: 50px; }
.order-form-card { background: var(--cream); padding: 35px; border-radius: 24px; border: 1px solid #e2d1b1; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group input[type="text"]:disabled { cursor: not-allowed; color: black;}
.form-group label { display: block; font-weight: 800; font-size: 0.8rem; margin-bottom: 8px; color: var(--navy); text-transform: uppercase; letter-spacing: 0.5px; }
input, select, textarea { width: 100%; padding: 16px; border: 2px solid var(--border); border-radius: 12px; font-family: inherit; font-size: 1rem; transition: 0.3s; background: white; }
input:focus { outline: none; border-color: var(--gold); }
.total-box { background: white; padding: 25px; border-radius: 16px; margin: 25px 0; border-left: 6px solid var(--gold); }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.95rem; }

/* --- Reviews & Carousel --- */
.experience-carousel { padding: 80px 0; background: var(--navy); color: white; text-align: center; overflow: hidden; }
.carousel-container { position: relative; max-width: 900px; margin: 40px auto 0; padding: 0 20px; }
.carousel-track { display: flex; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.carousel-card { min-width: 90%; margin-left: 5%; margin-right: 5%; padding: 40px; background: rgba(255,255,255,0.05); border-radius: 24px; border: 1px solid rgba(255,255,255,0.1); }
.carousel-card h4 { color: var(--gold); font-size: 1.4rem; margin-bottom: 15px; }
.carousel-card p { font-size: 1.2rem; font-style: italic; opacity: 0.9; line-height: 1.6; }
.carousel-card .author { margin-top: 20px; font-weight: 800; color: var(--gold); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.dot { width: 10px; height: 10px; background: rgba(255,255,255,0.2); border-radius: 50%; cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--gold); width: 25px; border-radius: 10px; }

/* Carousel Navigation Buttons */
.carousel-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    color: white; width: 40px; height: 40px; border-radius: 50%;
    cursor: pointer; z-index: 10; font-size: 1.2rem; display: flex;
    align-items: center; justify-content: center; transition: 0.3s;
}
.carousel-nav-btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.comments-section { padding: 80px 0; background: #f9f9f9; }
.comment-item { padding: 25px; background: white; border-radius: 20px; margin-bottom: 15px; box-shadow: 0 4px 10px rgba(0,0,0,0.03); border: 1px solid var(--border); }
.page-btn { padding: 12px 24px; border: 1px solid var(--border); background: white; cursor: pointer; border-radius: 10px; font-weight: 700; transition: 0.3s; }
.page-btn.active { background: var(--navy); color: white; border-color: var(--navy); }

/* --- Sticky Bar --- */
.sticky-action-bar {
    position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(255,255,255,0.95);
    backdrop-filter: blur(15px); padding: 12px 0; z-index: 2000;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.08); border-top: 1px solid var(--border);
    display: flex; justify-content: center;
}
.sticky-content {
    display: flex; gap: 15px; align-items: center; width: 100%; justify-content: space-between;
}
.sticky-price-info { text-align: left; }
.sticky-price-info .old { text-decoration: line-through; font-size: 0.75rem; color: var(--text-gray); display: block; }
.sticky-price-info .new { font-weight: 900; font-size: 1.4rem; color: var(--red); display: block; line-height: 1; }

/* --- Footer --- */
footer { background: var(--navy); padding: 60px 0; text-align: center; color: white; }

/* --- Responsive --- */
@media (min-width: 992px) {
    .hero-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
    .details-grid { grid-template-columns: repeat(2, 1fr); }
    .order-grid { grid-template-columns: 1fr 480px; align-items: start; }
    .feature-row { grid-template-columns: 1fr 1fr; gap: 80px; }
    .feature-row:nth-child(even) .feature-img { order: 2; }
    /* Removed display: none for sticky-action-bar to show on desktop */
}

@media (max-width: 768px) {
    .comparison-table { display: none; }
    .comparison-mobile { display: block; }
    .hero-copy h1 { font-size: 2rem; }
}
@media (max-width: 640px) {
    .header-content {
        grid-template-columns: auto 1fr auto;
    }

    /* Back link becomes icon-only */
    .back-text {
        display: none;
    }

    .back-link {
        font-size: 1.4rem;
        padding: 6px 10px;
    }

    .brand {
        gap: 8px;
    }

    .logo-img {
        height: 36px;
    }

    .logo-text {
        font-size: 0.95rem;
        letter-spacing: 1px;
    }
}

/* Modal */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px); z-index: 10000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-content { background: white; padding: 40px; border-radius: 24px; text-align: center; max-width: 450px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }