/* erp Application Suite Specific Styles */
:root {
    --erp-dark-blue: #051824;
    --erp-medium-blue: #092740;
    --erp-light-blue: #0d3a5a;
    --erp-teal: #00d4aa;
    --erp-light-teal: #4dffce;
    --erp-gradient-primary: linear-gradient(135deg, var(--erp-teal), var(--erp-light-blue));
}

/* Body background for erp pages */
.erp-body {
    background: linear-gradient(135deg, var(--erp-dark-blue), var(--erp-medium-blue));
    color: var(--text-color);
}

/* Background feature customization */
.erp-background-feature {
    background: radial-gradient(circle, rgba(0, 120, 212, 0.42) 0%, rgba(0, 90, 158, 0.21) 40%, rgba(0, 0, 0, 0) 70%);
    z-index: -1; /* Ensure it's behind content but visible where needed */
}

.erp-background-feature::after {
    background: radial-gradient(circle, rgba(255, 107, 0, 0.28) 0%, rgba(255, 157, 77, 0.14) 50%, rgba(0, 0, 0, 0) 70%);
}

/* Header customization */
.erp-header {
    position: relative;
    min-height: 80vh;
    background-image: url('../images/erp-header-bg.jpg');
    background-color: var(--dark-blue);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
    padding-top: 80px;
    text-align: center;
    z-index: 1; /* Ensure it's above the background feature */
}

.erp-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 31, 63, 0.7);
    z-index: 0;
}

.erp-header .header-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.erp-header-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.erp-header-icon img {
    height: 60px;
    width: auto;
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.erp-header-icon img:hover {
    transform: translateY(-3px);
    opacity: 1;
}

.erp-header h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.erp-header .tagline {
    font-size: 1.5rem;
    margin: 0 auto 2rem;
    max-width: 800px;
}

.author {
    font-size: 1.1rem;
    opacity: 0.8;
}

.transform-section {
    position: relative;
    padding: var(--space-xl) 0;
    z-index: 0; /* Allow background feature to be visible */
}

.transform-section h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

.description-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-md);
}

.description-item {
    background: rgba(0, 120, 212, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: transform var(--transition-normal);
}

.description-item:hover {
    transform: translateY(-3px);
}

.description-item p {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Components section styles moved to components.css */

.business-logic-section {
    background: linear-gradient(135deg, rgba(0, 31, 63, 0.9), rgba(0, 90, 158, 0.9)), url('../images/circuit-pattern.jpg');
    background-size: cover, 80%;
    background-position: center, center;
    background-repeat: no-repeat, repeat;
    padding: var(--space-xl) 0;
    position: relative;
    z-index: 1; /* Hide background feature */
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--space-lg);
}

/* Circuit graphic is now part of the section background */
.circuit-graphic {
    display: none; /* Hide the separate element as it's now part of the background */
}

.features-grid, .elk-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.elk-features {
    margin: var(--space-lg) 0;
}

.feature-item, .elk-feature {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-md);
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.feature-item-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    margin-right: 15px;
    background-color: var(--erp-teal);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 212, 170, 0.3);
}

.feature-item-icon::before {
    content: '✓';
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.feature-item::before, .elk-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--erp-teal), var(--erp-light-teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-item:hover, .elk-feature:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.12));
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-item:hover::before, .elk-feature:hover::before {
    transform: scaleX(1);
}

.feature-item p, .elk-feature p {
    font-size: 1.1rem;
    margin: 0;
    color: var(--text-light);
    letter-spacing: 0.01em;
    line-height: 1.5;
}

/* Teams Section */
.teams-section {
    position: relative;
    padding: var(--space-xl) 0;
    /* background: linear-gradient(135deg, var(--erp-dark-blue), var(--erp-medium-blue)); */
    z-index: 0; /* Allow background feature to be visible */
}

.split-content {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
}

.text-content {
    flex: 1;
}

.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
}

.teams-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.teams-feature {
    display: flex;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: transform var(--transition-normal);
}

.teams-feature:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
}

.icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: var(--space-sm);
    background: rgba(0, 212, 170, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--erp-teal);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Icon specific styles */
.notification-icon::before {
    content: "\1F514"; /* Bell emoji */
    font-size: 1.5rem;
}

.response-icon::before {
    content: "\1F4AC"; /* Speech bubble emoji */
    font-size: 1.5rem;
}

.rules-icon::before {
    content: "\1F4C4"; /* Document emoji */
    font-size: 1.5rem;
}

.security-icon::before {
    content: "\1F512"; /* Lock emoji */
    font-size: 1.5rem;
}

.teams-mockup {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
    margin: 0 auto;
    display: block;
}

.teams-mockup:hover {
    transform: scale(1.02);
}

/* WhatsApp Section */
.whatsapp-section {
    padding: var(--space-xl) 0;
    position: relative;
    z-index: 0; /* Allow background feature to be visible */
}

.whatsapp-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.whatsapp-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: transform var(--transition-normal);
}

.whatsapp-step:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: var(--space-sm);
    background: var(--erp-gradient-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 212, 170, 0.3);
}

.mobile-icon::before {
    content: "\1F4F1"; /* Mobile phone emoji */
    font-size: 1.5rem;
}

.security-step-icon::before {
    content: "\1F512"; /* Lock emoji */
    font-size: 1.5rem;
}

