/* ============================================
   PRODUCTY PRICING & CATALOG STYLES
   ============================================ */

/* Catalog Examples Gallery */
.producty-catalog-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.catalog-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.catalog-card:not(.coming-soon):hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.catalog-card.coming-soon {
    opacity: 0.7;
}

.catalog-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.catalog-thumbnail.coming-soon-img {
    filter: grayscale(50%);
}

.catalog-info {
    padding: 20px;
}

.catalog-title {
    margin: 0 0 8px 0;
    font-size: 1.2em;
    font-weight: 600;
}

.catalog-subtitle {
    margin: 0 0 12px 0;
    color: #666;
    font-size: 0.9em;
}

.catalog-meta {
    margin: 0 0 12px 0;
    font-size: 0.85em;
    color: #888;
}

.catalog-cta a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.catalog-cta a:hover {
    text-decoration: underline;
}

.catalog-coming-soon {
    font-size: 0.9em;
    color: #666;
}

.chat-trigger {
    color: #0066cc;
    text-decoration: none;
}

.chat-trigger:hover {
    text-decoration: underline;
}

/* Features Matrix */
.producty-features-matrix {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.feature-category {
    margin-bottom: 50px;
}

.category-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    color: #333;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 10px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.feature-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card.has-link {
    cursor: pointer;
}

.feature-card.has-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.feature-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.feature-icon {
    font-size: 4em;
    color: #0066cc;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1.1em;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
}

.feature-excerpt,
.feature-description {
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0 0 10px 0;
}

.learn-more,
.read-more {
    color: #0066cc;
    font-weight: 500;
    font-size: 0.9em;
}

/* Catalog Features (on landing pages) */
.producty-catalog-features {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.producty-catalog-features h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
    color: #333;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.feature-item.has-link {
    cursor: pointer;
    transition: background 0.2s;
}

.feature-item.has-link:hover {
    background: #f0f0f0;
}

.feature-item-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    gap: 20px;
    width: 100%;
}

.feature-item .feature-icon {
    flex-shrink: 0;
    font-size: 2em;
}

.feature-content {
    flex-grow: 1;
}

.feature-item .feature-title {
    margin: 0 0 8px 0;
}

.feature-item .feature-description {
    margin: 0;
}

/* ============================================
   DIV-BASED PRICING TABLE - DESKTOP
   ============================================ */

.producty-pricing-container {
    width: 100%;
    max-width: 1400px;
    margin: 40px auto;
    border: 1px solid #ddd;
    background: #fff;
    overflow-x: auto;
}

