/* Why MoneyLense Page Styles */

/* Differentiation Intro Section */
.differentiation-intro {
    padding: 60px 0;
    background: #f8fafc;
}

.intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.intro-content p {
    font-size: 1.2rem;
    color: #4a4a4a;
    line-height: 1.7;
}

/* Comparison Section */
.comparison-section {
    padding: 80px 0;
}

.comparison-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 3rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: start;
}

.comparison-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e5;
}

.comparison-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.traditional h3 {
    color: #64748b;
}

.moneylense h3 {
    color: #2563eb;
}

.comparison-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comparison-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.comparison-item p {
    color: #64748b;
    line-height: 1.5;
    font-size: 0.95rem;
}

.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.vs-divider span {
    background: #2563eb;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Key Differentiators Section */
.key-differentiators {
    padding: 80px 0;
    background: #f8fafc;
}

.key-differentiators h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 3rem;
}

.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.differentiator-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e5e5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.differentiator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.differentiator-icon {
    width: 60px;
    height: 60px;
    background: #f0f9ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.differentiator-icon span {
    font-size: 1.5rem;
}

.differentiator-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.differentiator-card>p {
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.differentiator-card ul {
    list-style: none;
}

.differentiator-card li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.differentiator-card li::before {
    content: "✓";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Value Proposition Section Refined */
.value-proposition {
    padding: 80px 0;
    background: #f8fafc;
}

.value-proposition h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a365d;
    text-align: center;
    margin-bottom: 4rem;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 40px 30px 90px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
    min-height: 180px;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 35px;
    background: #eef2f7;
    border-radius: 12px 0 0 12px;
}

.value-card::after {
    content: '';
    position: absolute;
    right: 0;
    top: 5%;
    height: 90%;
    width: 6px;
    background: var(--accent-color);
    border-radius: 4px;
}

.card-number-box {
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #2c5282;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
    display: inline-block;
}

.card-content p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
}

.card-icon-box {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.card-icon {
    width: 40px;
    height: 40px;
    stroke: var(--accent-color);
    opacity: 0.8;
}

/* Step Colors */
.card-step-1 {
    --accent-color: #3bb6f0;
}

.card-step-2 {
    --accent-color: #0076c0;
}

.card-step-3 {
    --accent-color: #2c5282;
}

.card-step-4 {
    --accent-color: #1a365d;
}

@media (max-width: 900px) {
    .value-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

/* Testimonial Section */
.testimonial-section {
    padding: 80px 0;
    background: #f8fafc;
}

.testimonial-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 3rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e5e5;
}

.testimonial-card p {
    font-size: 1.1rem;
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.testimonial-author p {
    color: #64748b;
    font-size: 0.9rem;
    font-style: normal;
    margin: 0;
}

/* Flow Chart Styles */
.flow-chart-container {
    overflow-x: auto;
    padding: 2rem 0;
}

.flow-chart {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 900px;
    gap: 3rem;
}

.flow-node {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 2px solid #e5e5e5;
    min-width: 350px;
    max-width: 400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.flow-node:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.traditional-node {
    border-color: #94a3b8;
}

.moneylense-node {
    border-color: #2563eb;
}

.node-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
}

.traditional-node .node-header {
    background: #f8fafc;
    border-bottom-color: #94a3b8;
}

.moneylense-node .node-header {
    background: #f0f9ff;
    border-bottom-color: #2563eb;
}

.node-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.traditional-node .node-header h3 {
    color: #64748b;
}

.moneylense-node .node-header h3 {
    color: #2563eb;
}

.node-content {
    padding: 1.5rem;
}

.flow-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.flow-item:last-child {
    margin-bottom: 0;
}

.flow-icon {
    width: 40px;
    height: 40px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.traditional-node .flow-icon {
    background: #f1f5f9;
}

.moneylense-node .flow-icon {
    background: #f0f9ff;
}

.flow-text {
    flex: 1;
}

.flow-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.flow-text p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* VS Arrow */
.vs-arrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.arrow-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #94a3b8, #2563eb);
    position: relative;
}

.arrow-head {
    width: 0;
    height: 0;
    border-left: 12px solid #2563eb;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: -2px;
}

.vs-text {
    position: absolute;
    top: -35px;
    background: #2563eb;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Responsive Design for Flow Chart */
@media (max-width: 768px) {
    .flow-chart {
        flex-direction: column;
        min-width: auto;
        gap: 2rem;
    }

    .flow-node {
        min-width: auto;
        max-width: 100%;
    }

    .vs-arrow {
        transform: rotate(90deg);
        min-width: 80px;
        min-height: 80px;
    }

    .vs-text {
        transform: rotate(-90deg);
        top: auto;
        left: -20px;
    }

    .arrow-line {
        width: 60px;
    }

    .flow-item {
        margin-bottom: 1rem;
    }

    .flow-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .flow-text h4 {
        font-size: 0.95rem;
    }

    .flow-text p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .node-header {
        padding: 1rem;
    }

    .node-header h3 {
        font-size: 1.1rem;
    }

    .node-content {
        padding: 1rem;
    }

    .flow-item {
        gap: 0.8rem;
    }

    .flow-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .vs-divider {
        padding: 1rem 0;
    }

    .vs-divider span {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .differentiators-grid {
        grid-template-columns: 1fr;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .intro-content h2 {
        font-size: 2rem;
    }

    .comparison-section h2,
    .key-differentiators h2,
    .value-proposition h2,
    .testimonial-section h2 {
        font-size: 2rem;
    }
}