/* Industry Solution Template CSS - Converted from React Tailwind */
/* Based on the React template structure */

/* ============================================
   BASE STYLES
   ============================================ */
.industry-solution-template {
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
}

/* ============================================
   HERO SECTION
   ============================================ */
.industry-solution-template .is-hero {
    width: 100%;
    background: linear-gradient(135deg, #4338ca 0%, #312e81 100%);
    color: white;
    padding: 5rem 0;
    margin-top: 0;
}

.industry-solution-template .is-hero-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.industry-solution-template .is-hero-badge .dashicons {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.5rem;
}

.industry-solution-template .is-hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.industry-solution-template .is-hero-description {
    font-size: 1.25rem;
    line-height: 1.75;
    color: #e0e7ff;
    max-width: 48rem;
}

/* ============================================
   PROBLEM & SOLUTION SECTION
   ============================================ */
.industry-solution-template .is-problem-solution {
    width: 100%;
    padding: 5rem 0;
    background: white;
}

.industry-solution-template .is-section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    text-align: center;
    margin-bottom: 4rem;
}

.industry-solution-template .is-ps-box {
    border-radius: 1rem;
    padding: 2rem;
}

.industry-solution-template .is-ps-box.problems {
    background: #fef2f2;
    border: 2px solid #fee2e2;
}

.industry-solution-template .is-ps-box.solutions {
    background: #eef2ff;
    border: 2px solid #e0e7ff;
}

.industry-solution-template .is-ps-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.industry-solution-template .is-ps-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-solution-template .is-ps-icon.problems {
    background: #ef4444;
}

.industry-solution-template .is-ps-icon.solutions {
    background: #4338ca;
}

