/**
 * App Features Styling - Industrial Safety Theme
 * Heavy industrial aesthetic with caution tape, bold typography, premium feel
 */

/* ==========================================================================
   Custom Fonts - Industrial & Bold
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Rajdhani:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

/* ==========================================================================
   Base Overrides & Color Scheme
   ========================================================================== */

:root {
    --safety-yellow: #FFC107;
    --safety-black: #1a1a1a;
    --danger-orange: #FF6B35;
    --industrial-gray: #2c3e50;
    --steel-blue: #34495e;
    --caution-stripe: repeating-linear-gradient(
        45deg,
        #FFC107,
        #FFC107 30px,
        #1a1a1a 30px,
        #1a1a1a 60px
    );
}

body.tax-app_feature,
body.single-product .app-feature-product {
    background: var(--safety-black) !important;
}

.app-features-overview,
.app-feature-archive,
.app-feature-product {
    background: transparent !important;
    color: #333 !important;
    font-family: 'Roboto', sans-serif;
}

.app-features-overview *,
.app-feature-archive *,
.app-feature-product * {
    box-sizing: border-box;
}

#main-content {
    background: var(--safety-black) !important;
    padding: 0 !important;
}

.site-main {
    background: transparent !important;
    padding-top: 0 !important;
}

/* ==========================================================================
   App Features Overview (Main Page)
   ========================================================================== */

.app-features-overview {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.app-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.app-feature-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.feature-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.feature-card-image .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
}

.feature-card-icon {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.feature-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card-icon-only {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
}

.feature-card-icon-only img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.feature-card-content {
    padding: 20px;
}

.feature-card-title {
    margin: 0 0 10px;
    font-size: 1.5em;
    font-weight: 600;
}

.feature-card-title a {
    color: #333;
    text-decoration: none;
}

.feature-card-title a:hover {
    color: #007bff;
}

.feature-card-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.feature-card-meta {
    color: #999;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.feature-card-button {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.feature-card-button:hover {
    background: #0056b3;
}

/* Additional Features Section */
.app-additional-features {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

.app-additional-features h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
}

.additional-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.additional-feature-card {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
}

.additional-feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.additional-feature-card h3 {
    margin: 0 0 10px;
    font-size: 1.3em;
}

.additional-feature-card p {
    color: #666;
    line-height: 1.6;
}


/* ==========================================================================
   App Feature Archive (Category Pages) - INDUSTRIAL PREMIUM DESIGN
   ========================================================================== */

.app-feature-archive {
    max-width: 100%;
    margin: 0;
    background: var(--safety-black);
}

.app-feature-header {
    margin-bottom: 0;
    position: relative;
}

/* Caution Tape Border at Top */
.app-feature-header::before {
    content: '';
    display: block;
    height: 20px;
    width: 100%;
    background: var(--caution-stripe);
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.app-feature-banner {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border: none;
}

/* IMPROVED Banner Overlay - Better text readability */
.banner-overlay-improved {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right,
        rgba(26, 26, 26, 0.95) 0%,
        rgba(26, 26, 26, 0.85) 40%,
        rgba(26, 26, 26, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 80px;
}

.banner-overlay-improved::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 193, 7, 0.1) 100%);
    pointer-events: none;
}

/* Old banner overlay (fallback) */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(255, 193, 7, 0.15) 0%,
        rgba(26, 26, 26, 0.85) 50%,
        rgba(255, 107, 53, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 100px,
        rgba(255, 193, 7, 0.03) 100px,
        rgba(255, 193, 7, 0.03) 200px
    );
    pointer-events: none;
}

/* IMPROVED Banner Content - Left-aligned, more readable */
.banner-content-improved {
    text-align: left;
    color: #fff;
    padding: 0;
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.banner-content {
    text-align: center;
    color: #fff;
    padding: 40px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
}

/* MODERN Icon - Cleaner, professional */
.feature-icon-modern {
    width: 100px;
    height: 100px;
    background: var(--safety-yellow);
    border-radius: 12px;
    padding: 20px;
    margin: 0 0 30px;
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.5);
    display: inline-block;
}

