/* 
═══════════════════════════════════════════════════════════════
SAFEGUARD SUPPLY - MASTER CSS FOR ALL HOMEPAGE BLOCKS
WITH ENHANCED PRODUCT CARDS INTEGRATED
═══════════════════════════════════════════════════════════════

This CSS is scoped with .sg- prefix to avoid conflicts with your theme.
Version: 1.0.1
Last Updated: October 28, 2025
═══════════════════════════════════════════════════════════════
*/


/* ═══════════════════════════════════════════════════════════════
   BLOCK 1: HERO SECTION STYLES
   ═══════════════════════════════════════════════════════════════ */

.sg-hero {
    background: linear-gradient(135deg, #EF6711 0%, #D45A0A 100%);
    color: #ffffff;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sg-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.03) 2px, rgba(255,255,255,0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,0.03) 2px, rgba(255,255,255,0.03) 4px);
    opacity: 0.5;
}

.sg-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.sg-hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
    line-height: 1.2;
    color: #ffffff;
}

.sg-hero h2 {
    font-size: 22px;
    font-weight: 400;
    margin: 0 0 40px 0;
    opacity: 0.95;
    line-height: 1.5;
    color: #ffffff;
}

.sg-hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════════════════════
   ENHANCED HERO SECTION
   ═══════════════════════════════════════════════════════════════ */

.sg-hero-enhanced {
    background: linear-gradient(135deg, rgba(239, 103, 17, 0.95) 0%, rgba(212, 90, 10, 0.97) 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* Animated diagonal lines overlay */
.sg-hero-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(255, 255, 255, 0.03) 35px,
            rgba(255, 255, 255, 0.03) 70px
        );
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(70px);
    }
}

/* Enhanced title with subtle fade-in */
.sg-hero-title-animated {
    animation: fadeInUp 0.8s ease-out;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced button with better shadow */
.sg-btn-shadow {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.sg-btn-shadow:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Bottom divider decoration */
.sg-hero-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.sg-hero-wave {
    position: relative;
    width: 100%;
    height: 80px;
}

.sg-hero-wave::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%);
}


/* ═══════════════════════════════════════════════════════════════
   GLOBAL BUTTON STYLES (Used across multiple blocks)
   ═══════════════════════════════════════════════════════════════ */

.sg-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.sg-btn-primary {
    background: #ffffff;
    color: #EF6711;
}

.sg-btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.sg-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.sg-btn-secondary:hover {
    background: #ffffff;
    color: #EF6711;
}

.sg-btn-outline {
    background: transparent;
    color: #EF6711;
    border: 2px solid #EF6711;
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.sg-btn-outline:hover {
    background: #EF6711;
    color: #ffffff;
    transform: translateY(-2px);
}

.sg-btn-white {
    background: #ffffff;
    color: #EF6711;
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.sg-btn-white:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

.sg-btn-white-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.sg-btn-white-outline:hover {
    background: #ffffff;
    color: #333333;
    transform: translateY(-2px);
}


/* ═══════════════════════════════════════════════════════════════
   BLOCK 2: TRUST INDICATORS BAR STYLES
   ═══════════════════════════════════════════════════════════════ */

.sg-trust-bar {
    background: #f8f9fa;
    padding: 50px 20px;
}

.sg-trust-container {
    max-width: 1200px;
    margin: 0 auto;
}

.sg-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.sg-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.sg-trust-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #EF6711 0%, #D45A0A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(239, 103, 17, 0.25);
}

.sg-trust-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    margin: 0;
}

.sg-trust-item p {
    font-size: 14px;
    color: #676767;
    margin: 0;
}


/* ═══════════════════════════════════════════════════════════════
   ENHANCED TRUST BAR
   ═══════════════════════════════════════════════════════════════ */

.sg-trust-bar-enhanced {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 60px 20px;
    position: relative;
    background-image: 
        linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(239, 103, 17, 0.01) 10px,
            rgba(239, 103, 17, 0.01) 20px
        );
}

/* Subtle top border accent */
.sg-trust-bar-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #EF6711 20%, 
        #EF6711 80%, 
        transparent 100%);
}

.sg-trust-item-enhanced {
    transition: transform 0.3s ease;
}

