/* PINGO DIGITAL - Minimal Linktree/Stan Store Style */
:root {
    --bg: #0a0a0a;
    --bg-card: #141414;
    --bg-card-hover: #1a1a1a;
    --border: #222;
    --border-hover: #333;
    --text: #f5f5f5;
    --text-secondary: #888;
    --accent: #22d3ee;
    --accent-hover: #67e8f9;
    --arctic-blue: #67e8f9;
    --green: #4ade80;
    --gold: #f59e0b;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 680px;
    --container-product: 800px;
    --container-wide: 1200px;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
}

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 100000;
    background: var(--accent);
    color: var(--bg);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: left 0.2s ease;
}

.skip-link:focus {
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    clip: auto;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Container */
.linktree-container {
    max-width: var(--max-width);
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--green) 100%);
    z-index: 10000;
    transition: width 0.1s ease;
}

/* Profile Header */
.profile-header {
    text-align: center;
    padding: 2.5rem 1.5rem 1.5rem;
}

.profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bg);
    margin: 0 auto 0.875rem;
}

.profile-avatar-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.875rem;
    display: block;
    border: 2px solid var(--accent);
}

.profile-name {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
}

.profile-bio {
    color: var(--text-secondary);
    font-size: 0.875rem;
    max-width: 400px;
    margin: 0 auto 0.375rem;
}

.profile-format {
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 600;
    max-width: 400px;
    margin: 0 auto 0.75rem;
    opacity: 0.9;
}

/* Contact & Social */
.profile-contact {
    margin-top: 0.5rem;
}

.contact-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.8125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.75rem;
}

.social-icon {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.social-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    /* Icons ship as full-colour 64px brand marks. The previous
       grayscale(100%) brightness(200%) filter is what made them read as
       barely-visible grey blobs on the dark background. */
    transition: filter 0.2s;
}

.social-icon:hover {
    color: var(--accent);
    transform: scale(1.1);
    background: rgba(34, 211, 238, 0.1);
}

.social-icon:hover img {
    /* Colour already comes from the asset, nothing to restore on hover. */
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 0 1rem 1.25rem;
    flex-wrap: wrap;
}

.trust-badge {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.625rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
}

.free-guide-hint {
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-top: 0.375rem;
    font-style: italic;
}

.free-guide-privacy {
    color: var(--text-secondary);
    font-size: var(--text-xs);
    margin-top: 0.5rem;
    text-align: center;
    opacity: 0.8;
}

.free-guide-privacy a {
    color: var(--accent);
    text-decoration: underline;
}

/* Link List */
.link-list {
    padding: 0 1rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.link-list__section-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 1.25rem 0.5rem 0.5rem;
    opacity: 0.7;
}

/* Link Items */
.link-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: background 0.2s, border-color 0.2s;
}

.link-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.link-item--free {
    border-color: rgba(74, 222, 128, 0.2);
}

.link-item--free:hover {
    border-color: rgba(74, 222, 128, 0.4);
}

.link-item--bundle {
    border-color: rgba(245, 158, 11, 0.2);
}

.link-item--bundle:hover {
    border-color: rgba(245, 158, 11, 0.35);
}

.link-item--membership {
    border-color: rgba(245, 158, 11, 0.15);
}

.link-item--membership:hover {
    border-color: rgba(245, 158, 11, 0.3);
}

.link-item--about {
    border-color: var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    cursor: default;
}

.link-item--testimonial {
    border-color: var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    cursor: default;
}

.link-item--testimonial .testimonial-stars {
    color: var(--gold);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

.link-item--testimonial .testimonial-text {
    color: var(--text);
    font-size: 0.875rem;
    font-style: italic;
    line-height: 1.6;
}

.link-item--testimonial .testimonial-author {
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
}

.link-item--faq {
    border-color: var(--border);
    cursor: default;
}

.link-item__icon {
    font-size: 1.375rem;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.link-item__thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
}

.link-item__info {
    flex: 1;
    min-width: 0;
}

.link-item__title {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.125rem;
    line-height: 1.3;
}

.link-item__desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.link-item__page-link {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--green);
    text-decoration: none;
    margin-top: 0.25rem;
    transition: color 0.2s ease;
}

.link-item__page-link:hover {
    color: var(--accent);
}

.link-item__badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    margin-top: 0.25rem;
}

/* Inline Form (Free Guide) */
.link-item__form--inline {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    width: auto;
    margin-top: 0;
}

