:root {
    --bg: #f5f5dc;
    /* Beige Background */
    --text: #1a1a1a;
    --accent: #000000;
    --border: #d1d1c7;
    /* Slightly darker beige for borders */
    --font-mono: 'Courier New', Courier, monospace;
    --font-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* --- GLOBAL & RESET --- */
body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    margin: 0;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- BUTTONS --- */
.btn,
.btn-secondary {
    display: inline-block;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: -0.5px;
    padding: 14px 28px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn {
    background: var(--bg);
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn:hover {
    background: var(--accent);
    color: var(--bg);
}

.btn-secondary {
    margin-top: 1rem;
    padding: 12px 0;
    /* Text link style with padding */
    color: #666;
    background: transparent;
    border: none;
}

.btn-secondary:hover {
    color: var(--accent);
    transform: translateX(-5px);
    /* Subtle nudge left */
}

/* --- LAYOUT UTILITIES --- */
.mono-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    display: block;
    margin-bottom: 1rem;
}

/* --- CAROUSEL --- */
.carousel-container {
    overflow: visible;
    margin-top: 2rem;
    position: relative;
    width: 100%;
    max-width: 600px;
    /* Limit width on desktop */
}

.carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1.5rem;
    /* Space for scrollbar */
    -webkit-overflow-scrolling: touch;
}

/* Custom Scrollbar */
.carousel::-webkit-scrollbar {
    height: 4px;
}

.carousel::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.carousel::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 2px;
}

.carousel-item {
    min-width: 240px;
    scroll-snap-align: start;
    border: 1px solid var(--border);
    background: var(--bg);
    padding: 0;
    /* Image takes full width */
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.carousel-item:hover {
    border-color: var(--accent);
}

.carousel-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
    display: block;
}

.carousel-item h4,
.carousel-item p {
    padding: 0 1.2rem;
}

.carousel-item h4 {
    margin: 1rem 0 0.5rem 0;
    font-size: 1.1rem;
    color: #000;
}

.carousel-item p {
    margin: 0 0 1.2rem 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

/* Ensure carousel items with images also have proper text color */
.carousel-item.with-image h4 {
    color: #000;
}

.carousel-item.with-image p {
    color: #555;
}

/* --- PRICING GRID --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.pricing-card {
    border: 1px solid var(--border);
    padding: 2rem;
    background: var(--bg);
    transition: transform 0.3s ease;
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    background: var(--bg);
}

.pricing-card.old-way {
    opacity: 0.6;
}

.pricing-card.old-way .price s {
    text-decoration-thickness: 2px;
    text-decoration-color: #666;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: #000;
}

.price {
    font-size: 3rem;
    color: #000;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
    letter-spacing: 0;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
}

.pricing-card ul li:first-child {
    border-top: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .carousel-container::after {
        display: none;
    }

    /* No fade on mobile - allow full width scroll */
    .carousel-container {
        max-width: 100%;
        overflow: hidden;
    }

    .carousel {
        padding-right: 2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1rem;
    }

    .pricing-card {
        padding: 1.2rem;
    }

    .pricing-card h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .price {
        font-size: 2rem;
        margin-bottom: 1rem;
        letter-spacing: -1px;
    }

    .price span {
        font-size: 0.85rem;
    }

    .pricing-card ul li {
        padding: 0.35rem 0;
        font-size: 0.85rem;
    }

    .btn-secondary {
        text-align: center;
        display: block;
        width: 100%;
    }
}