:root {
    --primary-color: #000000;
    --accent-color: #bc5600;
    --bg-gray: #f8f9fa;
    --text-main: #1a1a1a;
    --text-sub: #555555;
    --border-color: #e5e5e5;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 16px rgba(0,0,0,0.08);
    --shadow-hover: 0 12px 24px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

body {
    overflow-x: hidden;
}

.mobile-nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 70px);
    background: #ffffff;
    box-shadow: -4px 0 10px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: right 0.3s ease;
}

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

.mobile-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
    font-weight: 500;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hero-image-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.hero-image-wrapper img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background: #fff;
}

.section-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-sub);
    font-size: 1.05rem;
}

.bg-gray {
    background-color: var(--bg-gray);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media(min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-img {
    background: #fdfdfd;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 240px;
}

.card-img img {
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .card-img img {
    transform: scale(1.05);
}

.card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.card-tag {
    display: inline-block;
    background: #f0f0f0;
    color: #666;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-content ul {
    margin: 15px 0 20px;
    padding-left: 0;
}

.card-content li {
    font-size: 0.95rem;
    color: var(--text-sub);
    margin-bottom: 8px;
    padding-left: 10px;
    border-left: 2px solid var(--accent-color);
}

.card-footer {
    margin-top: auto;
}

.btn-outline {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-main);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f8f8f8;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.compare-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.compare-table th, .compare-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.compare-table th {
    background: #f4f4f4;
    font-weight: 600;
    color: var(--primary-color);
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.check { color: green; font-weight: 500; }
.cross { color: #999; }

.buying-guide-text {
    margin-top: 40px;
}

.guide-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media(min-width: 768px) {
    .guide-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.g-card {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid #eee;
}

.g-card h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.g-card p {
    font-size: 0.9rem;
    color: var(--text-sub);
}

.cta-center {
    text-align: center;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
}

@media(min-width: 768px) {
    .step-item {
        flex-direction: row;
        align-items: center;
    }
    .step-item:nth-child(even) {
        flex-direction: row-reverse;
    }
}

.step-num {
    background: var(--primary-color);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.step-content {
    padding: 30px;
    flex: 1;
}

.step-img {
    flex: 1;
    background: #f9f9f9;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-link {
    background: none;
    border: none;
    color: var(--accent-color);
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    margin-top: 10px;
    text-decoration: underline;
}

.guide-note {
    background: #fff4e5;
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    margin-top: 40px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

@media(min-width: 768px) {
    .guide-note {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media(min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-item {
    background: #fff;
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-item:hover {
    box-shadow: var(--shadow-md);
}

.news-item h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-summary {
    font-size: 0.9rem;
    color: var(--text-sub);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-tag {
    font-size: 0.75rem;
    background: #f0f0f0;
    padding: 3px 8px;
    border-radius: 4px;
    color: #666;
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fff;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-main);
}

.faq-question .icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-question[aria-expanded="true"] .icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fbfbfb;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-sub);
    font-size: 0.95rem;
}

.faq-answer.open {
    max-height: 500px; 
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media(max-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr;
    }
}

.risk-box {
    font-size: 0.9rem;
    color: #666;
    background: #f9f9f9;
    padding: 20px;
    border-radius: var(--radius-md);
}

.cta-banner {
    background: var(--primary-color);
    color: #fff;
    padding: 60px 0;
    border-bottom: none;
}

.cta-banner h2 {
    color: #fff;
    margin-bottom: 15px;
}

.cta-banner h2::after {
    background: rgba(255,255,255,0.3);
}

.cta-banner p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.cta-banner .btn-primary {
    background: #fff;
    color: var(--primary-color);
}

footer {
    background: #111;
    color: #999;
    padding: 60px 0 100px; 
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

@media(min-width: 768px) {
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

.f-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.f-col a {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.f-col a:hover {
    color: #fff;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.8rem;
}

.float-chat-pc {
    display: none;
}

.float-chat-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--accent-color);
    color: #fff;
    text-align: center;
    padding: 15px;
    z-index: 2000;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

@media(min-width: 768px) {
    .float-chat-mobile {
        display: none;
    }
    
    .float-chat-pc {
        display: flex;
        align-items: center;
        gap: 10px;
        position: fixed;
        bottom: 30px;
        right: 30px;
        background: var(--primary-color);
        color: #fff;
        padding: 12px 24px;
        border-radius: 50px;
        font-weight: 600;
        border: none;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        z-index: 2000;
        transition: transform 0.2s;
    }
    
    .float-chat-pc:hover {
        transform: scale(1.05);
    }
    
    footer {
        padding-bottom: 60px;
    }
}