.link-item__form--inline .link-item__input {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    width: 130px;
}

.link-item__form--inline .link-item__btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Buttons */
.link-item__btn {
    flex-shrink: 0;
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    transition: all 0.2s;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.link-item__btn--buy {
    background: var(--accent);
    color: var(--bg);
}

.link-item__btn--buy:hover {
    background: var(--accent-hover);
}

.link-item__btn--bundle {
    background: var(--gold);
    color: var(--bg);
}

.link-item__btn--bundle:hover {
    background: #fbbf24;
}

.link-item__btn--free {
    background: var(--green);
    color: var(--bg);
}

.link-item__btn--free:hover {
    background: #86efac;
}

.link-item__btn--membership {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.link-item__btn--membership:hover {
    background: rgba(245, 158, 11, 0.1);
}

.link-item__btn--block {
    width: 100%;
    margin-top: 0.75rem;
}

.link-item__expand-btn {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.5rem;
    font-family: var(--font);
    transition: color 0.2s;
    min-height: 44px;
    min-width: 44px;
}

.link-item__expand-btn:hover {
    color: var(--accent);
}

/* About Section */
.link-item__about-text {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.about-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

/* Expandable Details */
.link-item__details {
    display: none;
    width: 100%;
    flex-basis: 100%;
    order: 20;
    padding: 1rem 0 0.25rem;
    margin-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.link-item__details.is-visible {
    display: block;
}

.link-item.expanded {
    border-color: rgba(34, 211, 238, 0.4);
}

.link-item__details .urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 100px;
    color: #fca5a5;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.875rem;
    animation: pulse-urgency 2s ease-in-out infinite;
}

@keyframes pulse-urgency {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.link-item__details .discount-badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: var(--text-xs);
    font-weight: 700;
    border-radius: 6px;
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.link-item__details .price-comparison {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.link-item__details .price-original {
    color: var(--text-secondary);
    text-decoration: line-through;
    font-size: 0.875rem;
    opacity: 0.6;
}

.link-item__details .price-current {
    color: var(--green);
    font-size: 1.5rem;
    font-weight: 800;
}

.link-item__details .price-save {
    color: var(--gold);
    font-size: 0.8125rem;
    font-weight: 600;
}

.link-item__details .product-bio {
    color: var(--text);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.link-item__details .product-features {
    list-style: none;
    margin-bottom: 1rem;
}

.link-item__details .product-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.link-item__details .product-features li:last-child {
    border-bottom: none;
}

.link-item__details .product-features li::before {
    content: "✓";
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
    font-size: 0.875rem;
}

.link-item__details .social-proof {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.link-item__details .social-proof-icon {
    font-size: 1.5rem;
}

.link-item__details .social-proof-text {
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.5;
}

.link-item__details .social-proof-text strong {
    color: var(--accent);
}

.link-item__details .guarantee-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 8px;
    margin-top: 0.75rem;
}

.link-item__details .guarantee-badge span:first-child {
    font-size: 1.25rem;
}

.link-item__details .guarantee-badge span:last-child {
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
}

.link-item__details .cta-subtext {
    text-align: center;
    color: var(--text-secondary);
    font-size: var(--text-xs);
    margin-top: 0.5rem;
    opacity: 0.7;
}

.link-item__details p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.link-item__details ul {
    list-style: none;
    margin-bottom: 0.75rem;
}

.link-item__details ul li {
    padding: 0.375rem 0;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.link-item__details ul li::before {
    content: "✓";
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
}

.link-item__meta {
    color: var(--text-secondary);
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* Inline form for free guide */
.link-item__form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-item__input {
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    font-size: 0.875rem;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.2s;
}

.link-item__input:focus {
    border-color: var(--green);
}

.link-item__input::placeholder {
    color: var(--text-secondary);
    opacity: 0.5;
}

/* FAQ */
.faq-heading {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    padding: 0 0.25rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    color: var(--text);
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font);
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--accent);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1rem 0.875rem;
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 1.5rem 3rem;
    border-top: 1px solid var(--border);
}

.footer__contact {
    margin-bottom: 1.5rem;
}

.footer__contact p {
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

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

.footer__contact a:hover {
    text-decoration: underline;
}

.footer__links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer__links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color 0.2s;
}

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

.footer__payment {
    color: var(--text-secondary);
    font-size: 0.75rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.footer__copy {
    color: var(--text-secondary);
    font-size: var(--text-xs);
    opacity: 0.5;
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .link-item {
        flex-wrap: wrap;
        padding: 0.75rem;
        gap: 0.625rem;
    }
    
    .link-item__thumb,
    .link-item__icon {
        width: 56px;
        height: 56px;
        font-size: 1.125rem;
    }
    
    .link-item__info {
        flex: 1;
        min-width: 0;
    }
    
    .link-item__title {
        font-size: 0.875rem;
    }
    
    .link-item__desc {
        font-size: 0.875rem;
    }
    
    .link-item__btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
        min-height: 44px;
    }
    
    .link-item__form--inline {
        width: 100%;
        order: 10;
        margin-top: 0.5rem;
        flex-direction: column;
    }
    
    .link-item__form--inline .link-item__input {
        width: 100%;
        flex: 1;
    }
    
    .link-item__form--inline .link-item__btn {
        width: 100%;
    }
    
    .link-item__details {
        padding: 0.875rem;
    }
    
    .link-item__details .price-comparison {
        flex-direction: column;
        gap: 0.375rem;
    }
    
    .link-item__details .price-current {
        font-size: 1.25rem;
    }
    
    .link-item__details .social-proof {
        flex-direction: column;
        text-align: center;
    }
    
    .link-item.expanded {
        border-radius: 12px;
        border-bottom-color: var(--border);
    }
    
    .link-item.expanded .link-item__details {
        border-radius: 0 0 12px 12px;
    }
    
    .trust-badges {
        gap: 0.5rem;
    }
    
    .trust-badge {
        font-size: var(--text-xs);
        padding: 0.375rem 0.625rem;
    }
    
    .about-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .footer__links {
        gap: 1rem;
    }
}


/* =====================================================
   PRODUCT PAGE STYLES
   ===================================================== */

.container {
    max-width: var(--container-product);
    margin: 0 auto;
    padding: 0 1rem;
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 1rem;
}

.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
}

.logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    min-height: 44px;
}

.btn-primary {
    background: var(--accent);
    color: #000;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-card);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.0625rem;
}

.product-hero {
    padding: 2rem 0;
    display: grid;
    gap: 2rem;
}

@media (min-width: 640px) {
    .product-hero {
        grid-template-columns: 400px 1fr;
        align-items: start;
    }
}

.product-cover-wrapper {
    position: relative;
}

.product-cover {
    width: 100%;
    height: auto;
    max-width: 480px;
    margin: 0 auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--accent);
    color: #000;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-info h1 {
    font-size: 1.75rem;
    line-height: 1.2;
    font-weight: 700;
}

.product-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.product-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-format,
.product-language,
.product-billing {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.product-price-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 0.5rem;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-free {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green);
}

.price-value {
    font-size: 1.75rem;
    font-weight: 700;
}

.price-period {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.price-original {
    font-size: 1rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.price-saving {
    font-size: 0.875rem;
    color: var(--green);
    font-weight: 600;
}

.reassurance-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.reassurance-link {
    font-size: 0.8125rem;
    color: var(--accent);
    text-decoration: underline;
}

.reassurance-link:hover {
    color: var(--accent-hover);
}

.product-section {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

.product-section h2 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.product-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.product-samples {
    display: grid;
    gap: 1rem;
}

@media (min-width: 480px) {
    .product-samples {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-who {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.who-item h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.who-item ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.who-item li {
    font-size: 0.9375rem;
    line-height: 1.5;
    padding-left: 1.5rem;
    position: relative;
}

.who-item li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.who-also {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.product-comparison {
    display: grid;
    gap: 1rem;
}

@media (min-width: 480px) {
    .product-comparison {
        grid-template-columns: repeat(2, 1fr);
    }
}

.comparison-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
}

.comparison-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.comparison-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.comparison-pages {
    display: inline-block;
    font-size: 0.8125rem;
    color: var(--accent);
    font-weight: 600;
}

.product-description p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.product-faq {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.faq-item p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.site-footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer-nav {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--text);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 1rem;
    z-index: 1000;
    display: none;
}

.cookie-banner .container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 480px) {
    .cookie-banner .container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.cookie-banner p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.cookie-banner a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
}

/* Free Guide Form */
.free-guide-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
}

.form-group input[type="email"] {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
    font-family: var(--font);
}

.form-group input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

.form-error {
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.form-hint {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    text-align: center;
}

/* Error text */
.error-text {
    color: #ff6b6b;
    font-size: 0.875rem;
    padding: 0.75rem;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.checkout-hint {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    margin-top: 0.5rem;
}

.loading-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Accessibility improvements */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Ensure main landmark is used properly */
main {
    display: block;
}

/* Fix contrast for links and buttons */
a {
    color: var(--accent);
    text-decoration: underline;
}

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

/* Ensure form labels are visible */
label {
    color: var(--text);
    font-weight: 600;
}

/* Focus states for interactive elements */
.btn:focus-visible,
a:focus-visible,
input:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Ensure proper heading hierarchy */
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

/* Prevent horizontal overflow */
.container,
.container-wide {
    overflow-x: hidden;
}

/* Touch target minimum size */
.btn, a.btn, button {
    min-height: 44px;
    min-width: 44px;
}

/* Spin the Wheel Modal */
.spin-wheel-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spin-wheel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.spin-wheel-container {
    position: relative;
    background: linear-gradient(145deg, #0d1b2a, #1b2838);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    border: 2px solid rgba(34, 211, 238, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.spin-wheel-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.spin-wheel-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.spin-wheel-content h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.spin-wheel-subtitle {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.spin-wheel-wrapper {
    position: relative;
    display: inline-block;
    margin: 1rem auto;
}

#wheel-canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

.wheel-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 25px solid #22d3ee;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    z-index: 10;
}

.spin-wheel-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #22d3ee, #06b6d4);
    color: #0a0a0a;
    border: none;
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.4);
    z-index: 5;
    min-height: 44px;
}

.spin-wheel-button:hover:not(:disabled) {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(34, 211, 238, 0.6);
}

.spin-wheel-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.spin-attempts {
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

#attempts-left {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.125rem;
}

/* Win Animation */
.win-container {
    position: relative;
    text-align: center;
    padding: 2rem;
}

.win-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 0.6s ease infinite alternate;
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-10px); }
}

.win-container h2 {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.win-discount {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.win-code-box {
    background: rgba(34, 211, 238, 0.1);
    border: 2px dashed var(--accent);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.win-code {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: 2px;
}

.copy-code-btn {
    background: var(--accent);
    color: #0a0a0a;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 44px;
}

.copy-code-btn:hover {
    background: var(--arctic-blue);
    transform: scale(1.05);
}

.win-hint {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: confetti-fall 3s ease-out forwards;
}

@keyframes confetti-fall {
    0% { transform: translateY(-100px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(400px) rotate(720deg); opacity: 0; }
}

/* Discount Notification */
.discount-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #0d1b2a, #1b2838);
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 9998;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.discount-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-icon {
    font-size: 1.5rem;
}

.notification-content strong {
    display: block;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.notification-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.notification-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    margin-left: 1rem;
}

.notification-close:hover {
    color: var(--text);
}

@media (max-width: 768px) {
    .spin-wheel-container {
        padding: 1.5rem;
    }
    
    .spin-wheel-content h2 {
        font-size: 1.5rem;
    }
    
    .win-code {
        font-size: 1.5rem;
    }
    
    .discount-notification {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
}

/* =====================================================
   MOBILE CARD LAYOUT (<=480px)
   At phone width the buy button was squeezed beside the product copy and
   overlapped it. Stack it under the text, like the free-guide card already
   does with its inline form.
   ===================================================== */

@media (max-width: 480px) {
    .link-item__btn {
        width: 100%;
        order: 10;
        margin-top: 0.25rem;
    }

    .link-item__badge {
        display: block;
        margin-top: 0.25rem;
    }
}

/* =====================================================
   PRODUCT PAGE REASSURANCE
   Support / refund line shown under the product CTA.
   ===================================================== */

.product-reassurance {
    margin-top: 1rem;
    text-align: center;
}

.reassurance-text {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.5;
    margin-bottom: 0.375rem;
}

.reassurance-link {
    color: var(--accent);
    font-size: 0.8125rem;
    text-decoration: none;
}

.reassurance-link:hover {
    text-decoration: underline;
}

/* =====================================================
   SPIN WHEEL — POST-WIN ACTIONS
   "Girar de nuevo" / "No mostrar de nuevo".
   ===================================================== */

.win-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.spin-again-btn {
    background: linear-gradient(135deg, #22d3ee, #06b6d4);
    color: #0a0a0a;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 44px;
}

.spin-again-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 211, 238, 0.5);
}

.dismiss-btn {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 44px;
}

.dismiss-btn:hover {
    background: var(--bg-card);
    color: var(--text);
}

#spin-count {
    color: var(--accent);
    font-weight: 700;
}

/* =====================================================
   PRODUCT PAGE — VISUAL PROOF & PERSUASION BLOCKS
   Trust strip, outcomes, pillars, comparison,
   named reviews and the closing call to action.
   ===================================================== */

.trust-strip {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 0;
    padding: 0;
}

.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.2;
}

.trust-chip strong {
    color: var(--text);
}

.section-lead {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.section-note {
    margin-top: 1.25rem;
    color: var(--accent);
    font-size: 0.9375rem;
    font-weight: 600;
}

.outcome-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .outcome-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.outcome-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.outcome-card p {
    color: var(--text);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.outcome-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.14);
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 700;
}

.pillar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .pillar-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.pillar-card {
    padding: 1.125rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.pillar-icon {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pillar-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.375rem;
}

.pillar-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .compare-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.compare-col {
    padding: 1.125rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-card);
}

.compare-col h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.compare-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.compare-col li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.compare-col--bad h3 {
    color: var(--text-secondary);
}

.compare-col--bad li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #ef4444;
}

.compare-col--good {
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.15) inset;
}

.compare-col--good h3 {
    color: var(--accent);
}

.compare-col--good li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.reviews-score {
    display: flex;
    align-items: baseline;
    gap: 0.125rem;
    color: var(--text);
}

.reviews-score strong {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.reviews-score span {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.reviews-meta {
    min-width: 0;
}

.reviews-meta p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

.review-stars {
    color: var(--gold);
    font-size: 0.9375rem;
    letter-spacing: 0.1em;
}

.review-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .review-list {
        grid-template-columns: 1fr 1fr;
    }
}

.review-card {
    padding: 1.125rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.review-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.625rem;
}

.review-avatar {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.14);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9375rem;
}

.review-author {
    color: var(--text);
    font-weight: 600;
    font-size: 0.9375rem;
}

.review-verified {
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 600;
}

.review-text {
    margin-top: 0.625rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.65;
}

.final-cta {
    margin: 2.5rem 0 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    background: linear-gradient(160deg, rgba(34, 211, 238, 0.12), rgba(34, 211, 238, 0.02));
    border: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: var(--radius-lg);
}

.final-cta h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.final-cta__lead {
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 1.25rem;
}

.final-cta__list {
    list-style: none;
    padding: 0;
    margin: 0 auto 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.final-cta__note {
    margin-top: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

/* Homepage testimonial cards (named reviews) */

.link-item--testimonial .testimonial-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.link-item--testimonial .testimonial-avatar {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.14);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.875rem;
}

.link-item--testimonial .testimonial-product {
    display: block;
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.link-item--testimonial .testimonial-verified {
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 600;
}

/* =====================================================
   PAYMENT SUCCESS PAGE
   ===================================================== */

.payment-success-page {
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.payment-success-page .site-header {
    border-bottom: 1px solid var(--border);
}

.success-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 1rem;
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
}

.success-icon-block {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.success-icon {
    font-size: 2.25rem;
    color: var(--green);
}

.success-icon.processing {
    animation: spin 1s linear infinite;
}

.success-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.success-lead {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    width: 100%;
    text-align: center;
    margin-bottom: 1.5rem;
}

.download-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    text-align: left;
}

.download-card__cover {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.download-card__title {
    text-align: left;
}

.download-card__title h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.download-card__subtitle {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
}

.transaction-id {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
}

.transaction-id code {
    background: var(--bg-card);
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--accent);
}

.download-meta {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.trust-strip {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.trust-chip {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.trust-chip span:not([aria-hidden]) {
    color: var(--text);
}


.support-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 2rem;
}

.support-text .help-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.support-text .help-link:hover {
    text-decoration: underline;
}

.error-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.error-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.error-title {
    color: #ff6b6b;
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.error-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.error-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.loading-bar {
    width: 100%;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.loading-bar__fill {
    width: 60%;
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    animation: loading 2s ease-in-out infinite;
}

.processing-note {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    margin-top: 0.5rem;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

@media (max-width: 480px) {
    .download-card__header {
        flex-direction: column;
        align-items: center;
        text-align: center;
}

    .download-card__cover {
        width: 100%;
        max-width: 160px;
}

}
