/* Custom styles for Syspeace.com */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.logo-header {
    padding: 60px 0;
    background-color: white;
}

.logo {
    max-height: 160px;
    height: auto;
    width: auto;
}

.main-navigation {
    background-color: #e9ecef;
    padding: 15px 0;
    border-top: 1px solid #dee2e6;
    position: relative;
}

.main-navigation .container {
    position: relative;
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.navbar-toggler-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #0066cc;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: #0066cc;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    bottom: -8px;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 30px;
    transition: all 0.3s ease;
}

.nav-list li {
    margin: 0;
}

.nav-list a {
    text-decoration: none;
    color: #0066cc;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: block;
}

.nav-list a:hover {
    color: #004499;
    background-color: rgba(0, 102, 204, 0.1);
}

.btn-buy {
    background-color: #ff6600 !important;
    color: white !important;
    font-weight: bold !important;
}

.btn-buy:hover {
    background-color: #e55a00 !important;
    color: white !important;
}

.btn-trial {
    background-color: #ff6600 !important;
    color: white !important;
    font-weight: bold !important;
}

.btn-trial:hover {
    background-color: #e55a00 !important;
    color: white !important;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .logo {
        max-height: 120px;
    }
    
    .logo-header {
        padding: 30px 0;
    }
    
    .navbar-toggler {
        display: block;
    }
    
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #e9ecef;
        border-top: 1px solid #dee2e6;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        gap: 0;
        padding: 0;
    }
    
    .nav-list.show {
        display: flex;
    }
    
    .nav-list li {
        width: 100%;
        border-bottom: 1px solid #dee2e6;
    }
    
    .nav-list li:last-child {
        border-bottom: none;
    }
    
    .nav-list a {
        padding: 15px 20px;
        width: 100%;
        text-align: left;
        border-radius: 0;
    }
    
    .btn-buy,
    .btn-trial {
        margin: 0;
        text-align: center;
    }
    
    .main-content {
        padding: 20px 15px;
    }
    
    .main-content h2 {
        font-size: 1.8rem;
    }
    
    .support-section {
        text-align: center;
        margin-top: 2rem;
    }
}

.sub-navigation {
    background-color: #f1f3f4;
    padding: 10px 0;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.sub-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 25px;
}

.sub-nav-list li {
    margin: 0;
}

.sub-nav-list a {
    text-decoration: none;
    color: #666;
    font-weight: 400;
    font-size: 0.95em;
    padding: 6px 12px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.sub-nav-list a:hover {
    color: #0066cc;
    background-color: rgba(0, 102, 204, 0.1);
}

.sub-nav-list a.active {
    color: #0066cc;
    background-color: rgba(0, 102, 204, 0.15);
    font-weight: 500;
}

.download-library {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
}

.download-library h3 {
    color: #333;
    margin-bottom: 15px;
}

.coming-soon {
    font-style: italic;
    color: #666;
    margin-top: 15px;
}

.download-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
}

.download-section h2 {
    color: #0066cc;
    margin-bottom: 15px;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 10px;
}

.download-section h3 {
    color: #333;
    margin: 25px 0 15px 0;
}

.download-table {
    margin: 20px 0;
}

.download-item {
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 15px;
}

.download-item h4 {
    margin: 0 0 10px 0;
}

.download-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
}

.download-link:hover {
    color: #004499;
    text-decoration: underline;
}

.file-details {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-top: 10px;
    font-family: monospace;
    font-size: 0.9em;
}

.file-details p {
    margin: 0;
    line-height: 1.4;
}

.info-link {
    color: #0066cc;
    text-decoration: none;
}

.info-link:hover {
    color: #004499;
    text-decoration: underline;
}

.main-content {
    padding-top: 40px;
}

.main-content h2 {
    color: #333;
    margin-bottom: 20px;
}

.main-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.main-content a {
    color: #0066cc;
    text-decoration: none;
}

