/* /var/www/html/downloads/style.css — Digital Products page
 * Mirrors the medisano.go.ro theme (colors + fonts from /style.css).
 */
:root {
    --color-bg-pure: #1c0501;
    --color-bg-dark: #2c0802;
    --color-bg-card: rgba(0, 0, 0, 0.35);
    --color-bg-card-hover: rgba(0, 0, 0, 0.5);
    --color-primary: #ff4c00;
    --color-primary-rgb: 255, 76, 0;
    --color-secondary: #e62c00;
    --color-accent-amber: #f7a000;
    --color-text-white: #ffffff;
    --color-text-muted: #e0dedc;
    --border-subtle: rgba(255, 255, 255, 0.12);
    --border-glow: rgba(255, 76, 0, 0.3);
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-secondary: 'Michroma', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    background: var(--color-bg-pure);
    font-family: var(--font-primary);
    color: var(--color-text-white);
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(255, 76, 0, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 100%, rgba(230, 44, 0, 0.14) 0%, transparent 55%),
        linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-pure) 100%);
    background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }

/* ===== Header ===== */
.site-header {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(28, 5, 1, 0.72);
    border-bottom: 1px solid var(--border-subtle);
}
.nav-container {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 28px; gap: 20px;
}
.logo { font-family: var(--font-secondary); font-size: 1.02rem; letter-spacing: 0.5px; color: var(--color-text-white); white-space: nowrap; }
.nav-list { display: flex; gap: 28px; list-style: none; }
.nav-link { font-size: 0.88rem; font-weight: 500; color: var(--color-text-muted); transition: var(--transition-quick, all 0.2s ease); position: relative; }
.nav-link:hover { color: var(--color-text-white); }
.nav-link.active { color: var(--color-primary); }
.nav-link.active::after {
    content: ''; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px;
    background: var(--color-primary); border-radius: 2px;
}
.cta-button-pill {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 8px 8px 20px; border-radius: 999px;
    border: 1px solid var(--border-glow);
    background: rgba(255, 76, 0, 0.12);
    font-size: 0.85rem; font-weight: 600; white-space: nowrap;
    transition: var(--transition-smooth);
}
.cta-button-pill:hover { background: rgba(255, 76, 0, 0.25); border-color: rgba(255, 76, 0, 0.6); transform: translateY(-1px); }
.arrow-circle {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--color-primary); color: var(--color-text-white);
    display: inline-flex; align-items: center; justify-content: center;
}
.arrow-icon { width: 15px; height: 15px; }

/* ===== Hero ===== */
.dl-hero { max-width: 1200px; margin: 0 auto; padding: 72px 28px 34px; text-align: center; }
.dl-eyebrow {
    font-family: var(--font-secondary); font-size: 0.72rem; letter-spacing: 4px;
    text-transform: uppercase; color: var(--color-primary); margin-bottom: 18px;
}
.dl-title { font-family: var(--font-secondary); font-size: clamp(1.9rem, 5vw, 3.2rem); line-height: 1.15; letter-spacing: -0.5px; }
.dl-title-accent {
    background: linear-gradient(120deg, var(--color-primary), var(--color-accent-amber));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dl-subtitle { max-width: 620px; margin: 20px auto 0; color: var(--color-text-muted); font-size: 1.02rem; }

/* ===== Products grid ===== */
.dl-products { max-width: 1200px; margin: 0 auto; padding: 10px 28px 80px; }
.dl-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}
.dl-card {
    background: var(--color-bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 26px 24px 24px;
    display: flex; flex-direction: column;
    transition: var(--transition-smooth);
    position: relative; overflow: hidden;
}
.dl-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% -20%, rgba(255, 76, 0, 0.16), transparent 60%);
    opacity: 0; transition: var(--transition-smooth);
}
.dl-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    background: var(--color-bg-card-hover);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}
.dl-card:hover::before { opacity: 1; }

