:root {
    --primary-pink: #FF6B9D;
    --primary-teal: #4ECDC4;
    --accent-yellow: #FFD93D;
    --accent-mint: #95E1D3;
    --dark-text: #2C3E50;
    --light-text: #6C757D;
    --background-light: #FFF9F9;
    --white: #FFFFFF;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--background-light);
    color: var(--dark-text);
    line-height: 1.6;
}

.header {
    background: var(--white);
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-pink) 0%, var(--primary-teal) 100%);
    border-image-slice: 1;
}

.header h1 a {
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav a {
    color: var(--dark-text);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav a:hover {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-teal) 100%);
    color: var(--white);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-teal) 100%);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.card, .article-card, .category-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.card:hover, .article-card:hover, .category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: var(--primary-teal);
}

.article-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    line-height: 1.8;
}

.article-content h2 {
    color: var(--dark-text);
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-teal);
}

.article-content a {
    color: var(--primary-teal);
}

.article-content a:hover {
    color: var(--primary-pink);
}

.category-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-teal) 100%);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    margin: 0.25rem;
}

.category-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

/* Breadcrumb Styling */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    margin-top: 1rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--primary-teal);
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 500;
    background: rgba(78, 205, 196, 0.08);
}

.breadcrumbs a:hover {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-teal) 100%);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(78, 205, 196, 0.3);
}

.breadcrumbs span:not(:has(a)) {
    color: var(--light-text);
    font-weight: 500;
}

.breadcrumbs > span:first-child {
    color: var(--light-text);
    font-weight: 400;
    padding: 0 0.2rem;
}

/* Separator styling */
.breadcrumbs > span:not(:has(a)):not(:last-child) {
    color: var(--accent-mint);
    font-weight: 300;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .breadcrumbs {
        font-size: 0.85rem;
        gap: 0.3rem;
    }
    
    .breadcrumbs a {
        padding: 0.3rem 0.6rem;
    }
}

/* Table Styling for Comparison Tables */
.article-content table,
.article-body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.article-content thead,
.article-body thead {
    background: var(--primary-teal);
}

.article-content thead th,
.article-body thead th {
    color: var(--white);
    font-weight: 600;
    text-align: left;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-content tbody tr,
.article-body tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.article-content tbody tr:last-child,
.article-body tbody tr:last-child {
    border-bottom: none;
}

.article-content tbody tr:hover,
.article-body tbody tr:hover {
    background: rgba(78, 205, 196, 0.05);
    transform: scale(1.01);
}

.article-content td,
.article-body td {
    padding: 1rem 1.25rem;
    color: var(--dark-text);
    vertical-align: middle;
}

.article-content td:first-child,
.article-body td:first-child {
    font-weight: 600;
    color: var(--dark-text);
}

/* Style links in tables (like "Check price") */
.article-content table a,
.article-body table a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-teal);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(78, 205, 196, 0.2);
}

.article-content table a:hover,
.article-body table a:hover {
    background: var(--primary-pink);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

/* Responsive table styling */
@media (max-width: 768px) {
    .article-content table,
    .article-body table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
    }
    
    .article-content thead th,
    .article-body thead th,
    .article-content td,
    .article-body td {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .article-content table a,
    .article-body table a {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}
