/* --- Portfolio Optimizer Hero Section --- */
.po-hero-section {
    background-color: #1a56db; /* Rich Royal Blue matching the image */
    padding: 80px 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: white;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.po-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start; /* Aligns content to top */
    justify-content: space-between;
    gap: 80px;
    width: 100%;
}

/* --- Left Column Content --- */
.po-content {
    flex: 1;
    max-width: 650px;
}

/* Badge (Lightning Bolt) */
.po-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.15); /* Transparent white */
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.po-badge i {
    font-size: 0.9rem;
}

/* Typography */
.po-content h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    line-height: 1.1;
}

.po-lead {
    font-size: 1.25rem;
    margin-bottom: 20px;
    opacity: 0.95;
    line-height: 1.5;
    color: white;
}

.po-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
        color: white;

}

/* Disclaimer Box */
.po-disclaimer {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 16px;
    font-size: 0.75rem;
    line-height: 1.5;
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Button */
.po-btn-start {
    display: inline-block;
    background-color: white;
    color: #1a56db;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.po-btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* --- Right Column Visual --- */
.po-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 60px; /* Align slightly with text block visually */
}

/* The White Placeholder Box */
.po-image-placeholder {
    width: 100%;
    max-width: 500px;
    height: 120px; /* Matches the slim rectangular shape in image */
    background-color: #f3f4f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}

.po-image-placeholder i {
    font-size: 2.5rem;
    color: #9ca3af; /* Grey icon color */
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .po-hero-container {
        flex-direction: column;
        gap: 40px;
    }

    .po-content {
        max-width: 100%;
    }

    .po-visual {
        width: 100%;
        padding-top: 0;
        justify-content: flex-start;
    }

    .po-content h1 {
        font-size: 2.5rem;
    }
}
/* --- How It Works Section --- */
.hw-section {
    background-color: #f0f6ff; /* Very light blue background */
    padding: 80px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #334155;
}

.hw-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */
.hw-header {
    text-align: center;
    margin-bottom: 80px;
}

.hw-header h2 {
    color: #1a56db; /* Primary Blue */
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.hw-header p {
    font-size: 1.1rem;
    color: #64748b;
}

/* --- Step Rows --- */
.hw-step {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 100px; /* Space between steps */
}

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

/* Left Content Column */
.hw-content {
    flex: 1;
    display: flex;
    gap: 20px;
    max-width: 550px;
}

/* Icons */
.hw-icon-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: #dbeafe; /* Light blue circle */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 1.25rem;
}

.hw-text-body {
    padding-top: 8px; /* Align text with icon top */
}

.step-label {
    display: block;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hw-text-body h3 {
    color: #1e3a8a;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.hw-text-body p {
    line-height: 1.6;
    color: #475569;
    margin-bottom: 20px;
    font-size: 1rem;
}

.hw-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hw-link:hover {
    text-decoration: underline;
}

.hw-link i {
    font-size: 0.8rem;
}

/* --- Right Visual Column (Mock UI) --- */
.hw-visual {
    flex: 1;
    max-width: 500px;
    width: 100%;
}

.hw-ui-container {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
                0 10px 15px -3px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
}

/* Mock Search Bar (Step 1) */
.hw-mock-search {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Mock List (Step 1) */
.hw-mock-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hw-list-item {
    background-color: #eff6ff; /* Very light blue item bg */
    border: 1px solid #dbeafe;
    border-radius: 6px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #334155;
}

.hw-list-item strong {
    color: #1e40af;
}

.hw-list-item i {
    color: #3b82f6;
    font-size: 0.8rem;
}

/* Mock Radio Cards (Step 2 & 3) */
.hw-radio-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    margin-bottom: 12px;
    cursor: default;
    transition: all 0.2s;
}

.hw-radio-card:last-child {
    margin-bottom: 0;
}

/* Active State for Cards */
.hw-radio-card.active {
    background-color: #1a65eb; /* Bright Blue */
    border-color: #1a65eb;
    color: white;
}

/* Text inside Radio Cards */
.hw-radio-text {
    display: flex;
    flex-direction: column;
}

.hw-radio-text strong {
    font-size: 0.95rem;
    margin-bottom: 4px;
    display: block;
}

.hw-radio-text span {
    font-size: 0.8rem;
    opacity: 0.8; /* Slight fade for subtext */
}

/* The Radio Circle Button */
.hw-radio-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hw-radio-card.active .hw-radio-circle {
    border-color: white;
}

.hw-radio-circle.selected .dot {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .hw-step {
        flex-direction: column;
        align-items: center;
        text-align: left; /* Keep left alignment for readability */
        gap: 30px;
    }

    .hw-content {
        max-width: 100%;
        width: 100%;
    }

    .hw-visual {
        max-width: 100%;
        width: 100%;
    }

    .hw-header h2 {
        font-size: 2rem;
    }
}
/* --- Step 4 Form Styling --- */
.hw-mock-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.hw-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.hw-form-group label {
    font-size: 0.85rem;
    color: #64748b; /* Muted text */
    font-weight: 500;
}

.hw-input-box {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.95rem;
    color: #334155;
    font-weight: 500;
    height: 44px; /* Fixed height for uniformity */
    display: flex;
    align-items: center;
}

/* Specific styling for inputs with icons (Dates) */
.hw-input-box.with-icon {
    gap: 10px;
}

.hw-input-box.with-icon i {
    color: #94a3b8;
}

/* Two column layout for dates */
.hw-form-row {
    display: flex;
    gap: 15px;
    width: 100%;
}

/* Ensure columns take equal space */
.hw-form-row .hw-form-group {
    flex: 1;
}

/* --- Step 5 Visual Styling --- */
.hw-result-preview {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.hw-placeholder-img {
    background-color: #f1f5f9; /* Slate-100 */
    border: 2px dashed #cbd5e1; /* Slate-300 dashed border */
    border-radius: 8px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 2rem;
}

.hw-action-btn {
    background-color: #2563eb; /* Primary Blue */
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s;
    width: 100%;
}

.hw-action-btn:hover {
    background-color: #1d4ed8; /* Darker Blue */
}

/* --- Responsive Mobile Fix --- */
@media (max-width: 500px) {
    .hw-form-row {
        flex-direction: column;
        gap: 15px;
    }
}
/* --- Optimized Portfolio Results Section --- */
.opr-section {
    background-color: #f8fbff; /* Very light blue background to match top of image */
    padding: 60px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.opr-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styling */
.opr-header {
    text-align: center;
    margin-bottom: 50px;
}

.opr-header h2 {
    color: #0f172a; /* Dark Navy */
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.opr-header p {
    color: #64748b; /* Slate Grey */
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Grid Layout */
.opr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

/* Card Styling */
.opr-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0; /* Light border */
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.opr-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}

/* Icon Box */
.opr-icon-box {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background-color: #eff6ff; /* Light blue circle bg */
    border-radius: 50%; /* Make it circular or rounded square */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb; /* Primary Blue Icon */
    font-size: 1.1rem;
    margin-top: 2px; /* Slight alignment fix */
}

/* Card Content */
.opr-card-content h4 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b; /* Dark Slate */
}

.opr-card-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.opr-card-content ul li {
    font-size: 0.85rem;
    color: #64748b; /* Muted text */
    margin-bottom: 6px;
    padding-left: 12px;
    position: relative;
    line-height: 1.4;
}

/* Custom Blue Bullet Points */
.opr-card-content ul li::before {
    content: "•";
    color: #3b82f6; /* Blue bullet */
    position: absolute;
    left: 0;
    font-weight: bold;
    top: -1px; /* Adjust vertical alignment of bullet */
}

/* Large Visual Placeholder (Bottom) */
.opr-large-visual {
    background-color: #f1f5f9; /* Slate-100 placeholder bg */
    border-radius: 12px;
    height: 400px; /* Taller height as seen in image */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
}

.opr-large-visual i {
    font-size: 4rem;
    color: #cbd5e1; /* Light gray icon */
}

/* Responsive Design */
@media (max-width: 992px) {
    .opr-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 600px) {
    .opr-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }

    .opr-header h2 {
        font-size: 1.5rem;
    }

    .opr-large-visual {
        height: 250px;
    }
}
/* --- Why Use Portfolio Optimizer Section --- */
.why-opt-section {
    background-color: #ffffff;
    padding: 100px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.why-container {
    max-width: 1100px;
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 60px;
    align-items: center;
}

/* Left Text Styling */
.why-content h2 {
    color: #0f172a; /* Dark Navy */
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.why-desc {
    color: #64748b; /* Slate Gray */
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 90%;
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.why-list li {
    display: flex;
    align-items: flex-start; /* Align icon with top of text */
    gap: 12px;
    color: #334155;
    font-size: 1rem;
}

.why-list li i {
    color: #2563eb; /* Primary Blue */
    font-size: 1.2rem;
    margin-top: 2px; /* Visual tweak to align with text */
}

/* Right Stats Card Styling */
.stats-card {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%); /* Rich Blue Gradient */
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.3); /* Soft blue shadow */
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.15); /* Translucent white */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.stat-value {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

/* --- Final CTA Footer Section --- */
.final-cta-section {
    background: linear-gradient(to right, #1a56db, #2563eb); /* Solid Blue Background */
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

/* White Button */
.btn-cta-white {
    background-color: white;
    color: #1a56db;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Outline Button */
.btn-cta-outline {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-cta-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.cta-note {
    font-size: 0.85rem !important; /* Force smaller size */
    color: rgba(255, 255, 255, 0.6) !important; /* More transparent */
    margin-bottom: 0 !important;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        gap: 40px;
    }

    .why-opt-section {
        padding: 60px 20px;
    }

    .cta-buttons {
        flex-direction: column; /* Stack buttons on mobile */
        gap: 15px;
    }

    .btn-cta-white, .btn-cta-outline {
        width: 100%; /* Full width buttons */
        box-sizing: border-box;
    }
}