/* Rows */
.pricing-row {
    display: flex;
    border-bottom: 1px solid #ddd;
    min-height: 50px;
    gap: 10px;
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-header-row {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    gap: 5px;
}

/* Cells */
.pricing-cell {
    flex: 1;
    min-width: 150px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Feature Column (left side - wider than plan columns) */
.feature-header {
    flex: 0 0 250px;
    max-width: 250px;
    min-width: 250px;
    justify-content: flex-start;
    text-align: left;
    background: transparent;
    font-weight: 600;
    border: none;
    padding: 15px 18px;
}

.feature-name {
    flex: 0 0 250px;
    max-width: 250px;
    min-width: 250px;
    justify-content: flex-start;
    text-align: left;
    background: #fff;
    font-weight: 400;
    font-size: 0.9em;
    padding: 12px 18px;
    border-right: 1px solid #ddd;
}

.feature-row:nth-child(even) .feature-name {
    background: #fafafa;
}

/* Plan Headers with Two-Tone Gradient using CSS Variables */
.plan-name-header {
    flex: 1 1 0;
    min-width: 0;
    padding: 15px;
    color: #fff;
    text-align: center;
    background: var(--plan-color, #2196f3);
}

/* Plan Details Header - With Gradient */
.plan-header {
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    padding: 25px 15px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: 
        linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 50%),
        linear-gradient(0deg, rgba(0,0,0,0.25) 0%, transparent 50%),
        var(--plan-color, #2196f3);
}

.plan-header > * {
    position: relative;
    z-index: 2;
}

.plan-name {
    font-size: 1.5em;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.plan-price {
    font-size: 2em;
    font-weight: 700;
    margin: 8px 0;
    line-height: 1.2;
}

.plan-price-yearly {
    font-size: 0.6em;
    opacity: 0.9;
    margin: 6px 0;
    font-weight: 500;
}

.plan-onboarding {
    font-size: 0.6em;
    opacity: 0.85;
    margin-top: 8px;
    font-weight: 400;
    line-height: 1.3;
}

/* Plan Details */
.detail-row {
    background: #fafafa;
}

.detail-row:nth-child(odd) {
    background: #fff;
}

.plan-detail {
    flex: 1 1 0;
    min-width: 0;
    font-size: 0.9em;
    font-weight: 500;
    color: #333;
}

/* Category Headers */
.category-row {
    background: #e8e8e8;
    gap: 10px;
}

.category-header {
    flex: 1;
    font-weight: 700;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    justify-content: flex-start;
    padding: 10px 18px;
    gap: 10px;
    background: #e8e8e8;
}

.category-row .pricing-cell:not(.category-header) {
    background: #e8e8e8;
}

/* Feature Values (checkmarks) */
.feature-value {
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    background: #fff;
    text-align: center;
}

.feature-row:nth-child(even) .feature-value {
    background: #fafafa;
}

.feature-value .checkmark {
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    background-color: #333333;
    color: #ffffff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
}

.feature-value .no-check {
    color: #cccccc;
    font-size: 16px;
}

.feature-note {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

/* Hover Effects */
.feature-row:hover {
    background: #f9f9f9;
}

.feature-row:hover .feature-name,
.feature-row:hover .feature-value {
    background: #f9f9f9;
}

.feature-row {
    background: #fff;
    gap: 10px;
}

/* Single Feature Card */
.producty-feature-card-single {
    max-width: 400px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    margin: 20px 0;
}

.producty-feature-card-single.has-link {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.producty-feature-card-single.has-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Producty features matrix icons - green and 2.5x larger */
.producty-features-matrix i {
    color: #39B54A;
    font-size: 2.5em;
}

.feature-launch-note {
    font-size: 0.9em;
    color: #666;
    margin-top: 0.5em;
}

/* ============================================
   PRODUCTY BENEFITS SECTION
   ============================================ */

.producty-benefits-section {
    padding: 2rem 0;
}

/* Grid Layout */
.benefits-container.layout-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

/* List Layout */
.benefits-container.layout-list .benefit-item {
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Benefit Item */
.benefit-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

.benefit-item.has-link {
    cursor: pointer;
}

.benefit-item.has-link:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.benefit-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Icon */
.benefit-icon {
    font-size: 5rem;
    color: #666666;
    margin-bottom: 1rem;
}

/* Content */
.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    color: #333333;
}

.benefit-summary {
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    margin: 0 0 0.5rem 0;
}

.benefit-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.read-more {
    display: inline-block;
    margin-top: 0.75rem;
    color: #3b82f6;
    font-weight: 500;
    font-size: 0.875rem;
}

.benefit-item.has-link:hover .read-more {
    text-decoration: underline;
}

/* Catalog Features - 5 Column Row */
.producty-catalog-features-row {
    margin: 40px 0;
    width: 100%;
}

.producty-catalog-features-row h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
}

.catalog-features-grid-5col {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: space-between;
}

.catalog-feature-col {
    flex: 1;
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
    min-width: 0;
}

.catalog-feature-col:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #28a745;
}

.catalog-feature-col.has-link {
    cursor: pointer;
}

.catalog-feature-col-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.catalog-feature-col-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
    color: #28a745;
    font-size: 48px;
}

.catalog-feature-col-title {
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0 10px;
    color: #333;
}

.catalog-feature-col-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.catalog-col-read-more {
    display: inline-block;
    color: #28a745;
    font-weight: 500;
    font-size: 14px;
    margin-top: 10px;
}

.catalog-feature-col:hover .catalog-col-read-more {
    text-decoration: underline;
}

/* ============================================
   PRICING TABLE SIGNUP BUTTONS
   ============================================ */

.signup-row {
    background: #fff !important;
}

.pricing-signup-button,
.pricing-signup-button.contact-button {
    display: inline-block;
    padding: 12px 24px;
    background: var(--plan-color, #0066cc) !important;
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95em;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 120px;
}

.pricing-signup-button:hover,
.pricing-signup-button.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    filter: brightness(1.1);
    color: #fff !important;
    text-decoration: none;
}

.pricing-signup-button:active,
.pricing-signup-button.contact-button:active {
    transform: translateY(0);
    filter: brightness(1);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

/* Hide mobile view on desktop, show desktop view */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 1024px) {
    .pricing-cell {
        min-width: 130px;
        font-size: 0.9em;
    }
    
    .feature-header,
    .feature-name {
        flex: 0 0 200px;
        max-width: 200px;
        min-width: 200px;
    }
    
    .catalog-features-grid-5col {
        flex-wrap: wrap;
    }
    
    .catalog-feature-col {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    /* Catalog Gallery */
    .producty-catalog-gallery {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        flex-direction: column;
    }
    
    .benefits-container.layout-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-icon {
        font-size: 2.5rem;
    }
    
    /* Hide desktop view on mobile, show mobile view */
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block;
    }
    
    /* Mobile Plan Cards */
    .producty-pricing-mobile {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 20px;
    }
    
    .mobile-plan-card {
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    /* Mobile Plan Header */
    .mobile-plan-header {
        background: linear-gradient(180deg, 
            rgba(255,255,255,0.3) 0%, 
            transparent 50%),
            linear-gradient(0deg, 
            rgba(0,0,0,0.25) 0%, 
            transparent 50%),
            var(--plan-color);
        color: #fff;
        padding: 30px 20px;
        text-align: center;
    }
    
    .mobile-plan-header .plan-name {
        font-size: 1.5em;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 15px;
        letter-spacing: 0.5px;
    }
    
    .mobile-plan-header .plan-price {
        font-size: 2.5em;
        font-weight: 700;
        margin: 10px 0;
    }
    
    .mobile-plan-header .plan-price-yearly {
        font-size: 0.8em;
        opacity: 0.9;
        margin: 8px 0;
    }
    
    .mobile-plan-header .plan-onboarding {
        font-size: 0.75em;
        opacity: 0.85;
        margin-top: 10px;
    }
    
    /* Mobile Plan Details */
    .mobile-plan-details {
        padding: 20px;
    }
    
    .mobile-detail-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }
    
    .mobile-detail-row:last-child {
        border-bottom: none;
    }
    
    .detail-label {
        font-weight: 600;
        color: #333;
        flex: 1;
    }
    
    .detail-value {
        font-weight: 500;
        color: #666;
        text-align: right;
    }
    
    /* Mobile Signup */
    .mobile-signup-row {
        padding: 20px 0 0 0;
        border-top: 1px solid #eee;
        margin-top: 10px;
    }
    
    .mobile-signup-row .pricing-signup-button {
        width: 100%;
        padding: 16px 24px;
        background: var(--plan-color) !important;
        color: #fff !important;
        text-decoration: none;
        border-radius: 8px;
        font-weight: 600;
        font-size: 1em;
        border: none;
        display: block;
        text-align: center;
        cursor: pointer;
    }
    
    /* Mobile Category Sections */
    .mobile-category-section {
        border-top: 2px solid #eee;
        margin-top: 20px;
    }
    
    .mobile-category-header {
        background: #f5f5f5;
        padding: 12px 20px;
        font-weight: 700;
        font-size: 0.9em;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #333;
    }
    
    .mobile-feature-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 20px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-feature-row:last-child {
        border-bottom: none;
    }
    
    .feature-label {
        font-size: 0.9em;
        color: #333;
        flex: 1;
    }
    
    .feature-value-mobile {
        text-align: right;
    }
    
    .feature-value-mobile .checkmark {
        display: inline-block;
        width: 20px;
        height: 20px;
        line-height: 20px;
        text-align: center;
        background-color: #333333;
        color: #ffffff;
        border-radius: 50%;
        font-size: 11px;
        font-weight: 900;
    }
    
    .feature-value-mobile .no-check {
        color: #cccccc;
        font-size: 14px;
    }
    
    .feature-value-mobile .feature-note {
        display: block;
        font-size: 11px;
        color: #666;
        margin-top: 4px;
    }
    
    .pricing-signup-button,
    .pricing-signup-button.contact-button {
        width: 100%;
        padding: 14px 20px;
    }
}

@media (max-width: 640px) {
    .catalog-features-grid-5col {
        flex-direction: column;
    }
    
    .catalog-feature-col {
        flex: 1 1 auto;
    }
}

@media (max-width: 480px) {
    .producty-pricing-mobile {
        padding: 15px;
        gap: 25px;
    }
    
    .mobile-plan-header .plan-price {
        font-size: 2em;
    }
}
/* Desktop - hide the text */
.button-subtext {
  display: none;
}

/* Mobile - show text below buttons */
@media (max-width: 768px) {
  .button-subtext {
    display: block;
    font-size: 14px;
    color: #666;
    margin-top: 8px;
  }
}