/* Comparison Section Styles */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #fff3f0;
    --secondary: #6b3e26;
    --accent: #f8a5c2;
    --text-dark: #4a3728;
    --text-light: #8b6f5c;
    --white: #ffffff;
    --gradient-warm: linear-gradient(135deg, #fff3f0 0%, #ffe4dc 100%);
    --shadow-medium: 0 8px 30px rgba(107, 62, 38, 0.15);
    --good-color: #4CAF50;
    --bad-color: #e74c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--primary);
    color: var(--text-dark);
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--secondary);
    margin-bottom: 16px;
}

/* Comparison Section */
.comparison {
    padding: 100px 24px;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(248, 165, 194, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(107, 62, 38, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 243, 240, 1) 0%, rgba(255, 228, 220, 1) 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative Geometric Shapes */
.comparison::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 5%;
    width: 260px;
    height: 260px;
    background: linear-gradient(135deg, rgba(248, 165, 194, 0.35) 0%, rgba(248, 165, 194, 0.12) 100%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    filter: blur(2px);
    z-index: 0;
}

.comparison::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 8%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(107, 62, 38, 0.18) 0%, rgba(107, 62, 38, 0.06) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(2px);
    z-index: 0;
}

/* Floating Cat Stickers */
.comparison-floating-stickers {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.comparison-sticker {
    position: absolute;
    width: 90px;
    height: auto;
    opacity: 0.08;
    filter: grayscale(30%) sepia(20%) blur(1px);
}

.comparison-sticker-1 {
    top: 10%;
    right: 10%;
    width: 85px;
}

.comparison-sticker-2 {
    bottom: 12%;
    left: 8%;
    width: 80px;
    transform: scaleX(-1);
}

.comparison .container {
    position: relative;
    z-index: 1;
}

/* Comparison Cards Layout */
.comparison-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Individual Card Styling */
.comparison-card {
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.comparison-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(107, 62, 38, 0.2);
}

/* Good Card (Mr Tabby) */
.comparison-card-good {
    border: 3px solid transparent;
    background:
        linear-gradient(var(--white), var(--white)) padding-box,
        linear-gradient(135deg, #4CAF50, #81C784) border-box;
}

.comparison-card-good::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #4CAF50, #81C784);
}

/* Bad Card (Others) */
.comparison-card-bad {
    border: 3px solid transparent;
    background:
        linear-gradient(var(--white), var(--white)) padding-box,
        linear-gradient(135deg, #e74c3c, #f1948a) border-box;
}

.comparison-card-bad::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #e74c3c, #f1948a);
}

/* Card Header */
.comparison-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px dashed rgba(107, 62, 38, 0.15);
}

.comparison-cat-image {
    width: 100px;
    height: auto;
    margin-bottom: 16px;
    filter: drop-shadow(0 8px 20px rgba(107, 62, 38, 0.15));
    transition: transform 0.3s ease;
}

.comparison-card:hover .comparison-cat-image {
    transform: scale(1.1) rotate(-3deg);
}

.comparison-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
}

/* Comparison List */
.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comparison-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    transition: background 0.3s ease;
}

.comparison-item.good {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.08) 0%, rgba(129, 199, 132, 0.04) 100%);
}

.comparison-item.bad {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.08) 0%, rgba(241, 148, 138, 0.04) 100%);
}

.comparison-item:hover {
    transform: translateX(4px);
}

.comparison-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.comparison-item.good .comparison-icon {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
}

.comparison-item.bad .comparison-icon {
    background: linear-gradient(135deg, #e74c3c, #f1948a);
    color: white;
}

.comparison-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}

.comparison-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* Fade Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* VS Badge (Optional Enhancement) */
.comparison-cards::after {
    content: 'VS';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), #8b5a3c);
    color: white;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(107, 62, 38, 0.3);
    z-index: 10;
}

.comparison-cards {
    position: relative;
}

/* Responsive */
@media (max-width: 768px) {
    .comparison {
        padding: 60px 20px;
    }

    .comparison-cards {
        grid-template-columns: 1fr;
        gap: 70px;
        /* Enough space for VS badge (50px) + padding */
    }

    /* Remove extra margins - gap handles spacing */
    .comparison-card-good {
        margin-bottom: 0;
    }

    .comparison-card-bad {
        margin-top: 0;
    }

    .comparison-cards::after {
        /* Centered between the two cards */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 50px;
        height: 50px;
        font-size: 0.9rem;
    }

    .comparison-card {
        padding: 24px;
    }

    .comparison-cat-image {
        width: 80px;
    }

    .comparison-card-title {
        font-size: 1.3rem;
    }

    .comparison-item {
        padding: 12px;
        gap: 12px;
    }

    .comparison-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 40px;
    }

    .comparison-list {
        gap: 12px;
    }
}