.feature-icon-modern img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.banner-content .feature-icon {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--safety-yellow) 0%, #FFD54F 100%);
    border-radius: 20px;
    padding: 25px;
    margin: 0 auto 30px;
    box-shadow:
        0 10px 40px rgba(255, 193, 7, 0.4),
        0 0 0 5px rgba(26, 26, 26, 0.5),
        0 0 0 10px rgba(255, 193, 7, 0.2);
    transform: rotate(-5deg);
    transition: all 0.4s ease;
}

.banner-content .feature-icon:hover {
    transform: rotate(0deg) scale(1.05);
}

.banner-content .feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* MODERN Title - Cleaner, more readable */
.feature-title-modern {
    font-family: 'Oswald', sans-serif;
    font-size: 4em;
    font-weight: 700;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
    line-height: 1.1;
}

.feature-subtitle-modern {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    max-width: 600px;
    margin: 0;
}

.banner-content .feature-title {
    font-family: 'Oswald', sans-serif;
    font-size: 4.5em;
    font-weight: 700;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow:
        0 4px 8px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 193, 7, 0.3);
    background: linear-gradient(to bottom, #fff 0%, #FFC107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.banner-content .feature-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--safety-yellow);
    margin: 20px auto 0;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.6);
}

.banner-content .feature-subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5em;
    font-weight: 500;
    opacity: 1;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    max-width: 800px;
    margin: 0 auto;
}

.app-feature-header-simple {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--industrial-gray) 0%, var(--steel-blue) 100%);
    position: relative;
    overflow: hidden;
}

.app-feature-header-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 50px,
        rgba(255, 193, 7, 0.05) 50px,
        rgba(255, 193, 7, 0.05) 100px
    );
}

.app-feature-header-simple .feature-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 30px;
    background: var(--safety-yellow);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(255, 193, 7, 0.4);
}

.app-feature-header-simple .feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-feature-header-simple .feature-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.app-feature-header-simple .feature-subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   MODERN CONTENT WRAPPER - Dark background, modern sections
   ========================================================================== */

.app-feature-content-wrapper-modern {
    padding: 0;
    background: var(--safety-black);
}

/* Modern Section Base */
.modern-section {
    padding: 80px 40px;
    position: relative;
}

.modern-section:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 50px;
}

.section-header.centered {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--safety-yellow);
    margin-bottom: 10px;
    padding: 8px 20px;
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid var(--safety-yellow);
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3em;
    font-weight: 700;
    margin: 15px 0 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Two Column Layout for Overview */
.two-column-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.main-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-left: 5px solid var(--safety-yellow);
}

.rich-text-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
    font-size: 1.05em;
}

.rich-text-content p {
    margin-bottom: 20px;
}

.rich-text-content strong {
    color: var(--safety-yellow);
    font-weight: 600;
}

.rich-text-content ul,
.rich-text-content ol {
    margin: 20px 0 20px 30px;
    padding: 0;
}

.rich-text-content li {
    margin-bottom: 12px;
    line-height: 1.7;
    position: relative;
    padding-left: 10px;
}

.rich-text-content ul li::marker {
    color: var(--safety-yellow);
    font-size: 1.2em;
}

.rich-text-content ol li::marker {
    color: var(--safety-yellow);
    font-weight: bold;
}

/* Feature Highlights Sidebar */
.feature-highlights {
    background: rgba(26, 26, 26, 0.6);
    padding: 30px;
    border-radius: 8px;
    border: 2px solid rgba(255, 193, 7, 0.2);
    position: sticky;
    top: 100px;
}

.highlights-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--safety-yellow);
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 193, 7, 0.3);
}

.features-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.features-checklist li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95em;
    line-height: 1.5;
}

