/* Scoped CSS for Portfolio Builder Landing Page */

/* The Main Wrapper */
.spb-landing-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #1e5df8 0%, #1e5df8 30%, #2c6afb 100%);
    color: #ffffff;

    /* Full width and dynamic height calculation */
    width: 100%;
    min-height: calc(100vh - 80px); /* Adjust 80px based on your navbar height */

    display: flex;
    align-items: center;
    justify-content: center;

    /* Layout adjustments */
    padding: 40px;
    margin-top: -1.5rem; /* Counteract default bootstrap margins if necessary */
    overflow-x: hidden;
}

.spb-landing-wrapper * {
    box-sizing: border-box;
}

/* Main Container */
.spb-hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

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

/* Left Column Styling */
.spb-text-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

/* Badge Styling */
.spb-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #f0f0f0;
}

/* Typography */
.spb-landing-wrapper h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -1px;
    line-height: 1.1;
    color: white;
}

.spb-landing-wrapper h2 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 24px;
    opacity: 0.95;
    line-height: 1.4;
    color: white;
}

.spb-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.85;
    max-width: 580px;
    color: white;
}

/* Disclaimer Box */
.spb-disclaimer-box {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 40px;
    color: #e0e7ff;
}

.spb-disclaimer-box strong {
    color: #ffffff;
    font-weight: 700;
}

/* Button Styling */
.spb-btn-get-started {
    display: inline-block;
    background-color: #ffffff;
    color: #1e5df8;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spb-btn-get-started:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #1e5df8;
    text-decoration: none;
}

/* Right Column (Image/Card Placeholder) */
.spb-image-content {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.spb-image-card {
    background-color: #f3f4f6;
    width: 100%;
    max-width: 500px;
    height: 350px; /* Adjusted height for better visual balance */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.spb-image-card i {
    font-size: 3rem;
    color: #cbd5e1;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .spb-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .spb-text-content {
        max-width: 100%;
    }

    .spb-image-content {
        justify-content: center;
        width: 100%;
    }

    .spb-landing-wrapper h1 {
        font-size: 2.5rem;
    }

    .spb-image-card {
        height: 200px;
    }
}
/* --- How It Works Section Styles --- */

.spb-hiw-section {
    background-color: #f0f6ff; /* Very light blue background */
    padding: 80px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

.spb-hiw-header h2 {
    color: #1e3a8a; /* Dark Blue */
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.spb-hiw-header p {
    color: #64748b; /* Muted Grey */
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Row Layout */
.spb-hiw-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 100px;
}

.spb-hiw-row:last-child {
    margin-bottom: 0;
}

/* Text Column */
.spb-hiw-text-col {
    flex: 1;
    display: flex;
    gap: 20px;
    max-width: 500px;
}

.spb-hiw-step-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: #dbeafe; /* Light Blue Circle */
    color: #2563eb; /* Blue Icon */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.spb-hiw-content {
    padding-top: 10px;
}

.spb-hiw-step-label {
    display: block;
    color: #2563eb;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spb-hiw-content h3 {
    color: #1e3a8a;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.spb-hiw-content p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
}

.spb-hiw-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.spb-hiw-link:hover {
    gap: 10px;
    text-decoration: none;
    color: #1d4ed8;
}

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

/* Visual Column */
.spb-hiw-visual-col {
    flex: 1;
    width: 100%;
    max-width: 550px;
}

/* The Mockup Card */
.spb-hiw-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255,255,255,0.5);
}

/* UI Elements inside Card - Step 1 */
.spb-hiw-fake-search {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.spb-hiw-fake-list-item {
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    border-radius: 6px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    color: #334155;
    font-weight: 500;
    font-size: 0.9rem;
}

.spb-hiw-fake-list-item i {
    color: #2563eb;
    font-size: 0.8rem;
}

/* UI Elements inside Card - Step 2 */
.spb-hiw-fake-input-group {
    margin-bottom: 24px;
}

.spb-hiw-fake-input-group label {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
}

.spb-hiw-fake-input {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    color: #0f172a;
    font-weight: 500;
}

.spb-hiw-fake-allocation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: #334155;
}

.spb-hiw-fake-allocation-item .input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spb-hiw-fake-allocation-item .fake-box {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px 12px;
    width: 50px;
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
}

.spb-hiw-fake-allocation-item .symbol {
    color: #64748b;
    font-size: 0.85rem;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .spb-hiw-row {
        flex-direction: column;
        gap: 40px;
    }

    .spb-hiw-text-col,
    .spb-hiw-visual-col {
        max-width: 100%;
    }

    .spb-hiw-header h2 {
        font-size: 2rem;
    }
}
/* --- Step 3 & 4 Specific Styles --- */

/* Step 3: Tracker Options */
.spb-hiw-tracker-option {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    cursor: default;
    transition: all 0.2s ease;
}

.spb-hiw-tracker-option:last-child {
    margin-bottom: 0;
}

/* Active State (Blue Card) */
.spb-hiw-tracker-option.active {
    background-color: #1a56db; /* Bright Blue */
    border-color: #1a56db;
    color: #ffffff;
}

.spb-hiw-tracker-option .text-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spb-hiw-tracker-option strong {
    font-size: 0.95rem;
    font-weight: 600;
}

.spb-hiw-tracker-option small {
    font-size: 0.85rem;
    color: #64748b; /* Muted text for inactive */
}

