/* ERP SaaS Page Styles */
.erp-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, rgba(26, 94, 166, 0.05) 0%, rgba(35, 118, 203, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.erp-hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2376cb, #4e9fef);
    opacity: 0.05;
    top: -150px;
    left: -150px;
}

.erp-hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2376cb, #4e9fef);
    opacity: 0.05;
    bottom: -250px;
    right: -250px;
}

.erp-hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.erp-hero-content {
    flex: 1;
    max-width: 600px;
    margin-right: 60px;
}

.erp-hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.erp-hero-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.erp-hero-image img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.erp-hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.erp-stats {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 16px;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.stat-item {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    width: 220px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateX(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(78, 159, 239, 0.3);
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 700;
    color: #2376cb;
    display: block;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #2376cb, #4e9fef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.4;
}

/* Features Section */
.erp-features {
    padding: 100px 0;
    background: var(--bg-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(78, 159, 239, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, #2376cb, #4e9fef);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
    font-size: 28px;
    color: white;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--heading-color);
}

.feature-card p {
    color: var(--text-color);
    line-height: 1.6;
    flex-grow: 1;
}

/* Modules Section */
.erp-modules {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(26, 94, 166, 0.05) 0%, rgba(35, 118, 203, 0.1) 100%);
}

.modules-tabs {
    margin-top: 60px;
}

.tabs-navigation {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #4e9fef;
}

.tab-btn.active {
    color: #2376cb;
}

.tab-btn.active::after {
    background: linear-gradient(to right, #2376cb, #4e9fef);
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

.tab-panel.active {
    display: block;
}

.tab-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.tab-details {
    flex: 1;
}

.tab-details h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--heading-color);
    position: relative;
    padding-bottom: 15px;
}

.tab-details h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #2376cb, #4e9fef);
}

.tab-details p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 24px;
}

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

.tab-features li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: var(--text-color);
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.tab-features li:hover {
    transform: translateX(5px);
}

.tab-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #2376cb, #4e9fef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-features li::after {
    content: '✓';
    position: absolute;
    left: 5px;
    top: 7px;
    font-size: 12px;
    color: white;
}

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

.tab-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tab-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Pricing Section */
.erp-pricing {
    padding: 100px 0;
    background: var(--bg-color);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0 20px;
    font-weight: 500;
}

.pricing-toggle span {
    margin: 0 10px;
    color: var(--text-color);
}

