:root{
    --bg:rgb(102, 61, 61);
    --panel: #740c13;
    --panel2: #751818;
    --text: #c2c7d3;
    --muted: #a5acb6;
    --primary: #ff6d6d;
    --primary2: #b01818;
    --success: #d11212;
    --border: #5d1111;
    --shadow: 0 18px 50px rgba(100, 15, 15, 0.5);

}

*{
   box-sizing: border-box;
}

body{
    margin: 0;
   
   font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
   background:
   radial-gradient(
    circle at 10% 0%,rgba(177, 45, 45, 0.088),transparent 30%
   ),
   radial-gradient(
    circle at 90% 10%,rgba(189, 33, 33, 0.14),transparent 28%
   ),
   var(--bg);

  color: var(--text);

}
button,input{
    font: inherit;
}

.roadmap{
    width: 92%;
    max-width: 1200px;
    margin: auto;
}

header{
    padding: 34px 0 24px;
}

.span{
    display: inline-flex;
    padding: 7px 12px;
    border: 1px solid var(--border);
    background: var(--panel2);
    border-radius: 999px;
    color: #ddb3b3;
    font-size: 13px;

}

h1{
    font-size: 32px;
    line-height: 1.02;
    margin: 16px 0 10px;
    letter-spacing: -2px;
}

.header p{
    color: var(--muted);
    max-width: 700px;
    font-size: 16px;
}
.section{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
    margin: 24px 0;
}

.progress,.card{
    background:rgba(161, 10, 10, 0.86);
   border: 1px solid var(--border);
   border-radius: 18px;
   box-shadow: var(--shadow);
}

.progress{
    padding: 18px;

}

.progress b{
    font-size: 27px;
}

.progress span{
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-top: 4px;
}

.bar{
   display: flex;
   gap: 10px;
   flex-wrap: wrap;
   margin:20px 0;
}

.search{
    flex:1;
    min-width:220px;
    background: var(--panel);
    border:1px solid var(--border);
    color: white;
    padding: 12px 15px;
    border-radius: 12px;
    outline: none;
}

.btn{
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--text);
    padding: 11px 15px;
    border-radius: 12px;
    cursor:pointer;
}

.btn:hover{
    border-color: #8c2626;
}

.two{
    height: 100%;
    width: 0;
    background:linear-gradient(90deg,var(--primary),#8bfac1);
    transition: width 0.3s ;

}

.wrap{
    height: 10px;
    background: #651919;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 12px;
}

.time{
    display: grid;
    gap:14px;
    margin:18px 0 50px;
}
footer{
    padding: 20px 0 45px;
    color:var(--muted);
    text-align: center;
    font-size: 13px;
}

.one{
    color:#c7cad1;
    font-size:12px;
}

.time section{
    overflow:hidden;
}

.time section > div:first-child{
    padding: 19px 20px;
    display: flex;
    align-items: center;
    gap:15px;
    cursor: pointer;
}

.time section .phaseBody{
    display: none;
    border-top: 1px solid var(--border);
    padding:18px 20px;
}

.time section.active .phaseBody{
    display: block;
}


.time section .number{
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    align-items: center;
    background: linear-gradient(135deg,var(--primary),var(--primary2));
    font-weight: 800;
    flex: none;
}




.time section .phaseTitle h2{

    font-size: 15px;
    margin: 0 0 5px;
}
.time section .phaseTitle p{
margin: 0%;
color: var(--muted);
font-size: 15px;
}

.time section .days{
    color: #aeb9d0;
    font-size: 12px;
}

.time section .chervon{
    transform:rotate(180deg);
}

.task{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom:1px solid #4d1212;
}

.task:last-child{
    border-bottom: 0;
}

.task input{
    width: 20px;
    height: 20px;
    accent-color: var(--success);
    margin-top: 2px;
    cursor: pointer;
}

.task label{
    cursor: pointer;
    line-height: 1.4;

}

.task.done label{
    text-decoration: line-through;
    color: #64748b;
}

.task small{
    display: block;
    color:var(--muted);
    margin-top: 5px;
}

.mini{
    font-size: 10px;
    color: var(--muted);
}

.complete{
    color:var(--success);
    font-weight: 700;
}

.phasesummary{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.phasesummary>div{
    background: #761111;
    border: 1px solid #6f1e1e;
    border-radius: 15px;
    padding: 10px;
}

.summaryLabel{
    display: block;
    color: #9c7171;
    font-size: 10px;
    letter-spacing: 0.08em;
    margin-bottom: 5px;
}

.phasesummary strong{
    font-size:13px;
}

.daygrid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
    margin-top: 15px;
}

.daybox{
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #7c1515;
    border: 1px solid #7a2c2c;
    border-radius: 15px;
    padding: 10px;
    cursor: pointer;
    transition: 0.2s;

}

.daybox:hover{
    transform: translateY(-2px);
    border-color: #ac4d4d;
}

.daybox input{
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkmark{
    width: 20px;
    height: 20px;
    display: grid;
    align-items: center;
    border: 2px solid #823131;
    border-radius: 7px;
    color: white;
    font-size: 15px;
    flex: none;
}

.daybox.checked .checkmark{
    border-color: var(--success);
    background: var(--success);
}

.daybox.checked{
    border-color: #6a0808;
    background:rgba(153, 12, 12, 0.07)
}

.dayinfo b{
    display: block;
    font-size: 15px;
}

.dayinfo small{
    display:block;
    color:#8491aa;
    font-size: 10px;
    margin-top: 5px;
}

.phaseprogress{
    transition:width 0.3s ease;
}

@media (max-width:800px){
    .section{
        grid-template-columns: repeat(2,1fr);
    }



.daygrid{
  grid-template-columns: repeat(2,1fr);
}
}

@media (max-width:600px){
    .section{
        grid-template-columns: 1fr 1fr;
    }
    .daygrid{
        grid-template-columns: 1fr;
    }
    h1{
        font-size:40px
    }
}