.industry-solution-template .is-ps-icon .dashicons {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.industry-solution-template .is-ps-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.industry-solution-template .is-ps-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.industry-solution-template .is-ps-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.industry-solution-template .is-ps-bullet {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.industry-solution-template .is-ps-bullet.problems {
    background: #fecaca;
}

.industry-solution-template .is-ps-bullet.solutions {
    background: #c7d2fe;
}

.industry-solution-template .is-ps-bullet.problems span {
    color: #b91c1c;
    font-weight: 700;
    font-size: 0.875rem;
}

.industry-solution-template .is-ps-bullet.solutions .dashicons {
    width: 1rem;
    height: 1rem;
    font-size: 1rem;
    color: #4338ca;
}

.industry-solution-template .is-ps-text {
    color: #1f2937;
    font-size: 1.125rem;
    line-height: 1.75;
}

/* ============================================
   SOLUTIONS GRID
   ============================================ */
.industry-solution-template .is-solutions {
    width: 100%;
    padding: 5rem 0;
    background: #f9fafb;
}

.industry-solution-template .is-solutions-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.industry-solution-template .is-solutions-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 48rem;
    margin: 0 auto;
}

.industry-solution-template .is-solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.industry-solution-template .is-solution-card {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.industry-solution-template .is-solution-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.industry-solution-template .is-solution-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: #e0e7ff;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.industry-solution-template .is-solution-icon .dashicons {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 1.75rem;
    color: #4338ca;
}

.industry-solution-template .is-solution-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.industry-solution-template .is-solution-description {
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.industry-solution-template .is-solution-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.industry-solution-template .is-solution-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.industry-solution-template .is-feature-bullet {
    width: 1.25rem;
    height: 1.25rem;
    background: #e0e7ff;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.industry-solution-template .is-feature-bullet-inner {
    width: 0.5rem;
    height: 0.5rem;
    background: #4338ca;
    border-radius: 9999px;
}

.industry-solution-template .is-feature-text {
    color: #374151;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.industry-solution-template .is-benefits {
    width: 100%;
    padding: 5rem 0;
    background: white;
}

.industry-solution-template .is-benefits-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.industry-solution-template .is-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.industry-solution-template .is-benefit-item {
    text-align: center;
}

.industry-solution-template .is-benefit-icon {
    width: 4rem;
    height: 4rem;
    background: #4338ca;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.industry-solution-template .is-benefit-icon .dashicons {
    width: 2rem;
    height: 2rem;
    font-size: 2rem;
    color: white;
}

.industry-solution-template .is-benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.industry-solution-template .is-benefit-description {
    color: #4b5563;
    line-height: 1.75;
}

/* ============================================
   CTA SECTION
   ============================================ */
.industry-solution-template .is-cta {
    width: 100%;
    padding: 5rem 0;
    background: linear-gradient(135deg, #4338ca 0%, #312e81 100%);
}

.industry-solution-template .is-cta-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.industry-solution-template .is-cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.industry-solution-template .is-cta-description {
    font-size: 1.25rem;
    color: #e0e7ff;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.industry-solution-template .is-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #4338ca;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.industry-solution-template .is-cta-button:hover {
    background: #eef2ff;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.industry-solution-template .is-cta-button .dashicons {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 1.25rem;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.industry-solution-template .is-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.industry-solution-template .is-section {
    width: 100%;
    padding: 5rem 0;
}

.industry-solution-template .is-grid {
    display: grid;
}

.industry-solution-template .is-grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.industry-solution-template .is-grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.industry-solution-template .is-grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.industry-solution-template .is-flex {
    display: flex;
}

.industry-solution-template .is-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-solution-template .is-flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.industry-solution-template .is-gap-2 {
    gap: 0.5rem;
}

.industry-solution-template .is-gap-3 {
    gap: 0.75rem;
}

.industry-solution-template .is-gap-6 {
    gap: 1.5rem;
}

.industry-solution-template .is-gap-8 {
    gap: 2rem;
}

.industry-solution-template .is-gap-12 {
    gap: 3rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .industry-solution-template .is-grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industry-solution-template .is-grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industry-solution-template .is-hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .industry-solution-template .is-section {
        padding: 3rem 0;
    }
    
    .industry-solution-template .is-grid-cols-2,
    .industry-solution-template .is-grid-cols-3,
    .industry-solution-template .is-grid-cols-4 {
        grid-template-columns: 1fr;
    }
    
    .industry-solution-template .is-hero {
        padding: 3rem 0;
    }
    
    .industry-solution-template .is-hero-title {
        font-size: 2rem;
    }
    
    .industry-solution-template .is-section-title {
        font-size: 1.875rem;
    }
    
    .industry-solution-template .is-solution-card {
        padding: 1.5rem;
    }
    
    .industry-solution-template .is-ps-box {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .industry-solution-template .is-container {
        padding: 0 1rem;
    }
    
    .industry-solution-template .is-hero-title {
        font-size: 1.75rem;
    }
    
    .industry-solution-template .is-section-title {
        font-size: 1.5rem;
    }
    
    .industry-solution-template .is-cta-title {
        font-size: 1.75rem;
    }
}

/* ============================================
   ADMIN META BOX STYLES
   ============================================ */
.industry-meta-box {
    padding: 20px;
}

.industry-meta-box .form-group {
    margin-bottom: 20px;
}

.industry-meta-box label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2937;
}

.industry-meta-box input[type="text"],
.industry-meta-box textarea,
.industry-meta-box select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
}

.industry-meta-box textarea {
    min-height: 100px;
    resize: vertical;
}

.industry-repeater {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    background: #f9fafb;
}

.industry-repeater-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 10px;
    position: relative;
}

.industry-repeater-item:last-child {
    margin-bottom: 0;
}

.remove-repeater-item {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #dc2626;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 3px;
    background: #fee2e2;
    border: 1px solid #fecaca;
}

.remove-repeater-item:hover {
    background: #fecaca;
    color: #b91c1c;
}

.add-repeater-item {
    display: inline-block;
    padding: 8px 16px;
    background: #4338ca;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    border: none;
    cursor: pointer;
}

.add-repeater-item:hover {
    background: #3730a3;
    color: white;
}

/* Admin specific styles */
#poststuff .industry-meta-box h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #1f2937;
    font-size: 16px;
}

#poststuff .industry-meta-box .form-group:last-child {
    margin-bottom: 0;
}

#poststuff .industry-meta-box {
    margin: 0;
}

#poststuff .industry-repeater-item h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #4338ca;
    font-size: 14px;
    font-weight: 600;
}