.sg-trust-item-enhanced:hover {
    transform: translateY(-5px);
}

/* Enhanced icon styling with gradient background */
.sg-trust-icon-enhanced {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #EF6711 0%, #D45A0A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 12px rgba(239, 103, 17, 0.25),
        0 0 0 8px rgba(239, 103, 17, 0.1);
    position: relative;
    transition: all 0.3s ease;
    animation: iconPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
}

/* Pulse animation on hover */
.sg-trust-item-enhanced:hover .sg-trust-icon-enhanced {
    box-shadow: 
        0 6px 20px rgba(239, 103, 17, 0.35),
        0 0 0 12px rgba(239, 103, 17, 0.15);
    transform: scale(1.05);
}

/* SVG icon color */
.sg-trust-icon-enhanced svg {
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Animated icon on load */
.sg-trust-item-enhanced:nth-child(1) .sg-trust-icon-enhanced {
    animation-delay: 0.1s;
}

.sg-trust-item-enhanced:nth-child(2) .sg-trust-icon-enhanced {
    animation-delay: 0.2s;
}

.sg-trust-item-enhanced:nth-child(3) .sg-trust-icon-enhanced {
    animation-delay: 0.3s;
}

@keyframes iconPop {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Better typography for trust items */
.sg-trust-item-enhanced h3 {
    font-size: 19px;
    font-weight: 700;
    color: #333333;
    margin: 0;
    letter-spacing: -0.3px;
}

.sg-trust-item-enhanced p {
    font-size: 14px;
    color: #676767;
    margin: 0;
    line-height: 1.5;
}


/* ═══════════════════════════════════════════════════════════════
   BLOCK 3: ENHANCED PRODUCT CARDS SECTION
   ═══════════════════════════════════════════════════════════════ */

.sg-products {
    padding: 80px 20px;
    background: #ffffff;
}

.sg-products-container {
    max-width: 1200px;
    margin: 0 auto;
}

.sg-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.sg-section-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 15px 0;
    color: #333333;
    line-height: 1.2;
}

.sg-section-header p {
    font-size: 18px;
    color: #676767;
    margin: 0;
}

.sg-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Enhanced Card Styling with Animations */
.sg-product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.07),
        0 1px 3px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
    position: relative;
}

/* Animated gradient border on hover */
.sg-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #EF6711, #FF8F4D, #EF6711);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sg-product-card:hover::before {
    opacity: 1;
}

.sg-product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.12),
        0 8px 16px rgba(0,0,0,0.08),
        0 0 0 1px rgba(239, 103, 17, 0.1);
}

/* Enhanced Header Images with Patterns & Depth */
.sg-product-image {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 56px;
    font-weight: 800;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Subtle geometric pattern overlay */
.sg-product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(255, 255, 255, 0.03) 20px,
            rgba(255, 255, 255, 0.03) 40px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 20px,
            rgba(255, 255, 255, 0.02) 20px,
            rgba(255, 255, 255, 0.02) 40px
        );
    opacity: 1;
    transition: opacity 0.4s ease;
}

/* Subtle shine effect on hover */
.sg-product-image::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: translateX(-100%) translateY(-100%);
    transition: transform 0.8s ease;
}

.sg-product-card:hover .sg-product-image::after {
    transform: translateX(50%) translateY(50%);
}

