/* ERP Product Page Styles */

/* ERP Hero Section */
.erp-hero {
    background: linear-gradient(135deg, rgba(10, 1, 24, 0.95), rgba(15, 25, 35, 0.95));
    padding: 12rem 0 8rem 0;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.erp-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/cyberpunk-inspo/cp-inspo1.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.erp-hero .section-container {
    position: relative;
    z-index: 1;
}

.erp-hero-badge {
    display: inline-block;
    background: rgba(252, 238, 10, 0.1);
    border: 1px solid var(--color-highlight);
    color: var(--color-highlight);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.erp-hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.erp-hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 300;
    color: var(--color-primary);
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto 3rem auto;
}

.erp-hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 4rem auto;
}

.erp-hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(252, 238, 10, 0.05);
    border: 1px solid rgba(252, 238, 10, 0.2);
    border-radius: 15px;
}

.erp-hero-feature svg {
    color: var(--color-highlight);
}

.erp-hero-feature span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-white);
    text-align: center;
}

.erp-hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.erp-hero-cta .cta-note {
    color: var(--color-white);
}

/* ERP Overview Section */
.erp-overview-section {
    background-color: var(--color-background);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.erp-overview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-image: url('../images/homepage/dashboard-2.png');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    opacity: 0.04;
    z-index: 0;
}

.erp-overview-section .section-container {
    position: relative;
    z-index: 1;
}

.erp-screenshot-main {
    margin: 6rem 0;
    padding: 2rem 0;
    overflow: visible;
}

.dashboard-showcase {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.dashboard-image {
    position: absolute;
    width: 100%;
    max-width: 900px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

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

.dashboard-1 {
    left: 28%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-8deg);
    z-index: 1;
}

.dashboard-2 {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    z-index: 2;
}

.dashboard-3 {
    left: 72%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(8deg);
    z-index: 1;
}

.dashboard-image:hover {
    transform: translate(-50%, -60%) rotate(0deg) scale(1.08);
    box-shadow: 0 30px 80px rgba(252, 238, 10, 0.3),
                0 20px 60px rgba(0, 0, 0, 0.7);
    z-index: 10;
}

.dashboard-2:hover {
    transform: translate(-50%, -60%) scale(1.08);
}

.screenshot-placeholder {
    background: linear-gradient(135deg, rgba(15, 25, 35, 0.6), rgba(10, 1, 24, 0.7));
    border: 2px dashed rgba(252, 238, 10, 0.3);
    border-radius: 20px;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    min-height: 400px;
}

.screenshot-placeholder svg {
    color: rgba(252, 238, 10, 0.4);
}

.screenshot-placeholder p {
    font-size: 1.125rem;
    color: rgba(252, 238, 10, 0.6);
    font-weight: 500;
    text-align: center;
}

.screenshot-small {
    min-height: 250px;
    padding: 2rem;
}

.erp-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.erp-overview-card {
    background: linear-gradient(135deg, rgba(15, 25, 35, 0.5), rgba(10, 1, 24, 0.6));
    border: 2px solid rgba(252, 238, 10, 0.2);
    border-radius: 20px;
    padding: 3rem;
}

.erp-overview-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.erp-overview-text {
    font-size: 1rem;
    color: var(--color-primary);
    line-height: 1.7;
}

/* ERP Modules Section */
.erp-modules-section {
    background: linear-gradient(135deg, rgba(10, 1, 24, 0.95), rgba(15, 25, 35, 0.95));
    padding: 8rem 0;
}

.erp-modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.erp-module-card {
    background: rgba(15, 25, 35, 0.5);
    border: 2px solid rgba(252, 238, 10, 0.15);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.erp-module-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-highlight);
    background: rgba(15, 25, 35, 0.8);
}

.erp-module-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.erp-module-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(252, 238, 10, 0.1);
    border: 2px solid rgba(252, 238, 10, 0.3);
    border-radius: 15px;
    flex-shrink: 0;
}

.erp-module-icon svg {
    color: var(--color-highlight);
}

.erp-module-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-white);
}

.erp-module-screenshot {
    margin: 2rem 0;
}

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

.erp-module-features li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--color-primary);
    line-height: 1.6;
}

.erp-module-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-highlight);
    font-weight: 700;
    font-size: 1.25rem;
}

/* ERP Industries Section */
.erp-industries-section {
    background-color: var(--color-background);
    padding: 8rem 0;
}

.erp-industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.erp-industry-card {
    background: linear-gradient(135deg, rgba(15, 25, 35, 0.5), rgba(10, 1, 24, 0.6));
    border: 2px solid rgba(252, 238, 10, 0.2);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.erp-industry-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-highlight);
}

.erp-industry-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.erp-industry-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.erp-industry-description {
    font-size: 1rem;
    color: var(--color-primary);
    line-height: 1.7;
}

/* ERP Benefits Section */
.erp-benefits-section {
    background: linear-gradient(135deg, rgba(10, 1, 24, 0.95), rgba(15, 25, 35, 0.95));
    padding: 8rem 0;
}