.features-checklist .checkmark {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--safety-yellow);
    color: var(--safety-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}

/* OLD styles (keep for fallback) */
.app-feature-content-wrapper {
    padding: 80px 20px;
    background: var(--safety-black);
}

.app-feature-content-sections {
    max-width: 1200px;
    margin: 0 auto 80px;
    background: #fff;
    border-radius: 0;
    padding: 60px 80px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 193, 7, 0.1);
    position: relative;
}

.app-feature-content-sections::before,
.app-feature-content-sections::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--caution-stripe);
    z-index: 1;
}

.app-feature-content-sections::before {
    top: 0;
    left: 0;
}

.app-feature-content-sections::after {
    bottom: 0;
    right: 0;
}

.feature-section {
    margin-bottom: 60px;
    position: relative;
    padding-left: 30px;
}

.feature-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 6px;
    height: 60px;
    background: linear-gradient(to bottom, var(--safety-yellow), var(--danger-orange));
    border-radius: 3px;
}

.feature-section h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--industrial-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
}

.feature-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--safety-yellow);
}

.feature-section .section-content {
    line-height: 1.9;
    color: #444;
    font-size: 1.1em;
}

.feature-section .section-content p {
    margin-bottom: 20px;
}

.feature-section .section-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.feature-section .section-content ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 10px;
}

.feature-section .section-content ul li::marker {
    color: var(--safety-yellow);
    font-weight: bold;
}

/* Video Wrapper - Modern */
.video-wrapper-modern {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border: 5px solid var(--safety-yellow);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 1100px;
    margin: 0 auto;
}

.video-wrapper-modern iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 35px;
    border-radius: 8px;
    border-left: 4px solid var(--safety-yellow);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.benefit-icon {
    font-size: 3em;
    margin-bottom: 20px;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.benefit-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin: 0 0 12px;
}

.benefit-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95em;
}

/* Workflow Steps - Timeline Style */
.workflow-steps {
    max-width: 900px;
    margin: 40px auto 0;
    position: relative;
}

.workflow-steps::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 40px;
    bottom: 40px;
    width: 3px;
    background: linear-gradient(to bottom,
        var(--safety-yellow) 0%,
        rgba(255, 193, 7, 0.3) 100%);
}

.workflow-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--safety-yellow) 0%, #FFD54F 100%);
    color: var(--safety-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-size: 2em;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px 30px;
    border-radius: 8px;
    border-left: 3px solid rgba(255, 193, 7, 0.3);
}

.step-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--safety-yellow);
    margin: 0 0 12px;
}

.step-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0;
}

/* CTA Button Modern */
.cta-button-modern {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 22px 50px;
    background: var(--safety-yellow);
    color: var(--safety-black) !important;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1.3em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0;
    box-shadow: 0 10px 35px rgba(255, 193, 7, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    transition: left 0.4s ease;
}

.cta-button-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(255, 193, 7, 0.6);
}

.cta-button-modern:hover::before {
    left: 100%;
}

.cta-arrow {
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.cta-button-modern:hover .cta-arrow {
    transform: translateX(5px);
}

/* OLD Video styles (fallback) */
.feature-video .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 0;
    border: 5px solid var(--safety-yellow);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.2),
        inset 0 0 0 2px var(--safety-black);
}

.feature-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.feature-cta {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 3px solid var(--safety-yellow);
}

.app-cta-button {
    display: inline-block;
    padding: 20px 60px;
    background: linear-gradient(135deg, var(--safety-yellow) 0%, #FFD54F 100%);
    color: var(--safety-black) !important;
    text-decoration: none;
    border-radius: 0;
    font-family: 'Oswald', sans-serif;
    font-size: 1.4em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow:
        0 8px 25px rgba(255, 193, 7, 0.4),
        0 0 0 3px var(--safety-black),
        0 0 0 6px var(--safety-yellow);
    position: relative;
    overflow: hidden;
}

.app-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        rgba(26, 26, 26, 0.1) 10px,
        rgba(26, 26, 26, 0.1) 20px
    );
    transition: left 0.5s ease;
}