/* Individual gradient colors */
.sg-product-era {
    background: linear-gradient(135deg, #EF6711 0%, #D45A0A 100%);
    position: relative;
}

.sg-product-era::before {
    background-color: rgba(239, 103, 17, 0.1);
}

.sg-product-lra {
    background: linear-gradient(135deg, #676767 0%, #333333 100%);
    position: relative;
}

.sg-product-ss {
    background: linear-gradient(135deg, #FFB380 0%, #FF8F4D 100%);
    position: relative;
}

/* Enhanced Badge Styling */
.sg-product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.sg-product-card:hover .sg-product-badge {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.4),
        0 0 0 2px rgba(255, 255, 255, 0.15);
}

/* Enhanced Content Section */
.sg-product-content {
    padding: 32px;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    position: relative;
}

.sg-product-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #1a1a1a;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.sg-product-card:hover .sg-product-content h3 {
    color: #EF6711;
}

.sg-product-content > p {
    color: #676767;
    margin: 0 0 24px 0;
    line-height: 1.7;
    font-size: 15px;
}

/* Enhanced Feature List with Animations */
.sg-feature-list {
    list-style: none;
    margin: 0 0 28px 0;
    padding: 0;
}

.sg-feature-list li {
    padding: 10px 0;
    color: #333333;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
    font-size: 15px;
    opacity: 0;
    transform: translateX(-10px);
    animation: slideIn 0.5s ease forwards;
}

/* Staggered animation for each list item */
.sg-feature-list li:nth-child(1) {
    animation-delay: 0.1s;
}

.sg-feature-list li:nth-child(2) {
    animation-delay: 0.2s;
}

.sg-feature-list li:nth-child(3) {
    animation-delay: 0.3s;
}

.sg-feature-list li:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sg-feature-list li::before {
    content: '✓';
    color: #10b981;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sg-product-card:hover .sg-feature-list li::before {
    background: rgba(16, 185, 129, 0.2);
    transform: scale(1.1);
}

/* Enhanced Button Styling */
.sg-product-content .sg-btn-outline {
    background: transparent;
    color: #EF6711;
    border: 2px solid #EF6711;
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    text-align: center;
}

.sg-product-content .sg-btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #EF6711;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.sg-product-content .sg-btn-outline:hover::before {
    width: 100%;
}

.sg-product-content .sg-btn-outline:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(239, 103, 17, 0.3);
}


/* ═══════════════════════════════════════════════════════════════
   BLOCK 4: VALUE PROPOSITION (2-COLUMN) STYLES
   ═══════════════════════════════════════════════════════════════ */

.sg-value-prop {
    padding: 80px 20px;
    background: #ffffff;
}

.sg-value-container {
    max-width: 1200px;
    margin: 0 auto;
}

.sg-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sg-value-content h2 {
    font-size: 38px;
    font-weight: 800;
    color: #333333;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.sg-value-content p {
    font-size: 17px;
    color: #676767;
    line-height: 1.7;
    margin: 0 0 30px 0;
}

.sg-value-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #EF6711 0%, #D45A0A 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.sg-value-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}


/* ═══════════════════════════════════════════════════════════════
   BLOCK 5: ENHANCED FEATURE HIGHLIGHTS (3-COLUMN GRID)
   ═══════════════════════════════════════════════════════════════ */

.sg-features {
    padding: 80px 20px;
    background: #f8f9fa;
    position: relative;
    background-image: 
        linear-gradient(180deg, #f8f9fa 0%, #f8f9fa 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 12px,
            rgba(239, 103, 17, 0.01) 12px,
            rgba(239, 103, 17, 0.01) 24px
        );
}

.sg-features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.sg-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

/* Enhanced Feature Cards */
.sg-feature-item {
    text-align: center;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 
        0 2px 8px rgba(0,0,0,0.06),
        0 1px 4px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateY(30px);
    animation: featureSlideIn 0.6s ease forwards;
}

/* Staggered entrance animation */
.sg-feature-item:nth-child(1) {
    animation-delay: 0.1s;
}

.sg-feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.sg-feature-item:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes featureSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle top accent line */
.sg-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #EF6711, #FF8F4D);
    border-radius: 0 0 4px 4px;
    opacity: 0;
    transition: opacity 0.4s ease, width 0.4s ease;
}

.sg-feature-item:hover::before {
    opacity: 1;
    width: 100px;
}

/* Enhanced hover state */
.sg-feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 12px 32px rgba(0,0,0,0.12),
        0 4px 16px rgba(0,0,0,0.08),
        0 0 0 1px rgba(239, 103, 17, 0.08);
    border-color: rgba(239, 103, 17, 0.15);
}

/* Enhanced Icon Styling */
.sg-feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #EF6711 0%, #D45A0A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 42px;
    color: #ffffff;
    box-shadow: 
        0 6px 20px rgba(239, 103, 17, 0.3),
        0 0 0 8px rgba(239, 103, 17, 0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

/* Icon pulse effect */
.sg-feature-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    opacity: 0;
    transform: scale(1);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.15);
    }
}