.erp-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.erp-benefit-card {
    background: rgba(15, 25, 35, 0.5);
    border: 2px solid rgba(252, 238, 10, 0.15);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.erp-benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-highlight);
    background: rgba(15, 25, 35, 0.8);
}

.erp-benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.erp-benefit-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.erp-benefit-description {
    font-size: 1rem;
    color: var(--color-primary);
    line-height: 1.6;
}

/* ERP Process Section */
.erp-process-section {
    background-color: var(--color-background);
    padding: 8rem 0;
}

.erp-process-timeline {
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0 auto;
}

.erp-process-timeline::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-highlight), rgba(252, 238, 10, 0.2));
}

.erp-process-step {
    position: relative;
    padding-left: 100px;
    margin-bottom: 4rem;
}

.erp-process-step:last-child {
    margin-bottom: 0;
}

.erp-process-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-highlight), rgba(252, 238, 10, 0.8));
    color: var(--color-background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 4px solid var(--color-background);
    z-index: 2;
}

.erp-process-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.erp-process-description {
    font-size: 1.125rem;
    color: var(--color-primary);
    line-height: 1.7;
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .erp-hero-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .erp-overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .erp-modules-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .erp-industries-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .erp-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .erp-hero {
        padding: 10rem 0 6rem 0;
    }

    .erp-hero-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .erp-overview-section,
    .erp-modules-section,
    .erp-industries-section,
    .erp-benefits-section,
    .erp-process-section {
        padding: 6rem 0;
    }

    .screenshot-placeholder {
        min-height: 300px;
        padding: 2rem;
    }

    .screenshot-small {
        min-height: 200px;
        padding: 1.5rem;
    }

    .dashboard-showcase {
        height: 750px;
        padding: 2rem 1rem;
    }

    .dashboard-image {
        width: 85% !important;
        max-width: none !important;
    }

    .dashboard-1 {
        left: 5% !important;
        top: 10% !important;
        transform: rotate(-3deg) !important;
        z-index: 3 !important;
    }

    .dashboard-2 {
        left: 50% !important;
        top: 35% !important;
        transform: translateX(-50%) rotate(2deg) !important;
        z-index: 2 !important;
    }

    .dashboard-3 {
        right: 5% !important;
        left: auto !important;
        top: 60% !important;
        transform: rotate(-2deg) !important;
        z-index: 1 !important;
    }

    .dashboard-image:hover {
        transform: scale(1.05) rotate(0deg) !important;
        z-index: 10 !important;
    }

    .dashboard-2:hover {
        transform: translateX(-50%) scale(1.05) rotate(0deg) !important;
    }

    .erp-module-card {
        padding: 2rem;
    }

    .erp-module-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .erp-industry-card,
    .erp-benefit-card {
        padding: 2rem;
    }

    .erp-benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .erp-process-timeline::before {
        left: 20px;
    }

    .erp-process-step {
        padding-left: 70px;
        margin-bottom: 3rem;
    }

    .erp-process-number {
        width: 50px;
        height: 50px;
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .erp-hero {
        padding: 8rem 0 5rem 0;
    }

    .erp-hero-title {
        font-size: 2.5rem;
    }

    .erp-hero-feature {
        padding: 1rem;
    }

    .erp-overview-card {
        padding: 2rem;
    }

    .erp-module-card {
        padding: 1.5rem;
    }

    .erp-industry-card {
        padding: 1.5rem;
    }

    .erp-benefit-card {
        padding: 1.5rem;
    }

    .erp-process-step {
        padding-left: 60px;
    }

    .erp-process-title {
        font-size: 1.25rem;
    }
}

/* Section Header Alignment */
.section-header {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    margin: 0 auto;
}

/* Final CTA Section - Revamped */
.final-cta-section {
    background: linear-gradient(135deg, rgba(10, 1, 24, 0.98), rgba(15, 25, 35, 0.98));
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(252, 238, 10, 0.15), transparent 60%);
    pointer-events: none;
}

.final-cta-section .section-container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.cta-note {
    font-size: 1rem;
    color: rgba(252, 238, 10, 0.8);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.cta-note::before,
.cta-note::after {
    content: '';
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-highlight), transparent);
}

@media (max-width: 768px) {
    .final-cta-section {
        padding: 5rem 0;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-note {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-note::before,
    .cta-note::after {
        display: none;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    color: var(--color-highlight);
    font-size: 4rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--color-white);
    transform: scale(1.1);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: zoomIn 0.3s ease-in-out;
    border-radius: 12px;
    box-shadow: 0 30px 90px rgba(252, 238, 10, 0.3);
}

@keyframes zoomIn {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--color-highlight);
    font-size: 1.25rem;
    font-weight: 500;
    padding: 1.5rem;
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 1, 24, 0.9);
    border: 1px solid rgba(252, 238, 10, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 1rem;
        right: 1.5rem;
        font-size: 3rem;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 80vh;
    }

    #lightbox-caption {
        font-size: 1rem;
        padding: 1rem;
        bottom: 1rem;
        width: 90%;
    }
}