.main-content a:hover {
    color: #004499;
    text-decoration: underline;
}

.support-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.support-button {
    display: inline-block;
    background-color: #ff6600;
    color: white !important;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.support-button:hover {
    background-color: #e55a00;
    color: white !important;
    text-decoration: none;
}

.btn-buy.active,
.btn-trial.active {
    background-color: #cc5200 !important;
}

.redirect-notice {
    background-color: #f8f9fa;
    border: 2px solid #0066cc;
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
}

.redirect-notice h3 {
    color: #0066cc;
    margin-bottom: 15px;
}

.license-portal-button {
    display: inline-block;
    background-color: #0066cc;
    color: white !important;
    text-decoration: none !important;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.1em;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.license-portal-button:hover {
    background-color: #004499;
    color: white !important;
    text-decoration: none !important;
    transform: translateY(-2px);
}

.portal-info {
    margin-top: 20px;
    font-weight: 600;
    color: #333;
}

.feature-list {
    text-align: left;
    max-width: 400px;
    margin: 15px auto 0;
    padding-left: 0;
}

.feature-list li {
    list-style: none;
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.feature-list li:before {
    content: "✓";
    color: #0066cc;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Installation Guide Styles */
.installation-guide {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid #0066cc;
}

.installation-guide h3 {
    color: #0066cc;
    margin-bottom: 20px;
}

.installation-steps {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
}

.installation-steps li {
    counter-increment: step-counter;
    position: relative;
    padding: 15px 0 15px 50px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.installation-steps li:last-child {
    border-bottom: none;
}

.installation-steps li:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 15px;
    background: #0066cc;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.installation-guide p strong {
    color: #0066cc;
    font-size: 16px;
}

.main-content {
    flex: 1;
}

.footer {
    background-color: #333333;
    color: white;
    padding: 20px 0;
    text-align: left;
    margin-top: auto;
}

.footer .container {
    flex: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    color: #ccc;
    text-decoration: underline;
}

/* Comparison table styles */
.comparison-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.comparison-section h2 {
    color: #0066cc;
    margin-bottom: 2rem;
    text-align: center;
}

.comparison-table {
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table thead th {
    background-color: #0066cc;
    color: white;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    padding: 1rem;
    border: none;
}

.comparison-table .feature-column {
    background-color: #0066cc !important;
    width: 40%;
    text-align: left !important;
}

.comparison-table .version-column {
    width: 30%;
}

.comparison-table .v3-col {
    background-color: #f0f8ff;
}

.comparison-table .v4-col {
    background-color: #e8f5e8;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.comparison-table tbody tr:hover {
    background-color: #f5f5f5;
}

.comparison-table td {
    padding: 1rem;
    vertical-align: middle;
    text-align: center;
    border-color: #dee2e6;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

/* Status icons */
.status-yes {
    color: #28a745;
    font-size: 1.2em;
    font-weight: bold;
}

.status-no {
    color: #dc3545;
    font-size: 1.2em;
    font-weight: bold;
}

.status-config {
    color: #ffc107;
    font-size: 1.2em;
    font-weight: bold;
}

.status-planned {
    color: #6c757d;
    font-size: 1.2em;
    font-weight: bold;
}

/* Feature tooltips */
.feature-tooltip {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-left: 3px solid #0066cc;
    font-size: 0.85em;
    color: #666;
    border-radius: 0 4px 4px 0;
    font-style: italic;
}

/* Download CTA section */
.download-cta {
    margin-top: 3rem;
    padding: 3rem 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.download-cta h3 {
    color: #0066cc;
    margin-bottom: 1rem;
}

.download-cta p {
    margin-bottom: 2rem;
    color: #666;
}

.download-cta .btn-primary {
    background-color: #ff6600;
    border-color: #ff6600;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 25px;
}

.download-cta .btn-primary:hover {
    background-color: #e55a00;
    border-color: #e55a00;
}