/* Icon hover effects */
.sg-feature-item:hover .sg-feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 8px 28px rgba(239, 103, 17, 0.4),
        0 0 0 12px rgba(239, 103, 17, 0.12);
}

/* Enhanced Typography */
.sg-feature-item h3 {
    font-size: 23px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    line-height: 1.3;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.sg-feature-item:hover h3 {
    color: #EF6711;
}

.sg-feature-item p {
    font-size: 15px;
    color: #676767;
    line-height: 1.7;
    margin: 0 0 18px 0;
}

.sg-feature-item p:last-child {
    margin-bottom: 0;
}


/* ═══════════════════════════════════════════════════════════════
   BLOCK 6: INTEGRATION STRIP STYLES
   ═══════════════════════════════════════════════════════════════ */

.sg-integration {
    padding: 60px 20px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.sg-integration-container {
    max-width: 1200px;
    margin: 0 auto;
}

.sg-integration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.sg-integration-item {
    padding: 40px;
    text-align: center;
}

.sg-integration-item:first-child {
    border-right: 1px solid #e5e7eb;
}

.sg-integration-item h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.sg-integration-item .sg-small-icon {
    font-size: 28px;
}

.sg-integration-item p {
    font-size: 16px;
    color: #676767;
    margin: 0;
    line-height: 1.6;
}


/* ═══════════════════════════════════════════════════════════════
   BLOCK 7: HARD OF HEARING SECTION STYLES
   ═══════════════════════════════════════════════════════════════ */

.sg-hearing {
    padding: 80px 20px;
    background: linear-gradient(135deg, #EF6711 0%, #D45A0A 100%);
    color: #ffffff;
}

.sg-hearing-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 2-Column Grid Layout */
.sg-hearing-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
}

/* Image Column */
.sg-hearing-image {
    width: 100%;
    max-width: 400px;
    position: relative;
}

.sg-hearing-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    background: #ffffff;
    padding: 20px;
    display: block;
}

/* Content Column - LEFT ALIGNED */
.sg-hearing-content {
    text-align: left;
}

.sg-hearing-content h2 {
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 25px 0;
    color: #ffffff;
    line-height: 1.2;
    text-align: left;
}

.sg-hearing-content > p {
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 30px 0;
    opacity: 0.95;
    color: #ffffff;
    text-align: left;
}

/* Testimonial Boxes */
.sg-testimonial-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-align: left;
}

.sg-testimonial-box:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.sg-stars {
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.sg-testimonial-box p {
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 15px 0;
    color: #ffffff;
    font-style: italic;
    text-align: left;
}

.sg-testimonial-author {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

/* Button Spacing */
.sg-hearing-content .sg-btn {
    margin-top: 20px;
}

/* Legacy selectors for backwards compatibility */
.sg-hearing h2 {
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 20px 0;
    color: #ffffff;
}

.sg-hearing p {
    font-size: 18px;
    line-height: 1.7;
    margin: 0 0 35px 0;
    opacity: 0.95;
}


/* ═══════════════════════════════════════════════════════════════
   BLOCK 8: ERA ENHANCED SECTION - DARK THEME
   ═══════════════════════════════════════════════════════════════ */

.sg-era-enhanced {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 80px 20px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Decorative Background Blurs */
.sg-era-bg-blur {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(239, 103, 17, 0.1);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.sg-era-bg-blur-1 {
    top: -100px;
    right: -100px;
}

.sg-era-bg-blur-2 {
    bottom: -100px;
    left: -100px;
}

.sg-era-enhanced-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Header Section */
.sg-era-header {
    text-align: center;
    margin-bottom: 60px;
}

.sg-era-badge {
    display: inline-block;
    background: rgba(239, 103, 17, 0.2);
    border: 1px solid rgba(239, 103, 17, 0.4);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.sg-era-badge span {
    color: #EF6711;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
}

.sg-era-header h2 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
    font-weight: 800;
}

.sg-era-subtitle {
    font-size: 20px;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    color: #e5e7eb;
}

/* Two Column Layout */
.sg-era-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

/* Left Column - Image */
.sg-era-image-wrapper {
    position: relative;
}

.sg-era-image-card {
    background: linear-gradient(135deg, #EF6711 0%, #D45A0A 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    position: relative;
}

.sg-era-image-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: block;
}

.sg-era-range-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ffffff;
    color: #EF6711;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Right Column - Content */
.sg-era-content-wrapper p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #e5e7eb;
}

/* Key Features Grid */
.sg-era-features-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.sg-era-feature-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.sg-era-feature-box:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(239, 103, 17, 0.3);
    transform: translateY(-2px);
}

.sg-era-feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.sg-era-feature-text {
    flex: 1;
}

.sg-era-feature-title {
    font-weight: 700;
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 16px;
}

.sg-era-feature-desc {
    font-size: 14px;
    opacity: 0.8;
    color: #d1d5db;
}

/* Product Categories Strip */
.sg-era-categories {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
}

.sg-era-categories h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: #ffffff;
    font-weight: 700;
}

.sg-era-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sg-era-category-item {
    text-align: center;
}

.sg-era-category-icon {
    background: rgba(239, 103, 17, 0.2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border: 2px solid rgba(239, 103, 17, 0.4);
}

.sg-era-category-icon span {
    font-size: 36px;
}

.sg-era-category-item h4 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #ffffff;
    font-weight: 700;
}

.sg-era-category-item p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 15px;
    color: #d1d5db;
}

