
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
}

header .subtitle {
    text-align: center;
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Disclaimer */
.disclaimer {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin: 30px 0;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #856404;
}


/* Intro Section */
.intro-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
    display: block;
    width: 100%;
    box-sizing: border-box;
    color: white;
}

.intro-header {
    text-align: center;
    margin-bottom: 40px;
}

.intro-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
    line-height: 1.3;
}

.intro-keyword {
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.intro-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 100%;
    margin: 0 auto;
    white-space: nowrap;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.intro-feature-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.intro-feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.intro-feature-icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.intro-feature-content {
    flex: 1;
}

.intro-feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.intro-feature-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin: 0;
}

/* Comparison Table */
.comparison-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
}

.comparison-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
}

.comparison-table {
    overflow-x: auto;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    white-space: nowrap;
}

table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
}

table tr:hover {
    background-color: #f8f9fa;
}

.table-image {
    text-align: center;
    padding: 10px !important;
}

.table-image a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.table-image a:hover {
    transform: scale(1.05);
}

.table-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    background: #f9f9f9;
}

.table-button-cell {
    text-align: center;
}

.table-detail-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.table-detail-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.table-rank {
    font-weight: bold;
    color: #667eea;
    font-size: 1.2rem;
    text-align: center;
}

.rank-number {
    display: inline-block;
    margin-right: 8px;
}

.table-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    vertical-align: middle;
}

.badge-best {
    background-color: #ffd700;
    color: #856404;
}

.badge-value {
    background-color: #28a745;
    color: white;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.product-card-header {
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.product-rank {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #667eea;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.best-seller {
    background-color: #ffd700;
    color: #856404;
}

.best-value {
    background-color: #28a745;
    color: white;
}

.product-card h3 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-top: 50px;
    line-height: 1.4;
    min-height: 60px;
}

.product-image {
    text-align: center;
    padding: 30px;
    background: white;
}

.product-image img {
    max-width: 100%;
    height: 200px;
    object-fit: contain;
}

.product-specs {
    padding: 20px;
    background: #f8f9fa;
}

.spec-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    font-size: 0.9rem;
    color: #495057;
}

.spec-item:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    margin-right: 8px;
}

.card-pros-section {
    padding: 20px;
    background: #fff9e6;
    border-top: 2px solid #ffc107;
}

.card-pros-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

.card-pro-item {
    display: flex;
    align-items: flex-start;
    padding: 6px 0;
    font-size: 0.85rem;
    color: #495057;
    line-height: 1.5;
}

.card-pro-item:before {
    content: "👍";
    margin-right: 8px;
    flex-shrink: 0;
}

.product-buttons {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.coupang-button {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.coupang-button:first-child {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.coupang-button:first-child:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.coupang-button:last-child {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.coupang-button:last-child:hover {
    background: #667eea;
    color: white;
}

/* Detail Sections */
.detail-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
}

.detail-section h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

.detail-image {
    text-align: center;
    margin: 30px 0;
}

.detail-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.product-description {
    line-height: 1.8;
    color: #495057;
    margin: 20px 0;
    white-space: pre-line;
}

.product-description::first-line {
    font-weight: 600;
    color: #2c3e50;
}

.review-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
}

.review-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.review-content {
    line-height: 1.8;
    color: #495057;
    margin-bottom: 20px;
}

.review-pros-title {
    font-size: 1.1rem;
    color: #2c3e50;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.review-pros-list {
    list-style: none;
    padding-left: 0;
}

.review-pros-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #495057;
}

.review-pros-list li:before {
    content: "👍";
    position: absolute;
    left: 0;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 30px 0;
    margin-top: 50px;
    text-align: center;
}

footer p {
    margin: 10px 0;
    opacity: 0.9;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 0.85rem;
    }

    table th, table td {
        padding: 10px 8px;
    }

    .comparison-table {
        margin: 0 -20px;
    }

    .product-card h3 {
        font-size: 1rem;
        min-height: auto;
    }

    .detail-section {
        padding: 20px;
    }

    .detail-section h3 {
        font-size: 1.2rem;
    }

    
    .intro-section {
        padding: 30px 20px;
    }
    
    .intro-title {
        font-size: 1.5rem;
    }
    
    .intro-description {
        font-size: 0.95rem;
        white-space: normal;
    }
    
    .intro-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .intro-feature-card {
        padding: 20px;
    }
    
    .intro-feature-icon {
        font-size: 2rem;
    }
}