.pricing-toggle .discount {
    background: linear-gradient(135deg, #2376cb, #4e9fef);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-left: 15px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4d4d4d;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background: linear-gradient(135deg, #2376cb, #4e9fef);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(78, 159, 239, 0.2);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 1px solid rgba(78, 159, 239, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #2376cb, #4e9fef);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(35, 118, 203, 0.3);
}

.pricing-header {
    padding: 40px 30px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-header h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.pricing-price {
    margin-bottom: 15px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #2376cb;
    background: linear-gradient(135deg, #2376cb, #4e9fef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price.annual {
    display: none;
}

.period {
    font-size: 1rem;
    color: var(--text-color);
}

.pricing-features {
    padding: 30px;
    flex: 1;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--text-color);
    margin-bottom: 5px;
    transition: transform 0.3s ease;
}

.pricing-features li:hover {
    transform: translateX(5px);
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #2376cb, #4e9fef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-features li::after {
    content: '✓';
    position: absolute;
    left: 5px;
    top: 9px;
    font-size: 12px;
    color: white;
}

.pricing-features li.not-included {
    color: var(--text-muted);
    text-decoration: line-through;
}

.pricing-features li.not-included::before {
    background: #4d4d4d;
}

.pricing-features li.not-included::after {
    content: '×';
}

.pricing-action {
    padding: 0 30px 40px;
    text-align: center;
}

.pricing-action .btn {
    width: 100%;
}

.pricing-note {
    margin: 20px 0 40px;
    text-align: center;
}

.pricing-note .view-detailed-pricing {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    background-color: rgba(35, 118, 203, 0.1);
}

.pricing-note .view-detailed-pricing:hover {
    color: var(--accent);
    background-color: rgba(35, 118, 203, 0.2);
    transform: translateY(-3px);
}

.pricing-note .view-detailed-pricing i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.pricing-note .view-detailed-pricing:hover i {
    transform: translateX(5px);
}

/* Demo Section */
.erp-demo {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(26, 94, 166, 0.05) 0%, rgba(35, 118, 203, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.erp-demo::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2376cb, #4e9fef);
    opacity: 0.05;
    top: -200px;
    right: -200px;
}

.erp-demo::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2376cb, #4e9fef);
    opacity: 0.05;
    bottom: -150px;
    left: -150px;
}

.erp-demo .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.demo-content {
    max-width: 500px;
}

.demo-form {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.demo-form:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.demo-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2376cb;
    box-shadow: 0 0 0 2px rgba(35, 118, 203, 0.2);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group button {
    margin-top: 10px;
    transition: all 0.3s ease;
}

.form-group button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Styles for ERP SaaS Page */
@media (max-width: 1200px) {
    .erp-hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .erp-hero-content {
        margin-right: 0;
        margin-bottom: 60px;
        max-width: 100%;
    }
    
    .erp-hero-buttons {
        justify-content: center;
    }
    
    .erp-stats {
        position: static;
        flex-direction: row;
        margin-top: 30px;
        transform: none;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-content {
        flex-direction: column;
    }
    
    .tab-details {
        order: 2;
    }
    
    .tab-image {
        order: 1;
        margin-bottom: 40px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 20px auto 0;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .erp-demo .container {
        grid-template-columns: 1fr;
    }
    
    .demo-content {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-navigation {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .tab-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .demo-form form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .stat-item {
        width: 100%;
        min-width: 150px;
    }
    
    .erp-stats {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .erp-hero {
        padding: 80px 0 50px;
    }
    
    .erp-features, 
    .erp-modules, 
    .erp-pricing, 
    .erp-demo {
        padding: 60px 0;
    }
    
    .section-heading {
        font-size: 1.8rem;
    }
    
    .erp-hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .pricing-toggle {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .pricing-toggle .discount {
        margin-left: 0;
        margin-top: 10px;
    }
}

/* Show Annual Pricing when toggle is checked */
body.show-annual .price.monthly,
body.annual-pricing .price.monthly {
    display: none;
}

body.show-annual .price.annual,
body.annual-pricing .price.annual {
    display: inline;
}

.text-center {
    text-align: center;
}

/* Footer Improvements */
.footer-logo img {
    max-width: 120px; /* Reduzindo o tamanho do logo */
    height: auto;
    margin-bottom: 15px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: flex-start;
}

.footer-col {
    min-width: 0; /* Evita overflow */
}

.footer-col.company-info {
    padding-right: 20px;
}

.footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: var(--text-color);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links li a:before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.footer-links li a:hover {
    color: var(--primary);
    transform: translateX(5px);
    display: inline-block;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info li i {
    color: var(--primary);
    margin-right: 10px;
    min-width: 20px;
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(35, 118, 203, 0.1);
    color: var(--primary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-col h4 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-size: 1.2rem;
    color: var(--heading-color);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, #2376cb, #4e9fef);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* Styles for new footer (copied from index.html) */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 60px 0 30px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--heading-color);
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, #2376cb, #4e9fef);
}

.footer-column p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-column ul li a:before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.footer-column ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
    display: inline-block;
}

.footer-column .contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-column .contact-info i {
    color: var(--primary);
    margin-right: 10px;
    min-width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(35, 118, 203, 0.1);
    color: var(--primary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    margin-top: 20px;
}

.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-bubble {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2376cb, #4e9fef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.chat-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.chat-bubble i {
    color: white;
    font-size: 24px;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
} 