/* Software Page CSS - Matching Other Pages Styling */

/* Ensure consistent body padding */
body {
    padding-top: 80px !important;
}

/* Page header styling to match other pages exactly */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    padding: 180px 0 80px !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    margin-top: 0 !important;
}

/* Add the animated background effect */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="150" fill="rgba(255,255,255,0.1)" /><circle cx="800" cy="400" r="120" fill="rgba(255,255,255,0.08)" /></svg>');
    animation: float 20s ease-in-out infinite;
}

/* Header text styling */
.page-header h1 {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.95);
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Header Stats */
.header-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Problem Section */
.problem-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.problem-card {
    background: white;
    border-radius: 25px;
    padding: 50px 30px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-lg);
    transition: all 0.5s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.problem-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--brand-primary);
}

.problem-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 99, 132, 0.05) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.problem-card:hover::before {
    transform: scale(1);
}

.problem-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ff6384 0%, #ff9f40 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.problem-card:hover .problem-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.problem-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.problem-card p {
    color: #6c757d;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Features Section */
.features-section {
    padding: 120px 0;
    background: white;
}

.feature-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 25px;
    padding: 50px 30px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-lg);
    transition: all 0.5s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--brand-primary);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(54, 162, 235, 0.05) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.feature-card:hover::before {
    transform: scale(1);
}

.feature-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #36a2eb 0%, #4bc0c0 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 3rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotateY(180deg);
    box-shadow: var(--shadow-xl);
}

.feature-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.feature-list li {
    padding: 6px 0;
    color: #2c3e50;
    font-size: 14px;
    font-weight: 500;
}

.feature-list .check {
    color: var(--brand-accent);
    margin-right: 10px;
    font-size: 14px;
}

.feature-cta {
    margin-top: 25px;
    position: relative;
    z-index: 2;
}

.feature-cta .btn {
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-cta .btn {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
    transform: translateY(-3px);
}

/* Testimonials Section */
.testimonials-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="900" cy="100" r="100" fill="rgba(54, 162, 235, 0.03)" /><circle cx="100" cy="500" r="150" fill="rgba(75, 192, 192, 0.02)" /></svg>');
    animation: float 30s ease-in-out infinite reverse;
}

.testimonial-card {
    background: white;
    border-radius: 25px;
    padding: 40px 30px;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    z-index: 2;
    border: 3px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.testimonial-card.featured {
    border-color: #36a2eb;
    transform: scale(1.02);
}

.testimonial-card.featured::after {
    content: 'Featured';
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #36a2eb 0%, #4bc0c0 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: var(--shadow-md);
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #2c3e50;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #36a2eb 0%, #4bc0c0 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.testimonial-info strong {
    display: block;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 5px;
}

.testimonial-info span {
    display: block;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Calculator Section */
.calculator-section {
    padding: 120px 0;
    background: white;
}

.calculator-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 25px;
    padding: 60px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(0,0,0,0.05);
}

.calculator-card h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 16px;
}

.form-control,
.form-select {
    border-radius: 15px;
    border: 3px solid #e9ecef;
    padding: 15px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 0.25rem rgba(44, 90, 160, 0.15);
    transform: translateY(-2px);
}

.calculator-results {
    background: linear-gradient(135deg, #36a2eb 0%, #4bc0c0 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    margin-top: 30px;
    box-shadow: var(--shadow-lg);
}

.result-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

.result-row.highlighted {
    font-size: 1.3rem;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.3);
    font-weight: 800;
}

.comparison-table-container {
    margin-top: 50px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comparison-table th {
    background: linear-gradient(135deg, #36a2eb 0%, #4bc0c0 100%);
    color: white;
    padding: 25px 20px;
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

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

.comparison-table .text-success {
    color: var(--brand-accent) !important;
}

.comparison-table .text-danger {
    color: #dc3545 !important;
}

/* FAQ Section */
.faq-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-item {
    background: white;
    border-radius: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}

.faq-question {
    background: linear-gradient(135deg, #36a2eb 0%, #4bc0c0 100%);
    color: white;
    padding: 25px 30px;
    cursor: pointer;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: white;
}

.faq-answer.active {
    padding: 25px 30px;
    max-height: 300px;
}

.faq-answer p {
    margin: 0;
    color: #6c757d;
    line-height: 1.7;
    font-size: 16px;
}

/* CTA Section */
.cta-section {
    background: var(--primary-gradient);
    padding: var(--section-padding) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="200" fill="rgba(255,255,255,0.08)" /><circle cx="800" cy="500" r="150" fill="rgba(255,255,255,0.05)" /></svg>');
    animation: float 20s ease-in-out infinite reverse;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
    animation: shimmer 10s ease-in-out infinite;
}

.cta-section h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 30px;
    position: relative;
    z-index: 3;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.cta-section p {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 50px;
    position: relative;
    z-index: 3;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    position: relative;
    z-index: 3;
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes shimmer {
    0% { 
        transform: translateX(-100%); 
    }
    100% { 
        transform: translateX(100%); 
    }
}

/* Responsive Design for Software */
@media (max-width: 1200px) {
    .page-header h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .page-header h1 {
        font-size: 3rem;
    }

    .page-header p {
        font-size: 1.3rem;
    }

    .header-stats {
        flex-direction: column;
        gap: 30px;
    }

    .calculator-results {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 150px 0 60px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .feature-card,
    .problem-card,
    .testimonial-card {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .feature-icon,
    .problem-icon {
        width: 90px;
        height: 90px;
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .header-stats {
        gap: 20px;
    }

    .calculator-card {
        padding: 40px 30px;
    }

    .calculator-card h3 {
        font-size: 1.8rem;
    }

    .cta-section h2 {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .comparison-table {
        font-size: 14px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 15px 10px;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .feature-card,
    .problem-card,
    .testimonial-card {
        padding: 25px 15px;
    }

    .feature-icon,
    .problem-icon {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }

    .calculator-card {
        padding: 30px 20px;
    }

    .form-control,
    .form-select {
        padding: 12px 15px;
        font-size: 14px;
    }

    .faq-question {
        padding: 20px 25px;
        font-size: 16px;
    }

    .faq-answer.active {
        padding: 20px 25px;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }

    .comparison-table {
        font-size: 12px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }
}
