/* CSS Variables */
:root {
    --primary-color: #5D4037;
    --secondary-color: #8D6E63;
    --accent-color: #A1887F;
    --bg-color: #F5F5F5;
    --white: #FFFFFF;
    --text-color: #3E2723;
    --text-light: #6D4C41;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --font-main: 'Noto Sans JP', sans-serif;
    --font-display: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Using classes for elements as requested */
.link-reset {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.list-reset {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.hidden-sm {
    display: none;
}

@media (min-width: 768px) {
    .hidden-sm {
        display: block;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(93, 64, 55, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(93, 64, 55, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Page Loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
}

.loader-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: fadeIn 2s ease-in-out;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--secondary-color);
    border-top: 4px solid transparent;
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Advertisement Bar */
.ad-bar {
    background-color: var(--text-color);
    color: var(--white);
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    position: relative;
    z-index: 100;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-weight: 500;
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cta-btn {
    text-decoration: none;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

.close-menu-btn {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    margin-top: 0;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.hero-image-wrapper {
    position: relative;
}

.hero-img {
    border-radius: 20px;
    box-shadow: 20px 20px 60px #d9d9d9, -20px -20px 60px #ffffff;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: scale(1.02);
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--box-shadow);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.card-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-text strong {
    font-size: 0.9rem;
}

.card-text span {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Glass Effect General */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--box-shadow);
    border-radius: 20px;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.underline {
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0 auto 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-img {
    border-radius: 15px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.img-1 {
    transform: translateY(20px);
}

.img-2 {
    transform: translateY(-20px);
}

.about-list {
    margin-top: 1.5rem;
    list-style: none;
    padding: 0;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.about-list i {
    color: var(--secondary-color);
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #f5f5f5, #e0e0e0);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2rem;
    position: relative;
}

.testimonial-rating {
    color: #FFC107;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    font-size: 0.9rem;
}

.author-role {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-light);
    margin: 0;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-question i {
    transition: transform 0.3s ease;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 4rem 0 1rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: block;
    margin-bottom: 1rem;
    text-decoration: none;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-heading {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    margin-top: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    margin-top: 5px;
    color: var(--secondary-color);
}

.footer-nav,
.legal-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav a,
.legal-nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav a:hover,
.legal-nav a:hover {
    color: var(--white);
    padding-left: 5px;
}

.return-policy-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.footer-heading-small {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.legal-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    margin: 0;
}

.footer-disclaimer-box {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.disclaimer-text {
    font-size: 0.8rem;
    color: #ffccbc;
    font-weight: 500;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    padding: 1.5rem;
    transition: bottom 0.5s ease;
}

.cookie-banner.show {
    bottom: 0 !important;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

/* Modals */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 3000;
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    z-index: 3001;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

/* Animation Classes */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }

    .nav-menu {
        display: flex;
        /* Ensure display is flex for the layout */
        position: fixed;
        top: 0;
        right: -100%;
        /* Initially hidden */
        width: 75%;
        /* 75% width as requested */
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        padding: 2rem;
        z-index: 2000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .hamburger-btn {
        display: flex;
    }

    .close-menu-btn {
        display: block;
    }

    .mobile-only {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        margin: 0 auto 2rem;
    }

    .hero-img {
        margin: 0 auto;
    }

    .floating-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -30px;
        width: 80%;
    }

    @keyframes float {
        0% {
            transform: translate(-50%, 0px);
        }

        50% {
            transform: translate(-50%, -10px);
        }

        100% {
            transform: translate(-50%, 0px);
        }
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image-grid {
        order: -1;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}