/*
   treats.sh - Boutique Software
   Warm, grounded, solarpunk cafe vibes
*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500&display=swap');

:root {
    --bg: #f8f6f1;
    --surface: #ffffff;
    --border: #e8e4db;
    --text: #2d2a24;
    --text-muted: #6b665c;
    --accent: #4a7c59;
    --accent-light: #e8f0ea;
    --warm: #c9a66b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.7;
    min-height: 100vh;
}

.container {
    max-width: 640px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 1rem;
}

.logo {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.tagline {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0.75rem 0;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.divider::before,
.divider::after {
    content: "";
    height: 1px;
    width: 60px;
    background: var(--border);
}

/* Product Card */
.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.product-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.product-name {
    font-family: 'Fraunces', serif;
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.product-name a {
    color: inherit;
    text-decoration: none;
}

.product-name a:hover {
    color: var(--accent);
}

.product-description {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.product-description a {
    color: var(--accent);
    text-decoration: none;
}

.product-description a:hover {
    text-decoration: underline;
}

/* Demo video */
.demo-video {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.product-features {
    list-style: none;
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg);
    border-radius: 8px;
}

.product-features li {
    padding: 0.2rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--text);
    font-size: 0.85rem;
}

.product-features li::before {
    content: "·";
    position: absolute;
    left: 0.5rem;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.product-price {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text);
}

.buy-button {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.buy-button:hover {
    background: #3d6749;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
}

/* Philosophy */
.philosophy {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.philosophy p {
    max-width: 400px;
    margin: 0 auto;
}

/* Footer */
footer {
    text-align: center;
    padding-top: 1rem;
}

.footer-cta {
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.footer-cta a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
    transition: border-color 0.2s;
}

.footer-cta a:hover {
    border-color: transparent;
}

.footer-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
}

/* Leaf decoration */
.leaf {
    color: var(--accent);
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 3rem 1.25rem;
    }

    header {
        margin-bottom: 3rem;
    }

    .product-card {
        padding: 1.75rem;
    }

    .product-footer {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }

    .buy-button {
        width: 100%;
        text-align: center;
    }
}