.app-cta-button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 35px rgba(255, 193, 7, 0.6),
        0 0 0 3px var(--safety-black),
        0 0 0 6px var(--safety-yellow);
}

.app-cta-button:hover::before {
    left: 100%;
}

/* Products Grid - INDUSTRIAL CARDS */
.app-feature-products {
    margin: 80px 0;
    padding: 60px 40px;
    background: rgba(26, 26, 26, 0.3);
    position: relative;
}

.app-feature-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 15px;
    background: var(--caution-stripe);
}

.app-feature-products h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    position: relative;
}

.app-feature-products h2::after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background: var(--safety-yellow);
    margin: 20px auto 0;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.6);
}

.app-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.app-product-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 0 2px var(--safety-yellow);
    transition: all 0.4s ease;
    position: relative;
}

.app-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--caution-stripe);
    z-index: 2;
}

.app-product-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.6),
        0 0 0 3px var(--safety-yellow),
        0 0 30px rgba(255, 193, 7, 0.4);
}

.product-card-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.product-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, transparent, rgba(26, 26, 26, 0.7));
    pointer-events: none;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.app-product-card:hover .product-card-image img {
    transform: scale(1.1);
}

.product-card-content {
    padding: 30px;
    position: relative;
}

.product-card-title {
    margin: 0 0 15px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-card-title a {
    color: var(--industrial-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-card-title a:hover {
    color: var(--danger-orange);
}

.product-card-standards {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-left: 3px solid var(--safety-yellow);
    font-family: 'Roboto', sans-serif;
}

.product-card-standards strong {
    color: var(--industrial-gray);
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

.product-card-excerpt {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.product-card-price {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6em;
    font-weight: 700;
    color: var(--danger-orange);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-card-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.product-card-actions .button {
    flex: 1;
    text-align: center;
    padding: 14px 20px;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 140px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-details-button {
    background: var(--industrial-gray);
    color: #fff !important;
    border: 2px solid var(--industrial-gray);
}

.product-details-button:hover {
    background: transparent;
    color: var(--industrial-gray) !important;
}

.fastfield-button {
    background: var(--safety-yellow) !important;
    color: var(--safety-black) !important;
    border: 2px solid var(--safety-yellow);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.fastfield-button:hover {
    background: transparent !important;
    color: var(--safety-yellow) !important;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

/* Subcategories - INDUSTRIAL STYLE */
.app-feature-subcategories {
    margin-top: 80px;
    padding: 60px 40px;
    background: rgba(52, 73, 94, 0.1);
}

.app-feature-subcategories h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.subcategory-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-top: 4px solid var(--safety-yellow);
}

.subcategory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

.subcategory-card a {
    display: block;
    padding: 35px;
    text-align: center;
    text-decoration: none;
    color: var(--industrial-gray);
}

.subcategory-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--safety-yellow);
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.3);
}

.subcategory-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.subcategory-card h3 {
    margin: 0 0 15px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subcategory-card p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.95em;
}

.subcategory-count {
    display: inline-block;
    padding: 8px 20px;
    background: var(--industrial-gray);
    color: var(--safety-yellow);
    border-radius: 0;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ==========================================================================
   Single Product Template (App Feature Products)
   ========================================================================== */

.app-feature-product {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.app-breadcrumbs {
    margin-bottom: 20px;
}

.app-breadcrumbs p {
    color: #666;
    font-size: 0.9em;
}

.app-breadcrumbs a {
    color: #007bff;
    text-decoration: none;
}

.app-breadcrumbs a:hover {
    text-decoration: underline;
}

.app-product-header {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.app-product-title {
    margin: 0 0 15px;
    font-size: 2.5em;
}

.app-product-categories {
    margin-bottom: 15px;
}

.app-category-badge {
    display: inline-block;
    padding: 5px 15px;
    background: #007bff;
    color: #fff;
    border-radius: 20px;
    margin-right: 10px;
    font-size: 0.9em;
}

.app-category-badge a {
    color: #fff;
    text-decoration: none;
}

.app-product-standards {
    color: #666;
    margin-bottom: 10px;
}

.app-product-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-label {
    font-weight: 600;
    color: #333;
}

.meta-value {
    color: #666;
}

.app-product-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 968px) {
    .app-product-content {
        grid-template-columns: 1fr;
    }
}

.app-product-images {
    position: sticky;
    top: 20px;
    align-self: start;
}

.app-preview-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.app-preview-image img {
    width: 100%;
    height: auto;
    display: block;
}

.app-example-gallery h3 {
    margin: 0 0 15px;
    font-size: 1.3em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.gallery-grid a {
    display: block;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-grid a:hover {
    transform: scale(1.05);
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.app-product-details {
    /* Content styling */
}

.app-product-purchase {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.app-product-price {
    font-size: 2em;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 20px;
}

.app-product-description h2,
.app-product-checklist h2,
.app-product-documents h2 {
    font-size: 1.8em;
    margin: 30px 0 20px;
    color: #333;
}

.app-product-description {
    line-height: 1.8;
    color: #666;
}

.app-product-checklist {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}

.app-product-checklist ul {
    margin-left: 20px;
}

.app-product-checklist li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.app-product-documents {
    margin-top: 30px;
}

.documents-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.documents-list li {
    margin-bottom: 10px;
}

.document-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: background 0.3s ease;
}

.document-link:hover {
    background: #e9ecef;
}

.doc-icon {
    font-size: 1.5em;
}

.doc-title {
    flex: 1;
    font-weight: 500;
}

.doc-size {
    color: #999;
    font-size: 0.9em;
}

.app-product-fastfield {
    margin-top: 30px;
    text-align: center;
}

.fastfield-button-large {
    display: inline-block;
    padding: 18px 40px;
    background: #007bff;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.2em;
    font-weight: 600;
    transition: background 0.3s ease;
}

.fastfield-button-large:hover {
    background: #0056b3;
}

.fastfield-button-large .button-icon {
    margin-left: 10px;
}


/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* No products message */
.no-products-message {
    text-align: center;
    padding: 60px 20px;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.3em;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 193, 7, 0.3);
}

/* Caution tape footer */
.app-feature-content-wrapper::after {
    content: '';
    display: block;
    height: 20px;
    width: 100%;
    background: var(--caution-stripe);
    margin-top: 80px;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1024px) {
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-highlights {
        position: static;
    }

    .banner-overlay-improved {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .app-features-grid,
    .app-products-grid {
        grid-template-columns: 1fr;
    }

    .banner-content .feature-title,
    .feature-title-modern {
        font-size: 2.5em;
    }

    .app-feature-banner {
        height: 400px;
    }

    .banner-overlay-improved {
        padding: 0 30px;
        background: rgba(26, 26, 26, 0.92);
    }

    .app-product-title {
        font-size: 1.8em;
    }

    .product-card-actions {
        flex-direction: column;
    }

    .product-card-actions .button {
        width: 100%;
    }

    .app-product-meta {
        flex-direction: column;
        gap: 15px;
    }

    .app-feature-content-sections {
        padding: 40px 30px;
    }

    .feature-section {
        padding-left: 20px;
    }

    .feature-section h2 {
        font-size: 2em;
    }

    .app-products-grid {
        grid-template-columns: 1fr;
    }

    .app-feature-products,
    .app-feature-subcategories {
        padding: 40px 20px;
    }

    /* Modern sections responsive */
    .modern-section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 2.2em;
    }

    .main-content {
        padding: 30px 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .workflow-steps::before {
        left: 20px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5em;
    }

    .step-content {
        padding: 20px;
    }

    .cta-button-modern {
        padding: 18px 35px;
        font-size: 1.1em;
    }
}
