/* =====================================================
   PRODUCTS COMPACT OVERRIDES
   Applied site-wide to all Product/* pages to reduce
   vertical padding and tighten typography so content
   fits above the fold with minimal scrolling.
   ===================================================== */

/* --- Hero --- */
.product-hero {
    padding: 70px 0 34px !important;
    min-height: 0 !important;
}

.product-hero h1 {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem) !important;
    margin-bottom: 10px !important;
    line-height: 1.2 !important;
}

.product-hero p.tagline,
.product-hero .tagline {
    font-size: 0.98rem !important;
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
}

.product-hero-badge {
    padding: 5px 16px !important;
    font-size: 0.72rem !important;
    margin-bottom: 12px !important;
}

/* Hero visual (big circular icon on product detail pages) */
.product-hero-visual {
    margin-top: 8px !important;
}

.product-hero-icon-circle {
    width: 180px !important;
    height: 180px !important;
}

.product-hero-icon-inner {
    width: 130px !important;
    height: 130px !important;
}

.product-hero-icon-inner i {
    font-size: 3.6rem !important;
}

/* Hero tags + stats */
.product-hero-tag {
    padding: 4px 10px !important;
    font-size: 0.7rem !important;
}

.product-hero-tag i {
    font-size: 0.68rem !important;
}

.product-hero-stats {
    gap: 18px !important;
    margin-top: 16px !important;
}

.product-hero-stat strong {
    font-size: 1.25rem !important;
}

.product-hero-stat span {
    font-size: 0.72rem !important;
}

/* Hero CTA buttons */
.product-hero-cta {
    margin-top: 18px !important;
}

.btn-product,
.btn-product-outline {
    padding: 10px 24px !important;
    font-size: 0.92rem !important;
    gap: 8px !important;
}

.btn-product-outline {
    margin-left: 8px !important;
}

/* --- Features section --- */
.product-features {
    padding: 36px 0 !important;
}

.product-features-header {
    margin-bottom: 22px !important;
}

.product-features-badge {
    padding: 5px 16px !important;
    font-size: 0.72rem !important;
    margin-bottom: 10px !important;
}

.product-features h2 {
    font-size: clamp(1.4rem, 2.8vw, 1.9rem) !important;
    margin-bottom: 8px !important;
    line-height: 1.25 !important;
}

.product-features-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
}

/* Feature cards */
.product-feature-card {
    padding: 16px 16px !important;
    border-radius: 14px !important;
}

.product-feature-card:hover {
    transform: translateY(-3px) !important;
}

.product-feature-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    margin-bottom: 10px !important;
}

.product-feature-icon i {
    font-size: 1.15rem !important;
}

.product-feature-card h4 {
    font-size: 1rem !important;
    margin-bottom: 5px !important;
}

.product-feature-card p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
}

/* Row gap in feature grid */
.product-features .row.g-4 {
    --bs-gutter-y: 0.9rem !important;
    --bs-gutter-x: 0.9rem !important;
}

/* Card layout now uses flex so actions sit at the bottom */
.product-features .product-feature-card {
    display: flex !important;
    flex-direction: column !important;
}

/* Clickable title link */
.product-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

.product-card-link h4 {
    transition: color 0.2s ease;
}

.product-card-link:hover h4 {
    color: var(--p-primary, #6366f1) !important;
}

/* Status row */
.product-card-status {
    margin-top: 12px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.3;
}

.product-card-status.status-live {
    color: #22c55e !important;
}

.product-card-status.status-upcoming {
    color: #a5b4fc !important;
}

.product-card-status i {
    font-size: 0.55rem !important;
}

.product-card-status.status-upcoming i {
    font-size: 0.72rem !important;
}

/* Action buttons row — pinned to bottom of card */
.product-card-actions {
    display: flex !important;
    gap: 8px !important;
    margin-top: auto !important;
    padding-top: 14px !important;
}

.btn-card {
    flex: 1 1 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    border-radius: 9px !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
    cursor: pointer;
    white-space: nowrap;
}

.btn-card i {
    font-size: 0.75rem !important;
}

.btn-card-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    color: #ffffff !important;
    border: 1px solid transparent !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.btn-card-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(99, 102, 241, 0.4);
    color: #ffffff !important;
}

.btn-card-secondary {
    background: #ffffff !important;
    color: #4f46e5 !important;
    border: 1px solid rgba(99, 102, 241, 0.3) !important;
}

.btn-card-secondary:hover {
    background: rgba(99, 102, 241, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.55) !important;
    color: #4338ca !important;
    transform: translateY(-2px);
}

@media (max-width: 380px) {
    .product-card-actions {
        flex-direction: column;
    }
}

/* --- Use case (dark) section --- */
.product-usecase {
    padding: 36px 0 !important;
}

.product-usecase h2 {
    font-size: clamp(1.4rem, 2.8vw, 1.9rem) !important;
    margin-bottom: 10px !important;
}

.product-usecase p {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    margin: 0 auto 18px !important;
}

/* --- CTA --- */
.product-cta {
    padding: 36px 0 !important;
}

.product-cta h2 {
    font-size: clamp(1.4rem, 2.8vw, 1.9rem) !important;
    margin-bottom: 8px !important;
}

.product-cta p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin: 0 auto 16px !important;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .product-hero {
        padding: 58px 0 26px !important;
    }

    .product-hero-icon-circle {
        width: 150px !important;
        height: 150px !important;
    }

    .product-hero-icon-inner {
        width: 110px !important;
        height: 110px !important;
    }

    .product-hero-icon-inner i {
        font-size: 3rem !important;
    }

    .product-features,
    .product-usecase,
    .product-cta {
        padding: 28px 0 !important;
    }
}

@media (max-width: 576px) {
    .product-hero {
        padding: 50px 0 22px !important;
    }

    .product-hero h1 {
        font-size: 1.55rem !important;
    }

    .product-hero-icon-circle {
        width: 130px !important;
        height: 130px !important;
    }

    .product-hero-icon-inner {
        width: 96px !important;
        height: 96px !important;
    }

    .product-hero-icon-inner i {
        font-size: 2.5rem !important;
    }

    .btn-product-outline {
        margin-left: 0 !important;
        margin-top: 8px !important;
    }
}