.template-icon::before {
    content: "\1F4C4"; /* Document emoji */
    font-size: 1.5rem;
}

.interaction-icon::before {
    content: "\1F4AC"; /* Speech bubble emoji */
    font-size: 1.5rem;
}

.step-number {
    display: none;
}

.whatsapp-mockup {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
    margin: 0 auto;
    display: block;
}

.whatsapp-mockup:hover {
    transform: scale(1.02);
}

/* NLQ Section */
.nlq-section {
    position: relative;
    padding: var(--space-xl) 0;
    z-index: 0; /* Allow background feature to be visible */
}

.nlq-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.nlq-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: transform var(--transition-normal);
}

.nlq-feature:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: var(--space-sm);
    background: var(--erp-gradient-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 212, 170, 0.3);
}

.access-icon::before {
    content: "\1F513"; /* Unlocked emoji */
    font-size: 1.5rem;
}

.report-icon::before {
    content: "\1F4CA"; /* Chart emoji */
    font-size: 1.5rem;
}

.insight-icon::before {
    content: "\1F4A1"; /* Light bulb emoji */
    font-size: 1.5rem;
}

.integration-icon::before {
    content: "\1F517"; /* Link emoji */
    font-size: 1.5rem;
}

.feature-number {
    display: none;
}

.nlq-assistant {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
    margin: 0 auto;
    display: block;
}

.nlq-assistant:hover {
    transform: scale(1.02);
}

/* ELK Section */
.elk-section {
    position: relative;
    padding: var(--space-xl) 0;
    /* background: linear-gradient(135deg, rgba(0, 31, 63, 0.9), rgba(0, 90, 158, 0.9)); */
    z-index: 0; /* Allow background feature to be visible */
}

.elk-dashboard {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin: var(--space-lg) auto;
    max-width: 900px;
    transition: transform var(--transition-normal);
    display: block;
}

.elk-dashboard:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.section-cta {
    margin-top: var(--space-md);
    text-align: center;
}

/* Why Choose Section */
.why-choose-section {
    padding: var(--space-xl) 0;
    position: relative;
    z-index: 0; /* Allow background feature to be visible */
}

.pyramid-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pyramid-level {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: transform var(--transition-normal);
    border-left: 4px solid var(--erp-teal);
}

.pyramid-level:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 212, 170, 0.1);
}

.level-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: var(--space-md);
    background: var(--erp-gradient-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 212, 170, 0.3);
}

.unified-icon::before {
    content: "\1F5F3"; /* Ballot box with check emoji */
    font-size: 1.5rem;
}

.future-icon::before {
    content: "\1F680"; /* Rocket emoji */
    font-size: 1.5rem;
}

.roi-icon::before {
    content: "\1F4B0"; /* Money bag emoji */
    font-size: 1.5rem;
}

.security-level-icon::before {
    content: "\1F510"; /* Locked emoji */
    font-size: 1.5rem;
}

.level-number {
    display: none;
}

.level-content h3 {
    color: var(--erp-teal);
    margin-bottom: var(--space-xs);
    list-style: none;
    position: relative;
}

.level-content h3::before {
    content: none;
}

.level-content {
    flex: 1;
}

.pyramid-level h3::before {
    content: none;
}

/* CTA Section */
.cta-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, var(--erp-dark-blue), var(--erp-medium-blue));
    text-align: center;
    position: relative;
    z-index: 0; /* Allow background feature to be visible */
}

.cta-section .tagline {
    max-width: 800px;
    margin: 0 auto var(--space-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Button styles */
.erp-btn-primary {
    background: var(--erp-light-blue);
    border: none;
    color: var(--text-color);
}

.erp-btn-primary:hover {
    background: var(--erp-gradient-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 120, 212, 0.3);
}

.erp-btn-secondary {
    border: 2px solid var(--text-color);
}

.erp-btn-secondary:hover {
    background-color: var(--text-color);
    color: var(--erp-dark-blue);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .split-content {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .teams-features,
    .whatsapp-steps,
    .nlq-features {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .teams-mockup,
    .whatsapp-mockup,
    .nlq-assistant {
        max-width: 280px;
    }
    
    .elk-dashboard {
        max-width: 90%;
    }
    
    .pyramid-level {
        flex-direction: column;
        text-align: center;
    }
    
    .level-icon {
        margin-right: 0;
        margin-bottom: var(--space-sm);
    }
}

@media (max-width: 768px) {
    .erp-header {
        min-height: 60vh;
    }
    
    .erp-header h1 {
        font-size: 2.2rem;
    }
    
    .erp-header .tagline {
        font-size: 1.1rem;
    }
    
    .erp-header-icon img {
        width: 80px;
    }
    
    /* Component card styles moved to components.css */
    
    .step-icon,
    .icon,
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .teams-mockup,
    .whatsapp-mockup,
    .nlq-assistant {
        max-width: 100%;
        margin-top: var(--space-md);
    }
    
    .elk-dashboard {
        max-width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

/* Animation for section transitions */
.feature-item,
.teams-feature,
.whatsapp-step,
.nlq-feature,
.elk-feature,
.pyramid-level {
    animation: fadeInUp 0.6s ease-out;
}

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

#footer-container {
    position: relative;
    z-index: 1; /* Hide background feature */
} 