.sg-era-category-count {
    font-weight: 700;
    color: #EF6711;
    font-size: 16px;
}

/* Use Cases */
.sg-era-usecases {
    background: linear-gradient(135deg, #EF6711 0%, #D45A0A 100%);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(239, 103, 17, 0.3);
}

.sg-era-usecases h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: #ffffff;
    font-weight: 700;
}

.sg-era-usecases-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.sg-era-usecase-item {
    text-align: center;
}

.sg-era-usecase-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.sg-era-usecase-label {
    font-weight: 700;
    color: #ffffff;
    font-size: 16px;
}

/* CTA */
.sg-era-cta {
    text-align: center;
}

.sg-era-cta .sg-btn-primary {
    display: inline-block;
    background: #EF6711;
    color: #ffffff;
    padding: 18px 45px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(239, 103, 17, 0.4);
    transition: all 0.3s ease;
}

.sg-era-cta .sg-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(239, 103, 17, 0.5);
    background: #D45A0A;
}

.sg-era-cta-subtext {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
    color: #d1d5db;
}

.sg-era-cta-subtext a {
    color: #EF6711;
    font-weight: 600;
    text-decoration: none;
}

.sg-era-cta-subtext a:hover {
    text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════════════
   BLOCK 9: DOORBELL EXTENDER SECTION STYLES
   ═══════════════════════════════════════════════════════════════ */

.sg-extender {
    padding: 80px 20px;
    background: #f8f9fa;
}

.sg-extender-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 2-Column Grid Layout */
.sg-extender-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

/* Content Column - LEFT ALIGNED */
.sg-extender-content {
    text-align: left;
}

.sg-extender-content h2 {
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 25px 0;
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.sg-extender-content p {
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 25px 0;
    color: #4a4a4a;
}

.sg-extender-content p:last-of-type {
    margin-bottom: 30px;
}

/* Image Column */
.sg-extender-image {
    width: 100%;
    max-width: 400px;
    position: relative;
}

.sg-extender-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sg-extender-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}


/* ═══════════════════════════════════════════════════════════════
   BLOCK 10: FINAL CTA SECTION STYLES
   ═══════════════════════════════════════════════════════════════ */

.sg-final-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, #333333 0%, #1a1a1a 100%);
    color: #ffffff;
    text-align: center;
}

.sg-final-cta-container {
    max-width: 900px;
    margin: 0 auto;
}

.sg-final-cta h2 {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 20px 0;
    color: #ffffff;
}

.sg-final-cta > p {
    font-size: 20px;
    margin: 0 0 40px 0;
    opacity: 0.9;
    line-height: 1.6;
}

.sg-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.sg-contact-info {
    margin-top: 30px;
    font-size: 16px;
    opacity: 0.9;
}

.sg-contact-info a {
    color: #EF6711;
    text-decoration: none;
    font-weight: 600;
}