.spb-hiw-tracker-option.active small {
    color: rgba(255, 255, 255, 0.8); /* Lighter text for active */
}

/* Radio Circle Logic */
.spb-hiw-tracker-option .radio-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spb-hiw-tracker-option.active .radio-circle {
    border-color: #ffffff;
    width: 22px;
    height: 22px;
}

.spb-hiw-tracker-option .radio-circle .dot {
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 50%;
}


/* Step 4: Date & Range */

/* Date Inputs Row */
.spb-hiw-date-row {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.spb-hiw-date-group {
    flex: 1;
}

.spb-hiw-date-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.spb-hiw-date-group .date-input {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.9rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spb-hiw-date-group .date-input i {
    color: #94a3b8;
}

/* Range Buttons Row */
.spb-hiw-range-row {
    display: flex;
    gap: 12px;
}

.spb-hiw-range-btn {
    flex: 1;
    border: 1px solid #dbeafe;
    background-color: #f0f9ff;
    color: #1e40af;
    padding: 8px 0;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: default;
    transition: all 0.2s;
}

/* Active Range Button (Blue) */
.spb-hiw-range-btn.active {
    background-color: #1a56db;
    color: #ffffff;
    border-color: #1a56db;
}

/* Mobile Responsiveness for Step 4 */
@media (max-width: 576px) {
    .spb-hiw-date-row {
        flex-direction: column;
        gap: 16px;
    }
}
/* --- Portfolio Insights Section Styles --- */

.spb-insights-section {
    background-color: #f0f6ff; /* Matches the previous section background */
    padding: 80px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

/* Header */
.spb-insights-header {
    text-align: center;
    margin-bottom: 60px;
}

.spb-insights-header h2 {
    color: #1e3a8a; /* Dark Blue heading */
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.spb-insights-header p {
    color: #475569; /* Muted text */
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

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

/* Individual Cards */
.spb-insights-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.2s, box-shadow 0.2s;
}

.spb-insights-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

/* Card Icons */
.spb-insights-card .icon-box {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: #eff6ff; /* Very light blue background */
    color: #2563eb; /* Blue Icon color */
    border-radius: 10px; /* Slightly rounded square */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Card Content */
.spb-insights-card .content-box {
    flex: 1;
}

.spb-insights-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.spb-insights-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spb-insights-card ul li {
    position: relative;
    padding-left: 14px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 6px;
    line-height: 1.5;
}

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

/* Large Placeholder Area */
.spb-insights-placeholder-area {
    width: 100%;
    height: 400px;
    background-color: #f8fafc; /* Very light grey/white */
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1; /* Light grey icon color */
}

.spb-insights-placeholder-area i {
    font-size: 4rem;
}

/* --- Responsive Adjustments --- */

/* Tablet View (2 Columns) */
@media (max-width: 992px) {
    .spb-insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .spb-insights-header h2 {
        font-size: 2rem;
    }
}

/* Mobile View (1 Column) */
@media (max-width: 600px) {
    .spb-insights-grid {
        grid-template-columns: 1fr;
    }

    .spb-insights-card {
        padding: 20px;
    }

    .spb-insights-placeholder-area {
        height: 250px;
    }
}
/* --- Why Use Portfolio Builder Section --- */
.spb-why-section {
    background-color: #ffffff;
    padding: 100px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.spb-why-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* Left Text Column */
.spb-why-content {
    flex: 1;
    max-width: 550px;
}

.spb-why-content h2 {
    color: #1e3a8a; /* Dark Blue */
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.spb-why-subtitle {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.spb-why-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spb-why-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
    color: #334155;
}

.spb-why-list li i {
    color: #2563eb; /* Checkmark Blue */
    font-size: 1.2rem;
}

/* Right Visual Column */
.spb-why-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Blue Data Card */
.spb-why-card {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.3);
    color: white;
}

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

.spb-stat-row:last-child {
    margin-bottom: 0;
}

.spb-stat-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%; /* Circle */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.spb-stat-text {
    display: flex;
    flex-direction: column;
}

.spb-stat-text .label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 4px;
}

.spb-stat-text .value {
    font-size: 1.5rem;
    font-weight: 600;
}

/* --- Responsive for Why Section --- */
@media (max-width: 992px) {
    .spb-why-container {
        flex-direction: column;
        text-align: left; /* Keep text aligned left based on image */
    }

    .spb-why-visual {
        justify-content: center;
        width: 100%;
        margin-top: 40px;
    }
}


/* --- Ready to Build CTA Section --- */
.spb-cta-section {
    background: linear-gradient(180deg, #2563eb 0%, #1e40af 100%); /* Deep Blue Gradient */
    padding: 80px 20px;
    text-align: center;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.spb-cta-container {
    max-width: 800px;
    margin: 0 auto;
    color: white !important;
}

.spb-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.spb-cta-section p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 40px;
    color: white;
}

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

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

.btn-cta-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Transparent Outline Button */
.btn-cta-outline {
    background-color: transparent;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255,255,255, 0.3); /* Subtle border */
    background-color: rgba(0,0,0,0.2); /* Slight dark overlay */
    transition: background-color 0.2s;
}

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

.spb-cta-note {
    display: block;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* --- Responsive for CTA Section --- */
@media (max-width: 600px) {
    .spb-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-cta-white, .btn-cta-outline {
        text-align: center;
    }

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