/* ============================================================
   ContruIA Marketing Shortcodes - Premium Styles
   ============================================================ */

/* ---- HERO BANNER ---- */
.construia-hero-banner {
    position: relative;
    padding: 70px 40px;
    border-radius: 24px;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.construia-hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    animation: rotateGlow 15s linear infinite;
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    margin-bottom: 25px;
}

.badge-owned,
.badge-available {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.badge-owned {
    background: rgba(16, 185, 129, 0.3);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #d1fae5;
}

.badge-available {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 15px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.92;
    max-width: 550px;
    margin: 0 auto 35px;
    line-height: 1.5;
}

.hero-cta {
    display: inline-block;
    padding: 16px 42px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-cta-owned {
    background: #fff;
    color: #667eea !important;
}

.hero-cta-owned:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.hero-cta-locked {
    background: rgba(255, 255, 255, 0.25);
    color: #fff !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulseGlow 2.5s ease-in-out infinite;
}

.hero-cta-locked:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    50% {
        box-shadow: 0 10px 40px rgba(255, 255, 255, 0.15);
    }
}

/* ---- FEATURES GRID ---- */
.construia-features-grid {
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), 1fr);
    gap: 24px;
    margin: 40px 0;
}

.feature-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out both;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.3;
}

/* ---- DOWNLOAD CARD ---- */
.construia-download-card {
    background: #fff;
    border: 2px solid rgba(102, 126, 234, 0.2);
    padding: 25px 30px;
    border-radius: 18px;
    margin: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.08);
    transition: all 0.3s ease;
    animation: slideInLeft 0.5s ease-out both;
}

.construia-download-card:hover {
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.15);
}

.download-info {
    flex: 1;
    min-width: 200px;
}

.download-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}

.download-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 0.85rem;
    color: #6b7280;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.download-btn-icon {
    font-size: 1.2rem;
}

/* ---- DOWNLOAD LOCKED ---- */
.construia-download-locked {
    background: linear-gradient(135deg, #fef3c7 0%, #fee2e2 100%);
    padding: 25px 30px;
    border-radius: 18px;
    margin: 16px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    border: 1px solid rgba(234, 88, 12, 0.15);
}

.locked-icon {
    font-size: 2.2rem;
}

.locked-info {
    flex: 1;
    min-width: 180px;
}

.locked-info h4 {
    margin: 0 0 5px;
    color: #92400e;
    font-size: 1.05rem;
}

.locked-info p {
    margin: 0;
    color: #b45309;
    font-size: 0.9rem;
}

.locked-buy-btn {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.locked-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

/* ---- DOWNLOAD PENDING ---- */
.construia-download-pending {
    background: rgba(102, 126, 234, 0.06);
    padding: 20px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #6b7280;
    font-size: 0.95rem;
    border: 1px dashed rgba(102, 126, 234, 0.2);
    margin: 16px 0;
}

.pending-icon {
    font-size: 1.5rem;
}

/* ---- DOWNLOAD AUTH ---- */
.construia-download-auth {
    background: #fef3c7;
    padding: 20px 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #fcd34d;
    margin: 16px 0;
}

.construia-download-auth a {
    color: #667eea;
    font-weight: 700;
}

/* ---- STATS GRID ---- */
.construia-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.stat-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out both;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.12);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

/* ---- CTA BANNER ---- */
.construia-cta-banner {
    padding: 60px 40px;
    border-radius: 24px;
    text-align: center;
    color: #fff;
    margin: 50px 0;
    position: relative;
    overflow: hidden;
}

.construia-cta-banner::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 120%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.cta-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin: 0 0 15px;
    position: relative;
    z-index: 2;
}

.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
}

.cta-btn {
    display: inline-block;
    background: #fff;
    color: #764ba2 !important;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* ---- CTA UPGRADE BOX ---- */
.cta-upgrade-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    border: 2px dashed rgba(102, 126, 234, 0.25);
    margin: 40px 0;
}

.cta-upgrade-box h2 {
    font-size: 1.8rem;
    color: #1f2937;
    margin: 0 0 15px;
}

.cta-upgrade-box p {
    color: #6b7280;
    font-size: 1.1rem;
    margin: 0 0 30px;
}

.cta-upgrade-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.cta-upgrade-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

/* ---- PRODUCTS GRID PREMIUM ---- */
.construia-products-premium {
    margin: 20px 0;
}

.section-heading {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 30px;
    text-align: center;
}

.products-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.product-card-premium {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.product-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.product-card-premium.not-owned {
    opacity: 0.75;
    border-style: dashed;
}

.product-card-premium.not-owned:hover {
    opacity: 1;
}

.product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.product-icon-large {
    font-size: 3rem;
}

.product-badge-owned {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}

.product-badge-locked {
    font-size: 1.5rem;
    opacity: 0.5;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}

.product-desc {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 20px;
    flex: 1;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.product-btn {
    display: block;
    text-align: center;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.product-btn-download {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.25);
}

.product-btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.35);
}

.product-btn-pending {
    background: rgba(102, 126, 234, 0.06);
    color: #6b7280 !important;
    cursor: default;
}

.product-btn-buy {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: #fff !important;
    box-shadow: 0 6px 15px rgba(245, 158, 11, 0.25);
}

.product-btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.35);
}

.product-btn-details {
    background: transparent;
    color: #667eea !important;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.product-btn-details:hover {
    background: rgba(102, 126, 234, 0.05);
    border-color: rgba(102, 126, 234, 0.35);
}

/* ---- PRODUCTS EMPTY STATE ---- */
.products-empty {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 24px;
    border: 2px dashed rgba(102, 126, 234, 0.2);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.products-empty h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin: 0 0 10px;
}

.products-empty p {
    color: #6b7280;
    font-size: 1.05rem;
    max-width: 400px;
    margin: 0 auto 25px;
}

.empty-cta {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.empty-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* ---- HTML BLOCK ---- */
.construia-html-block {
    margin: 20px 0;
}

/* ---- SECTION HEADINGS ---- */
.product-section-features,
.product-section-downloads,
.product-section-cta {
    margin: 40px 0;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-25px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .construia-hero-banner {
        padding: 50px 25px;
        border-radius: 18px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .construia-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .feature-card {
        padding: 25px 15px;
    }

    .construia-download-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .download-meta {
        justify-content: center;
    }

    .download-btn {
        justify-content: center;
    }

    .construia-download-locked {
        flex-direction: column;
        text-align: center;
    }

    .construia-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .products-grid-premium {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .construia-features-grid {
        grid-template-columns: 1fr;
    }

    .construia-stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 1.7rem;
    }
}