.sg-contact-info a:hover {
    text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN - MOBILE OPTIMIZATIONS
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    /* Hero section adjustments */
    .sg-hero {
        padding: 60px 20px;
    }
    
    .sg-hero h1 {
        font-size: 36px;
    }
    
    .sg-hero h2 {
        font-size: 18px;
    }
    
    .sg-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .sg-btn {
        width: 100%;
        text-align: center;
    }
    
    /* Trust bar adjustments */
    .sg-trust-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Section headers */
    .sg-section-header h2 {
        font-size: 32px;
    }
    
    /* Product cards adjustments */
    .sg-products {
        padding: 60px 20px;
    }
    
    .sg-product-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .sg-product-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    .sg-product-content {
        padding: 24px;
    }
    
    .sg-product-badge {
        font-size: 12px;
        padding: 8px 14px;
    }
    
    .sg-product-content .sg-btn-outline {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .sg-product-image {
        height: 200px;
        font-size: 48px;
    }
    
    /* Value proposition adjustments */
    .sg-value-prop {
        padding: 60px 20px;
    }
    
    .sg-two-column {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sg-value-content h2 {
        font-size: 32px;
    }
    
    .sg-value-image {
        height: 300px;
    }
    
    /* Feature highlights adjustments */
    .sg-features {
        padding: 60px 20px;
    }
    
    .sg-feature-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sg-feature-item {
        padding: 35px 25px;
    }
    
    .sg-feature-icon {
        width: 80px;
        height: 80px;
        font-size: 38px;
    }
    
    .sg-feature-item h3 {
        font-size: 21px;
    }
    
    .sg-feature-item:hover {
        transform: translateY(-5px);
    }
    
    /* Integration strip adjustments */
    .sg-integration {
        padding: 50px 20px;
    }
    
    .sg-integration-grid {
        grid-template-columns: 1fr;
    }
    
    .sg-integration-item:first-child {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .sg-integration-item h3 {
        font-size: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* Hard of hearing section adjustments */
    .sg-hearing {
        padding: 60px 20px;
    }
    
    .sg-hearing-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sg-hearing-image {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .sg-hearing-content h2 {
        font-size: 32px;
        text-align: left;
    }
    
    .sg-hearing-content > p {
        font-size: 16px;
        text-align: left;
    }
    
    .sg-testimonial-box {
        padding: 20px;
    }
    
    .sg-testimonial-box p {
        font-size: 14px;
    }
    
    .sg-hearing h2 {
        font-size: 32px;
    }
    
    /* ERA enhanced section adjustments */
    .sg-era-enhanced {
        padding: 60px 20px;
    }
    
    .sg-era-header h2 {
        font-size: 32px;
    }
    
    .sg-era-subtitle {
        font-size: 18px;
    }
    
    .sg-era-two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sg-era-features-mini {
        grid-template-columns: 1fr;
    }
    
    .sg-era-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .sg-era-usecases-grid {
        flex-direction: column;
    }
    
    .sg-era-image-card {
        padding: 30px;
    }
    
    .sg-era-range-badge {
        font-size: 14px;
        padding: 10px 18px;
    }
    
    /* Doorbell extender adjustments */
    .sg-extender {
        padding: 60px 20px;
    }
    
    .sg-extender-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sg-extender-image {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .sg-extender-content h2 {
        font-size: 28px;
    }
    
    .sg-extender-content p {
        font-size: 16px;
    }
    
    /* Final CTA adjustments */
    .sg-final-cta {
        padding: 60px 20px;
    }
    
    .sg-final-cta h2 {
        font-size: 32px;
    }
    
    .sg-final-cta > p {
        font-size: 18px;
    }
    
    .sg-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .sg-btn-white,
    .sg-btn-white-outline {
        width: 100%;
        text-align: center;
    }
    
    /* Enhanced hero wave */
    .sg-hero-wave {
        height: 40px;
    }
    
    .sg-hero-wave::before {
        height: 40px;
    }
    
    /* Enhanced trust bar */
    .sg-trust-bar-enhanced {
        padding: 50px 20px;
    }
    
    .sg-trust-icon-enhanced {
        width: 70px;
        height: 70px;
    }
    
    .sg-trust-icon-enhanced svg {
        width: 32px;
        height: 32px;
    }
}


/* ═══════════════════════════════════════════════════════════════
   END OF SAFEGUARD SUPPLY MASTER CSS
   ═══════════════════════════════════════════════════════════════ */