/* Hamsikha Tech - Interactive Blueprint Estimator Styles */

.blueprint-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 15px;
}

.blueprint-card {
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #e1e8ed;
    position: relative;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

/* Step Indicator Header */
.blueprint-steps-header {
    background: #1c2331;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.blueprint-step-node {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.blueprint-step-node::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.1);
    z-index: -1;
}

.blueprint-step-node:last-child::after { display: none; }

.step-circle {
    width: 40px;
    height: 40px;
    background: #2d3e50;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 800;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.blueprint-step-node.active .step-circle {
    background: #8cb501;
    box-shadow: 0 0 20px rgba(140, 181, 1, 0.5);
    transform: scale(1.1);
}

.blueprint-step-node.completed .step-circle {
    background: #087491;
}

.step-label {
    color: #fff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
}

.blueprint-step-node.active .step-label { opacity: 1; font-weight: 700; color: #8cb501; }

/* Body Content */
.blueprint-body {
    padding: 50px;
    flex-grow: 1;
    position: relative;
}

.blueprint-step-content {
    display: none;
    animation: blueprintFadeIn 0.5s ease;
}

.blueprint-step-content.active {
    display: block;
}

@keyframes blueprintFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Option Cards */
.blueprint-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.option-card {
    background: #f8fbfd;
    border: 2px solid #e1e8ed;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.option-card:hover {
    border-color: #087491;
    background: #fff;
    transform: translateY(-5px);
}

.option-card.selected {
    border-color: #8cb501;
    background: rgba(140, 181, 1, 0.05);
    box-shadow: 0 10px 30px rgba(140, 181, 1, 0.1);
}

.option-card.selected::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 15px;
    color: #8cb501;
    font-size: 1.2rem;
}

.option-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #087491;
    display: block;
}

.option-title {
    font-weight: 800;
    color: #1c2331;
    margin-bottom: 5px;
    font-size: 1rem;
}

.option-desc {
    font-size: 0.8rem;
    color: #666;
}

/* Footer Controls */
.blueprint-footer {
    padding: 30px 50px;
    background: #fcfdfe;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.btn-blueprint {
    padding: 12px 35px;
    border-radius: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: none;
}

.btn-bp-prev { background: #e1e8ed; color: #1c2331; }
.btn-bp-next { background: #8cb501; color: #fff; box-shadow: 0 10px 20px rgba(140, 181, 1, 0.2); }

.btn-bp-next:disabled { opacity: 0.5; cursor: not-allowed; }

/* Success Roadmap UI */
.roadmap-result {
    text-align: center;
}

.roadmap-header {
    background: linear-gradient(135deg, #087491, #1c2331);
    color: #fff;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
}

.roadmap-timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding-left: 50px;
    text-align: left;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: 2px;
    height: 100%;
    background: #eee;
}

.timeline-milestone {
    position: relative;
    margin-bottom: 30px;
}

.timeline-milestone::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #8cb501;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 4px rgba(140, 181, 1, 0.2);
}

.milestone-time { font-weight: 800; color: #8cb501; font-size: 0.8rem; text-transform: uppercase; }
.milestone-title { font-weight: 700; color: #1c2331; margin-bottom: 2px; }
.milestone-desc { font-size: 0.85rem; color: #666; }

/* Responsive */
@media (max-width: 768px) {
    .blueprint-body { padding: 30px 20px; }
    .blueprint-footer { padding: 20px; }
    .blueprint-steps-header { padding: 20px 10px; }
    .step-label { display: none; }
    .blueprint-options-grid { grid-template-columns: 1fr 1fr; }
}