.dl-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; position: relative; }
.dl-card-icon {
    width: 52px; height: 52px; border-radius: 13px;
    background: rgba(255, 76, 0, 0.14); border: 1px solid var(--border-glow);
    color: var(--color-primary);
    display: flex; align-items: center; justify-content: center;
}
.dl-card-icon svg { width: 25px; height: 25px; }
.dl-version {
    font-family: var(--font-secondary); font-size: 0.62rem; letter-spacing: 1px;
    color: var(--color-accent-amber); background: rgba(247, 160, 0, 0.12);
    border: 1px solid rgba(247, 160, 0, 0.3);
    padding: 4px 11px; border-radius: 999px;
}
.dl-card-title { font-family: var(--font-secondary); font-size: 1.02rem; line-height: 1.35; margin-bottom: 10px; position: relative; }
.dl-card-desc { color: var(--color-text-muted); font-size: 0.88rem; flex-grow: 1; position: relative; }

.dl-card-meta {
    display: flex; gap: 18px; margin: 18px 0; position: relative;
    font-size: 0.78rem; color: rgba(224, 222, 220, 0.65);
}
.dl-card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.dl-card-meta svg { width: 14px; height: 14px; color: var(--color-primary); }

/* Download button — mirrors the site's CTA pill */
.dl-btn {
    display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px;
    padding: 9px 9px 9px 20px; border-radius: 999px;
    background: linear-gradient(120deg, var(--color-primary), var(--color-secondary));
    color: var(--color-text-white); font-weight: 600; font-size: 0.88rem;
    transition: var(--transition-smooth); position: relative;
}
.dl-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255, 76, 0, 0.4); }
.dl-btn-circle {
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex; align-items: center; justify-content: center;
}
.dl-btn-circle .arrow-icon { width: 15px; height: 15px; }

/* Product cover media — image on top of the card, or fallback icon */
.dl-card-media {
    position: relative;
    margin: -26px -24px 0 -24px;
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(140deg, rgba(255,76,0,0.16), rgba(0,0,0,0.25));
    aspect-ratio: 16 / 9;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.dl-card-media .dl-card-icon { margin: 0; border: none; background: transparent; }
.dl-card-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dl-card-media .dl-version { position: absolute; top: 12px; right: 12px; }

/* Card padding below the media */
.dl-card-media + .dl-card-title { margin-top: 18px; }

/* ===== Buy button (paid products) ===== */
.dl-btn-buy {
    background: linear-gradient(120deg, #00bd57, #00963f);
}
.dl-btn-buy:hover {
    box-shadow: 0 10px 28px rgba(0, 189, 87, 0.4);
}

/* ===== Empty state ===== */
.dl-empty {
    text-align: center; padding: 70px 20px;
    border: 1px dashed var(--border-subtle); border-radius: 18px;
    color: var(--color-text-muted);
}
.dl-empty-icon { width: 54px; height: 54px; color: var(--color-primary); opacity: 0.8; margin-bottom: 14px; }
.dl-empty h2 { font-family: var(--font-secondary); color: var(--color-text-white); font-size: 1.15rem; margin-bottom: 8px; }

/* ===== Footer ===== */
.dl-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 26px 28px; text-align: center;
    color: rgba(224, 222, 220, 0.55); font-size: 0.82rem;
}
.dl-footer a { color: var(--color-primary); }
.dl-footer a:hover { text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 760px) {
    .main-navigation { display: none; }
    .dl-hero { padding: 48px 20px 24px; }
    .dl-products { padding: 10px 16px 60px; }
    .nav-container { padding: 14px 16px; }
}
/* Fix 2026-10-16: gumroad-bundle.js appends span.logo-full inside Buy links -> 3 flex items -> circle centered. Hide injected span + pin circle right. */
.dl-btn .logo-full{display:none!important;width:0!important;height:0!important;overflow:hidden!important;}
.dl-btn-circle{margin-left:auto!important;flex:0 0 auto!important;}
.dl-btn>span:first-child{flex:1 1 auto;text-align:left;}

