/* =============================================
   PlantIQX Inner Page Styles
   (Product & Solution Detail Pages)
   ============================================= */

/* ---- Hero ---- */
.inner-hero {
    padding: 90px 0 70px;
    background: linear-gradient(135deg, #1a0a3c 0%, #0d1f3c 60%, #0a2a5e 100%);
    position: relative;
    overflow: hidden;
    color: #fff;
}
.inner-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(105,65,198,0.25) 0%, transparent 70%);
    pointer-events: none;
}
.inner-hero-label {
    display: inline-block;
    background: rgba(105,65,198,0.25);
    border: 1px solid rgba(105,65,198,0.5);
    color: #c4b5fd;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
}
.inner-hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #fff;
}
.inner-hero h1 span { color: #a78bfa; }
.inner-hero p {
    font-size: 17px;
    line-height: 1.8;
    color: #b0c4de;
    max-width: 560px;
    margin-bottom: 32px;
}
.inner-hero-img {
    width: 100%;
    max-width: 460px;
    filter: drop-shadow(0 20px 40px rgba(105,65,198,0.3));
    animation: float-img 4s ease-in-out infinite;
}
@keyframes float-img {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}
.inner-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #6941c6, #4c2f9e);
    color: #fff;
    padding: 13px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
}
.inner-hero-btn:hover {
    background: linear-gradient(135deg, #7c5cd8, #5a3ab0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(105,65,198,0.4);
    color: #fff;
}

/* ---- Stats Bar ---- */
.inner-stats-bar {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 28px 0;
}
.inner-stats-bar .stat-item {
    text-align: center;
    padding: 0 20px;
}
.inner-stats-bar .stat-item + .stat-item {
    border-left: 1px solid #e5e7eb;
}
.inner-stats-bar h3 {
    font-size: 32px;
    font-weight: 800;
    color: #6941c6;
    margin: 0 0 4px;
}
.inner-stats-bar p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* ---- Section Shared ---- */
.inner-section {
    padding: 80px 0;
}
.inner-section.bg-light-purple { background: #f9f5ff; }
.inner-section.bg-dark {
    background: linear-gradient(135deg, #1a0a3c, #0d1f3c);
    color: #fff;
}
.inner-section.bg-dark .section-label { color: #a78bfa; }
.inner-section.bg-dark h2  { color: #fff; }
.inner-section.bg-dark p   { color: #b0c4de; }

.section-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #6941c6;
    margin-bottom: 10px;
}
.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 14px;
    line-height: 1.2;
}
.section-subtitle {
    font-size: 16px;
    color: #555;
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ---- Overview (2-col) ---- */
.inner-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.inner-overview.reverse { direction: rtl; }
.inner-overview.reverse > * { direction: ltr; }
.inner-overview-img {
    width: 100%;
    border-radius: 20px;
}
.inner-overview-img.card-style {
    background: #f4f0ff;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.inner-overview-img.card-style img {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
}

/* ---- Feature Cards ---- */
.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.feature-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
}
.feature-card:hover {
    border-color: #6941c6;
    box-shadow: 0 8px 30px rgba(105,65,198,0.12);
    transform: translateY(-4px);
}
.feature-card-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: #f0ebff;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    color: #6941c6;
    margin-bottom: 16px;
}
.feature-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Dark variant feature cards */
.inner-section.bg-dark .feature-card {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.1);
}
.inner-section.bg-dark .feature-card:hover {
    background: rgba(105,65,198,0.2);
    border-color: #6941c6;
}
.inner-section.bg-dark .feature-card-icon {
    background: rgba(105,65,198,0.3);
}
.inner-section.bg-dark .feature-card h4 { color: #fff; }
.inner-section.bg-dark .feature-card p  { color: #b0c4de; }

/* ---- Use Cases ---- */
.usecase-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}
.usecase-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 22px;
    transition: all 0.3s;
}
.usecase-item:hover {
    border-color: #6941c6;
    box-shadow: 0 6px 24px rgba(105,65,198,0.1);
}
.usecase-num {
    min-width: 36px; height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6941c6, #4c2f9e);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.usecase-item h5 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 5px;
}
.usecase-item p {
    font-size: 13.5px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ---- CTA Section ---- */
.inner-cta {
    background: linear-gradient(135deg, #6941c6 0%, #4c2f9e 100%);
    padding: 70px 0;
    text-align: center;
    color: #fff;
}
.inner-cta h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 14px;
    color: #fff;
}
.inner-cta p {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}
.inner-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #6941c6;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
}
.inner-cta-btn:hover {
    background: #f0ebff;
    color: #6941c6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .inner-hero h1  { font-size: 34px; }
    .inner-overview { grid-template-columns: 1fr; gap: 36px; }
    .inner-overview.reverse { direction: ltr; }
    .feature-cards-grid { grid-template-columns: 1fr 1fr; }
    .usecase-list { grid-template-columns: 1fr; }
    .inner-stats-bar .stat-item + .stat-item { border-left: none; border-top: 1px solid #e5e7eb; margin-top: 16px; padding-top: 16px; }
}
@media (max-width: 576px) {
    .inner-hero h1  { font-size: 28px; }
    .section-title  { font-size: 26px; }
    .feature-cards-grid { grid-template-columns: 1fr; }
    .inner-cta h2   { font-size: 26px; }
}
